Heroes of Might and Magic V

Informations

Creator Meddelanden
darknekros Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 33932
Wine: 3.0.3

Feedbacks

Description

Source code

#!/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:

Contribute
Member Meddelanden
Dadu042 Thursday 16 January 2020 at 23:41
Dadu042

Information

This update has been approved by the team.

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

New source code

#!/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

Svar

Menadar Saturday 29 December 2018 at 22:55
Menadar Anonymous

Meddelanden

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?"

 

 

 

Svar

gabi2102 Saturday 26 May 2018 at 11:14
gabi2102 Anonymous

Meddelanden

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?

Svar

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com