Note: This code was not made by me. It was recovered from a SRK forum post made by Keits and code provided by MGF.
Inside the zip file, you'll find two folders: Riivolution and Tutorial 2nd.
- Navigate to your PC's
Documentsfolder. - Follow this path:
Documents\Dolphin Emulator\Load. - Place the contents of the zip file's
Riivolutionfolder insideLoad. The path should look like this:Documents\Dolphin Emulator\Load\Riivolution.
The structure inside should look like this:
Riivolution
├── config (Folder)
├── boot.elf
├── icon.png
├── meta.xml
├── readme.txt
└── TVCUAS.xml
For this folder, you're done.
- Next, go up one folder to
Dolphin Emulator\Load. - Inside here, create a new folder called
TVCUAS. Once that folder is made, you're done with the setup.
- Navigate to the
Tutorial 2ndfolder. - For this demonstration, we'll use "13 - Floating Fort.mp3" (from Godhand, you need to play it) as an example, but you can use whatever file you want.
- Navigate to
BCSM-GUIv1.5. - Inside, open
BCSM-GUI.exe, click on "Add file", then "Add to Queue", then "Convert to BRSTM". It will output your file in the library underTutorial 2nd\BCSM-GUIv1.5\library. In our example, this is "13 - Floating Fort.brstm". - Move this file from
Tutorial 2nd\BCSM-GUIv1.5\librarytoTutorial 2nd\brstm. - To make your life easier in the future, rename it to something simple. For instance, "13 - Floating Fort.brstm" becomes "fort.brstm".
- Return to the
Tutorial 2ndfolder and click onStart.bat. - Any
.brstmfiles in thebrstmfolder will be detected. In our example, we wantfort.brstm, so typefortwithout the.brstmextension. - Press enter. It'll process for a bit, then ask which stage you're replacing. In this example, we'll replace the training stage (no. 15).
- It'll generate a
.ssdfile, in this case,stage_17.ssd(training stage). - Take this file (as well as the generated file
bgm.srt), go back toDocuments\Dolphin Emulator\Load\TVCUAS, and drop it off there.
- Go to Dolphin, right-click on TvC, choose "Start with Riivolution patches".
- Open
Riivolution XML, openTvCUAS.xml. - Ensure that custom music is enabled.
- Start the game.
If done correctly you have custom music running.
The issue of sound clipping or sounding slow is often due to the bgm.srt file being out of sync with the playlist. When updating via start.bat, it keeps a record of each .ssd and syncs across them. If you update the songs and don't replace it with the new .srt or have an .srt from a different playlist, it can cause these errors.
Alternatively Ensure that you transfer the bgm.srt file from the Tutorial 2nd\BCSM-GUIv1.5\library folder to the Documents\Dolphin Emulator\Load\TVCUAS folder. This file is necessary for proper playback of your custom music.
If your .brstm files are all under 50KB, they can't hold any data, resulting in a horrible scratching sound. This can happen if your music source didn't label the "length" variable in the file properties. Make sure to assign a length to your files, and the .brstm files should load normally.
To loop a track, the program checks for samples to determine the loop start and end points. Here's how to find and set these points using Audacity:
- Open your audio file in Audacity.
- Select the portion you want to loop. Click and drag to highlight the section of the track you want to loop.
- Find the sample points. With the section highlighted, look at the bottom of the Audacity window. You'll see the start and end points in samples. Note these numbers down.
- Set loop points. Go to
Edit>Labels>Add Label at Selection. This will create a label track. Double-click the new label to edit it, and enter the sample numbers for the start and end points. - Export the looped section. Once you have your loop points set, export the file as a .wav or .mp3.
- Convert to BRSTM. Use the BCSM-GUI tool to convert your file to .brstm, and the tool will recognize the loop points during the conversion.
By following these steps, you'll ensure that your custom track loops seamlessly in the game.
In the same directory as BCSM-GUI.exe create an empty folder called "tmp"

