Legend of Grimrock won't start

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
fettouhi
Level 1
Level 1
Posts: 9
Joined: Sun Oct 09, 2011 2:33 pm

Legend of Grimrock won't start

Post by fettouhi »

I just bought Legend of Grimrock and I can't get it to run in wine on my Arch Linux 64 bit machine. Several users have reported getting it to work under wine in Kubuntu and on Mac with wine. When I try to run it I get the following error

Code: Select all

[af@andre ~]$ env WINEPREFIX="/home/af/.local/share/wineprefixes/log" wine C:\\windows\\command\\start.exe /Unix /home/af/.local/share/wineprefixes/log/dosdevices/c:/users/Public/Desktop/Legend\ of\ Grimrock.lnk
fixme:exec:SHELL_execute flags ignored: 0x00000100
fixme:exec:SHELL_execute flags ignored: 0x00004100
[af@andre ~]$ fixme:heap:HeapSetInformation (nil) 1 (nil) 0
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
fixme:win:EnumDisplayDevicesW ((null),0,0x33ea5c,0x00000000), stub!
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3dcompiler:D3DCompile data 0x4e5c90, data_size 169, filename (null), defines (nil), include 0x33ee50, entrypoint "main",
target "vs_3_0", sflags 0x8, eflags 0, shader 0x33eea4, error_messages 0x33ee60 stub!
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
fixme:win:EnumDisplayDevicesW ((null),0,0x33ea5c,0x00000000), stub!
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3dcompiler:D3DCompile data 0x4e5c90, data_size 169, filename (null), defines (nil), include 0x33ee50, entrypoint "main",
target "vs_3_0", sflags 0x8, eflags 0, shader 0x33eea4, error_messages 0x33ee60 stub!
The game needs to have xact and d3dx9 installed and that I have done. I have a Nvidia GT520 Silent card and I am using the latest nvidia drivers.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Legend of Grimrock won't start

Post by dimesio »

fettouhi wrote:

Code: Select all

[af@andre ~]$ env WINEPREFIX="/home/af/.local/share/wineprefixes/log" wine C:\\windows\\command\\start.exe /Unix /home/af/.local/share/wineprefixes/log/dosdevices/c:/users/Public/Desktop/Legend\ of\ Grimrock.lnk
That's not the correct way to run apps from the command line. http://wiki.winehq.org/FAQ#head-3b297df ... b8edc21619

You didn't mention what version of Wine; if it's not the latest development release, upgrade.
fettouhi
Level 1
Level 1
Posts: 9
Joined: Sun Oct 09, 2011 2:33 pm

Post by fettouhi »

I'm running wine 1.5.1.
fettouhi
Level 1
Level 1
Posts: 9
Joined: Sun Oct 09, 2011 2:33 pm

Re: Legend of Grimrock won't start

Post by fettouhi »

dimesio wrote:
fettouhi wrote:

Code: Select all

[af@andre ~]$ env WINEPREFIX="/home/af/.local/share/wineprefixes/log" wine C:\\windows\\command\\start.exe /Unix /home/af/.local/share/wineprefixes/log/dosdevices/c:/users/Public/Desktop/Legend\ of\ Grimrock.lnk
That's not the correct way to run apps from the command line. http://wiki.winehq.org/FAQ#head-3b297df ... b8edc21619

You didn't mention what version of Wine; if it's not the latest development release, upgrade.
Running this way

[af@andre ~]$ cd "/home/af/.local/share/wineprefixes/log/drive_c/Program Files/GOG.com/Legend of Grimrock/"
[af@andre ~]$ env WINEARCH=win32 WINEPREFIX=~/.local/share/wineprefixes/log wine ./grimrock.exe

yields the same results.
Mateusz Stachowski
Level 3
Level 3
Posts: 71
Joined: Mon Apr 18, 2011 3:49 am

Post by Mateusz Stachowski »

I have it working. I've tried before the Hardware Test and now the Full game. You have to install some native Windows binaries:

winetricks xact_jun2010 d3dx9_36

that's what I have in my Wineprefix for Legend of Grimrock. If that still won't get you to the game you could try installing vcrun2008.

The game runs really good with everything set to High even SSAO in 1920x1080 fullscreen. In the Hardware Test i get 35 fps and with SSAO disabled about 80 fps. The only thing that's causing troubles is sound. I'm using Open Sound System OSSv4 (v4.2-2006) so I don't know how will it work with ALSA or PulseAudio.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

FYI, there's now an AppDB entry for this game, and I just processed a bunch of test reports. Ratings are all over the place, but you might want to look at the gold-rated tests to see what tweaks they used.
http://appdb.winehq.org/objectManager.p ... &iId=14092
Locked