Hacking [Disscussion] Guide on Adding Addition Music to Stages in Smash Bros. Wii U

RPD490

Well-Known Member
OP
Newcomer
Joined
May 6, 2016
Messages
57
Trophies
0
Age
32
XP
108
Country
United States

This guide is explains the basics of on how to add additional music to stages in Smash Bros. Wii U, but note that it is a rather basic explanation based on my findings and understanding at the moment and will add more when I learn more. Note that this may or may not be the correct method but it can give you an idea on how adding tracks to a stage you want more music for.

The purpose of this guide is to explain how to add more music to Smash Bros. Wii U by changing the number of tracks a stage has. For this you need the following:

  • Sm4shExplorer
  • Parameter Editor
  • MSBT Editor Reloaded
  • A Hex Editor (Preferably HxD)

First, the main files you need to get is a file called ui_sound_db.bin and sound.msbt. The first file contains the database for the My Music menu and the stages that the tracks are in, and the latter contains the music titles, source names and the info you would see in Sound Test.

To use Sm4shExplorer and learn how to set it up, check out this thread to download it and see the installation guide:
https://gbatemp.net/threads/sm4shexplorer-wii-u-only-for-now.416118/

After you set everything up for Sm4shExplorer, open it up and wait for all the resources to load. After that, you want to first grab the sound.msbt.

Go to data/ui/message and extract sound.msbt.

bandicam%202016-05-11%2018-22-02-631_zpskhjnqeqt.png


Next back out and go to your data(en-us)/param/ui and scroll down and find ui_sound_db.bin.

bandicam%202016-05-11%2018-21-41-624_zpsge4l5u10.png


