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
Rixasha: 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.
Nice work!
Actually Wine 1.7.25 is the exact version I am using as well..
I thought I'd also post my thoughts on getting Jedi Knight to work in WINE on my present system (Mid-2013 11.6" MBA, OS X 10.10.2). I'm surprised it even runs at all, as the Steam version is completely unplayable for me...

Wineskin: Used WINE 1.7.31, and WINE 1.5.31. The game works and plays just fine with the JKR/JKE mods installed, but there's a persistent flicker and screen tearing, as if the game needs vsync. There's also a noticeable input lag in the menus, too. The game displayed a black screen until I used the Ultimate Patch posted on jkhub.net.

CrossOver (14.0.3): The game displayed a black screen until I used the Ultimate Patch posted on jkhub.net. The game works and plays almost perfectly (with no input lag), except that the textures get all messed up with odd tiling effects with the JKE and JKR mods (installed both together and separately). I tried setting wnmm.dll to native, but the game ended up crashing.
Darn, I was a little excited for a moment. I just got a promotional email from GOG that included a "New Games" section and had Dark Forces II listed with a Windows AND Linux logo on it as supported platforms! Unfortunately I'm not allowed to post URL's so I can't show you the web version of it. I now only buy Linux supported games from GOG and Steam so I was stoked to buy this one. Too bad the email seems to be mistaken and only Windows support is present according to the actual game page and this topic. Bummer. Hopefully they'll release a Linux supported version soon so I can give them my money!
My bug report got a quick response and a patch that fixes the issue. With this applied and the override in place, the music now plays in wine.

Unfortunately for now you'll have to compile wine yourself to apply the patch, but hopefully it will be applied in future versions of wine. If not, I suspect at least the PlayOnLinux folks can be easily persuaded to include it.
avatar
Rixasha: My bug report got a quick response and a patch that fixes the issue.
Nice!
Very nice, I'll see if I can compile it.. it's been a while since the last time I did anything like that :)
I decided I've had enough of the original graphics and decided to try the mods that prettify the experience from and [url=http://www.gog.com/forum/star_wars_dark_forces_series/dark_forces_ii_jedi_knight_enhanched_mod_installation_tutorial]this thread. I had a bunch of trouble, and judging from the other thread, I'm not alone. The whole arrangement seems pretty fragile for some reason.

Some people report that JKR.gob needs to go to Resources/ for it to work, but at least for me it does nothing from there. Saves made by the unmodded game can be loaded, but the environment textures are then all wrong, I had to start the game again from the beginning to enjoy the mods. To verify I got everything right for this post I tried to reproduce my steps, but saves made by the earlier modded game now crashed it. I could only successfully start a new game.

With JK.EXE from jkultimate15.zip, the -windowgui parameter became important. Without it, mouse pointer flickers out of existence and I can't even get past the player selection screen. Stopped emulating a virtual desktop, since it's pointless now. Also had to reconfigure the resolution, as it had picked some 4:3 mode.

These are the files I gathered. Be sure to backup the original JK.EXE.

JK.EXE (jkultimate15.zip)
JK.dll (jkultimate15.zip)
MOD/JKE.gob (JK_Enhanced.zip)
MOD/JKR.gob (jkr.zip)

Starting the game with: wine JK.EXE -Path MOD -windowgui
avatar
Rixasha: My bug report got a quick response and a patch that fixes the issue. With this applied and the override in place, the music now plays in wine.

Unfortunately for now you'll have to compile wine yourself to apply the patch, but hopefully it will be applied in future versions of wine. If not, I suspect at least the PlayOnLinux folks can be easily persuaded to include it.
I'm playing on Mac using Wineskin, I've figured out how to patch the source code but no matter what I try I cannot get Wineskin to compile it. Is there anyone else who's got this to work and could upload the end results?
avatar
Rixasha: If no one can think of anything soon, I guess I might file a wine bug over it.
EDIT: Wine bug #37983
Looks like Outlaws is affected by the same bug. You can add that to bug description if you want. I'll try compiling it with that patch.
Post edited March 22, 2015 by shmerl
avatar
shmerl: Looks like Outlaws is affected by the same bug. You can add that to bug description if you want. I'll try compiling it with that patch.
I didn't get Outlaws, but I changed the bug title to include it.
Hopefully an official fix will be in place before more titles get affected :)
avatar
shmerl: Looks like Outlaws is affected by the same bug. You can add that to bug description if you want. I'll try compiling it with that patch.
avatar
Rixasha: I didn't get Outlaws, but I changed the bug title to include it.
Hopefully an official fix will be in place before more titles get affected :)
I'm not sure if GOG will do it, since it's a Wine specific problem. However that winmm wrapper seems to be an open project: https://github.com/hifi/ogg-winmm

May be it's worth letting them know about this bug too.

UPDATE: created this bug for the reference: https://github.com/hifi/ogg-winmm/issues/2
Post edited March 22, 2015 by shmerl
avatar
shmerl: I'm not sure if GOG will do it, since it's a Wine specific problem.
Certainly not, I meant an official fix in wine. I got a patch really quick, so I was expecting it to be a quick fix that would find its way to the next version of wine. Unfortunately it seems to be more of a workaround, and wine has some history of only fixing things when they can do it right, no matter how popular it is. Well, things like PlayOnLinux would still probably include it if they don't already.

(In other news I really wish that other project was flac-mm, because I kind of hate that the originals shipped with lossless audio and the re-releases don't. And it's not about whether I can hear it or not, it's about them being demonstratably worse for no reason that is sane in 2015)
avatar
Rixasha: (In other news I really wish that other project was flac-mm, because I kind of hate that the originals shipped with lossless audio and the re-releases don't. And it's not about whether I can hear it or not, it's about them being demonstratably worse for no reason that is sane in 2015)
Yeah, using transparent Vorbis (or whatever lossy codec at transparent level) is OK for playability, but it still reduces value since it's not equivalent to the original raw CD audio in case you want to reencode it for whatever purpose. FLAC would have been perfect. Alternatively, GOG could simply bundle all soundtracks in FLAC format as an extra just for this purpose.

By the way, if you figured out how to easily build Wine, please comment here:
https://www.gog.com/forum/outlaws_a_handful_of_missions/running_outlaws_in_wine

It seems to require tons of dependencies. I'll try to do it, but not right now.
Post edited March 22, 2015 by shmerl
Some workaround was proposed by the author of ogg-winmm. See in the Outlaws thread.
Post edited March 22, 2015 by shmerl
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?