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,

Poketard

Well-Known Member
OP
Member
Joined
Apr 3, 2013
Messages
180
Trophies
1
XP
1,490
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?
Two things: on the latest version of Hans you don't have to remove the first 0x1000 bytes. Second, the first 1000 bytes (0x0-0xFFF) not the first 1000 lines.
 

darklordrs

Well-Known Member
Member
Joined
Aug 16, 2015
Messages
791
Trophies
0
Age
23
XP
434
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?
Followed the same steps and had no issue, running everything the same as you but on o3ds. Try NOT removing the first thousand-

..oh boy.

Did you remove the first thousand BYTES or the first thousand LINES? The first thousand lines is WAY more than you were meant to delete; the first thousand bytes would only be from 0x0 to 0xFF0, whilst the first thousand lines would be from 0x0 to 0x3E80, a massive difference. The latter would shave off RIDICULOUS amounts of important data.

you no longer have to strip the 1000-byte header anyway as of latest HANS, go update and try again
 
Last edited by darklordrs,

Mariohax

Member
Newcomer
Joined
Nov 7, 2015
Messages
21
Trophies
0
Age
38
XP
114
Country
United States
Ah, sorry for my wording. Yes, I meant that I deleted from 0xFFF.
Also, I decided to run HANS again, this time without the romfs. It still gave me the rainbow pixels. I'm beginning to think it might be an issue with version 1.1.2 of smash.
 

Poketard

Well-Known Member
OP
Member
Joined
Apr 3, 2013
Messages
180
Trophies
1
XP
1,490
Country
United States
Ah, sorry for my wording. Yes, I meant that I deleted from 0xFFF.
Also, I decided to run HANS again, this time without the romfs. It still gave me the rainbow pixels. I'm beginning to think it might be an issue with version 1.1.2 of smash.
I myself have a fully updated 1.1.2 copy of smash, Hans still works for me. Granted, updates don't load, but that's no news.
 

Mariohax

Member
Newcomer
Joined
Nov 7, 2015
Messages
21
Trophies
0
Age
38
XP
114
Country
United States
Well, I tried it without removing the bytes this time, but it still didn't work. However, I also tried running Luigi's Mansion Dark Moon with HANS and I got the same result as I did with smash, only instead of rainbow dots it was more of a rainbow line thing. Both games run fine without HANS, too. I'm convinced that it's HANS that's the problem now.
If it's not too much trouble, would someone here who got it to work mind giving me their version of HANS? That's the only thing I can think of that's still an issue.
EDIT: FIXED IT! Apparently I just had to reinstall Ironhax with the new starter pack. I don't really get it myself, but hey-if it works, it works! Thanks for the help, guys!
 
Last edited by Mariohax,

Neru

