Application Details:
Version: | Complete (gog.com version) |
License: | Retail |
URL: | |
Votes: | 1 |
Latest Rating: | Gold |
Latest Wine Version Tested: | 10.0-rc3 |
Maintainers: About Maintainership
What works
After installing, when trying to run the unmodified Heroes3.exe I initially received the following error:
0024:err:seh:NtRaiseException Unhandled exception code c0000409 flags 1 addr 0x79c51f30
The game works, but requires a workaround (see details below).
What does not
Apparently GOG has modified their version of the Heroes3.exe executable to use their own xdd.dll instead of ddraw.dll, likely for better compatibility on Windows. However this change prevents the game from running with Wine.
There is some discussion of the issue (and the solution) here:
https://www.gog.com/forum/heroes_of_might_and_magic_series/if_you_cant_get_homm3_to_work_after_the_latest_update_on_linux_with_wine_read_this
Workarounds
Switch into the directory that contains Heroes3.exe and run the following command:
sed --in-place 's/xdd\.dll../ddraw.dll/' Heroes3.exe
This replaces "xdd.dll" with "ddraw.dll" in the Heroes3.exe file.
What was not tested
Map editor
Campaign editor
Hardware tested
Graphics:
Additional Comments
The workaround described above is required to make the version available on GOG at the time of this report be able to run.
setup_heroes_of_might_and_magic_3_complete_4.0_(3.2)_gog_0.1_(77075)
An alternative workaround command which achieves the same result is this following:
printf "DDRAW.dll" | dd of=Heroes3.exe bs=1 seek=2475928 conv=notrunc
However this may only work with the English version of the game, as other languages will have the required string at a different position in the binary.
For other localizations, the sed command above has been reported to work.
It may also be possible to rename the ddraw.dll file as xdd.dll, replacing the one provided by GOG. (I did not test this method.)
Some additional discussion is here:
https://www.gog.com/forum/heroes_of_might_and_magic_series/homm_iii_the_game_is_no_longer_smooth
Operating system | Test date | Wine version | Installs? | Runs? | Used Workaround? | Rating | Submitter | ||
Current | Linux Mint 21.3 | Dec 25 2024 | 10.0-rc3 | Yes | Yes | Yes | Gold | Scarabyte | |
Show | Manjaro Linux 24.1.0 | Dec 02 2024 | 9.16 | Yes | No | No | Garbage | JPT | |
Show | Fedora 37 x86_64 | Aug 20 2023 | 8.12 | Yes | Yes | No | Platinum | Jonathan Bouchard | |
Show | Arch Linux x86_64 | Mar 19 2021 | 6.4 | Yes | Yes | Yes | Silver | Yaroslav Nikitenko | |
Show | Gentoo Linux x86_64 | Jan 02 2021 | 5.22 | Yes | Yes | No | Platinum | William J May |
Bug # | Description | Status | Resolution | Other apps affected |
27419 | Mouse problem in Heroes of Might and Magic 3 | CLOSED | FIXED | View |
29129 | HOMM3 (from GOG.com) installs, but does not start on Intel video card | CLOSED | NOTOURBUG | View |
34166 | Fullscreen flickering on Mac | RESOLVED | NOTOURBUG | View |
49910 | Heroes of Might and Magic 3 crashes on startup | UNCONFIRMED | View | |
50217 | Heroes of Might and Magic 3 (GOG) TCP/IP game does not work (winetricks needs to set dplaysvr.exe to native) | CLOSED | NOTOURBUG | View |
57455 | HOMM3 (from GOG.com) crashes immediately on run | UNCONFIRMED | View | |
57590 | Heroes of Might and Magic III (GOG): Unhandled exception code at startup | CLOSED | DUPLICATE | View |
Multiplayer
To get multiplayer working, you need native directplay dlls. The old howto had a link pointing to outdated directplay dlls which cause problems with wine and generally don't work as expected. However with the latest dplay from DirectX 9.0c multiplayer is (almost - see note for details) flawless.
In the wine wiki is described how to get native direct play dlls.
Personally I would recommend using winetricks directplay which installs dplay dlls and sets overwrite in winecfg, however you may choose do install manually those files in which case you need to:
You can now play Heroes 3 in HD, utilizing the full size of your screen, thanks to Heroes3HD mod. It doesn't change anything gameplay wise.
With recent Wine releases, Wine prefixes are set to Windows 7. Currently, it causes rendering issues when HD or HD+ mod are installed.
Running winecfg
and setting the Windows version to Windows XP solves the rendering issues.