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 : 24408
Wine: 1.3.24

Retours d'expérience

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

[ "$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="1.3.24"
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" "" ""

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribuer
Membre Messages
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