|Table of Contents||History||Tutorial||Video|
I received LEGO® Racers 2 from a friend on October 17, 2011, who said that I should play it. The morning of October 18, I installed the game on a computer. That afternoon, I was ready to have some fun. But not in the way LEGO would want me. They would want me to race, build a car and minifig, and try to beat Rocket Racer. But I had some other kind of fun in mind: modding the music.
The music in the game files have numbers as extensions (
.3 etc.). But, I had done my homework. I had found out that the files were only .WAV files with a different extension (just like the LEGO® Racers music).
I ran the main menu music through FFmpeg, and it told me exactly the file format, the codec, and the hertz. I then loaded a piece of music into Audacity (my favorite audio editor/converter), and sure enough, it imported. But this story is not over yet.
After a couple of failed tries to change the music, I figured out what I was doing wrong. I was converting the music into the right format, but I had the hertz wrong. Unlike LR, LR2 does not even play the music if it is wrong. LR plays it, but it does it either really slow or really fast (depending on the hertz).
I am using the newest version of Audacity for Windows for this tutorial. The steps should be similar on the Mac OS X and Linux ports You can use a different audio editor if you wish, Audacity is just what I use.
- Find a piece of music that want in-game and import it into Audacity.
- Look in the bottom left-hand corner of the Audacity window for a box that says Project Rate (Hz), and change it to 22050.
- Select the entire audio (Ctrl+A) and click Tracks>Resample, and resample to 22050.
- When that is done, click File>Export and select Other uncompressed files from the Save as type box.
- Click Options in the same box as above, and in the resulting box, choose WAV (Microsoft) from the Header menu.
- In the same box, in the Encoding area, select Microsoft ADPCM
- Click OK, & Save.
- Open where you installed LR2, and go to the
readme.txtfile in the folder which the developers so lazily left, locate the piece(s) of music that you want to change, and rename the music in the folder to something so you know what it is (I use a variety of text that I append to the file name).
- Copy you custom music to the game files, (if you did not export the music there) and rename it the correct name (
- Launch LR2, and enjoy the custom music!
Initial Music Modding
YouTube user Rocket9964‘s LR2 music modding.
Turn Down Your Speakers!
Rocket9964 advices all watchers to turn down your speakers before clicking play. Her music modding came out much louder than she wished. I recommend doing what she says, especially if you are using headphones, for the sake of your hearing. 😛