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

×
Ah the old problem with these music files and old games. When the track is finished the music stops until you reload.
Anybody know a fix?
In the Galactic Battöegrounds forum someone mentioned Alt+Tab and then back to the game. Didn't try it yet.
avatar
Silver83: In the Galactic Battöegrounds forum someone mentioned Alt+Tab and then back to the game. Didn't try it yet.
That won't work since alt-tab doesn't seem to work with this game.
If you use dgvoodoo you can enable Alt+Tab and it will work.

EDIT: Picture attached, in case you don't believe me ;)

EDIT 2: It doesn't help :) But after you have entered the menu (ESC), music starts again. I think, one can live with that.
Attachments:
01.jpg (460 Kb)
Post edited January 28, 2015 by Silver83
avatar
xxxIndyxxx: Ah the old problem with these music files and old games. When the track is finished the music stops until you reload.
Anybody know a fix?
IIRC it's a problem Jedi Knight has always had, I think it's (sadly) just how the music has always worked in this game.
avatar
Silver83: If you use dgvoodoo you can enable Alt+Tab and it will work.

EDIT: Picture attached, in case you don't believe me ;)

EDIT 2: It doesn't help :) But after you have entered the menu (ESC), music starts again. I think, one can live with that.
I will try that (going to the menu). Hell i was loading my quicksave anyway so just going to the menu so be fine ;)
avatar
xxxIndyxxx: Ah the old problem with these music files and old games. When the track is finished the music stops until you reload.
Anybody know a fix?
avatar
F4LL0UT: IIRC it's a problem Jedi Knight has always had, I think it's (sadly) just how the music has always worked in this game.
really?? I did not know that...weird.
Post edited January 28, 2015 by xxxIndyxxx

IIRC it's a problem Jedi Knight has always had, I think it's (sadly) just how the music has always worked in this game.
I've played this game a thousand times back in 90's and never noticed that. Always looped for me, as far as I remember.
When I simply pushed ESC to go to the menu's and went straight back into the game, the music started up again. Worked every time the loop broke.
avatar
xxxIndyxxx: Ah the old problem with these music files and old games. When the track is finished the music stops until you reload.
Anybody know a fix?
Please submit a ticket to GOG support and provide your dxdiag log, I will do the same once I have verified the problem. Even though you might be able to handle the problem by going to the menu there is still a good chance that GOG is going to fix this issue.
This is an issue that, far as I can tell, was caused by Jedi Knight using Redbook audio (basically, treating the disc like an audio CD with track 0 containing the data and all the others containing music). Starting with Windows Vista, Microsoft changed the sound stack and support for Redbook audio used this way is spotty at best in the new one, so games that use it tend to have music that either doesn't loop or outright refuses to play.

At least, that's what was causing it when I used the disc version, which has the same issue in modern Windows OSes. I don't know what wizardry they've used to make the music work in the GOG version (maybe mounting a disc image somehow?), but it seems to be subject to the same issue. Not sure if it can be fixed, unfortunately, though if they do fix it then it would be a valuable fix for much more than just Jedi Knight.

In the meantime, when the music stops you should be able to start it again by pausing and unpausing the game.

EDIT: [url=http://pcgamingwiki.com/wiki/Star_Wars:_Jedi_Knight_%E2%80%93_Dark_Forces_II#Music_does_not_loop]http://pcgamingwiki.com/wiki/Star_Wars:_Jedi_Knight_%E2%80%93_Dark_Forces_II#Music_does_not_loop[/url]

Hallelujah. Though you might need the original game's CDs to do this, but maybe tossing the link GOG's way could get them to put it into the proper release.
Post edited January 28, 2015 by rabish12
I just tested the first level of the game. I can't confirm this problem, at least not on my system. I plays Track12.ogg, then Track13.ogg. Might do some further testing later.

Can somebody who owns the original game please explain how the music working before? Did it just play a single track and kept it looping? Or did it just cycle through all the tracks (an example for this would be Age of Empires II)?
Post edited January 28, 2015 by ShadowOwl
avatar
ShadowOwl: Can somebody who owns the original game please explain how the music working before? Did it just play a single track and kept it looping? Or did it just cycle through all the tracks (an example for this would be Age of Empires II)?
Each level has a looping selection of tracks, all contiguous. Level 1 plays Disc 1 Track 2, then track 3, then track 2. Level 2 plays track 3, then 2, then 3, and so on.

Anyway. I discovered that the music will loop if you stand still for a few seconds without doing anything.

This is not a GoG specific issue, even the regular game does this on XP and up.

I'll have to test it on an Win95 machine to see what happens there.
Post edited January 28, 2015 by Tarvis
Here is how music is ideally played by the game:

Every level calls the PlayMusic(start, end, jumpTo) function. If you open the JK1.gob file and find the line in each .jkl level file, you can find these commands.

First it plays the CD track defined by "start", and then plays through all the tracks from there until it finishes playing the track given by "end", then it jumps to track "jumpTo" and goes through all tracks to "end", then goes to "jumpTo" and repeats in that fashion indefinitely.

The problem seems to be that once it reaches "end" it does not jump back to "jumpTo". GoG's inmm.dll CD music wrapper might not support whatever outdated method JK uses to do this.

When I made the patch for the Steam version of JK to play music to get around this was I just manually defined a playlist for each level that it loops through using Winamp (through _inmm.dll someone else linked to in this thread). But that's not exactly a viable solution for GoG to distribute.
Post edited January 28, 2015 by Tarvis
Play on Hard. You won't live enough to the music track to end.