- What permissions do you give others to modify and/or maintain your submission?
- Modify: YES - Maintain: YES - I give permission for my entire submission to be modified by others or used in their own work. I give permission for my entire submission to be maintained by others as well.
Requirements
Slade: https://slade.mancubus.net/index.php?page=downloadsMusic editing program, Preferably audacity: https://www.audacityteam.org/
Slade is a great editing software for anything doom modding related. I will be using the most recent version of posting (3.2.6)
Any music program that lets you view selection in milliseconds and edit a file’s metadata will work. However this guide will assume you will be using audacity
For convenience, a list of all the base game lump names are in this companion document: DRRR: Sound Lump Names
Basics to Music Modding
Setting up your .wad file
Open up slade and click on file > new
A popup will appear asking what archive you wish to create, open the dropdown and click on “Doom WAD archive” A new empty tab should appear. Create a new entry (either by right clicking or pressing the green paper), name it MUSICDEF and set it as a “Text Type”
LUMP - This is where you’ll be putting your music file’s name. It has to be under 6 characters, try to abbreviate it. This line does not begin with an “=” and should have no spaces.
Title - The name of the Track. This will show in-game when it plays.
Author - Credits for the author of the track. This will show in-game when it plays if there's enough room.
Source - What game, show or album your track comes from. This will show in-game when it plays if there's enough room.
OriginalComposers - Credits for the original composers, useful for remixes. This will usually show up in Stereo mode only.
Volume - Volume in-game, Default is "100"
ContentIDUnsafe = 1 - This is very important for licensed/copyrighted music. This command will stop the music playing if the user has “Streamer Mode” set to on.
# (Hashtag) - Inserts a comment on the line. Can be used to add information or split sections of your MUSICDEF.
Title - The name of the Track. This will show in-game when it plays.
Author - Credits for the author of the track. This will show in-game when it plays if there's enough room.
Source - What game, show or album your track comes from. This will show in-game when it plays if there's enough room.
OriginalComposers - Credits for the original composers, useful for remixes. This will usually show up in Stereo mode only.
Volume - Volume in-game, Default is "100"
ContentIDUnsafe = 1 - This is very important for licensed/copyrighted music. This command will stop the music playing if the user has “Streamer Mode” set to on.
# (Hashtag) - Inserts a comment on the line. Can be used to add information or split sections of your MUSICDEF.
This is what your wad should look like.
Now that you have a MUSICDEF setup it’s time to add your music file. Ring Racers will only play .ogg files.
Find your music file and open it in audacity.
You won’t be doing much here (yet). Go to File > Export > Export as OGG
At the bottom of the tab there is a slider titled “Quality”.
It is recommended to set this in the 0-2 range to lower wad size. Try to Keep it under 5MB MAX
You won’t be doing much here (yet). Go to File > Export > Export as OGG
At the bottom of the tab there is a slider titled “Quality”.
It is recommended to set this in the 0-2 range to lower wad size. Try to Keep it under 5MB MAX
Importing Files and Crediting them
When imported, your file’s name will most likely be cut off. You need to assign it a short name and attach O_ to the beginning of it.
Example: O_GEGZ1 (Gene Gadget Zone 1)
Head back to the MUSICDEF, your lump command will be the file’s lump name WITHOUT the O_
Fill in the necessary information. Please make sure proper information is added before sharing with others.
When you are done go up to the blue save icon (or File > Save) and click on it. You will be asked what to name and where to put the file. Save as a .wad file inside your Ring Racer Addons folder.
Testing your wad
After saving the wad, it is now safe to close slade and open Ring Racers.
Go to Extras > Addons and select your wad.
Afterwards go to Stereo mode and push "Prev" a single time, if everything was done correctly your custom song should show up.
If you don’t have stereo mode unlocked yet, open the console and type “tunes “LUMP””.
“LUMP” should be the file’s lump name without the O_.
There it is, a custom song in Ring Racers! Pretty simple so far. Though you might be wondering how to replace the base game’s music without modifying the original files.
Slightly more Advanced Modding
Replacing Base Game Tracks
Head to the Ring Racers data folder and open “music.pk3” in slade.
The folders are named after the map authors so it might be hard to find the exact track you’re looking for. For this tutorial we’ll use something simple and easy to find, Robotnik Coaster!
The file we are looking for is “O_COASTR”, This is the lump name for Robotnik Coaster.
Go through these folders: Music > Tyron
Copy the file’s name and go back to your custom wad. Rename your original music file with the copied name (O_COASTR)
Now open your MUSICDEF, replace the lump name with “COASTR” (Without _O)
That is all! Open Ring Racers and load your addon and speed off to Robotnik Coaster.
The same process can be done with alt tracks! They can be found inside "altmusic.pk3".
For convenience, a list of all the base game lump names are in this companion document: DRRR: Sound Lump Names
Looping Music
Open your .ogg (or original mp3 file) in audacity
If you are using an mp3 file (or your original unedited .ogg file) Remove this small bit of silence.
In order to create a seamless loop you will need to find the ending and the loop start. See the playback position cursor (the thin black line) below:
This the ending
This is the loop start
Put your playback position cursor on the loop starting point and don’t move it.
Clicking this little button will make a set of two bars on the timeline appear, drag them to the start and end of your loop then click on the blue area. You can also skip forwards/backwards with the arrow keys!
This will make the playback automatically jump to the start. It’s a lifesaver and won’t mess with your playback position cursor.
This will make the playback automatically jump to the start. It’s a lifesaver and won’t mess with your playback position cursor.
Go down to the set of boxes on the bottom of the application. The large box above the time should be set to “Start and End of Selection” Or “Start and Length of Selection” (We just need the starting numbers). The small box should be set to “hh:mm:ss + miliseconds” by using the arrow on the sides
Now with the ending cut and the loop starting point marked. Go to “Export as OGG”
At the bottom of the tab there is a slider titled “quality”. As said before, it is recommended to set this between 0-2 to lower wad size.
A window should open with some little boxes inside it.
Go to the first empty box on the left side and type “LOOPMS”. Then to the box to the right type in the time in the millisecond box
That’s all, just import it and test it in-game!
Auto-Loading Your Wad
In your Ring Racers Directory create a new .txt file.
Open the file with a text editor and type “addfile ”, Copy your wad’s name onto the same line. There should not be any spaces in the wad’s name and it MUST end with the file type.
It should be close to this:
Save the file and close it. You will then need to rename it to “Ringexec.cfg”. Windows will ask if you want to change the file type, click “Yes”.
If you cannot change the file type, in your file explorer there should be a “View” tab at the top. Click it and head over to the check boxes. Check the “File Name Extensions” box.
Once you are finished, open Ring Racers and go to your addons, your custom wad should already be loaded.