Divinity original sin in wine

Questions about Wine on Linux
Locked
i30817
Level 1
Level 1
Posts: 9
Joined: Fri Aug 20, 2010 3:18 am

Divinity original sin in wine

Post by i30817 »

There have been reports of it working with the steam version, but it doesn't here with the gog version. It simply infinite hangs the initial creation of the window (the window appears and the cursor changes, but it's contents are a reflection of the desktop as it appeared when the executable started, forever).

I'm currently using the patched ppa to deal with the mouse problem on Risen, but it appears to make no difference:
https://launchpad.net/~foresto/+archive ... inepatched

Game was patched on gog some times and i have the latest version (what steam users call) 1.51
The game needs winetricks vcrun2008 (missing dependency shown on dependency walker, gog installer tries to install it) and d3dx9_36 (gog installer tries to install directx9) to start without a shader error.
Depency walker also reported that binkw32.dll the game uses also needed MSS32.DLL (Warning: At least one delay-load dependency module was not found.), but no matter if i dropped there a dll for it from the net or left it missing the behaviour is the same (except dependency walker noticed it wasn't missing).

Regardless, whatever you do, run normal or patched wine, install d3dx9_36 and vcrun2005 or not, drop dll or not, game always hangs forever at start before the intro video starts playing. In clean prefixes of course, although i tried with the installer one at first.

Minimal (after the winetricks above) error output of a non-debug channels doesn't appear helpful:

Code: Select all

DOS/Shipping$ wine EoCApp.exe 
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
fixme:thread:start_thread Started native thread 00000022
err:wgl:wglFinish wglFinish
fixme:win:EnumDisplayDevicesW ((null),0,0x188f2d8,0x00000000), stub!
err:wgl:wglFinish wglFinish
fixme:win:EnumDisplayDevicesW ((null),0,0x188e448,0x00000000), stub!
err:wgl:wglFinish wglFinish
fixme:win:EnumDisplayDevicesW ((null),0,0x188e748,0x00000000), stub!
fixme:ddraw:ddraw7_Initialize Ignoring guid {00000000-0000-0000-0000-000000000000}.
fixme:d3d9:Direct3DShaderValidatorCreate9 stub
fixme:xinput:XInputGetState (0 0x188ef94)
err:ole:CoGetClassObject class {5a508685-a254-4fba-9b82-9a24b00306af} not registered
err:ole:CoGetClassObject no class object {5a508685-a254-4fba-9b82-9a24b00306af} could be created for context 0x1
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
fixme:winediag:AUDDRV_GetAudioEndpoint Winepulse is not officially supported by the wine project
fixme:winediag:AUDDRV_GetAudioEndpoint For sound related feedback and support, please visit http://ubuntuforums.org/showthread.php?t=1960599
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
		^Cfixme:console:CONSOLE_DefaultHandler Terminating process 8 on event 0
the err:wgl:wglFinish wglFinish thing is from the patched wine version, the command stream multithreading patch i think (although i didn't enable it for this test, not that it makes a difference anyway).

Help! If you can run it on steam, would you post the md5sum of your executable? Maybe it's my hardware not being good enough for the game?
User avatar
dimesio
Moderator
Moderator
Posts: 13207
Joined: Tue Mar 25, 2008 10:30 pm

Re: Divinity original sin in wine

Post by dimesio »

Patched versions of Wine are not supported here, and all the versions in that PPA are old. Try the current development release of plain Wine.
i30817
Level 1
Level 1
Posts: 9
Joined: Fri Aug 20, 2010 3:18 am

Re: Divinity original sin in wine

Post by i30817 »

Of course i did try the dev version of wine. It was the first thing i tried before i went to winetricks and before i went to the ppa. No change at all (except the wgl errors missing).
takanowaka
Level 1
Level 1
Posts: 5
Joined: Wed Oct 29, 2008 2:40 pm

Re: Divinity original sin in wine

Post by takanowaka »

my steam version works with installed d3dx9_43 and d3d43_compiler
i30817
Level 1
Level 1
Posts: 9
Joined: Fri Aug 20, 2010 3:18 am

Re: Divinity original sin in wine

Post by i30817 »

the problem was caused by bug #36854
https://bugs.winehq.org/show_bug.cgi?id=36854
the workaround is simple, just change your keyboard layout to something the game likes, like english.
Locked