How to apply custom music to levels (Thanks to community.)

Handy guides on how to do things, written by users for users.
Forum rules
Please don't start threads here asking for help. This forum is not for requesting guides, only for posting them. If you need help, the Editing forum is for you.
AnonymousDwell
Posts: 10
Joined: Fri Apr 10, 2015 4:13 am

How to apply custom music to levels (Thanks to community.)

Post by AnonymousDwell »

I searched under advanced search, topic titles, "music" in tutorials and was shocked to find absolutely nothing, so if that's somehow in error and this already exists on this forum, mods, please feel free to remove the topic as redundant with my apologies.

I joined this site for the sole purpose of learning how to put custom music into a game (in my case Hexen, but this should work for any game Zdoom can run.)

Thanks to a very patient and welcoming community, I finally came up with an easy to understand step by step way to do so.

I thought others with the same question might want to know this, as I know I had quite a time understanding the directions I was given initially.

So here it is:
  1. Go to http://doomwiki.org/wiki/Music and scroll down to the list of games. Click on the game you wish to mod music into, and note the names of the tracks for every level in your game. Determine which music goes with which level, and rename your audio tracks those names accordingly.
  2. Download Slade 3 from here: http://slade.mancubus.net/index.php?page=downloads and install it. I used default settings.
  3. Open Slade. Click File > New > WAD Archive
  4. Select all of the audio tracks you wish to mod into the game in question, and drag them into Slade. Wait for the list of tracks to fully populate (should be instantaneous unless you're on a very slow machine.)
  5. Go to File > Save As and enter whatever name you want for your music mod wad.
  6. Close Slade, and when asked if you wish to close it, click Yes.
  7. Click and drag the saved wad you just created directly into Zdoom on your desktop, or wherever it is.
  8. When Zdoom opens after doing this, select the game you're trying to mod, and then launch as normal. The songs will now automatically replace the vanilla in-game songs, and will be correctly applied to their appropriate levels, provided you named them correctly in step 1.
  9. Repeat every time you wish to run the game with this music. Simply skip dragging the music wad into Zdoom if you want to get back to the vanilla in-game tracks.
That's it! Others more knowledgeable than me, feel free to add other techniques for achieving this as well. I thought it would be helpful to others looking here for what I was to have the information in a central location, especially given that this is the tutorial forum.

Peace.
User avatar
enderkevin13
Posts: 1383
Joined: Tue Jul 07, 2015 7:30 am
Location: :noiƚɒɔo⅃

Re: How to apply custom music to levels (Thanks to community

Post by enderkevin13 »

You could name the track whatever actually, and then define the music name in MAPINFO.

Here's a basic example of what I mean:

map MAP01 "Demon Hideout"
{
sky1 = "STSKY7", 0.1
cluster = 1
music = "DEMONHID"
}

Make sure the name of the file and the name defined are the same, or it won't work.
User avatar
|ndußtrial
Posts: 398
Joined: Sat Aug 17, 2013 11:39 am
Graphics Processor: Intel (Modern GZDoom)
Location: Ivy Mercy Lyons

Re: How to apply custom music to levels (Thanks to community

Post by |ndußtrial »

at first, i thought you had your name changed... bit of a pointless necrobump isn't it..? you did have a thread detailing this

my first gallery post
User avatar
enderkevin13
Posts: 1383
Joined: Tue Jul 07, 2015 7:30 am
Location: :noiƚɒɔo⅃

Re: How to apply custom music to levels (Thanks to community

Post by enderkevin13 »

|ndußtrial wrote:at first, i thought you had your name changed... bit of a pointless necrobump isn't it..? you did have a thread detailing this

my first gallery post
Technically I'm adding more info to this thread, so I wouldn't call it that.
User avatar
|ndußtrial
Posts: 398
Joined: Sat Aug 17, 2013 11:39 am
Graphics Processor: Intel (Modern GZDoom)
Location: Ivy Mercy Lyons

Re: How to apply custom music to levels (Thanks to community

Post by |ndußtrial »

enderkevin13 wrote:Technically I'm adding more info to this thread, so I wouldn't call it that.
a necrobump..?
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed

Re: How to apply custom music to levels (Thanks to community

Post by wildweasel »

It's not a necrobump if there is an actual need to reply. In this case, the new post does contain useful information.
User avatar
|ndußtrial
Posts: 398
Joined: Sat Aug 17, 2013 11:39 am
Graphics Processor: Intel (Modern GZDoom)
Location: Ivy Mercy Lyons

Re: How to apply custom music to levels (Thanks to community

Post by |ndußtrial »

i stand corrected!

Return to “Tutorials”