For all your computer-crashing needs
For this tutorial, you will need to install Dolphin Emulator if you don’t have it installed already, download the Super Paper Mario HD Audio mod,* and obtain a Super Paper Mario ISO file. You can either dump a legally-obtained game from a real console using a Homebrew Channel app, or you can find a ROM online.
You also need to have the song(s) you want to add to the game as audio files (MP3, WAV, or OGG will all work). If you want a song from a YouTube video, I recommend either yt-dlp (more options) or CNVMP3 (easier to use).
* Note: The HD Audio mod is not technically required, but it makes this process a lot easier. For example, you don’t need to extract your ROM and you don’t have to make your songs double-speed (which would make it much harder to edit in the BRSTM maker).
Unzip the HD Audio mod and take note of where you put its folder. Then go back to Dolphin, right-click on Super Paper Mario, and select “Start with Riivolution Patches”.
Dolphin will then tell you to find an XML file. Go to your HD Audio mod folder and select riivolution/SPMHDSound.xml. Choose “Enabled” from Dolphin’s dropdown menu, click “save as preset”, give it a title of your choosing, and save the resulting JSON file to your Dolphin ROMs folder.
Super Paper Mario uses BRSTM files for its music, and most computers don’t recognize that file type. Thankfully, some people on the internet have made it easy for us to change common music files to BRSTM.
Go to mu-wave BRSTM Maker, click the big button in the center of the screen to upload your song, and optionally drag the arrows around to trim the audio. If you’re changing background music (which is the vast majority of the audio available), make sure to check the “Loop?” checkbox and set the loop’s starting point by dragging the top-left arrow. Once you’re satisfied, download the BRSTM file and give it a temporary name.
Use Nikku BRSTM Player to listen to the BRSTM files in the “SPMHDAudio” folder of the HD Audio mod. Once you find the song you want to replace, change your song’s filename to the EXACT filename of the original song, copy your song to the “SPMHDAudio” folder, and choose to replace the original song. Repeat this step as many times as you need to build your custom soundtrack.
If you’ve done everything correctly, you should now be able to start the game through your custom-named JSON and listen to your custom music! You can also easily revert back to the default music by starting the game without the Riivolution patch or changing the setting back to “Disabled”.