http://bugs.winehq.org/show_bug.cgi?id=14055
--- Comment #59 from Marek Paśnikowski marek.pasnikowski@gmail.com 2011-07-20 01:12:07 CDT --- (In reply to comment #58)
(In reply to comment #57)
(In reply to comment #56)
(In reply to comment #55)
Is it possible to enforce CPU affinity in Wine?
Setting CPU affinity won't help - it's a bug in game, not in Wine, because H3 crash under XP/Vista/7 too with the same error.
I know it's not a bug in Wine. And I was talking about _Windows_ users for whom this workaround helped, not Wine users. As there are a lot of them, I suppose there's something in it.
Actually I've added a working solution to this bug, please, scroll back and read more carefully.
Right, but what I've written also seems to help a lot of Windows users.
Under Linux you can install the program "schedtool" to let wine (heroes3) run only on one cpu core.
The crashes in mp3dec.asi seems to come from the cpu cores.
Enter the following command to start heroes3.exe :
schedtool -a 0x2 -e wine "/home/<user>/.wine/dosdevices/c:/Programme/3DO/Heroes3/Heroes3.exe"
Also use winecfg to setup Windows98 Version.
If you do not set wine for win98 version you still get the crashes, even if you use shedtool !
Also Win98 Version without "shedtool" isn't working either.
You may or not may use the soundfix (for me it doesnt make any differences)
Just note : When playing longer time at once , it looks like sound effects became some kind of delay but game is still working without any crashes.
Played more then 10h now without any crashes to mp3dec.asi.
Wine is configured for ALSA output, de-installed pulse audio.
Also currently Win1.3.19 or Wine1.3.2x without xinput2 is needed.
I have tried a few combinations of the wine and schedtool programs, but either H3 wouldn't start or crash as always. I have the .desktop shortcut on my desktop. In the "command" field of the propertied window is this: env WINEPREFIX="/home/[]/.wine/" wine C:\Program\ Files\Ubisoft\Heroes\ of\ Might\ and\ Magic\ III\ -\ Zlota\ Edycja\Heroes3.exe" Where should I put this schedtool command to run it properly from the icon? Win98 is set in the winecfg. However, my CentOS 6 uses PulseAudio by default and has only wine 1.2.3 available.