[Bug 50420] Divinity: Original Sin - Enhanced Edition crashes on startup

WineHQ Bugzilla wine-bugs at winehq.org
Tue Dec 29 07:47:05 CST 2020


https://bugs.winehq.org/show_bug.cgi?id=50420

Paul Gofman <pgofman at codeweavers.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pgofman at codeweavers.com

--- Comment #1 from Paul Gofman <pgofman at codeweavers.com> ---
I've tested the Steam version and could reproduce the crash.

The actual crash here is from stub entry point, what Wine is actually trying to
say is that there is the call to unimplemented function to
user32.dll.SetDisplayConfig, but fails to do that due to currently messed up
function ABI (Unix vs WINAPI) for stub entry point on x64 in the PE build, I am
going to suggest a patch for that.

SetDisplayConfig is called from SDL2.dll shipped with the game in the game .exe
directory. I guess that was working before the blamed commit because it was
picking up an SDL2.dll from Steam installation somehow (not sure what it was
doing in the GOG case). I checked that copying Steam's SDL2.dll to the game exe
directory fixes the issue.

It looks like adding a stub for the missing function is enough,
https://source.winehq.org/patches/data/197766 is fixing the game start for me.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list