Hacking [TUTORIAL] Custom music in Smah Bros Wii U (FW 5.3.2)

Aeturnus

Well-Known Member
Newcomer
Joined
Jan 30, 2015
Messages
69
Trophies
0
Age
32
XP
165
Country
United States
This thread is specifically for Smash, not other games. It doesn't use the standard Nintendo specs for storing streams ("sound/stream/*.bfstm).



I've been looking into it. It's definitely possible, but there's still more unknowns to figure out. It might be a little while, but we're looking to add extra everything, not just music.

General Wii U music format is .bfstm, though a lot of games use something different.
Smash Bros. = IDSP stored inside NUS3 banks
Wonderful 101 & Bayonetta 2 = Wwise kinetic streams (haven't looked into too much yet)
Hyrule Warriors = 1 byte interleaved DSP ADPCM inside Tecmo Koei G1L header
Tropical Freeze = DDSP
Monter Hunter 3 Ultimate = DSPW
So then, theoretically could we use this to inject padded rpx/rpl files in smash and somehow chainload loadiine to increase compatibility?
 

RPD490

Well-Known Member
Newcomer
Joined
May 6, 2016
Messages
57
Trophies
0
Age
32
XP
108
Country
United States
Alright people, I figured out how one can add tracks to Smash without replacing existing ones. However, there is still some issues I run into. The big one being that you can technically add other tracks from other stages to the stage you want to add more too, but they won't play for that stage you are editing.

An example would be Midgar, because they screwed over people by giving us only 2 music tracks, for a stage based on a game with a lot of good music in it. One can place stage music from other stages to Midgar but the main issue is that even though it would appear in the My Music list for Midgar, lets say a couple copies of the Battlefield theme for testing purposes. One if you play the track from Battlefield and have copies of it, then the game treats it as the same track for any stage that has that song, and the other thing is even if you adjust the frequency for the song to appear in Midgar, the moment you exit from the list, the adjustments reset to Rarely and you will never hear the song play, only the two default tracks that is for Midgar, even if you set the two tracks to rarely play, it will only do the two tracks and not the ones you added.

The way to adjust the tracklist amount is done in the ui_sound_db.bin, which is located in /data(xx-xx)/param/ui and you could use the Param Editor to edit the file but it would end up corrupting the file if you save it, even if you didn't make adjustments to it, and when you place it back in Sm4shExplorer and rebuild the mod and place it in your SD Card and go through that process, the game hangs on the splash screen at boot.

Because of this, you have to resort to hex editing ui_sound_db.bin, and its pretty simple to know what to adjust once you figure out what stage your looking at by hex value.

The other thing I discovered is how the music files are structured in the sounds.msbt, which holds all the text for My Music and Sound Test and is where you edit the names of the songs you replace, including the source name and the composer information.

Each track is labeled as MsndN_SOUNDx, x being the track number. This case, SOUND1 would be for Battlefield and SOUND506 would be for Let the Battles Begin! track for Midgar. They go from SOUND1 to SOUND521, which the last one being Lost in Thoughts All Alone.

However, upon looking at the ui_sound_db in param editor, in Group[3], it shows all of the SOUND files, going from 1 to 600. Now I dunno if the last 79 files are actually for sound effects or if they are really empty music tracks that we can use, but either case, the important thing I can think of is if you want to add more music without borrowing tracks from other stages, then we need a way to creature more of these SOUND files in which the music would be placed at, and use those to get the extra tracks in.

Now I know that the next version of Sm4shExplorer is going to add the plugin system and offer a music plugin that makes inserting, adding and replacing music files easier and chances are if I can't figure out how to do this before the updated Sm4shExplorer gets out, then I'll have to wait until more people who are more into doing music mods are able to research this, like @soneek who posted videos on adding extra music tracks to Smash during 5.3.2 and was able to add over 1000 music tracks to the game. How, we don't know until he shares the info when he can.

For now, we can only rely on music replacements until we can actually add music without replacing it.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: Nut on the hill