Tutorial  Updated

Smash 4 custom music with *hax 2.5

Tools you will need: Braindump (http://gbatemp.net/threads/braindump-prerelease-dump-game-contents-on-any-system-version.400920/) CTRtool (available in braindump thread) A RomFS builder (I suggest https://gbatemp.net/threads/release-romfs-builder.379330/) A nus3bank converter (optional, depending on your situation. I personally do not know of one, however.) An internet browser to visit brawl custom music (Google) and an SD card with somewhere around 1.2 GB of free space.

Dump your RomFS and ExeFS using braindump. This can take a long time, so be patient. You don't need the ExeFS for custom music, so once you're done, you may delete that if you want.

Put your SD into your computer and extract it using CTRtool. There's a guide on how to use CTRtool to extract your romfs in the braindump thread, as well. While it's extracting, if you haven't already, you may want to use this time to obtain your nus3bank files.

Brawl custom music has the option to download the files fit for smash 3DS already, if you open the dropdown box that says "Download or add to template for" and select Super Smash Bros. for Nintendo 3DS, then select the new drop-down box that appears right below it, and select the song you want to replace. It will then give you a download with the proper filename. Even if you have a converter, this can be useful for figuring out which songs are which. You can then choose to download it as a NUS3BANK file.

After this, open the folder that contains the extracted RomFS and place the song in the sound/bgm folder. Build the RomFS using what ever tool you may be using.

Create a hans folder on the root of your SD card if one isn't already there/you haven't created one already, place the RomFS in there, and name it the last 8 digits of the title ID (this changes from region to region) .romfs, for example, the American version would be 000EDF00.romfs. If you aren't sure where to find this, it will display it in the Hans menu.

From here, put the SD back into your 3DS, open *hax 2.5, open Hans, change "Romfs -> SD" to YES and then start the game. You should now have your custom music.

NOTE: Hans doesn't load update data for some reason, so you won't be able to use your save file or play online with custom music. No way around this until some sort of work-around is found/made.

EDIT: as of the latest version of Hans you no longer need to strip the first 0x1000 bytes, so I've removed that step.
 
Last edited by Poketard,

darklordrs

Well-Known Member
Member
Joined
Aug 16, 2015
Messages
791
Trophies
0
Age
23
XP
434
Country
United States
I used HxD and got the same result, loading the romfs with HANS gives me rainbow pixels on left of my screen.
bruh-

dump your romfs with the romfs extractor inside packhack, make your edits, recompile it with the romfs repacker also in packhack, use hxd to remove the first 1000 bytes.

Follow that exactly.

Beyond that, I'm not sure what might be causing you trouble.
 

Eddypikachu

Well-Known Member
Member
Joined
Mar 25, 2015
Messages
921
Trophies
0
Age
34
XP
2,140
Country
United States
Can someone help me? I tried following the instructions on how to use the ctrtool but I can't extract the romfs.bin file? I tried inputting the command in command prompt but it still didnt extract my romfs.bin file. Help please?
 

darklordrs

Well-Known Member
Member
Joined
Aug 16, 2015
Messages
791
Trophies
0
Age
23
XP
434
Country
United States
Can someone help me? I tried following the instructions on how to use the ctrtool but I can't extract the romfs.bin file? I tried inputting the command in command prompt but it still didnt extract my romfs.bin file. Help please?
Assuming you're using an existing rom\3ds\cia.. I wouldn't, imho. Just dump using Braindump, it'll leave you with a code.bin and the needed romfs.bin
 

Eddypikachu

Well-Known Member
Member
Joined
Mar 25, 2015
Messages
921
Trophies
0
Age
34
XP
2,140
Country
United States
I already did braindump, the I have the romfs.bin and I'm trying to use ctrtool to modify the music in it but I'm stuck on how to do so
 

Jwiz33

Banned
Joined
Jun 5, 2014
Messages
2,654
Trophies
0
Location
in the illuminati headquar—I have said too much!
Website
iwillcleanyourbasement.webstarts.com
XP
1,492
Country
United States
When I try to boot my smash .cia through HANS without the romhack on, it gives me an error, and if I try to launch the hack I made the 3DS gives me rainbow pixels on the right of my screen. I'm on n3ds btw. Pls help.
You don't use .CIA files you use .romfs files.
*facepalm* He is booting the CIA with the .romfs patch.
(sorry I had to)
 

Eddypikachu

Well-Known Member
Member
Joined
Mar 25, 2015
Messages
921
Trophies
0
Age
34
XP
2,140
Country
United States
Amazing! Everything works! The music changed in the trophy shop to the music from The Gates of Hell and I went on the sound test and it also changed to music I wanted it to! However when I try to enter smash mode it freezes before letting me choose my character, did I do something wrong? Or am I supposed to wait longer than usual before it lets me choose a character?
 

Jwiz33

Banned
Joined
Jun 5, 2014
Messages
2,654
Trophies
0
Location
in the illuminati headquar—I have said too much!
Website
iwillcleanyourbasement.webstarts.com
XP
1,492
Country
United States
Amazing! Everything works! The music changed in the trophy shop to the music from The Gates of Hell and I went on the sound test and it also changed to music I wanted it to! However when I try to enter smash mode it freezes before letting me choose my character, did I do something wrong? Or am I supposed to wait longer than usual before it lets me choose a character?
That's a common issue with HANS. Singleplayer, online multiplayer, and local multiplayer don't work.
 

Eddypikachu

Well-Known Member
Member
Joined
Mar 25, 2015
Messages
921
Trophies
0
Age
34
XP
2,140
Country
United States
Aww, the whole reason was to hear the new music while fighting in the stages and now all of my struggle was for naught ;-;
Actually now I know what to do to play star sapphire so I might just use what I learned here, bummer though....
 

darklordrs

Well-Known Member
Member
Joined
Aug 16, 2015
Messages
791
Trophies
0
Age
23
XP
434
Country
United States
Amazing! Everything works! The music changed in the trophy shop to the music from The Gates of Hell and I went on the sound test and it also changed to music I wanted it to! However when I try to enter smash mode it freezes before letting me choose my character, did I do something wrong? Or am I supposed to wait longer than usual before it lets me choose a character?

No way around it for now. Plus with no dt repack and all, character mods won't exist for a while either, so progress is halted for about everything.
 

Jwiz33

Banned
Joined
Jun 5, 2014
Messages
2,654
Trophies
0
Location
in the illuminati headquar—I have said too much!
Website
iwillcleanyourbasement.webstarts.com
XP
1,492
Country
United States
No way around it for now. Plus with no dt repack and all, character mods won't exist for a while either, so progress is halted for about everything.
Even if there was character mods, you would only be able to use them in the home run contest and stuff.
 

Poketard

Well-Known Member
OP
Member
Joined
Apr 3, 2013
Messages
180
Trophies
1
XP
1,490
Country
United States
Everyone getting character select crashes: are you on a New 3DS or an Old 3DS? I'm personally using a New 3DS and it doesn't crash for me, so perhaps if we narrow things down, we can establish what works and what doesn't and how to get things to work.
 

darklordrs

Well-Known Member
Member
Joined
Aug 16, 2015
Messages
791
Trophies
0
Age
23
XP
434
Country
United States
Everyone getting character select crashes: are you on a New 3DS or an Old 3DS? I'm personally using a New 3DS and it doesn't crash for me, so perhaps if we narrow things down, we can establish what works and what doesn't and how to get things to work.
O3DSXL, Ironhax (1.1, hax2.5 obviously) via 10.2. Smash cartridge is 1.0.1.
 
Last edited by darklordrs,

Mariohax

Member
Newcomer
Joined
Nov 7, 2015
Messages
21
Trophies
0
Age
38
XP
114
Country
United States
I've been having a lot of trouble with this.
First, I used braindump to grab the romfs. Then I used the romfs extractor found in packhack to get my romfs, though the first time I did this I used ctrtool. Then I replaced two songs-gaur plains with valedictory elegy from smash wii u and save the world with bonetrousle from undertale. I then used the romfs packer, saved the file as a .bin, removed the first 1000 lines of hex and then renamed the file to 000edf00.romfs.
I then went into HANS, loaded the .romfs from the folder, and the game never reaches the start screen. All I get is rainbow pixels on the left of my screen.
I'm using a new3ds running on 10.2 and my smash is updated to 1.1.2. I also updated hans to the latest version found in the starter pack.
What am I doing wrong?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    realtimesave @ realtimesave: @SylverReZ