SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > SRB2 Discussion > Bug Reports

Reply
 
Thread Tools Search this Thread
Old 02-23-2020   #1
Goldenhog
Wandering Protagonist
 
Goldenhog's Avatar
Default 1-up sound can't be replaced

According to the source code, if DSONEUP is not found then DSCHCHNG (the tally end sound) plays when getting an extra life if the game is set to play a sound instead of the jingle. However, DSCHCHNG will stay even if a WAD that includes DSONEUP is loaded (see attachment, it's a renamed DSKC42).

This also happens in 2.2.1. I wish I hadn't forgotten to report it
Attached Files
File Type: rar dsoneup.rar (12.8 KB, 8 views)
__________________
Quote:
Originally Posted by Asagi Asagiri
I need power over the people! The stupid, STUPID people!
Goldenhog is offline   Reply With Quote
Old 02-23-2020   #2
TehPuertoRicanSpartan
 
TehPuertoRicanSpartan's Avatar
Default

You have to convert it to a .pk3 file. Let's see if it works or not...
__________________
Quote:
Originally Posted by Silver Sonic View Post
Rude. You could at least use the releases thread and cut the cursing...
Quote:
Originally Posted by Icarus View Post
I agree with Silver on this one, could you please refrain from using cuss words?
TehPuertoRicanSpartan is offline   Reply With Quote
Old 02-23-2020   #3
Lach
nanananananananananananan a
Moderator
 
Lach's Avatar
Default

It doesn't work because sound lumps by default aren't cached until they need to be played for the first time, so the entry for sfx_oneup never sets up its lumpnum to reference DSONEUP and the check for its existence fails. We're currently working on getting an official DSONEUP sound done so we can get rid of that condition and just play the sound. In the meantime, you can use the soundtest command to forcibly call S_StartSound on sfx_oneup and link it properly. (sfx_oneup should be 168.)
Lach is offline   Reply With Quote
Old 02-23-2020   #4
glaber
Emblem Radar Ready
 
glaber's Avatar
Default

I thought there was another way to make the game use a custom 1up sound. Dimension Glaber uses a custom 1up sound effect instead of a 1up music track and it plays.
__________________
Welcome to my Dimension
glaber is offline   Reply With Quote
Old 02-23-2020   #5
Goldenhog
Wandering Protagonist
 
Goldenhog's Avatar
Default

Dimension Glaber uses MAINCFG's Use1upSound to set it up, I guess that gets the game to wake up. I was trying to do it the non-game-modifying way of just feeding the game the right sound file.
__________________
Quote:
Originally Posted by Asagi Asagiri
I need power over the people! The stupid, STUPID people!
Goldenhog is offline   Reply With Quote
Old 03-07-2020   #6
TehPuertoRicanSpartan
 
TehPuertoRicanSpartan's Avatar
Default

Wait a second... SRB2 used that! Not only Dimension Glaber. It uses mods! I looked into the cdsfx.pk3's files. I will get a mod about that, but not the cdsfx.pk3 itself...
__________________
Quote:
Originally Posted by Silver Sonic View Post
Rude. You could at least use the releases thread and cut the cursing...
Quote:
Originally Posted by Icarus View Post
I agree with Silver on this one, could you please refrain from using cuss words?
TehPuertoRicanSpartan is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:59 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.