3.Sound file editing software: I use goldwave, but anything that can convert or produce mono 16 bit pcm/wav files will work
4.SSBB ISO: again, I can't tell you where to get it, try your favorite torrent site
5.WiiScrubber: I used verison 1.21. You should probably stick to it as well
6.Music that you want to convert: It can be any format. I haven't tried really, really long songs, but I'd stick to stuff that's 5 min. or less. The longest song on SSBB is only 3:40 long.
Ok, please know that this is still in development. I am not an experienced Wii dev person or programmer, so don't dare mock me!!!!. I'm also writing this in a manner so anyone can read this and get a basic understanding on how to do it.
A couple of tips before you start:
DON'T modify the original ISO you downloaded. Use a copied file. If you press up on the command line, it types in the last command entered. Make sure you have plenty of time. All of the command lines in pink are single commands, you don't hit enter until after you type the entire thing
STEP 1: Before you start, you need to find a few files in the dev kit in order to convert stuffs. Find the following:
DSPADPCM.pdf (it's a small guide on how to use the DSPADPCM utility) dspadpcm.exe (it's the utility that converts wav files into DSP format) dspadpcmD.exe (I don't really know what it's for, but I'd keep it in the same directory as the file mentioned above) dsptool.dll (you need to put this in your system32 folder for an x86 system, if you have a 64bit OS, put it in the appropriate system folder) dsptoolD.dll (same as above)
STEP 2: After you find those files from the dev kit, make a folder in your HDD root. You don't absolutely have to, but I did it to make it easy. Let's call this new folder "Music_Hax". In Music_Hax, make another folder, I'll call mine "Tools". Put all the files that you found in STEP 1 into the tools folder. The files with the .dll extention need to go into your system32 folder (if you don't know, your system32 folder is in C:\windows\system32). If you have a 64 bit version, it should be the same. Maybe. I don't remember. More on this on the next revision of the guide.
STEP 3: Download Revolution B. This utility repacks your DSP files into BRSTM files. Put all the file into your "tools" folder.
STEP 4: WiiScrubber, you'll need it. Put it in your Music_HAx folder. Don't ask questions, just do it!!!
STEP 5: Make another folder called "Original_Music". This is where you are going to extract ALL of the brawl music files. It's a very, very long process.
STEP 6: Open up your SSBB Image with WiiScrubber. Click on Partition 2- Data, then scroll down and click on sound, and then click on strm. ALL those strm files start with a letter, and have two numbers after the letter. I have NO clue as to why that is, or what that means, so don't ask! But I do know that you have to extract ALL of them. Why? Well, the only way I know which song is which is to listen to them. In order to listen to them you have to extract them, and convert them all back to .wav files. Extract them into the Original_Music folder. It is going to take a while.....
STEP 7: After you have extracted all of the game's BRSTM files into your Original_music folder, you can start converting them. Open the MS-DOS command line. If you don't know how, just click your start menu, click run, and type cmd. When you have the window up, type in CD C:\Music_HAX\tools. Now we are going to use revb.exe to convert the brstm files into dsp files. In the command line, type in revb and press enter. It will give you a list of commands and options you can use. we are going to use the extract command. For this example, we are going to convert K01.brstm into a dsp file.
In the command line, this is what I'd type to convert K01.brstm into a dsp file:
After you hit enter, it will display some data and such, but look in your original_music folder. Now you will have an K01.dsp file.
You can convert all of them to dsp files before proceeding to the next step, or do it one at a time. It doesn't matter. Either way it will take up lots of time.
STEP8: Open up DSPADPCM.pdf, and scroll down to usage. It will tell you commands you can use to do stuffs. This time, we are going to use dspadpcm to convert K01 to a .wav file, and create a text document with data.
In your command line, type in dspadpcm. It will display it's commands.
Now, to convert the file, and produce the data, I'm going to type the following on my command line:
It takes forever to type, but once you've done it, you'll end up with K01.wav, and K01.txt. Open both. K01 is the music from Lucas' stage, Snowman or winters. I can't remember. But it's the winter themed one. Here is what the text file says:
Header size: 96 bytes
Sample : 'C:\Music_HAX\original_music\K01.dsp' Length : 4189394 samples Num nibbles: 4787880 ADPCM nibbles Sample Rate: 32000 Hz Loop Flag : LOOPED
Note the number in lime green color. That is the sample rate. All wav files converted to dsp must be 32000 Hz.
STEP 9: Create a new folder in your Music_Hax folder named "new_music". Now that we have K01.dsp and K01.wav, you can open up your sound file editing software. I use goldwave. Open up your favorite .mp3, .ogg, .wav, etc. etc. For this stage, I used a song from Bound Together Album, "Sweet Dream Lullaby". Resample your song to 32000hz, or 32khz. Remove any or most of the silence from the end of the song, as it will repeat the song in the end. If you have no sound for the last few seconds, it will replay that also. Save it as a mono 16 bit PCM, in your new_music folder. It takes away the stereo, but it has to be done. I renamed my saved .wav file as "sweet_dream.wav"
STEP 10: Now we convert my sweet_dream.wav into a dsp file. Look at the DSPADPCM guide. It will tell you how to encode it and such. So, to encode my file into dsp format, I'm going to type the following on my command line:
Notice the lime green colored number. That number is the length of the song. It will be different for every song you convert to DSP format! We have to reconvert it with the loop option in order to make the song repeat during gameplay. To loop the song from beginning to end, this is what I'd type in my command line:
This will make the DSP loop from the end of the song, back to the beginning. Hal makes it so their songs loop somewhere where it sounds like the song is continuous. I don't have the time or capability to determine which byte in which song to loop to do that. So for now we just loop from beginning to end.
STEP 11: So now we have K01NEW.dsp and K01NEW.txt. We are now ready to convert it to brstm format. To do this, you have to use revb.exe again. so in the command line, this is how it would look like:
Now you have K01NEW.brstm, you can now go to the final steps.
STEP 12: You open up your SSBB ISO in WiiScrubber again, and scroll down to the music file you want to replace. Right click K01.brstm, and replace it with K01NEW.brstm. Replace all the music files, skins, etc etc. you want. Close WiiScrubber.
Step 13: Burn your new image using the DVD-ROM book type on the slowest settings your writer supports.
Hopefully, if everything was done correctly, it should add up and you'll have Sweet Dream Lullaby play instead of snowman on Lucas' level. を誰か和訳できるかたいませんか? musicハックのやり方らしいです -- (どこかの誰か) 2009-03-25 15:06:00