Now go and open Param Editor.
(Download link here: https://www.sendspace.com/file/apij4i)

bandicam%202016-05-06%2023-05-16-241_zpsr2fcdpie.png


You go to Open and open ui_sound_db.bin you extracted. When it loads, you will find three Groups on the left side. Click Group[1] and you see 68 Entries. These are all the stages in game and clicking any of them will show what is in the image above. In my example, I chose Midgar (Entry[54]) as it only has 2 Music Tracks. It will be tricky to figure out which stage is which, so you would need to cross reference the track number from in game until someone can post the Stage IDs.

Name 0 is the Stage ID, which is 54 and for Midgar.
Name 1 is the number of tracks that are in the stage, this case 2 tracks (Let the Battles Begin and Fight On!). This is the important section as you change it to the number of track you want for the stage.
Name 3 and all the ones below it to 41 are the track numbers (505 and 506). The 4294967295 number is basically a filler number and by deleting it and setting another track number will place the track in that slot.

Now you would do your changes and just save it, but the problem is that Param Editor is still very basic and can be unstable. Saving the file would just end up corrupting the file and reinserting it back into Sm4shExplorer and rebuilding the mod, and using SDCafiine as is, it will hang the game at the splash screen before booting the game.

This is why you need a hex editor, as you can make the changes and save them without the file getting corrupted.

Yo leave the editor open for reference and open up HxD or whichever hex editor you have and open ui_sound_db.bin.

Because everything is in hex, you need to convert some decimal values to hex to find the stage you wish to add music to. In case of Midgar, converting 54 to hex becomes 36. So scroll down until you find this section.

bandicam%202016-05-07%2017-25-47-816_zpsnbf4q6rd.png


The 05 after the 36 is just a way to end the value. The 00s are separators. Following 36 05, you will find 02 05 (In my example its 04 05), here is the number of tracks for the stages. Remember you have to change the values in hex, so if you were to add 12 tracks, you need to put in 0C 05.

Following the number of tracks, you will find 01 F9 05. This is the hex value for 505 (Let the Battles Begin), the track number for the song.

Since I added four tracks, I copied the same previous tracks to test, so you simply replace the next two FFs into 00s and then put in the track number in hex, followed by the 05 and then repeat until you have the desired tracks.

After you do this, save the file, and reinsert the file back to data(en-us)/param/ui after you make the changes in Sm4shExplorer. Then rebuild the mod, and after that is done, go to your export/release folder and copy the files in the release folder and paste them into your SD Card, in 0005000010144F00 (US Smash Bros)/patch.

Then go to loadiine.ovh and run the Kernel Exploit and then go back into the Browser and run SDCafiine. After that, run Smash Bros. and see if it loads. If it does, great, if it freezes on the splash screen, go back and check what you did wrong.

Go to My Music, through the Options, or Stage Select, and go to Midgar. You should find that you have 12 Music tracks, albeit the same two songs repeated.

Congrats, you figured out how to add music tracks to the game without replacing the track.

Now this is where my findings went to a stand still. You see, if you were to copy the same songs on the same stage, then the game thinks its the same track, which it is, and and adjustment for the frequency would also change the same tracks to the same frequency. Playing the track and selecting the same track would instead stop it instead of playing it. And any song you replace for that track, will also change it to the same song.

Now if you added a song from another stage, it will appear but it won't play in the stage. Adjusting the frequency for the song to play will just revert it back to the Rarely position and even if you set the two default tracks to the same place, it will only play the two default tracks and never the ones you added.

It think this is because the game has the stage music set to play in that specific stage only, and will never play it in another stage the song isn't coded too.

Yet somehow, @soneek uploaded this video 3 months ago, showing he added over 1000 music tracks:


Question is how he was able to do that, seeing this was done prior to the 5.5.X Kernel Exploit and most people who had 5.3.2 can mod the game.

I know @soneek is actually has RL matters and can't be on as much as we want him to be since he pretty much knows how to do music modding, so we are left to our own devices and what we can use until he can explain how he added music in.

I also know that the next version of Sm4shExplorer will have the plugin system and one of the main plugins is a music plugins that makes it easier to insert and add music tracks to the game through Sm4shExplorer, but time will tell when the next update will come out.

Until then, we can only resort to replacing music tracks. I ask that anyone who is also researching in music modding and figured out some ways to add additional tracks to the game and got them to work, please let us know. As far as I can see, most modders are more focused in texture and character based mods and not so much music and sound effect mods, which is why I started this thread in the first place to separate it from the main Smash Wii U Discussion and Mod Help thread.

Anyway feel free to discuss your findings on music mods and hopefully we can get somewhere then.

Thanks!
 

KillzXGaming

Well-Known Member
Member
Joined
Jan 2, 2016
Messages
1,629
Trophies
0
Age
28
XP
1,618
Country
United States
There really is alot of cool things you can do with smash 4 but discoveries are either not being explained or given a tutorial, appreciate this tutorial! Seems like adding characters to the selection screen actually may be similar and may get into that. Do you have a list of hex values for each stage?
 
Last edited by KillzXGaming,

Conansboy

Member
Newcomer
Joined
Apr 19, 2015
Messages
11
Trophies
0
Location
Uncharted Island (Help)
XP
103
Country
United States
Why is it that, if the two files specified go hand in hand as you imply, that appropriate changes weren't made to sound.msbt? Forgive me if I'm wrong, as I'm still new to this trade, but the resulting differences between the two files seems like a fairly obvious cause for these issues. Have you tried making changes to this other file yet?

Edit: I also had the idea that it may be an issue with the stage itself. Perhaps the files for Midgar have their own value somewhere saying it only has 2 songs to pick from. I imagine individual files for a stage could also be responsible for the music changing effects from Suzaku Castle or Mario Maker.
 
Last edited by Conansboy,

KillzXGaming

Well-Known Member
Member
Joined
Jan 2, 2016
Messages
1,629
Trophies
0
Age
28
XP
1,618
Country
United States
After reading a few comments over at gamebanana they say to use uisounddb.bin to edit staage amount, sound.msbt for the text which again can easily be edited with that editor I linked. You need to hex edit that. Mind that any file with db is likely the menu for a certain thing.
 
Last edited by KillzXGaming,

RPD490

Well-Known Member
OP
Newcomer
Joined
May 6, 2016
Messages
57
Trophies
0
Age
32
XP
108
Country
United States
Yeah, what @KillzXGaming said. You need a hex editor for editing ui_sounds_db.bin, otherwise saving the file in the param editor would corrupt the data in Group[3] which holds all the SOUND files which are the song files, and there is 600 of them.
 

soneek

Well-Known Member
Member
Joined
Jun 27, 2012
Messages
179
Trophies
0
XP
337
Country
United States
Song entries for the My Music menu need to be in sync between param/ui/ui_sound_db.bin, and sound/config/bgm_mymusic.mmb. If they're not, then the settings won't save when modified in-game. Hopefully by mid-June I'll be settled in with work and stuff, and I'll be able to help push the release of the Sm4shExplorer plugin, if it's not finished by then.
 
  • Like
Reactions: soniczx123

RPD490

Well-Known Member
OP
Newcomer
Joined
May 6, 2016
Messages
57
Trophies
0
Age
32
XP
108
Country
United States
Song entries for the My Music menu need to be in sync between param/ui/ui_sound_db.bin, and sound/config/bgm_mymusic.mmb. If they're not, then the settings won't save when modified in-game. Hopefully by mid-June I'll be settled in with work and stuff, and I'll be able to help push the release of the Sm4shExplorer plugin, if it's not finished by then.

Well I know @deinonychus71 asked how far I got in doing music modding by hex editing the ui_sound_db.bin and doing all that, he wanted me to try testing the beta build of 0.05 but had problems like the plugin not being activated on startup of Explorer. He hasn't forgotten and said he'd be able to work on it more this weekend, so hopefully I can help in testing it and seeing if there are any bugs in it.

I had a feeling that the bgm_mymusic.mmb was important but it sucks that there is nothing I can do to edit it, even hex editing doesn't help since I have no idea what I'm editing in it XD
 

A Generic User

Well-Known Member
Member
Joined
Aug 24, 2015
Messages
134
Trophies
0
XP
876
Country
United States
I'm guessing we still can't add entries to MSBT files, which are needed for adding tracks to the game.

Also sorry for bumping this old thread, if that's not acceptable.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: @SylverReZ, lol +1