MEDIUM: How to convert MP3 files for use as UMX package. Such files can be used in custom maps for example.

From Oldunreal-Wiki
Jump to: navigation, search

Converting MP3 files for UMX-use in Unreal

Sorry For The Wait! Ok, people have asked me this for a while, and I keep telling them "I'm writing a tutorial on it soon!" Well, with work getting in the way and everything else, I haven't had that chance until now. So, without anymore stalling for free time...

Introduction: This article will explain how to effectively convert an .MP3 file into a .WAV file, and then start the process on changing it into a UMX. However, you have to watch what file you use! I am not responsible if you use any copywritten music in this process, nor am I responsible if you use any offensive material in your process. So don't point the finger at me if you get in trouble. Now then...

Let's Get Started! Here is a list of what you need installed before you start. Make sure you have all of these before beginning:

  • UnrealED (If you get the start-up error, use this.)
  • Modplug Tracker
  • Audio Converting / Editing Application (I use the freeware, Wavepad.)
  • Make sure your computer can handle this process. Most computers that are Pentium II / AMD K6-III with 422mhz or higher can usually support it. I reccomend using a Pentium 4 (1.2ghz+) or an AMD Athlon XP. I myself use an AMD Athlon 64 3200+ 2.2ghz. Faster the computer, the faster the process goes.

Now then, install all those applications if you don't have them already installed. Grab the MP3 or the WAV that you want to use for this process, and open it up (File -> Open File) in Wavepad. First thing after the wav is open, you'll see the wave pattern in green across the main window. You'll need to set the wave with these settings:

  • Sample Rate Of "22050" (FILE -> Convert Sample Rate)
  • Convert audio channels to MONO (FILE -> Convert Channels -> MONO)

Now go to "FILE -> Save File As" and save it as a .WAV file. It will prompt you with a box that looks like this:

Use the settings I defined on that. After it has saved, right click on the file on your PC, to to PROPERTIES, and see what the file size is. If it is above 6MB, you may want to open it back up in Wavepad and change the sample rate lower than 22050. The lower the sample rate, the lower the quality of the sound, the lower the file size. Most people won't want to wait around and download a 6MB+ file from your server.

Modplug Tracker Ok, now its time to open up Modplug Tracker. Go to "FILE -> Open", set the little drop-down bar at the bottom of the openbox to detect only .WAV files, and find your music file on your PC. After its all loaded, you'll see that it has filled up the big empty area of the application with five (or more) tabs, click the one named "Patterns". You'll see near the bottom half of the screen that theres a long list of numbers and theres something like "C-5 01 .. A1C" on the very top one (it won't be exactly that number, thats just an example). Select ONLY the "A" and the two numbers after it (Ex: "A1C"), right-click on it once its highlighted, and copy. Now, you'll see at the top area of the screen theres an area that looks like this:

You enter Modplug on the default "0" part of the patten, you now need to click the first "1" to the right of the "0", highlight the spot where the A## was on the ROW "0" (not column) of pattern "1", right click, and paste. This sets it so that when the Unreal Engine plays the game, it won't think the UMX file is empty after the "0" pattern ends. This defines it for the rest of the "1" patterns following it, so don't bother pasting on them too.

The Final Step! Go to "File -> Save As", change the name to what you want the UMX's name to look like, and save it as a .IT file. Now, all you have to do is open UED, click "IMPORT" and load up your song. Save it as a .UMX file, and you're finished. If anyone has any problems with any step of this, please PM me here on the forums, post a topic about it, or e-mail me at - Feel free to link this tutorial around, but please do not repost it.

-RedemptionAD (Of The Phoenix) - Clan Phoenix Site