Well-Known Member
Member
Joined
Feb 11, 2015
Messages
371
Trophies
0
Age
26
XP
1,331
Country
United States
But this is not really fun with no update :( Idk, some people are fine with it but I wanna use the DLC characters I bought as well.
 

darklordrs

Well-Known Member
Member
Joined
Aug 16, 2015
Messages
791
Trophies
0
Age
23
XP
434
Country
United States
But this is not really fun with no update :( Idk, some people are fine with it but I wanna use the DLC characters I bought as well.

if you have arm9 access apparently you can simply decrypt the hell out of update and dlc data and fuse it with romfs, which sadly I can't.

makes me super disappointed, the #1 thing I wanted to do is fix the awful monstrosity of sluggish stupid that is Roy (wth ninten)
 

Wolfy

Person That Never Was
Member
Joined
Aug 18, 2015
Messages
1,131
Trophies
0
Age
25
Location
Somewhere In The Aether...
XP
3,000
Country
United States
if you have arm9 access apparently you can simply decrypt the hell out of update and dlc data and fuse it with romfs, which sadly I can't.

makes me super disappointed, the #1 thing I wanted to do is fix the awful monstrosity of sluggish stupid that is Roy (wth ninten)

Hopefully there will come a day where we can T-T
 

DarkRioru

reach for the stars
Member
Joined
Aug 29, 2015
Messages
2,114
Trophies
0
Age
26
Location
looking up at the stars
Website
steamcommunity.com
XP
1,882
Country
United States
For those wondering

Working
The Menu*
Homerun contest*
Target Blast!*
Rules
Wii U Controller
Challenge
Custom Char/Mii
Vault (All)
Trophy Rush
*

Not Working
Solo/Group CSS
Smash Run
Classic
Multi-Man Smash
Online
All-Star

*You can change the music
are these not working on your 3ds or just not working on that section in general?
 

darklordrs

Well-Known Member
Member
Joined
Aug 16, 2015
Messages
791
Trophies
0
Age
23
XP
434
Country
United States
Those are things that don't work and do work on O3DS with HANS. O3DS with kernel or N3DS with HANS\kernel has enough RAM that everything listed as 'not working' won't crash. It's worth note, though, that Online still won't work and likely never will in the near future because you are playing a hacked ROM and all.

hit us up on the SM4SHcommand thread, lots of discussion on stuff involving how smash is handling with hacks there.
 

Eddypikachu

Well-Known Member
Member
Joined
Mar 25, 2015
Messages
921
Trophies
0
Age
34
XP
2,140
Country
United States
I think sm4sh 3ds doesn't work with hans on the o3ds because of the extra code running in the background that overloads the system. Maybe if we can disable the screenshot taking and the L+R+B+Down code we will be able to enter smash mode in the o3ds?
 

darklordrs

Well-Known Member
Member
Joined
Aug 16, 2015
Messages
791
Trophies
0
Age
23
XP
434
Country
United States
I think sm4sh 3ds doesn't work with hans on the o3ds because of the extra code running in the background that overloads the system. Maybe if we can disable the screenshot taking and the L+R+B+Down code we will be able to enter smash mode in the o3ds?
Nope. Homebrew only has access to a set amount of the 3DS' RAM without kernel access, and Smash simply exceeds it. We'd need to wait for someone to make a lightweight Smash somehow or, more likely than not, just get a N3DS.
 

Eddypikachu

Well-Known Member
Member
Joined
Mar 25, 2015
Messages
921
Trophies
0
Age
34
XP
2,140
Country
United States
Nope. Homebrew only has access to a set amount of the 3DS' RAM without kernel access, and Smash simply exceeds it. We'd need to wait for someone to make a lightweight Smash somehow or, more likely than not, just get a N3DS.
That's literally what I just said, I said that because of HANS the amount of RAM used exceed hte amount the o3ds could use, I proposed an idea that can avoid this conflict by negating the code that HANS uses to take screenshots in the background and the code that allows for a button combination to reset back into the homebrew menu, all of that in order to obtain enough RAM for Sm4sh to properly work on the o3ds
 

darklordrs

Well-Known Member
Member
Joined
Aug 16, 2015
Messages
791
Trophies
0
Age
23
XP
434
Country
United States
That's literally what I just said, I said that because of HANS the amount of RAM used exceed hte amount the o3ds could use, I proposed an idea that can avoid this conflict by negating the code that HANS uses to take screenshots in the background and the code that allows for a button combination to reset back into the homebrew menu, all of that in order to obtain enough RAM for Sm4sh to properly work on the o3ds

Again, freeing up space HANS is using wouldn't mean shit, because we don't have access to enough RAM to run it properly on O3DS, period.

Really it's an issue of freeing up Smash, not HANS, because HANS is fine as is
 

Eddypikachu

Well-Known Member
Member
Joined
Mar 25, 2015
Messages
921
Trophies
0
Age
34
XP
2,140
Country
United States
Again, freeing up space HANS is using wouldn't mean shit, because we don't have access to enough RAM to run it properly on O3DS, period.

Really it's an issue of freeing up Smash, not HANS, because HANS is fine as is
Really it's an issue about removing the background code from HANS so we can have enough room for sm4sh can run the way it's supposed to be run
 

darklordrs

Well-Known Member
Member
Joined
Aug 16, 2015
Messages
791
Trophies
0
Age
23
XP
434
Country
United States
Really it's an issue about removing the background code from HANS so we can have enough room for sm4sh can run the way it's supposed to be run
That's.. not how it works.. at all. 3DS entry-level homebrew literally cannot access the necessary amount of ram needed to run Smash 4 in it's base form. If I recall correctly, it takes 96MB, which is 16 more than homebrew's cap of 80MB.

tl;dr its not on HANS, or at least I'm pretty sure it's not. if it actually is i may need to start twitter bugging smea again
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: roms wont boot with wood r4menu