Forums

Heroes of Might and Magic 3

the restoration of erathia

Auteur Réponses
Ghostofkendo Lundi 12 Mai 2008 à 21:52
Ghostofkendo

Hello everyone,

I made a draft of a script for Heroes of Might and Magic 3 but I have a strange bug: The InstallShield loading locks at 99% independently from the wine version I use.
Although, it used to work very well with several versions according to the related wine's appdb page.

So I would be pleased if anyone who have this game could quickly test my script, in order to see if the issue comes from me.

Here it is:
#!/bin/bash
if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
source "$PLAYONLINUX/lib/sources"
cfg_check

#Game and script presentation
presentation "Heroes of Might and Magic III : The Restoration fo Erathia" "The 3DO Company" "" "Ghostofkendo" "Heroes3" 1 4

#Ask for the path to the game's CD-Rom and check the installer's presence
Ask_For_cdrom 2 4
Check_cdrom "_AUTORUN/AUTORUN.EXE"

#Heroes III's prefix creation
mkdir -p $REPERTOIRE/wineprefix/Heroes3
cd $REPERTOIRE/wineprefix/Heroes3
select_prefix "$(pwd)"
polprefixcreate 3 4

#Run the game's installation
#Set_WineVersion_Session "0.9.54"
wine $CDROM/_AUTORUN/AUTORUN.EXE

#Simulate the windows' reboot
simulate_reboot 4 4

#Create a launcher for Heroes III
creer_lanceur "Heroes3" "Program Files/3DO/Heroes3" "Heroes3.exe"

end_install
exit


If it doesn't work for you the first time, try to uncomment the following line:
#Set_WineVersion_Session "0.9.54"
to run the installation with Wine 0.9.54 (the latest version known for working well).

Bye and thank you in advance