shinyquagsire23 / OpenJKDF2

A cross-platform reimplementation of JKDF2 in C
Other
513 stars 43 forks source link

Music in ogg format not playing #342

Open darkstar252 opened 3 weeks ago

darkstar252 commented 3 weeks ago

It seems like the program is attempting at least to play music but no music is comming from the speakers. stdMci: Set vol 1.000000 stdMci: play track 2 to 3 stdMci: Playing music `MUSIC/1/Track2.ogg' stdMci: Set vol 0.000000

darkstar252 commented 3 weeks ago

Corrected on the game on the first level on the bar there is some music that can be ear with the original game whichi i think it was in the assets of the original game. And when you exited the game the level 1 cd track is playing. Another thing is when you restart the level the music doesn't restart from the beggining. And it sound at very low volume even at maximum in the configuration.

shinyquagsire23 commented 3 weeks ago

Oh right, on level 1 the soundtrack will fade in after you exit the bar, this is intentional scripted behavior which CD-less releases failed to emulate (The game itself sets the volume to 0.0 and then ramps it up, you'll see it in the console).

I might need to double-check on the level restart thing though, I'm not totally sure that the original release did that.

darkstar252 commented 3 weeks ago

But the cantina music isnt ear from my headphones and that confuses me a lot , to be honest. An i appreciate your effort and the effort of the team. Thanks :) And yes!! The original version when you restart the level the music starts from the beginning.

shinyquagsire23 commented 3 weeks ago

Oh, yeah the cantina music should definitely be there, might double-check that then. I will say, that music I believe is controlled by the sfx volume since it's environmental/in-world and not soundtrack.

I'll also see if there's something odd with the level restart (I wonder if it depended on the CD drive). I kinda eyeballed that subsystem when retrofitting it for OGG so maybe I missed some behavior.