Grimrock 2 working with WINE

Have trouble running Legend of Grimrock 2 or do you have questions about the purchasing options? Look for help here.
Washac
Posts: 37
Joined: Wed Oct 15, 2014 7:34 pm

Re: Grimrock 2 working with WINE

Post by Washac »

Mwah wrote:Did some more testing. Could reproduce the crashes on saving most reliably when setting down a container with items in it on the ground before hitting quicksave.
Hitting quicksave multiple times in a row without changing anything in the world on the other hand did not seem to cause crashes.

Anyone an idea how to get better debug output on this? The grimrock.log is sort of useless...
Can anyone reproduce this with the GOG version? Or not reproduce with steam?
GoG version does not load into a WIne wrapper, well on a Mac anyway :(
User avatar
Morgan
Posts: 24
Joined: Sat Mar 31, 2012 12:54 am

Re: Grimrock 2 working with WINE

Post by Morgan »

Have no problems with x64 system and x64 wine, setted up steam via winetricks and installed game, that's all.

Only trick i did - added libtxc-dxtn-s2tc0:i386 to already installed libtxc-dxtn-s2tc0 with apt-get utility, to see textures.
dj--alex
Posts: 15
Joined: Sat Oct 25, 2014 6:58 pm

Re: Grimrock 2 working with WINE

Post by dj--alex »

Linux Mint 17

I used this distro with preinstalled Wineprefix and wine
http://rutracker.org/forum/viewtopic.php?t=4791999
game works "out of box" , just install nvidia-340 driver and run.

http://www.youtube.com/watch?v=o1wOJKNK ... e=youtu.be
User avatar
e8hffff
Posts: 82
Joined: Mon Apr 09, 2012 10:01 pm

Re: Grimrock 2 working with WINE

Post by e8hffff »

I'm an unlucky one as I simply can't get it working on wine 32 and 64 bit install. I've also tried PlayOnLinux.

The game simply dies straight after character confirmation and the loading screen.

I use ArchLinux with latest drivers for Nvidia and latest Mesa. Other games prove the OpenGL is working on my system.
uweklosa
Posts: 4
Joined: Sun Oct 19, 2014 6:37 pm

Re: Grimrock 2 working with WINE

Post by uweklosa »

Mwah wrote:Had no crashes in one wineprefix with the GOG version pre patch.

Now, in another wine prefix / steam version after patch I get frequent crashes when saving the game. Couldn't copy the error message, but it said something like this "vbrun: the program exited in an unusual manner" (nothing that was of any use to me). All progress since last save is lost.

Do the crashes only happen with the steam version? Or is it something that's installed in the steam prefix?
I have the same problem. Every now and then the game crashes when I try to save. Still searching for a solution.
uweklosa
Posts: 4
Joined: Sun Oct 19, 2014 6:37 pm

Re: Grimrock 2 working with WINE

Post by uweklosa »

I got it finally working without crashes when saving.

After filing a bug and getting really long and good answer I tried a new install. You can find the bug at https://bugs.winehq.org/show_bug.cgi?id=37481

I ran the following commands:

WINEPREFIX="~/.local/share/wineprefixes/grimrock" WINEARCH='win32' wine 'wineboot'

WINEPREFIX="~/.local/share/wineprefixes/grimrock" winetricks -q xact

WINEPREFIX="~/.local/share/wineprefixes/grimrock" winetricks -q --force xact_jun2010

WINEPREFIX="~/.local/share/wineprefixes/grimrock" winetricks -q d3dcompiler_43

WINEPREFIX="~/.local/share/wineprefixes/grimrock" wine Downloads/log2/install.exe
Washac
Posts: 37
Joined: Wed Oct 15, 2014 7:34 pm

Re: Grimrock 2 working with WINE

Post by Washac »

Can the title of the OPs original post please be changed to say - Grimrock 2 Working with Wine on Linux ?
User avatar
Frenchie
Posts: 219
Joined: Wed Oct 16, 2013 2:50 am

Re: Grimrock 2 working with WINE

Post by Frenchie »

Like Samcube I have I have a 27" iMac with Geforce GT 755M and I also got it to work. I had already installed Xcode.app and X11.app (Quartz), but I don't know if they matter. I used Wineskin Winery to create a blank wrapper with Engine 1.7.31 and used the following dll tricks: directmusic, d3dcompiler_43, xact and xact_jun2010. I added settings trick sound = coreaudio and in wine configuration I changed dsound library setting from native(windows) to builtin (wine).

I'm not sure if all the dll tricks are required especially directmusic. Without the builtin sound option, the music was very distorted, stuttering and the sound fx had an echo. As for resolutions 2048 x 1280 wine & 2560 x 1417 game borderless crashes the game, but both 2048 x 1280 works (frame rate 120)

I was unfamiliar to patch the game inside Wine, so I copied a double patched version from my Macbook bootcamp (doesn't run due missing x3daudio1_7.dll) inside the wrapper. Afterwards the game didn't even start up. The prepatch game crashed a lot especially (quick) saving and changing levels. (I gave up on running Windows properly on my Macbook)

I tried the Compatibility Test (would be a nice screensaver) with the same Wineskin wrapper settings, but it didn't crash at all with full screen of 2560x1440. Only when I installed the tricks it had "wine regsv31 xaudio returned 1 : aborting" message

My Test Log:
SpoilerShow
WineskinX11: main(): argc=12
Waiting for startup parameters via Mach IPC.
WineskinX11: do_start_x11_server(): argc=12
Attempting to use pixel depth of 24
[3620844.325] WineskinX11 starting:
[3620844.325] X.Org X Server 1.13.0
[3620844.325] Build Date: 20120921
[3620844.325] _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
[3620844.326] Initializing built-in extension Generic Event Extension
[3620844.326] Initializing built-in extension SHAPE
[3620844.326] Initializing built-in extension MIT-SHM
[3620844.326] Initializing built-in extension XInputExtension
[3620844.326] Initializing built-in extension XTEST
[3620844.326] Initializing built-in extension BIG-REQUESTS
[3620844.326] Initializing built-in extension SYNC
[3620844.326] Initializing built-in extension XKEYBOARD
[3620844.326] Initializing built-in extension XC-MISC
[3620844.326] Initializing built-in extension XINERAMA
[3620844.326] Initializing built-in extension PseudoramiX
[3620844.326] Initializing built-in extension XFIXES
[3620844.326] Initializing built-in extension RENDER
[3620844.326] Initializing built-in extension RANDR
[3620844.326] Initializing built-in extension DAMAGE
[3620844.326] Initializing built-in extension MIT-SCREEN-SAVER
[3620844.326] Initializing built-in extension DOUBLE-BUFFER
[3620844.326] Initializing built-in extension RECORD
[3620844.326] Initializing built-in extension X-Resource
[3620844.326] Initializing built-in extension XVideo
[3620844.326] Initializing built-in extension XVideo-MotionCompensation
[3620844.326] Initializing built-in extension GLX
[3620844.326] x: 0, y: 0, w: 2560, h: 1417
[3620844.338] (II) GLX: Initialized Core OpenGL GL provider for screen 0
[3620844.449] noPseudoramiXExtension=0, pseudoramiXNumScreens=1
Engine Used: WS9Wine1.7.31
Hardware:

Hardware Overview:

Model Name: iMac
Model Identifier: iMac14,2
Processor Name: Intel Core i5
Processor Speed: 3.2 GHz
Number of Processors: 1
Total Number of Cores: 4
L2 Cache (per Core): 256 KB
L3 Cache: 6 MB
Memory: 16 GB
Boot ROM Version: IM142.0118.B07
SMC Version (system): 2.15f7

Graphics/Displays:

NVIDIA GeForce GT 755M:

Chipset Model: NVIDIA GeForce GT 755M
Type: GPU
Bus: PCIe
PCIe Lane Width: x16
VRAM (Total): 1024 MB
Vendor: NVIDIA (0x10de)
Device ID: 0x0fea
Revision ID: 0x00a2
ROM Revision: 3782
Displays:
iMac:
Display Type: LCD
Resolution: 2560 x 1440
Pixel Depth: 32-Bit Color (ARGB8888)
Main Display: Yes
Mirror: Off
Online: Yes
Built-In: Yes

fixme:heap:HeapSetInformation 0x0 1 0x0 0
fixme:win:EnumDisplayDevicesW ((null),0,0x32f080,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),1,0x32f080,0x00000000), stub!
err:winediag:init_driver_info Invalid GPU override 10de:0fea specified, ignoring.
fixme:win:EnumDisplayDevicesW ((null),0,0x32ef6c,0x00000000), 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:winediag:init_driver_info Invalid GPU override 10de:0fea specified, ignoring.
fixme:win:EnumDisplayDevicesW ((null),0,0x32eeec,0x00000000), stub!
fixme:d3d9:Direct3DShaderValidatorCreate9 stub
jit disabled
Auto-detected resolution: 2560 x 1417
Auto-detected texture resolution: 3
User avatar
Zo Kath Ra
Posts: 931
Joined: Sat Apr 21, 2012 9:57 am
Location: Germany

Re: Grimrock 2 working with WINE

Post by Zo Kath Ra »

I've installed LoG2 2.2.4 on this system:
- openSUSE 13.2 (64 bit)
- Wine 1.7.28
- graphics card: GTX 550 Ti
- graphics driver: http://www.nvidia.com/Download/driverRe ... 1761/en-us

And the game works perfectly w/o any winetricks or other changes.
(it's a little slower than on Windows XP/7, but not much)

-------

What doesn't work is the editor:
The editor flickers between pure black and the actual editor graphics.
minmay
Posts: 2768
Joined: Mon Sep 23, 2013 2:24 am

Re: Grimrock 2 working with WINE

Post by minmay »

Zo Kath Ra wrote:What doesn't work is the editor:
The editor flickers between pure black and the actual editor graphics.
try running with wine 1.7.2
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
Post Reply