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

×
avatar
Daliz: I still don't have the background music working.

I have understood the current staging versions of Wine have the winmm workaround included. I have tried multiple staging versions through PlayOnLinux and the latest (1.9.5 I believe) staging version from normal OpenSUSE repos. I cannot hear the music with any version.

"wine --patches" also tells me that this patch is included.

Any ideas where I should start looking next?
You can try the binary patch hack, which I used for Outlaws: https://gist.github.com/shmerl/baa5367fce111e6999a4

You'll have to adapt it to Dark Forces obviously, but idea is the same. I.e. rename winmm.dll __nmm.dll, and then patch all files in the game that reference winmm.dll (or WINMM.dll) inside to reference __nmm.dll instead.
Post edited March 20, 2016 by shmerl
avatar
Daliz: I still don't have the background music working.

I have understood the current staging versions of Wine have the winmm workaround included. I have tried multiple staging versions through PlayOnLinux and the latest (1.9.5 I believe) staging version from normal OpenSUSE repos. I cannot hear the music with any version.

"wine --patches" also tells me that this patch is included.

Any ideas where I should start looking next?
avatar
shmerl: You can try the binary patch hack, which I used for Outlaws: https://gist.github.com/shmerl/baa5367fce111e6999a4

You'll have to adapt it to Dark Forces obviously, but idea is the same. I.e. rename winmm.dll __nmm.dll, and then patch all files in the game that reference winmm.dll (or WINMM.dll) inside to reference __nmm.dll instead.
I got it working, thanks!

At least, I think. The file I patched was JK.EXE (and JKM.EXE for Mysteries of the Sith). There's only one DLL of the original game (SMACKW32.DLL) and if I did stuff correctly, winmm.dll wasn't called there. Other DLLs were libvorbis, and some GOG installer stuff.

This stuff is a bit beyond me, but the game starts and music plays so all is well for now :)
Post edited March 20, 2016 by Daliz
avatar
Daliz: This stuff is a bit beyond me, but the game starts and music plays so all is well for now :)
Glad it worked! Can you please comment in the Wine bug about it, since staging still didn't fix it? The relevant bug is here: https://bugs.winehq.org/show_bug.cgi?id=37983
Post edited March 20, 2016 by shmerl