How to Create Your Own CUSTOM Terraria Soundtrack(v1.0.3) - a.k.a. "Turn off that jungle noise!" Pre-made soundtracks ready for download: Available here! (updated for 1.0.5) What you will need to make your own: Music in .wav format Software capable of converting music into WAV format* (such as Audacity) Microsoft XNA Game Studio 4.0 (link may not be foreign language friendly!) *Only required if you have no music in WAV format that you wish to use. Disclaimer: I had XNA Game Studio a while ago, the above link may or may not be the correct version with XACT included. It also may or may not require Microsoft Visual Studio 2010. Please let me know how well it all works. The guide is useless if no one can get everything running, and I am too lazy to re-install everything! Selecting and Converting Your Soundtrack First and foremost, Terraria's music as I'm sure you are well aware, is comprised of a scant 6 tracks at the moment. The first step is obviously to find 6 tracks you want to replace the current 6 in-game tracks. Don't have any? [PLUG] Maybe something from a11111?[/PLUG] I'm willing to bet your current music library is in MP3 format. Wave Banks are collections of audio files in WAV format. So what this means for you is that you will need to convert the songs you wish to use from MP3 to WAV. There is plenty of software out there that can do this and is beyond the scope of this tutorial. You're on your own for acquiring and converting your desired music. The Cross-platform Audio Creation Tool (Xact3.exe) XACT (Cross-platform Audio Creation Tool) is incorporated into Microsoft's XNA Game Studio. If you're playing Terraria, you probably have a redistributable which does not include XACT. If so, you'll need XNA Game Studio 4 (above). After installing XNA Game Studio, you'll want to run Xact3.exe. Chances are it's installed someplace like "C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\Tools\Xact3.exe". Here's a picture to give you an idea where it is: SEE IMAGE Creating your XACT Project For the purposes of this tutorial, we will not be going too far in-depth into what XACT can do. Everything we need is rather basic and straightforward. When XACT is running, the window will look something like this: SEE IMAGE Before we can do anything, we first need to create a project. SEE IMAGE You'll be asked to name your project and choose somewhere to save it. When you save the project, you'll get a file named <project name>.xap, and two folders. One folder named Xbox, the other named Win. I saved my project in a folder I created on the Desktop named XACT: SEE IMAGE Prep Work and Creating Your Wave Bank Back in XACT, a bunch of buttons have lit up. No, don't press them randomly. Go to View, then check to make sure "View Windows Properties" is ticked: SEE IMAGE Once we're sure we are working in Windows mode, it's time to create a Wave Bank. Select Wave Banks from the menu bar, then New Wave Bank: SEE IMAGE Along the left-hand side, a new branch under Wave Banks appears. Here you can rename your Wave Bank to whatever your heart desires. Keep in mind the Wave Bank you end up with will need to be named "Wave Bank" in order to replace the original music. On the right-hand side a box appeared. This is where you will drag and drop your WAV format music files. SEE IMAGE YOU MUST DRAG AND DROP YOUR MUSIC IN A SPECIFIC ORDER TO HAVE THEM PLAY AT THE APPROPRIATE TIMES! The order is as follows: Song #1: Underground Music Song #2: Nighttime Music Song #3: Evil (Corruption, Blood Moon, Dungeon, etc.) Music Song #4: Daytime Music Song #5: Boss Music Song #6: Title Screen Music Song #7: Jungle Music Again you MUST place them in the order specified above! When done, your box will look something like this: SEE IMAGE Note: WAV files are very large. Do not be surprised if your custom soundtrack is in excess of 200 MBs or more. We will be fixing that next. Compressing Your Wave Bank In the upper left-hand panel near the bottom of the list you'll see an option called "Compression Presets." Right-click then click "New Compression Preset." SEE IMAGE Below it will pop up a few options. You can ignore most of it. What you want to be sure to do however is change the format under the Windows section from ADPCM to xWMA: SEE IMAGE You can leave the quality setting alone. 60 is fine. Now back up to the upper left-hand panel, click to highlight your Wave Bank. Back down to the lower left-hand panel, under the Compression Preset dropdown menu, select Compression Preset (or if you decided to name it, whatever it is you named it): SEE IMAGE Your Wave Bank now looks like this: SEE IMAGE Finishing Touches We're almost done (yay). The final step in XACT is to build your project by hitting the Build button at the end of the menu bar or by hitting F7, or by going to File -> Build...: SEE IMAGE Another box appears asking you about stuff, disregard it like a boss and click finish. Now hold tight while your Wave Bank is compressed and saved: SEE IMAGE Once completed, your new Wave Bank should be sitting in that "Win" folder I mentioned before: SEE IMAGE WARNING: PLEASE BACK UP BOTH YOUR ORIGINAL AS WELL AS YOUR NEW "Wave Bank.xwb" FILES IN YOUR Terraria\Content FOLDER BEFORE PROCEEDING TO AVOID LOSS OF DATA IN CASE OF UPDATES AND/OR WANTING TO RETURN TO THE ORIGINAL MUSIC! All that's left for you to do is drop your new "Wave Bank.xwb" into your Terraria\Content folder, then testing it out in game for yourself. Enjoy. FREQUENTLY ASKED QUESTIONS (that I mostly made up myself) Q: Is this legal? A: I don't see why not. XNA Game Studio is freely available. The creation of .xwb files is 100% legal. The deletion of files on your computer is legal. The movement of files on your computer is legal. No reverse engineering of game files is required. Q: This looks complicated. Is it complicated? A: No. I like to hear my keyboard "tik tak" as I type. I've probably written more than needed in the interest of making it easy to follow. You could probably figure it out by the pictures alone. Q: Why should I bother? I already have iTunes. A: The problem with 3rd party music players is they do not have the same immersive effect. You will not hear the music change with every day->night->day transition. Or when you come across a meteorite, or corruption. You music will not break off into a song reflecting the desperate struggle for survival when the Eater of Worlds is... eating the world. This is purely for those who wish to keep the flow of in-game music while being able to spice things up every once in a while. Q: I only want to replace a song or two, where can I get the original songs? A: You can't. It's illegal (I suppose) to extract the songs from their original Wave Bank. Do not ask me for them. You'll need 6 songs of your own before this endeavor. Q: This is cool and all, but 7 songs is weak. Can I add more songs? A: Yes and no. Using audio editing software it is certainly possible to piece together multiple tracks one after another to create a playlist of a sorts. You will not however be able to shuffle music tracks. Every time you go underground the same tracks will play in the same order. Q: Are you a wizard? A: Yes I am. You too could be a wizard if you can convince Redigit to allow for Biome specific tracks. Multiple tracks per biome would be even better. Q: Any caveats I should be aware of? A: The music in Terraria loops from beginning to end. You cannot insert loop points so your music will sound best if you have a clear beginning and end. Songs that have a seamless beginning and end will still (possibly) be interrupted by a slight pause between loops. Q: Can I share the Wave Banks I made myself? A: Only if the music inside is freely distributable. Do NOT post files containing copyrighted material. If you'd like, I can add your compilation(s) to the hopefully growing list of available Banks to choose from. Just let me know. And please try to get the legal red tape cleared up before posting (licensing, credits, etc.). Have a heart, I'm lazy. Special Thanks: Re-Logic - For making Terraria, obviously. Resonance Array - For those wonderful tunes we all know and love, and desperately need to replace because they're now driving us insane. a11111 - For testing and double checking my erroneous assumptions about XNA. Kane - For not actually responding to me! <3 Questions? Comments? Concerns? Insults?