Postby Tepig125 » Tue Jul 16, 2019 9:34 pm
Oh! I don't blame you for having issues with sounds.ini, as it took me a while to figure it out as well. Here's what I did, though:
1. Find the "_templates" folder, which is in the "data" folder of SMBX. In there is a template file titled "sounds.ini"
2. Copy and paste that file into your episode folder. For example: "SMBX2/data/worlds/game_name_here" (You can also put it in the level folders, like "SMBX2/data/worlds/game_name_here/1-1" if you only want sound changes for a particular level!)
3. After copying the file, you can open the file in a program like Notepad++, and from there you will see stuff like this:
[sound-1]
name="Jump"
file="sound/player-jump.ogg"
4. What you need to do is replace "sound/player-jump.ogg"(or whatever sound you want to swap out) with the name of the custom sounds, relative to the sounds.ini file. For example, in my Hat in Time level's folder, I have the sounds.ini file, and to replace the jump sound with a file in that level folder, I would put this in the sounds.ini file:
[sound-1]
name="Jump"
file="hatkid-jump.ogg"
(As a note, you don't need to put stuff like "sound/file.ogg", just the file name("file.ogg"), as long as the sound file is in the same folder as the sounds.ini file! If it's in a folder in the level folder, then you'd have to put something like "hatkid-sounds/hatkid-jump.ogg", as an example. Additionally, I believe the sound can be an MP3, wav, or ogg file, and it should work either way)
Also, for custom characters, such as Klonoa or Uncle Broadsword, it's actually easier- all you need to do is find their sound files(such as "ub-swipe.wav"), and place a sound file with an identical name in the level or world folder. In this case, I believe it does to be a .wav file, but I could be wrong!
Hopefully this helps! Also, regarding using a different level exit, that sadly isn't an option, as I want the player to earn a Star(or Time Piece in this case) upon clearing this level. Otherwise I would definitely have used that idea!