Page 1 of 1

Problem replacing star pickup sound with custom one

Posted: Thu Dec 15, 2016 11:13 pm
by darkhog
Tried to replace star collection (ending star) sound with another one so I've put custom got-star.ogg in my world's folder, but it still played one that plays regularly. What did I do wrong?

Re: Problem replacing star pickup sound with custom one

Posted: Thu Dec 15, 2016 11:38 pm
by Imaynotbehere4long
Did you remember to make a "sounds.ini" file in that same folder and type this in it?:

Code: Select all

[sound-52]
name="Got Star Exit"
file="got-star.ogg"

Re: Problem replacing star pickup sound with custom one

Posted: Thu Dec 15, 2016 11:41 pm
by darkhog
Ah, so that's what was wrong. Thought it was as simple as replacing graphics. If possible, SMBX2 team should improve this.

Re: Problem replacing star pickup sound with custom one

Posted: Fri Dec 16, 2016 2:13 am
by Enjl
darkhog wrote:Ah, so that's what was wrong. Thought it was as simple as replacing graphics. If possible, SMBX2 team should improve this.
I don't know how easy it would be to create automatic sound.ini files based on the filenames of sound files in the episode and level folder, but I can guarantee you that "getting rid" of sounds.ini is not an option and would greatly break compatibility with existing features and limit what people could do with sound effects in the future (renaming and sorting into different folders).