Difference between revisions of "Custom Music"

From Custom Mario Kart
Jump to navigation Jump to search
 
(104 intermediate revisions by 32 users not shown)
Line 1: Line 1:
{{under-construction}}
+
Making custom music is taking any song you want and making it compatible with [[Mario Kart Wii]], so it plays as background music. Some [[custom track]]s are even released with custom music included.
  
The Custom Music Tutorial.
+
If you want to make custom music for your track/battle arena, you need:
  
 +
* [https://audacityteam.org '''Audacity''']
 +
* [http://forums.kc-mm.com/index.php?topic=67847.0 '''BrawlBox''']
 +
* [https://kazuki-4ys.github.io/web_apps/mu-wave '''μ-wave''']
 +
* [https://mediafire.com/?yirz13w6dzvw3eh '''BRSAR BRSTM Patcher'''] (outdated)
 +
* [[Patch that BRSAR!|'''Patch that BRSAR!''']]
  
Custom music is making songs compatible with MKWii so you can play them as background music. Many custom tracks have custom music included.
+
== Music Editing ==
 +
You will have to use a music editor in order to edit your song (such as removing the silent part in the beginning, making it louder and cropping unwanted parts) and get your loop points. You can use any music editor you want. However, this guide will only focus on Audacity. It is always necessary to export the output format into .wav in order for [[BrawlBox]] to convert it to a [[BRSTM]].
  
 +
== Amplifying the Volume ==
 +
[[File:CustomMusicGuide Volumes.jpg|thumb|right|Different volumes in Audacity]]
 +
When you open your song in Audacity, it will look something like one of these three examples. The difference in height between them is caused by the volume, with a smaller height meaning the song is quieter. If your song is too quiet you won't be able to hear it in-game. In order to prevent this you'll have to amplify it. You should be aiming to something close to the 3rd music file in the image.
 +
* Click "Effect" on the toolbar
 +
* Click "Amplify"
 +
* Drag the percentage bar according to what you need (it may vary from 10db to just 2db, depending on the volume)
 +
* Check the "Enable clipping" box
 +
* Click "OK"
 +
'''NOTE''': the sound may start to crack if you amplify it too much. This will not be heard in-game to an extent.
  
If you want to make Custom Music for your track/battle arena, you need:
+
Alternatively, with BrawlBox, you can locate the song in [[revo_kart.brsar]] under the bar on the left side, click on STRM -> whatever prefix the file uses -> the name of the brstm (ex. For Luigi Circuit, go to STRM -> N -> CIRCUIT1) and click on that file, you should see icons labeled with a "?". On the right side, under "RSAR Sound" you should see a "Volume" setting, change that to a higher number (Usually anything from 120-200 should be fine), and your song should be louder, this method also helps reduce crackling.
  
* BCSM GUI (Brawl Custom Song Maker), you can find it [http://blog.dantarion.com/brawl-custom-song-maker-gui/ here]
+
== Speeding up a Song ==
* BRSAR Size Patcher, found [http://www.4shared.com/file/cQLbq9mm/BRSARBRSTM_Size_Patcherv08.html here].
+
For the "final lap" music, you have two options: using another song or speeding up the same song.
* Music editor (optional), you can use any.
 
** '''In case you don't want to download even more software, you can use Movie Maker for editing your music.'''
 
* GoldWave (optional), can be found [http://www.goldwave.com/ here].
 
  
==Music Editing==
+
===[[Final Lap Stream Maker]]===
First you need to edit the song, for this you use your music editor. It is recommended to export the output format into WAV, wavs don't have that little space just before your song starts.
+
A program made by [[Atlas]], this is by far the easiest method.
 +
* Run the program.
 +
* Either drag and drop or click on the button and locate your normal brstm.
 +
* You should get another window, just enter the name of the output file and it will save
  
For the "final lap" music, you have to options: speed up the song or use another song.
+
=== Audacity ===
 +
[[File:AudacityExample.png|700px|thumb|center|Speeding up songs]]
  
 +
* Open your song
 +
* Select the song
 +
* Click "Effect" on the toolbar
 +
* Click "Change Speed"
 +
** If you don't want the pitch to change, and only want it to play faster, then click "Change Tempo"
 +
* Drag the "Percent Change" bar (between 6% to 20% is a good recommended value for changing the tempo)
 +
* Click "OK"
  
==Speeding up a song==
+
==== Creating properly tuned tracks ====
Now, to speed a song it is pretty recommended to use VirtualDJ; but like I said before, if you don't want to download more software, you can use Movie Maker to speed your song, this is explained [http://www.youtube.com/watch?v=EbWKC245SfE right here.]
+
This method is closer to the original game but produces a small amount of crackling.
  
For VirtualDJ use:
+
* Open the file in Audacity
 +
* Effect (menu) -> Change Tempo => Percent Change: a value from '''6''' to '''20'''% (10% recommended) -> Click "OK"
 +
* Effect (menu) -> Change Pitch => Semitones (half-steps): '''1.00''' -> Click "OK"
 +
 
 +
The order doesn't matter a lot, though changing tempo first may produce slightly better results, depending on the type of music.
 +
----
 +
The sliding stretch produces much better results but is much slower.
 +
 
 +
How modern Mario Kart games (including [[Mario Kart Wii]]) speeds up their music:
 +
* Effect -> Sliding Stretch
 +
** Initial ''and'' Final Tempo Change (%): a value from '''6''' to '''20'''% (10% recommended)
 +
** Initial ''and'' Final Pitch Shift -> (semitones) [-12 to 12]: '''1'''
 +
* Click "OK"
 +
 
 +
'''OR'''
 +
 
 +
How the first three Mario Kart games ([[Super Mario Kart]], [[Mario Kart 64]], and [[Mario Kart: Super Circuit]]) speeds up their music:
 +
 
 +
* Effect -> Sliding Stretch
 +
** Initial ''and'' Final Tempo Change (%): a value from '''6''' to '''20'''%
 +
* Click "OK"
 +
 
 +
'''OR'''
 +
 
 +
How [[Mario Kart Tour]] speeds up their music:
 +
* Effect -> Sliding Stretch
 +
** Initial ''and'' Final Tempo Change (%): '''25'''%
 +
** Initial ''and'' Final Pitch Shift -> (semitones) [-12 to 12]: '''4'''
 +
* Click "OK"
 +
 
 +
=== VirtualDJ ===
 
[[File:VirtualDJexample.jpg|700px|thumb|center]]
 
[[File:VirtualDJexample.jpg|700px|thumb|center]]
  
Line 34: Line 87:
 
*If needed, you can edit then your song for deleting useless parts.
 
*If needed, you can edit then your song for deleting useless parts.
  
==Looped Song==
+
 
A "loop" is the particular section of the song that replays over and over, you can use this if your song is too short, so your song will repeat until you end the race.
+
=== Hex Editor ===
 +
You can also use a Hex Editor on your normal lap BRSTM (more risky):
 +
 
 +
* Only recommended if you know how to hex edit.
 +
* Go to 0x64. This is the data rate of the song in hz. (Controls how fast data is read) The value is two bytes.
 +
* Open Calculator (or use a calculator that can work with hex)
 +
* Type the value in and add about 15%-30% to the value
 +
* Replace 0x64 with the new value
 +
* Save As a new BRSTM. It will play faster.
 +
** This method is risky because Mario Kart Wii wants BRSTMs that are 32000hz. Track music doesn't seem to be too picky about this (though sometimes, it still causes problems), but fanfares don't like other values (and can freeze the game if played too long, actually). To avoid problems, stick with 32000hz and use one of the other methods listed above.
 +
** However, an advantage to this method is that you do not have to find loop points twice for track music if you use a sped up version of the same song for the final lap, simply because you are only reading the data faster, not actually changing the amount of samples.
 +
 
 +
* A safety variant to change the speed with Hex Editor is to change the values on 0x64 to '''B4 00'''. It will sound like the original speed up (found out by [[User:MrBean35000vr|MrBean35000vr]]).
 +
**This method may not work with all BRSTMs. Some BRSTMs will not play, but the game won't freeze.
 +
 
 +
*Another method is to multiply the decimal value by 12/13 and convert this back to hex. For example, 48000hz would become 52000hz, so BB80 would become CB20.
 +
 
 +
== Looping your Song ==
 +
A "loop" is the particular section of the song that replays over and over. You will have to loop your song if it's too short, so your song will repeat until you end the race.
  
 
It consists of two sections: the "Start point" and the "End point".
 
It consists of two sections: the "Start point" and the "End point".
  
To know the loop's Start/End Point, you have to use GoldWave:
+
In Audacity:
 +
 
 +
* Open your song.
 +
* Listen to it VERY carefully, and detect the part where you want your song to loop. This is easier when using videogame music (VGM), as it is already intended to loop.
 +
 
 +
[[File:CustomMusicGuide LoopingPart1.jpg‎|500px|thumb|center|Looping area]]
 +
The first area will be the loop start point, while the second area will be the end point. What this means is that when the song reaches the loop end point it goes back to the loop start point.
 +
In order to properly select the looping points, so that the song loops seamlessly, zoom in on that area of the song.
 +
 
 +
[[File:CustomMusicGuide LoopingPart2.jpg‎|500px|thumb|center|Selecting the loop points]]
 +
 
 +
* Try to select the same exact spot both on the start point and on the end point. A small tip is to select the area just before a "taller" part of the song, as shown in the image.
 +
* Once you select your loop start point by clicking where you want it to be, write down the numbers in the bottom left corner (make sure the unit is in '''samples''').
 +
* Repeat for the endpoint.
 +
* Export your song as .wav (this can be done before if you prefer).
 +
* Proceed to [[BrawlBox]]
 +
 
 +
'''NOTE''': [[BrawlBox]] has trouble dealing with mono .wav files. You can turn your song from mono to stereo in Audacity by clicking "Edit" > "Duplicate" and the clicking the little down arrow next to the song name on the first track and selecting "Make stereo track".
 +
 
 +
== Converting to BRSTM ==
 +
[[File:LAC Settings.png|200px|thumb|right]]
 +
[[File:Brawlbox-tutorial.JPG|200px|thumb|right]]
 +
BRSTM is the format of the videogame's audio. It has been used since GameCube games, and it appears in almost every video game.
 +
Mario Kart Wii uses BRSTMs. They appear in courses, battle arenas, miscellaneous sounds and more.
 +
 
 +
In order to convert your .wav file to BRSTM you can use [https://github.com/libertyernie/LoopingAudioConverter/releases Looping Audio Converter]:
 +
 
 +
* Open Looping Audio Converter
 +
** 1. Click "Add"
 +
** 2. Select your song(s) (WAV works better than MP3, since it is lossless. Do not use WMA-converted WAV files; they mess up the song tempo, pitch and length in BrawlBox)
 +
** 3. Make Sure the settings are the same as in the picture (except you can set "Output Directory" to whatever you want)
 +
** 4. Click Start
 +
 
 +
However, if you want your song to loop, you need to use [[BrawlBox]] or [[BrawlCrate]].
 +
 
 +
* Open BrawlBox
 +
** 1. Go to: File > New > BRSTM Audio Stream
 +
** 2. Select your song (it must end with .wav)
 +
** 3. Write down the loop start point/end point in their respective boxes
 +
** 4. Check the loop by listening to the song (make sure to tick the "loop" box)
 +
** 5. Click Okay, and go to Edit > Export (as) and export as a BRSTM.
 +
 
 +
You can also perfect the loop points in BrawlBox, so getting the loop points from Audacity is not specifically needed.
 +
 
 +
If you do not have a computer with Windows installed, you can also use μ-wave.
 +
 
 +
* Go to [https://kazuki-4ys.github.io/web_apps/mu-wave μ-wave] (latest Google Chrome version is recommended).
 +
** 1. Drop your song into the box (it must end with .wav or .mp3).
 +
** 2. If you need to, write down the loop start point/end point in their respective boxes (make sure to tick the "Loop" box).
 +
** 3. Click "Build BRSTM!", and wait a moment.
 +
** 4. Click "Save BRSTM", and wait a moment.
  
[[File:GoldWaveExample.png|750px|thumb|center|GoldWave opened.]]
+
Next, you will need to rename your custom BRSTMs to their [https://mariokartboards.com/threads/all-mario-kart-wii-file-names.202/ correct ID], so they play in-game. Make sure your songs replace the same slot as your custom track. If you use [[Riivolution]] you just have to put your BRSTMs into My Stuff folder.
*Open up your song.
 
*Listen to it VERY carefully, and detect the part where you want your loop to start and end (if wanted).
 
*Select the starting point and drag it to the end (or the End point of your loop).
 
*Press Shift+E, and a window called "Set Marker" should appear.
 
*Click on Sample Based Position option, and copy the Start and Finish value (Finish value in case your loop doesn't stop at the end of the song).
 
**You will need these values later, they are important
 
*Close GoldWave.
 
  
'''This is necessary all the time if your songs have to loop.'''
+
== Multi-Channel BRSTM Making ==
==Converting to BRSTM==
+
You might notice that even if you follow all these steps, your custom music cuts off. This is because six tracks in the game ([[Wii Toad's Factory|Toad's Factory]], [[Wii Wario's Gold Mine|Wario's Gold Mine]], [[Wii Koopa Cape|Koopa Cape]], [[Wii Dry Dry Ruins|Dry Dry Ruins]], [[Wii Moonview Highway|Moonview Highway]], and [[Wii Bowser's Castle|Bowser's Castle]]) use multi-channel BRSTMs instead of regular BRSTMs, which allows the slight music change in some parts of the tracks. The number of channels you need will depend on the track. Toad's Factory, Wario's Gold Mine, Dry Dry Ruins, and Moonview Highway require a 4CH BRSTM; Koopa Cape requires 8CH and Bowser's Castle requires 6CH. However, for unknown reasons, sometimes a 6CH BRSTM will still cut off at the part where the Bowser statue throws fireballs at you. To be safe, you can always make an 8CH BRSTM for that track as well.
BRSTM is the format of the videogame's audio, they are used since GameCube games, and they appear in almost every actual videogame.
 
Mario Kart Wii obviously uses BRSTMs; and they appear in courses, battle arenas, miscellaneous sounds and more.
 
  
 +
== The BRSAR ==
 +
So, if you tested your songs in game, you might have noticed that they cut off.
  
 +
'''Why did this happen?'''
  
 +
You copied your BRSTMs in your SD card, yes, that's correct; but there's another file inside Mario Kart Wii, called [[revo_kart.brsar]].
  
'''Now, you have your songs ready for converting them to BRSTM format, for this you need BCSM GUI:'''
+
This file governs the loop points and maximum size for all the BRSTM files in the game. It also contains sound effects, like characters' voices, kart/bike, menu, drifting sounds, star power music, etc. These can be edited through [[BrawlBox]].
[[File:BCSMGUIexample.png]]
 
  
*Open BCSM GUI.
+
'''This is the reason your songs cut off, your BRSTMs don't fit into original ones, they are bigger.'''
** 1. Click on "add"
 
** 2. After the window appeared, click "Add to Queue
 
*Select your songs.
 
*IMPORTANT: If your songs have to loop, then:
 
** 3. Paste the "Start" and "Finish" values (the ones you copied from GoldWave). Doing this your song will now loop.
 
*Click on "Convert to BRSTM" and wait.
 
  
After converting is finished, your songs should be saved in the "library" folder of the app.
 
  
Rename them to their correct ID, so they can sound ingame. [http://www.mariokartwii.com/f72/all-mkwii-file-names-list-69522.html Which are those IDs?]. And make sure your songs replace the same slot than your CT.
+
In here, you have two options: make your song shorter (this means a '''very''' short song), or use [[Patch that BRSAR!]]:
If you use [[Riivolution]] you have to put your BRSTMs into My Stuff folder.
 
  
==The BRSAR==
+
''*You need revo_kart.brsar for this. You can find it inside [[Filesystem/sound]]''.
So, if you tested your songs ingame, you might have noticed that they cut off at 5 seconds or less.  
 
  
'''Why did this happen??'''
+
Open Patch that BRSAR! and open or drag and drop revo_kart.brsar in the program. All BRSTM slots that are linked from the BRSAR will be patched to their maximum size.
  
Well you copied your BRSTMs in your SD card, yes, that's correct; but there's another file inside MKWii's ISO, called revo_kart.brsar.
+
'''Please note that [[CTGP-R]] does this automatically (for standard [[slot|music slots]] only), and if you patch your revo_kart.brsar you will need to disable automatic patching via settings.'''
  
This file is the file which governs the loop points and maximum size for all the BRSTM files in the game. It also has the sounds contained within it, like characters voices, kart/bike sound effects, select sounds, drifting sounds, etc.
+
If you open the BRSAR in [[BrawlBox]], provided the folder structure remains intact, you can make an edit (such as volume changing or custom SFX inserting) and it will automatically patch the BRSAR file.
  
 +
<br clear=all/>
 +
{{Custom Track Tutorial}}
 
[[category:Tutorials]][[category:Custom Track Tutorial]]
 
[[category:Tutorials]][[category:Custom Track Tutorial]]

Latest revision as of 02:53, 1 September 2023

Making custom music is taking any song you want and making it compatible with Mario Kart Wii, so it plays as background music. Some custom tracks are even released with custom music included.

If you want to make custom music for your track/battle arena, you need:

Music Editing

You will have to use a music editor in order to edit your song (such as removing the silent part in the beginning, making it louder and cropping unwanted parts) and get your loop points. You can use any music editor you want. However, this guide will only focus on Audacity. It is always necessary to export the output format into .wav in order for BrawlBox to convert it to a BRSTM.

Amplifying the Volume

Different volumes in Audacity

When you open your song in Audacity, it will look something like one of these three examples. The difference in height between them is caused by the volume, with a smaller height meaning the song is quieter. If your song is too quiet you won't be able to hear it in-game. In order to prevent this you'll have to amplify it. You should be aiming to something close to the 3rd music file in the image.

  • Click "Effect" on the toolbar
  • Click "Amplify"
  • Drag the percentage bar according to what you need (it may vary from 10db to just 2db, depending on the volume)
  • Check the "Enable clipping" box
  • Click "OK"

NOTE: the sound may start to crack if you amplify it too much. This will not be heard in-game to an extent.

Alternatively, with BrawlBox, you can locate the song in revo_kart.brsar under the bar on the left side, click on STRM -> whatever prefix the file uses -> the name of the brstm (ex. For Luigi Circuit, go to STRM -> N -> CIRCUIT1) and click on that file, you should see icons labeled with a "?". On the right side, under "RSAR Sound" you should see a "Volume" setting, change that to a higher number (Usually anything from 120-200 should be fine), and your song should be louder, this method also helps reduce crackling.

Speeding up a Song

For the "final lap" music, you have two options: using another song or speeding up the same song.

Final Lap Stream Maker

A program made by Atlas, this is by far the easiest method.

  • Run the program.
  • Either drag and drop or click on the button and locate your normal brstm.
  • You should get another window, just enter the name of the output file and it will save

Audacity

Speeding up songs
  • Open your song
  • Select the song
  • Click "Effect" on the toolbar
  • Click "Change Speed"
    • If you don't want the pitch to change, and only want it to play faster, then click "Change Tempo"
  • Drag the "Percent Change" bar (between 6% to 20% is a good recommended value for changing the tempo)
  • Click "OK"

Creating properly tuned tracks

This method is closer to the original game but produces a small amount of crackling.

  • Open the file in Audacity
  • Effect (menu) -> Change Tempo => Percent Change: a value from 6 to 20% (10% recommended) -> Click "OK"
  • Effect (menu) -> Change Pitch => Semitones (half-steps): 1.00 -> Click "OK"

The order doesn't matter a lot, though changing tempo first may produce slightly better results, depending on the type of music.


The sliding stretch produces much better results but is much slower.

How modern Mario Kart games (including Mario Kart Wii) speeds up their music:

  • Effect -> Sliding Stretch
    • Initial and Final Tempo Change (%): a value from 6 to 20% (10% recommended)
    • Initial and Final Pitch Shift -> (semitones) [-12 to 12]: 1
  • Click "OK"

OR

How the first three Mario Kart games (Super Mario Kart, Mario Kart 64, and Mario Kart: Super Circuit) speeds up their music:

  • Effect -> Sliding Stretch
    • Initial and Final Tempo Change (%): a value from 6 to 20%
  • Click "OK"

OR

How Mario Kart Tour speeds up their music:

  • Effect -> Sliding Stretch
    • Initial and Final Tempo Change (%): 25%
    • Initial and Final Pitch Shift -> (semitones) [-12 to 12]: 4
  • Click "OK"

VirtualDJ

VirtualDJexample.jpg
  • Drag your song into a plate.
  • Use the Pitch Bar to change its speed.
  • Go to the "Record" tab
  • Click on Config to set the file's final directory
  • Click on "Start Recording" and play your song with the new speed.
  • If needed, you can edit then your song for deleting useless parts.


Hex Editor

You can also use a Hex Editor on your normal lap BRSTM (more risky):

  • Only recommended if you know how to hex edit.
  • Go to 0x64. This is the data rate of the song in hz. (Controls how fast data is read) The value is two bytes.
  • Open Calculator (or use a calculator that can work with hex)
  • Type the value in and add about 15%-30% to the value
  • Replace 0x64 with the new value
  • Save As a new BRSTM. It will play faster.
    • This method is risky because Mario Kart Wii wants BRSTMs that are 32000hz. Track music doesn't seem to be too picky about this (though sometimes, it still causes problems), but fanfares don't like other values (and can freeze the game if played too long, actually). To avoid problems, stick with 32000hz and use one of the other methods listed above.
    • However, an advantage to this method is that you do not have to find loop points twice for track music if you use a sped up version of the same song for the final lap, simply because you are only reading the data faster, not actually changing the amount of samples.
  • A safety variant to change the speed with Hex Editor is to change the values on 0x64 to B4 00. It will sound like the original speed up (found out by MrBean35000vr).
    • This method may not work with all BRSTMs. Some BRSTMs will not play, but the game won't freeze.
  • Another method is to multiply the decimal value by 12/13 and convert this back to hex. For example, 48000hz would become 52000hz, so BB80 would become CB20.

Looping your Song

A "loop" is the particular section of the song that replays over and over. You will have to loop your song if it's too short, so your song will repeat until you end the race.

It consists of two sections: the "Start point" and the "End point".

In Audacity:

  • Open your song.
  • Listen to it VERY carefully, and detect the part where you want your song to loop. This is easier when using videogame music (VGM), as it is already intended to loop.
Looping area

The first area will be the loop start point, while the second area will be the end point. What this means is that when the song reaches the loop end point it goes back to the loop start point. In order to properly select the looping points, so that the song loops seamlessly, zoom in on that area of the song.

Selecting the loop points
  • Try to select the same exact spot both on the start point and on the end point. A small tip is to select the area just before a "taller" part of the song, as shown in the image.
  • Once you select your loop start point by clicking where you want it to be, write down the numbers in the bottom left corner (make sure the unit is in samples).
  • Repeat for the endpoint.
  • Export your song as .wav (this can be done before if you prefer).
  • Proceed to BrawlBox

NOTE: BrawlBox has trouble dealing with mono .wav files. You can turn your song from mono to stereo in Audacity by clicking "Edit" > "Duplicate" and the clicking the little down arrow next to the song name on the first track and selecting "Make stereo track".

Converting to BRSTM

LAC Settings.png
Brawlbox-tutorial.JPG

BRSTM is the format of the videogame's audio. It has been used since GameCube games, and it appears in almost every video game. Mario Kart Wii uses BRSTMs. They appear in courses, battle arenas, miscellaneous sounds and more.

In order to convert your .wav file to BRSTM you can use Looping Audio Converter:

  • Open Looping Audio Converter
    • 1. Click "Add"
    • 2. Select your song(s) (WAV works better than MP3, since it is lossless. Do not use WMA-converted WAV files; they mess up the song tempo, pitch and length in BrawlBox)
    • 3. Make Sure the settings are the same as in the picture (except you can set "Output Directory" to whatever you want)
    • 4. Click Start

However, if you want your song to loop, you need to use BrawlBox or BrawlCrate.

  • Open BrawlBox
    • 1. Go to: File > New > BRSTM Audio Stream
    • 2. Select your song (it must end with .wav)
    • 3. Write down the loop start point/end point in their respective boxes
    • 4. Check the loop by listening to the song (make sure to tick the "loop" box)
    • 5. Click Okay, and go to Edit > Export (as) and export as a BRSTM.

You can also perfect the loop points in BrawlBox, so getting the loop points from Audacity is not specifically needed.

If you do not have a computer with Windows installed, you can also use μ-wave.

  • Go to μ-wave (latest Google Chrome version is recommended).
    • 1. Drop your song into the box (it must end with .wav or .mp3).
    • 2. If you need to, write down the loop start point/end point in their respective boxes (make sure to tick the "Loop" box).
    • 3. Click "Build BRSTM!", and wait a moment.
    • 4. Click "Save BRSTM", and wait a moment.

Next, you will need to rename your custom BRSTMs to their correct ID, so they play in-game. Make sure your songs replace the same slot as your custom track. If you use Riivolution you just have to put your BRSTMs into My Stuff folder.

Multi-Channel BRSTM Making

You might notice that even if you follow all these steps, your custom music cuts off. This is because six tracks in the game (Toad's Factory, Wario's Gold Mine, Koopa Cape, Dry Dry Ruins, Moonview Highway, and Bowser's Castle) use multi-channel BRSTMs instead of regular BRSTMs, which allows the slight music change in some parts of the tracks. The number of channels you need will depend on the track. Toad's Factory, Wario's Gold Mine, Dry Dry Ruins, and Moonview Highway require a 4CH BRSTM; Koopa Cape requires 8CH and Bowser's Castle requires 6CH. However, for unknown reasons, sometimes a 6CH BRSTM will still cut off at the part where the Bowser statue throws fireballs at you. To be safe, you can always make an 8CH BRSTM for that track as well.

The BRSAR

So, if you tested your songs in game, you might have noticed that they cut off.

Why did this happen?

You copied your BRSTMs in your SD card, yes, that's correct; but there's another file inside Mario Kart Wii, called revo_kart.brsar.

This file governs the loop points and maximum size for all the BRSTM files in the game. It also contains sound effects, like characters' voices, kart/bike, menu, drifting sounds, star power music, etc. These can be edited through BrawlBox.

This is the reason your songs cut off, your BRSTMs don't fit into original ones, they are bigger.


In here, you have two options: make your song shorter (this means a very short song), or use Patch that BRSAR!:

*You need revo_kart.brsar for this. You can find it inside Filesystem/sound.

Open Patch that BRSAR! and open or drag and drop revo_kart.brsar in the program. All BRSTM slots that are linked from the BRSAR will be patched to their maximum size.

Please note that CTGP-R does this automatically (for standard music slots only), and if you patch your revo_kart.brsar you will need to disable automatic patching via settings.

If you open the BRSAR in BrawlBox, provided the folder structure remains intact, you can make an edit (such as volume changing or custom SFX inserting) and it will automatically patch the BRSAR file.