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

Akdul

Well-Known Member
OP
Member
Joined
Nov 17, 2006
Messages
145
Trophies
1
Location
Mexico City
Website
raulbojalil.com.mx
XP
909
Country
Mexico
Requisites

1.- A Wii U with FW 5.3.2.
2.- OSDriver Kernel exploit by the libwiiu team.
3.- Cafiine for FW 5.3.2 v1.1 by golden45
4.- Some music files in NUS3BANK format. You can download premade NUS3BANK files at http://www.brawlcustommusic.com/.


Instructions


On your PC:

1.- Extract the Cafiine server files somewhere.
2.- Create the following folder structure in cafiine_root

cafiine_root\[TITLE_ID]\vol\content\sound\bgm
replace [TITLE_ID] with:
00050000-10144F00 for USA version
00050000-10145000 for EUR version
00050000-10110E00 for JAP version


3.- Put your song files (with extension .nus3bank) in the newly created bgm folder. Filenames must match with those in the game. For example, to replace the main Menu song, rename your file to snd_bgm_CRS01_Menu.nus3bank. If you download your files from brawlcustommusic.com you can download them already renamed by using the Download as function (thanks to soneek).
4.- Run cafiine_server.exe


On your Wii U:

1.- Launch the Wii U browser and run the kernel exploit (you will need to host it if you haven't already done so)
2.- Relaunch the Wii U browser and run golden45's cafiine (you will need to host it if you haven't already done so)
3.- Input the server's IP (your PC's IP) by pressing up or down. Press the A button to confirm.
3.- Launch Super Smash Bros. for Wii U
4.- Enjoy!
5.- The game will get stuck at times, when that happens just press CTRL-C in the server window to resume the game.


Credits

Many thanks to the libwiiu team, golden45, soneek and others who made all of this possible.
 
Last edited by Akdul,

Reecey

Mario 64 (favorite game of all time)
Member
Joined
Mar 7, 2010
Messages
5,864
Trophies
2
Location
At Home :)
XP
4,452
Country
How do run it properly?. I run the cafiine from the browser on the wiiu it says press a then I open the server but all I get is Listening on 7332 at the top?
 

Akdul

Well-Known Member
OP
Member
Joined
Nov 17, 2006
Messages
145
Trophies
1
Location
Mexico City
Website
raulbojalil.com.mx
XP
909
Country
Mexico
Thanks sorted it out is the server supposed to say> Not interested, Exit all the time?

Yes unless you have a folder inside caffine_root named after the game's ID. In that folder is where you put the files to be replaced. In this case, 00050000-10144F00 is the ID of Super Smash Bros.
 
  • Like
Reactions: Reecey

Reecey

Mario 64 (favorite game of all time)
Member
Joined
Mar 7, 2010
Messages
5,864
Trophies
2
Location
At Home :)
XP
4,452
Country
Yes unless you have a folder inside caffine_root named after the game's ID. In that folder is where you put the files to be replaced. In this case, 00050000-10144F00 is the ID of Super Smash Bros.
Do you know where could get Title IDs from SM3DWorld?
 

Reecey

Mario 64 (favorite game of all time)
Member
Joined
Mar 7, 2010
Messages
5,864
Trophies
2
Location
At Home :)
XP
4,452
Country
The server tells you when you start a game, for example:

[0] Accepted connection from client 192.168.1.88:1797
[0] TitleID: 00050000-10144F00
How do you get the game to unfreeze? I have tried Ctrl/C but it still freezes the game it just exits out of cafiine server.

Thanks also I will check the id out next time, I presume you just load the game, load cafiine server, copy the id down, put the new music file into the correct folder and then restart cafiine server again to change?
 

Akdul

Well-Known Member
OP
Member
Joined
Nov 17, 2006
Messages
145
Trophies
1
Location
Mexico City
Website
raulbojalil.com.mx
XP
909
Country
Mexico
How do you get the game to unfreeze? I have tried Ctrl/C but it still freezes the game it just exits out of cafiine server.

Thanks also I will check the id out next time, I presume you just load the game, load cafiine server, copy the id down, put the new music file into the correct folder and then restart cafiine server again to change?

Yes, that's basically it. The server is not stable yet (streaming errors). golden45 provided the source code for it, I will take a look at it when I get the time to see if I can fix them.

If we replace a file, do the original one will be erased forever or is it just a redirection ?

Just a redirection.
 

Reecey

Mario 64 (favorite game of all time)
Member
Joined
Mar 7, 2010
Messages
5,864
Trophies
2
Location
At Home :)
XP
4,452
Country
OK got it working! Funny :) How can I get more music to change, it only seems to be giving me Map 6 in SM3DW no more in the server menu? I cant see any titles for the actual main title music.

Edit: mad really, playing SM3DW with Captain Toads music going on in the background!
 
Last edited by Reecey,

loco365

Well-Known Member
Member
Joined
Sep 1, 2010
Messages
5,457
Trophies
0
XP
2,927
I'll definitely have to look at this. I have all the MK8 DLC and I've been wanting to check if Totaka's Song is played on the Animal Crossing track or if any characters sing the song.
 

Reecey

Mario 64 (favorite game of all time)
Member
Joined
Mar 7, 2010
Messages
5,864
Trophies
2
Location
At Home :)
XP
4,452
Country
This bit also just a pointer needs changing buddy> cafiine_root\[TITLE_ID]\vol\content\sound\bgm, needs editing because depending on which game you are using at the time, if you read cafiine server files the folders could be named different and they all need to be named correctly for the .bfstm files to work properly in the last folder, for example file sound could be called SoundData or bgm maybe called stream etc.. instead off and you may find you need more folders creating than explained in the op.
 
Last edited by Reecey,

PsPi

New Member
Newbie
Joined
Aug 30, 2015
Messages
1
Trophies
0
Age
25
XP
41
Country
United States
Is there any way to just add files rather than replacing them? Also, what is the general format for the wii u filenames?
 

soneek

Well-Known Member
Member
Joined
Jun 27, 2012
Messages
179
Trophies
0
XP
337
Country
United States
This bit also just a pointer needs changing buddy> cafiine_root\[TITLE_ID]\vol\content\sound\bgm, needs editing because depending on which game you are using at the time, if you read cafiine server files the folders could be named different and they all need to be named correctly for the .bfstm files to work properly in the last folder, for example file sound could be called SoundData or bgm maybe called stream etc.. instead off and you may find you need more folders creating than explained in the op.

This thread is specifically for Smash, not other games. It doesn't use the standard Nintendo specs for storing streams ("sound/stream/*.bfstm).

Is there any way to just add files rather than replacing them? Also, what is the general format for the wii u filenames?

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
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Gonna love it when the next update blocks them