Making a Multi-Channel BRSTM

From NSMBW Knowledge Base
Revision as of 08:16, 16 October 2018 by Zementblock (talk | contribs)
Jump to navigation Jump to search

NOTE: The tutorial was not originally created by me, and was originally created by John Telstra (on RVLution). So credit goes to him for the tutorial (and me for adding extra info, fixing errors, and publishing it here).

Requirements

-A Windows PC

-Multi BRSTM Builder GUI (download here)

-An audio editor (I'd recommend Audacity, download here)

-A BRSTM player capable of playing multi-channel BRSTMs (I'd recommend BrawlBox, download here)

Tutorial

Step 1

After downloading Multi BRSTM Builder GUI, extract it to the C Drive (C:\), then open Audacity. You'll need a song, so drag in your audio file(s). You'll also need 2 or 4 audio files (or if you have one audio file; drag it in 2 or 4 times into Audacity). 2 audio files will make an 4 channel BRSTM which will offer 2 audio streams. 4 audio files will make an 8 channel BRSTM which will offer 4 audio streams.


For example, we'll put 4 audio files to make an 8 channel BRSTM; drag 4 audio files into Audacity, then make sure to change the input channels to 2 (Stereo):

Once you imported the files, it should look something like this:


Now click Export Multiple in Audacity, have the Numbering after File name Prefix and Tracks options checked. Now choose the Export Location, make sure you set the location to a place on your PC that you're going to remember.

Set the export format as Microsoft WAV Signed 16bit PCM (or Other uncompressed files, and choosing Options..., and choosing the header as WAV [Microsoft] and Encoding as Signed 16bit PCM). And then click the Export Button in the window, then hit "OK" to all files that are going to be exported:


Step 2

Reopen Audacity and search for your .wav audio files that you exported:

And drag the files into Audacity. After that, change the input channel to 1 (Mono):

And split ALL the audio tracks to mono:

When you're done, it should look something like this:

Then play it. And it may sound a bit scratchy/loud, but keep it like that since it won't turn scratchy/loud when you render it for whatever reason (I don't know why nor anyone else does).


Click Export Multiple again in Audacity. Make sure the Export Location is the same directory you exported the other songs in Step 2.

Set the export format as Microsoft WAV Signed 16bit PCM (or Other uncompressed files, and choosing Options..., and choosing the header as WAV [Microsoft] and Encoding as Signed 16bit PCM). And then click the Export Button in the window, then hit "OK" to all files that are going to be exported:


Step 3

Now, there might be 12 audio files. Delete ALL the stereo-track files:

And rename the file (for channel 1) to "1", and the other file (for channel 2) to "2", and the other file (for channel 3) to "3" and the other file (for channel 4) to "4", etc:


Drag all the audio files in the wav folder in the Multi BRSTM Builder GUI folder:


Step 4

Open BrawlBox, go to New --> BRSTM Audio Stream, then locate your .wav file. And loop it to whatever point(s) you like (that seems to fit you), then write down the Loop End Samples and Loop Start Samples number (click the play button to preview the loop, but check the loop option first). Then exit out of BrawlBox (don't save/convert the WAV):


Step 5

Open Multi BRSTM Builder GUI and enter in the Loop Start Samples and Loop End Samples you've written down, Make sure you check the loop option! Then select how many audio channels you want for the BRSTM. Since I'm using 8 channels, I'll choose 8 channels. And for the BRSTM Output Filename, name it whatever you want, but do not add the extension (.brstm) to the end of the file name.

It should look something like this:


Once you're done, click Build Batch File and choose exit. Now click on the build.bat batch file and wait. You'll see it's creating files like 1.txt, 2.txt, etc. When the batch file creates those .txt files, it's encoding the BRSTM. After it's done, open the out folder in the Multi BRSTM Builder GUI folder, and you should see your multi-channel BRSTM:


Step 6

Open the multi-channel BRSTM with BrawlBox and check the Loop option. Play it and listen to all the streams to see how it sounds when you looped it/etc. Then test it on your Wii. I hope this works for you. Happy Hacking. ;)

NOTE: If your BRSTMs are stopping after a certain amount of time (e.g. 30 or 50 secs) when testing it in-game, you'll need to patch the BRSAR file to get it to play properly and don't stop. And for a list of sound files in NSMBWii, see the List of Sound Files.