Add an override so that 'HEROES.EXE' runs in Windows 98 mode (can be done in winecfg)
How to apply the patch
Change to the directory where you saved the Wine archive and patch
Extract Wine with tar -xvjf wine-0.9.29.tar.bz2
Enter the Wine directory with cd wine-0.9.29
Apply the patch, patch -p1 < ../wineoss-0.9.29.patch
Substitute with the path where you want to install Wine. ./configure --prefix=$HOME/wineh1
Compile with make depend && make
Install with make install
Now change to the directory where you installed Heroes and type ~/wineh1 heroes
The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.
works - hack registry and disable sound
by Damjan Jovanovic on Monday November 28th 2005, 2:34
First, the SIGILL "CLI" instruction occurs on (the real) Windows 2000. I can't remember if it occurs on Windows 98, but I was able to fix it on both Windows 2000, and on wine emulating either 2000 or XP by adding a registry value:
HKEY_LOCAL_MACHINE\Software\New world computing\Heroes of might and magic\1.00
Make a "Music Volume" value under that key, and set it to any integer value (I tried 0 and 1, both worked). Now you no longer get the CLI problem.
It will still get to a black screen on wine (even in the real Windows 2000, but not in the real Windows 98), but it can be fixed as well. Run "winecfg", and disable sound completely. Now it works ;-).
The mci problem with "open G: type cdaudio alias cd" is that mci tries to open G: as an MCI device, which is wrong. I tried to hack it (by adding "G:=mcicda.dll" under the "[mci]" section of the system.ini, the warning will go away, but it will still give you a black screen with sound enabled (and you won't hear any music).