SPC Music No Longer Loops Properly

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom 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.
Post Reply
Guest

SPC Music No Longer Loops Properly

Post by Guest »

This may impact other emulated musics, but this is confirmed to be affecting SPC's. Instead of playing endlessly, SPC tracks will start again from the beginning. The linked piece of music helps make this obvious: http://edthebat.com/doom/spctest.pk3

The brief musical sting should only play at the beginning, and then the song should run continuously, but now it starts again from the sting after about 20 seconds.

I can't confirm when this began, but I know GZDoom's version of GME was modified in the past few weeks, so I have suspicions about that. It is confirmed to be happening as late as Nov 19's devbuild: g3.7pre-266-g426ee2b78 (64-bit)
User avatar
drfrag
Vintage GZDoom Developer
Posts: 3141
Joined: Fri Apr 23, 2004 3:51 am
Location: Spain
Contact:

Broken SPC music looping

Post by drfrag »

Since ""Update GME up to 0.6.2 version". Tested with DOOM SNES Jukebox - Ultra pack!: viewtopic.php?f=46&t=49073

Original report: viewtopic.php?f=231&t=62157&start=15#p1084022
User avatar
Rachael
Posts: 13559
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Broken SPC music looping

Post by Rachael »

viewtopic.php?f=104&t=62613

This is a duplicate, however it provides additional information. Graf, would you be opposed to me merging these two topics because I think they both independently provide additional info into the bug that the other doesn't (the other one for example has a plain example), rather than closing one off?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Broken SPC music looping

Post by Graf Zahl »

If it's the same bug they should be merged.
User avatar
Rachael
Posts: 13559
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: SPC Music No Longer Loops Properly

Post by Rachael »

Yeah, they are. Done.
User avatar
drfrag
Vintage GZDoom Developer
Posts: 3141
Joined: Fri Apr 23, 2004 3:51 am
Location: Spain
Contact:

Re: SPC Music No Longer Loops Properly

Post by drfrag »

Good. Wohlstand did the update so i think he's the man for the job.
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: SPC Music No Longer Loops Properly

Post by _mental_ »

Fixed in df2bef2.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: SPC Music No Longer Loops Properly

Post by Graf Zahl »

How did you find that?
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: SPC Music No Longer Loops Properly

Post by _mental_ »

I was searching for SPC changes in GME repository and found that commit with 'This is a behavior change' in its message. Indeed, its removal fixes the problem.
Actually, it could require some modifications in our codebase to work properly, but I have no idea how to handle it. I believe it's better to revert one commit than a whole GME update.
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

Re: SPC Music No Longer Loops Properly

Post by Edward-san »

Why not adding a TODO comment stating this? At least it makes sure we don't miss this the next time gme is updated.
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: SPC Music No Longer Loops Properly

Post by _mental_ »

Probably you are right. Unfortunately, this won't help much. The thing is I'm pretty sure it will be overwritten like many other custom changes in thirdparty libraries. That GME update is a good example of this, but certainly it wasn't the first one.
Post Reply

Return to “Closed Bugs [GZDoom]”