Super Smash Bros. Brawl - farmerbb/RED-Project GitHub Wiki

Super Smash Bros. Brawl for the Wii contains 12 classic Nintendo titles from the NES, SNES and N64 as part of its unlockable Masterpieces collection. In-game, these Masterpieces can only be played for a very limited amount of time. However, the ROMs for these games are intact on the disc and can be extracted and played using standard emulators, with no time limit.

ROM Extraction Instructions

Prerequisites

As a prerequisite for extracting the Masterpiece ROMs, the contents of the Super Smash Bros. Brawl game itself must first be extracted.

  1. If you have not already obtained the disc image of your copy of Super Smash Bros. Brawl, install the Homebrew Channel on your Wii using an exploit such as LetterBomb, then launch CleanRip via the Homebrew Channel. Then, rip the Brawl game to an external drive.

  2. Download and install the latest beta version of Dolphin, then set Dolphin's game directory to the one containing your Brawl ISO.

  3. Right-click Super Smash Bros. Brawl in the game list and select Properties.

  4. Click the Filesystem tab, then right-click on Disc and select Extract Entire Disc.

  5. Browse to the directory that you want to save the game files to, and click Select Folder.

NES ROMs

  1. Download and install HxD (or the hex editor of your choice), then open each of the following files:
  • P-HA8E/sys/main.dol (Donkey Kong)
  • P-HA9E/sys/main.dol (Super Mario Bros.)
  • P-HBAE/sys/main.dol (The Legend of Zelda)
  • P-HBBE/sys/main.dol (Kirby's Adventure)
  • P-HBCE/sys/main.dol (Kid Icarus)
  • P-HBDE/sys/main.dol (Ice Climber)
  • P-HBEE/sys/main.dol (Super Mario Bros. 2)

For each of the opened files, perform the following steps:

  1. Open the Find dialog by going to Search -> Find. In the "Search for" box, type in "NES". Check the "Case sensitive" box and click OK. This will jump you straight to the iNES header in the ROM file with the three bytes representing "NES" selected.

  2. Click on the byte just before where the iNES header starts - the one at the very end of the line just above it. Now go to Edit -> Select block... and set the "Start-offset" to 0. Make sure the "End-offset" is set to the offset of the byte that we just clicked on. Now click OK and the entire file should be selected up until where the iNES header starts. Go to Edit -> Delete and press OK on the dialog box that will appear.

  3. Open up the Edit -> Select block... dialog again. Set the "End-offset" to something large like 9999999999. The "Start-offset" value differs depending on the file you are working with:

  • P-HA8E/sys/main.dol: 6010
  • P-HA9E/sys/main.dol: A010
  • P-HBAE/sys/main.dol: 20010
  • P-HBBE/sys/main.dol: C0010
  • P-HBCE/sys/main.dol: 20010
  • P-HBDE/sys/main.dol: 6010
  • P-HBEE/sys/main.dol: 40010
  1. Delete this data with Edit -> Delete, then finally, save the ROM using File -> Save as...

SNES ROMs

These instructions are for a Debian-based Linux distro. For Windows, follow these instructions using WSL.

  1. Open up a terminal window and navigate to the directory that you extracted the SSBB game files to.
  • For WSL, the easiest way to do this is to open the folder in Windows explorer and type bash into the address bar.
  1. Ensure that the required dependencies are installed by running:

sudo apt install python3 git

  1. Download the vcromclaim scripts by running:

git clone https://github.com/JanErikGunnar/vcromclaim.git

  1. Run the following three commands in order to extract the ROMs:

python3 vcromclaim/snesrestore.py P-HBFE/files/content5/JAAE.rom P-HBFE/files/content5/JAAE.pcm Super\ Mario\ World.sfc

python3 vcromclaim/snesrestore.py P-HBGE/files/content5/JACE.rom P-HBGE/files/content5/JACE.pcm F-Zero.sfc

python3 vcromclaim/snesrestore.py P-HBIE/files/content5/JAVE.rom P-HBIE/files/content5/JAVE.pcm Super\ Metroid.sfc

N64 ROMs

  1. Browse to both of the following files, then copy / rename them using a .z64 extension:
  • P-HBKE/files/rom (The Legend of Zelda - Ocarina of Time)
  • P-HBLE/files/rom (Star Fox 64 / Lylat Wars)

DAT Files

TODO