ROM Hack Smash Bros. Custom Music

  • Thread starter Thread starter soneek
  • Start date Start date
  • Views Views 44,879
  • Replies Replies 96
  • Likes Likes 5
I tried to change music for Alpha Sapphire using BrawlCustomMusic files, and it crashes on boot, as it doesn't create a proper savefile.
 
Here's my method for modifying the update.

You'll need to have the latest update from the eShop installed. The first thing you need to do is use BigBlueMenu, and check the version number of that update. For Smash Bros., the version number for update 1.0.7 is 10.12.0. Remember that number. You'll need to decrypt your emuNAND SD card content, and look for the xorpads for 0004000E000EDF00. Decrypt the .app files, and the larger file should be treated as a regular .3DS file. You'll then need to decrypt that. I used Relys' tools for both the SD card and NCCH decryption, so I'm not sure if rxTools will work as well.

You can follow Asia81's tutorial for rebuilding ORAS in order to properly decrypt the exheader, exefs, and romfs. In the RSF file, set Category to Patch, and RemasterVersion to the first piece of the version number for that update. In the case for Smash Bros., I set RemasterVersion: "10". UseOnSD, EnableCompress, and FreeProductCode are true, EnableCrypt and MediaFootPadding are false.

Instead of building a cci to a .3ds file, build as a cxi to a .cxi file.

Code:
makerom -f cxi -rsf smashUpdate.rsf -exheader updateExheader.bin -exefslogo -code updateExefs/code.bin -icon updateExefs/icon.bin -banner updateExefs/banner.bin -o smashUpdate.cxi

Then inject the decrypted updateExheader.bin into smashUpdate.cxi, and build the cia. The minor number will be the second piece of the version number, and micro will be the final piece. In my case for Smash Bros., micro is 12, and minor is 0.

makerom -f cia -o smashUpdate.cia -content smashUpdate.cxi:0:0 -minor 12 -micro 0

Then copy the .cia file to your SD card, and make sure your custom CIA and the actual update have the same version number. Uninstall the real update, then install your CIA.

Also, I'm adding an IDSP builder option to my fork of Revolution B later. It's the format used in Sm4sh. I'll write something to inject the newly built IDSP into the original nus3bank. I will attempt to edit the Corneria conversation nus3bank as well. It'll be more difficult, since it contains multiple streams.

Okay, I know this information was posted a long time ago, but I've been looking everywhere and trying a lot of different things without success...

Simply put, I am trying to add custom music to smash via its update file, which is now 1.1.4. I've already unpacked everything, put the music into the folders correctly, but I cannot figure out how to repack it into an update cia...

As for the post above, I tried following it, but I do not understand (and haven't been able to find on google or gbatemp) how exactly to edit the RSF file mentioned (I can't even find it, to be honest), or how exactly how to build it as a .cxi instead of a .3ds (What do I do with that code? :P)

The closest I've ever gotten took the update information and created a CIA of the actual game itself out of it... somehow?
(Literally, even the home screen icon gained a little "1.1.4" on the icon, just like the icon you see when you view the update on the eshop (?))

Is anyone able to help out with this?
 
Last edited by Mattshark,

Site & Scene News

Popular threads in this forum