It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Thought I'd open a new thread about running this game in Wine. There are good test results in appdb.winehq.org, but my first try wasn't as succesful.

On a clean prefix (I use PlayOnLinux) the game crashes at launch, using jk.exe. Using goglauncher.exe, nothing happens, which is weird because I see no error message either.

Tried several different Wine versions but the same thing happens always. I didn't try anything else yet. I'll post some error logs later.

I will update this thread if I make progress. Please share your tips if you have any, especially if there is a need to install some things with winetricks (or POL equivalent) as I don't really know how should I determine the correct things.
Post edited January 28, 2015 by Daliz
Runs great in CrossOver (installed straight into a fresh bottle, no redistributables). Even runs *much* better than it does on Windows (tested on Win7 ultimate 64bit), except for the music not working.
Post edited January 28, 2015 by adamhm
Seemed to work for me yesterday. Newest xubuntu, nvidia, clean prefix, no winetricks, probably some playonlinux wine. I'll check later if I remember. The installer complained a bit towards the end, but it didn't seem significant.

Had some trouble with resolution changes, but wine gives me that all the time; possibly caused by some eccentricities in my setup. Ended up emulating desktop at 1920x1080. Menu and cutscenes are now shown windowed which is a bummer, but game works fine in 1920x1080 with hardware 3d acceleration.

Mouse was super sensitive with acceleration enabled, even at lowest setting. xset m 1 helps.

EDIT 1: I'm not sure about music, when is it supposed to play? Around the corner from where the game starts there is a bar of some sort, and I'm sure there was some background music playing in there. Is this it?

EDIT 2: The installer runs without complaints using /NOGUI /SILENT /SUPPRESSMSGBOXES, but I still don't think that makes a difference.
Post edited January 28, 2015 by Rixasha
Have had a proper look at this now and got the music working: just add a library override for winmm.dll - it needs to be set to native
Thanks for the posts, most informative.

Now that I tried the game the crashes are gone, weird. I just have to start the game with the -windowgui option and Wine set to emulate virtual desktop, otherwise I just get a black screen. Seems to work okay this way, at 1920x1200.

Are the videos supposed to be in a window as well with the -windowgui option? Do you use it or not?

The mouse sensitivity was okay at the minimum setting but the vertical axis is inverted? I've played this game years ago but I don't remember how it was then. If I set the invert mouse in options, BOTH the vertical and horizontal axis are inverted :D
I guess the formerly-cd music doesn't work for me. Overriding winmm.dll makes sense, but the game crashes if I try that, in fact not even winecfg will start then. How do you start your game? With wine JK.EXE or through GOGLauncher.exe somehow? (What is that thing?)

Daliz: The checkbox for axis inversion is tied to the selected axis. Choose the Y axis from the list before messing with it.
winmm.dll override broke it for me as well. :D

Well I think I can live without the music but it would be nice to get it working also.
I'm running the game with set virtual desktop enabled and native winmm using the desktop icon created by the installer. CrossOver 14.0.3 (which is based on Wine 1.7.25), Linux Mint 17 64-bit.
Post edited January 28, 2015 by adamhm
Okay I made a new prefix and reinstall, set virtual desktop on and added -windowgui option.

I'd also like to know what is the music that might be missing, because in the beginning in the bar I can hear the music.

Rixasha: Do you hear the bar music?

Edit. This time I didn't do anything else except the things above.
Post edited January 28, 2015 by Daliz
You can hear the background music in this video: https://www.youtube.com/watch?v=x-cECOZdHHg&t=6m39s
avatar
Daliz: Rixasha: Do you hear the bar music?
I do, but I figure it's just environmental noise, like sounds of wind and ambient hums, which too get muffled when you go further away, which I think would be a bit tricky to implement reliably with CD audio.

Other threads suggested to me there should be actual music on the background. It seems that there are 18 music tracks in .ogg format (why not flac? :sad:) in the MUSIC/ subdirectory, and the included winmm.dll replacement could be some sort of a hack that captures calls to play the cd and plays those instead. Alas, wine has its own builtin winmm.dll..
avatar
adamhm: native winmm using the desktop icon created by the installer. CrossOver 14.0.3 (which is based on Wine 1.7.25), Linux Mint 17 64-bit.
I'm not familiar with CrossOver. Is it a combined wine64+wine build or just 32bit? Do you have any other dll overrides? Do you have winmm as "native,builtin" or just "native"? Does a "fresh bottle" have anything pre-installed?

I might be wrong, but from what I can gather, winmm.dll is not one of the libraries that you would normally try to override, since a real winmm.dll would try to talk to lower level interfaces that are beyond the scope of wine. My guess is that in this case it is just a wrapper that intercepts some calls and the rest pass to the real - or wines builtin - winmm.dll.

Sure enough, if I override it with "native" it dies horribly with "Unhandled exception: unimplemented function WINMM.dll.joyGetNumDevs called in 32-bit code (0x7bc54060)."

If on the other hand I override it "native, builtin" the game dies differently:
err:seh:raise_exception Exception frame is not in stack limits => unable to dispatch exception.

And with "builtin" the game of works, but with no support for the ogg audio tracks.
avatar
Rixasha: I'm not familiar with CrossOver. Is it a combined wine64+wine build or just 32bit? Do you have any other dll overrides? Do you have winmm as "native,builtin" or just "native"? Does a "fresh bottle" have anything pre-installed?
- CrossOver is currently 32bit only.
- There are a *lot* of other dll overrides by default, too many to list here (can download the trial to have a look)
- It's "native, builtin" - sorry, I mistyped earlier
- A fresh bottle does have some stuff installed by default but nothing that I think could have any effect on this (Wine Gecko etc).

One more thing- the shortcut that's created by the installer starts the game with the command "GOGLauncher.exe 1422286819"
avatar
Daliz: Rixasha: Do you hear the bar music?
avatar
Rixasha: I do, but I figure it's just environmental noise, like sounds of wind and ambient hums, which too get muffled when you go further away, which I think would be a bit tricky to implement reliably with CD audio.

Other threads suggested to me there should be actual music on the background. It seems that there are 18 music tracks in .ogg format (why not flac? :sad:) in the MUSIC/ subdirectory, and the included winmm.dll replacement could be some sort of a hack that captures calls to play the cd and plays those instead. Alas, wine has its own builtin winmm.dll..
Okay.. I'll try later if I can actually hear the music or not.

BTW here's something about winmm: http://wiki.winehq.org/NativeDll


Edit. Okay, no music here either.

I can start the game with the GOGLauncher.exe command that adamhm posted but it makes no difference, everything seems to work just like before.
Post edited January 29, 2015 by Daliz
Well. I checked out the trial of Crossover, and confirmed that the background music works if you just set an override of "native,builtin" on winmm. The music starts with trumpets or such in the very beginning so it's easy to tell, and unlike environmental noise keeps playing even when you open the menu.

But I'm stumped as to why crossover works and wine doesn't. It's probably not about the overrides, since I removed the rest of them and it kept working. It's probably not any of the installed software either, since I replaced the entire drive_c from a wine prefix where the music isn't working, and it still worked in crossover. It could be some registry thing, but for all I can tell, the difference is in crossover itself. It's based on wine 1.7.25, so thinking it might be a regression I tried that version too, but no. Thinking perhaps a PlayOnLinux issue, I tried a wine that I compiled myself, but still no music.

If no one can think of anything soon, I guess I might file a wine bug over it.
EDIT: Wine bug #37983
Post edited January 31, 2015 by Rixasha