[Shadow Warrior] [0.4.0] Problem with sound loops

Moderator: Raze Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
User avatar
Dynamo
Posts: 1042
Joined: Sat Jun 07, 2008 5:58 am
Location: Industrial District

[Shadow Warrior] [0.4.0] Problem with sound loops

Post by Dynamo »

We are once again on Last Warrior, on a map that's supposed to take place inside a moving train. Start a new game, open the console and type "map LLW1M6". You will notice that the train has a sound playing, but as soon as you press the pause button, that sound will completely stop and never play again, resulting in a much quieter map than what it ought to be. I've had issues with sound loops being blocked off elsewhere in the game but this is a nice demonstration.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49192
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [Shadow Warrior] [0.4.0] Problem with sound loops

Post by Graf Zahl »

I don't think that Shadow Warrior ever saves its looping sounds and there's surely no restart attempts.
I'll try to port over ZDoom's sound saving feature so that these cases no longer result in sound being stopped whenever something resets the sound system.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49192
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [Shadow Warrior] [0.4.0] Problem with sound loops

Post by Graf Zahl »

Checked again - this is clearly a mod bug, it just starts off the train sound and never bothers to recheck it ever again, if the sounds get stopped by any event, either switching off sound, saving and reloading and what else, they are gone.

Even when saving the sound system state this will not be fixable 100%.
User avatar
sinisterseed
Posts: 1349
Joined: Tue Nov 05, 2019 6:48 am
Preferred Pronouns: He/Him
Graphics Processor: nVidia with Vulkan support

Re: [Shadow Warrior] [0.4.0] Problem with sound loops

Post by sinisterseed »

And considering the other ports stop the sound when opening the menu for instance, there's nothing to compare this with either.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49192
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [Shadow Warrior] [0.4.0] Problem with sound loops

Post by Graf Zahl »

Added sound serialization, so unless something really stops the sounds they'll survive a savegame now.

Return to “Closed Bugs [Raze]”