Heroes of Might and Magic V

Informations

Créateur Messages
darknekros Anonymous

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 25995
Wine: 3.0.3

Retours d'expérience

Description

Code source

#!/bin/bash
# Date: (2012-07-26)
# Wine version used: 1.3.24
# Distribution used to test: Frugalware i686
# Author: DarkNekros
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [DarkNekros] (2012-07-26)
#   Initial script.
# [Dadu042] (2020-01-16 23:50)
#   Wine 1.3.24 (outdated) -> 3.0.3

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Heroes of Might & Magic 5"
PREFIX="HOMM5"
EDITOR="Nival Interactive"
GAME_URL="http://www.mightandmagic.com/HeroesV/"
AUTHOR="DarkNekros"
WORKING_WINE_VERSION="3.0.3"
GAME_VMS="512"

# Starting the script
POL_SetupWindow_Init

# Starting debugging API
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
  
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

# Downloading wine if necessary and creating prefix
POL_System_SetArch "auto"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
# Choose between Downloading client or using local one
POL_SetupWindow_InstallMethod "DVD"

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

if [ "$INSTALL_METHOD" = "DVD" ]; then
  POL_SetupWindow_message "$(eval_gettext 'Please insert the DVD-ROM')" "$TITLE"
  POL_SetupWindow_cdrom
  POL_SetupWindow_check_cdrom "AutoRun.ico"
  cd "$WINEPREFIX/dosdevices" 
  ln -sf "$CDROM" p:
  POL_Wine start /unix "$CDROM/Setup.exe"
  POL_Wine_WaitExit "$TITLE"
fi

# Création Shortcut
POL_Shortcut "H5_Game.exe" "$TITLE" "" "" "Game;"

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Jeudi 16 Janvier 2020 à 23:41
Dadu042
Modérateur

Information

Cette mise à jour a été acceptée par l'équipe

Differences

@@ -4,6 +4,12 @@
 # Distribution used to test: Frugalware i686
 # Author: DarkNekros
 # Only For : http://www.playonlinux.com
+#
+# CHANGELOG
+# [DarkNekros] (2012-07-26)
+#   Initial script.
+# [Dadu042] (2020-01-16 23:50)
+#   Wine 1.3.24 (outdated) -> 3.0.3
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
@@ -13,7 +19,7 @@
 EDITOR="Nival Interactive"
 GAME_URL="http://www.mightandmagic.com/HeroesV/"
 AUTHOR="DarkNekros"
-WORKING_WINE_VERSION="1.3.24"
+WORKING_WINE_VERSION="3.0.3"
 GAME_VMS="512"
 
 # Starting the script
@@ -49,7 +55,7 @@
 fi
 
 # Création Shortcut
-POL_Shortcut "H5_Game.exe" "$TITLE" "" ""
+POL_Shortcut "H5_Game.exe" "$TITLE" "" "" "Game;"
 
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date: (2012-07-26)
# Wine version used: 1.3.24
# Distribution used to test: Frugalware i686
# Author: DarkNekros
# Only For : http://www.playonlinux.com
#
# CHANGELOG
# [DarkNekros] (2012-07-26)
#   Initial script.
# [Dadu042] (2020-01-16 23:50)
#   Wine 1.3.24 (outdated) -> 3.0.3

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Heroes of Might & Magic 5"
PREFIX="HOMM5"
EDITOR="Nival Interactive"
GAME_URL="http://www.mightandmagic.com/HeroesV/"
AUTHOR="DarkNekros"
WORKING_WINE_VERSION="3.0.3"
GAME_VMS="512"

# Starting the script
POL_SetupWindow_Init

# Starting debugging API
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
  
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

# Downloading wine if necessary and creating prefix
POL_System_SetArch "auto"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
# Choose between Downloading client or using local one
POL_SetupWindow_InstallMethod "DVD"

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

if [ "$INSTALL_METHOD" = "DVD" ]; then
  POL_SetupWindow_message "$(eval_gettext 'Please insert the DVD-ROM')" "$TITLE"
  POL_SetupWindow_cdrom
  POL_SetupWindow_check_cdrom "AutoRun.ico"
  cd "$WINEPREFIX/dosdevices" 
  ln -sf "$CDROM" p:
  POL_Wine start /unix "$CDROM/Setup.exe"
  POL_Wine_WaitExit "$TITLE"
fi

# Création Shortcut
POL_Shortcut "H5_Game.exe" "$TITLE" "" "" "Game;"

POL_SetupWindow_Close
exit 0

Réponses

Menadar Samedi 29 Décembre 2018 à 22:55
Menadar Anonymous

Messages

When I tried to install with the DVD-ROM, the error message appear :

"Error in POL_Shortcut

Binary not found: H5_Game.exe

Have you installed the program to the default location?"

 

 

 

Réponses

gabi2102 Samedi 26 Mai 2018 à 11:14
gabi2102 Anonymous

Messages

Hi.
Now is only able to run from cd, can you make it to run from a folder from my pc, like showing the path to a folder where the game is and make it run?

Réponses