https://bugs.winehq.org/show_bug.cgi?id=57590
Bug ID: 57590 Summary: Heroes of Might and Magic III (GOG): Unhandled exception code at startup Product: Wine Version: 10.0-rc3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: scarabyte18+winehq@gmail.com Distribution: ---
Created attachment 77703 --> https://bugs.winehq.org/attachment.cgi?id=77703 Terminal output when running Heroes3.exe
The version of Heroes3.exe available at gog.com throws an Unhandled exception code c0000409 upon startup and will not run.
The file uses a library xdd.dll which is somehow incompatible with Wine. It works if the executable is manually edited to use ddraw.dll instead, but not with the xdd.dll provided with the download.
There is some discussion of the issue (and workaround resolution) here: https://www.gog.com/forum/heroes_of_might_and_magic_series/if_you_cant_get_h...
The program can be downloaded here: https://www.gog.com/en/game/heroes_of_might_and_magic_3_complete_edition (Note it is not free, but is frequently on sale for ~$2.75 USD.)
Non-working file: $ sha1sum Heroes3.exe 0ec1734c9efc6cb0bfab9507659f68f9f92c82c1 Heroes3.exe
Working file after applying workaround described in the forum thread above (i.e. after running "sed --in-place 's/xdd.dll../ddraw.dll/' Heroes3.exe"): $ sha1sum Heroes3.exe 6c8d115585ce380085ae1fcba1e0f5134b1283bd Heroes3.exe