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,

Manito

Well-Known Member
Member
Joined
Dec 15, 2014
Messages
327
Trophies
0
Age
25
XP
424
Country
United States
Is there a limit to the songs? I tried doing this last night and earlier today but no luck.
 

Poketard

Well-Known Member
OP
Member
Joined
Apr 3, 2013
Messages
180
Trophies
1
XP
1,490
Country
United States
Is there a limit to the songs? I tried doing this last night and earlier today but no luck.
As far as I'm aware, there shouldn't be, but I've only tried 2 so far. Are you on an O3DS? I hear that tends to have issues with smash and Hans.
 

Manito

Well-Known Member
Member
Joined
Dec 15, 2014
Messages
327
Trophies
0
Age
25
XP
424
Country
United States
As far as I'm aware, there shouldn't be, but I've only tried 2 so far. Are you on an O3DS? I hear that tends to have issues with smash and Hans.
I am using a New 3DS XL.
I'll try only one song and see if it works.
 

Dead_MK

Well-Known Member
Newcomer
Joined
Aug 21, 2015
Messages
70
Trophies
0
Age
27
Location
Smashville
XP
153
Country
Canada
It doesn't start up after hans. I did everything the guide said to do, I'll get the newest version of hans and see if that fixes it.

Did you forget this step?
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, then open it with your hex editor. From here, delete the first 0x1000 bytes (0x0-0xFFF). Yes, this means REMOVING them from the file altogether, not 00'ing them. Some hex editors warn you if you attempt this, just ignore it.

When you don't do this step the game just don't boot at all.
 

Manito

Well-Known Member
Member
Joined
Dec 15, 2014
Messages
327
Trophies
0
Age
25
XP
424
Country
United States
I didn't skip that step.

--------------------- MERGED ---------------------------

Still not working.:(
 

Dead_MK

Well-Known Member
Newcomer
Joined
Aug 21, 2015
Messages
70
Trophies
0
Age
27
Location
Smashville
XP
153
Country
Canada
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
 
Last edited by Dead_MK,
  • Like
Reactions: ElyosOfTheAbyss

WarioTails358

Well-Known Member
Member
Joined
Oct 2, 2015
Messages
345
Trophies
0
Age
24
XP
168
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
CSS means the character select screen right?
 

epicmartin7

Well-Known Member
Member
Joined
Aug 5, 2015
Messages
428
Trophies
0
Age
25
XP
1,056
Country
United States
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.
Just curious. Wouldn't it be possible to patch in the Update Data (provided we had the raw dumped files) manually through Hans for the time being until a fix is implemented?
 

shinyquagsire23

SALT/Sm4sh Leak Guy
Member
Joined
Nov 18, 2012
Messages
1,977
Trophies
2
Age
26
Location
Las Vegas
XP
3,765
Country
United States
Well. I know that @shinyquagsire23 is known for datamining the update data for this game, so he must be using some tool to do it somehow.
Private tools for decryption off SD (but the same can be done using Decrypt9 + xorpads), 3dstool + ctrtool and a dtls.py I modified and PR'd to crediar's repository. I've got the process almost automated now.
 
  • Like
Reactions: epicmartin7

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    Did you feed the hamster in your internet router? It prob died and is running slow now.
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, why did you start saying my pc has a hamster in the first place?
    +1
  • BigOnYa @ BigOnYa:
    Its actua!ly just a old joke, meaning its slow. Was just kidding around with you.
    +1
  • BigOnYa @ BigOnYa:
    I bet @AncientBoi has some hamsters hidden somewhere tho....
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    I think Game streaming should work like this.... Local Hardware able the run the game fine, game engine and common assets stored locally, all FMV and music and textures could be streaming
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Some temporary storage
  • Xdqwerty @ Xdqwerty:
    also @BigOnYa im making some progress on my gdevelop project, implemented various mechanics
  • Psionic Roshambo @ Psionic Roshambo:
    They went all in on streaming, should have been more of a hybrid approach
    +1
  • BigOnYa @ BigOnYa:
    Or free government supplied high speed internet be nice also. Like Obama care. Xdqwerty that's cool, its time consuming but rewarding once done or playable, to see what you've made from scratch. Animations take forever, but worth it.
    +1
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, although the bullets are a bit buggy
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Not to mention this would be a massive pain to pirate
  • Xdqwerty @ Xdqwerty:
    @BigOnYa,
    and the visual aspect of the game is quite crude (the sprite that looks best is that of the protagonist just because he is a stickman with sunglasses)
    +1
  • BigOnYa @ BigOnYa:
    There is a bullets behaviour you assign to your character, that makes the code easier, under "behaviours"
  • Xdqwerty @ Xdqwerty:
    i meant that when the character is pointing to the right, the bullets spawn where they should, but when he is on the right, they move to the right but the spawn point is incorrect
  • BigOnYa @ BigOnYa:
    Itch.io has lots of free assets also. Under the bullets behavior tab, there is a "rotate bullets" option, can try that. Or in the code can try
    - fire bullet Player.X(PlayerDirection)
  • Xdqwerty @ Xdqwerty:
    im taking a break for today anyway
    +1
  • BigOnYa @ BigOnYa:
    YEa gotta after a while, looking at code for long periods will bug your eyes.
    +1
  • BigOnYa @ BigOnYa:
    That's cool tho, I'm proud of you going back to it, not giving up. It is difficult at first to learn, but fun once you get the hang of it. I think I've watched every tutorial video there is, but I still struggle sometimes to get stuff to work right. But gotta keep trying dif things, and eventually you will get it right.
    +1
  • K3Nv2 @ K3Nv2:
    Lol McDonald's has a grandma mcflurry
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, furry grandma?
  • BigOnYa @ BigOnYa:
    It sounds good actually, I like butterscotch
  • K3Nv2 @ K3Nv2:
    It sucked don't know wtf these little bits and pieces are they use now
    +1
    K3Nv2 @ K3Nv2: It sucked don't know wtf these little bits and pieces are they use now +1