MP3s

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

User avatar
Enjay
Developer
Developer
Posts: 4753
Joined: Tue Aug 30, 2005 23:19
Location: Scotland

Post by Enjay »

Yes it is possible. I have Winzip installed which puts a new option into the "new file" right-click menu in explorer. I use that to create an empty zip file then just drag a folder onto it and Winzip puts it in the archive. I don't know the specifics of doing it with other Zipping tools (well, I think I remember the old DOS PKZip command line) but I don't suppose it will be too different and, of course, you should be able to do it from within the zipping tools as well.
User avatar
Risen
Posts: 39
Joined: Fri Sep 02, 2005 17:48

Post by Risen »

Archive a folder called music with the mp3s inside it.
Name the mp3 d_e3m1.mp3 .
Name the archive whatever you'd like.
Load the archive into [G]ZDoom.
additup
Posts: 35
Joined: Tue Jul 24, 2007 20:02

Post by additup »

Okay, however I cannot name more than one mp3 file in the archive "d_e3m1.mp3". And gzdoom still won't play anything that is zipped and loaded into the wad using XWE, even if what's zipped is just one mp3 (in a subfolder called "music" or not, doesn't make any difference).

How is it that gzdoom will recognize the archive in order to play it during the game if there isn't a specific name that I should use for it?

(Just to clarify in case I have misunderstood exactly what it is you were talking about, what I am trying to do is replace the original music of the level with a series of mp3s so that when I send the level to people they will be able to load the wad in gzdoom and they will hear those songs while playing or watching a demo. Is that the sort of thing you're describing?)
User avatar
Enjay
Developer
Developer
Posts: 4753
Joined: Tue Aug 30, 2005 23:19
Location: Scotland

Post by Enjay »

Risen was using d_e3m1.mp3 as an example. That will only replace the music on Episode 3 Map 1 of Doom. To replace the music on each level, you need to name each file the same as the lump from doom(2).wad that you want to replace.

So, in order to replace the level music in Episode 1 of Doom, you'd need files called

d_e1m1.mp3
d_e1m2.mp3
d_e1m3.mp3
d_e1m4.mp3
d_e1m5.mp3
d_e1m6.mp3
d_e1m7.mp3
d_e1m8.mp3
d_e1m9.mp3

To replace the first few musics in Doom2, you'd need
d_runnin.mp3
d_stalks.mp3
d_countd.mp3
d_betwee.mp3
d_doom.mp3
d_the_da.mp3
d_shawn.mp3
and so on. You'll notice that the music lumps in Doom and Doom2 all start with d_

Actually, the mp3 extension is not needed by (G)Zdoom but let's just leave it that way to keep things simple.

So, anyway, put all your suitably named files in a directory/folder called music then zip it up ensuring that the folder is inside the zip. You can rename the zip to pk3 if you like - they are exactly the same thing. As Risen said, you can name the zip anything you like because you will have to load it on the command line or using the autoload section of your zdoom.ini anyway.

So, what you should have is a zip file called any_name_you_like.zip

Inside the zip should be a folder called "music"

Inside that folder should be the mp3 files, with appropriate names for the particular music lumps that you want replace.
additup
Posts: 35
Joined: Tue Jul 24, 2007 20:02

Post by additup »

Thank you very much for your explicit answer. I have one last question: Is it possible to embed more than one music file so that multiple files will play sequentially (automatically) while a single level is running?
User avatar
Enjay
Developer
Developer
Posts: 4753
Joined: Tue Aug 30, 2005 23:19
Location: Scotland

Post by Enjay »

No, for that you'd need to script the changes in the behaviour lump for the level, or do something like paste a bunch of mp3s together into a single file, or make a MOD file which treats separate mp3s as sample sounds and plays them in order.

Alternatively, Zdoom does support Winamp playlists, but quite how that works, I've no idea.
additup
Posts: 35
Joined: Tue Jul 24, 2007 20:02

Post by additup »

Okay, I will simply make one mp3 file out of it. Thank you for your help with this.
User avatar
Skunk
Posts: 49
Joined: Thu Sep 01, 2005 22:19

Post by Skunk »

I've replaced all the music in Doom...

[spoiler]E1M1. Evil Horde - Hangarmageddon
- Original by Bobby Prince
E1M2. Joker - Industrial Strength
- Original by Bobby Prince
E1M3. RoeTaKa - The Chemical Imps
- Original by Bobby Prince
E1M4. Sir NutS - The Red Moon
- Original by Bobby Prince
E1M5. Daniel Baranowsky - The Dark Side of Phobos
- Original by Bobby Prince
E1M6. Beatdrop - Reprocessed
- Original by Bobby Prince
E1M7. DJ Carbunk1e - Infected Lab
- Original by Bobby Prince
E1M8. DJ Carbunk1e, Ryan8Bit - The Glass Moon
- Original by Bobby Prince
E1M9. Bobby Prince - Finding The Secrets
- 3DO Version
E2M1. Evil Horde, RoeTaKa - Infiltrator
- Original by Bobby Prince
E2M2. ArseAssassin - This Can't Be Good
- Original by Bobby Prince
E2M3. Ashley Carr - Intermission From Doom
- Original by Bobby Prince
E2M4. Mythril Nazgul - Ghosts Of Mars
- Original by Bobby Prince
E2M5. Bobby Prince - Space Storm
- From Duke Nukem 3D
- Rearranged by Skunk
E2M6. Hemophiliac, pixietricks - Aria Of The Damned
- Original by Bobby Prince
E2M7. Bladiator, TO - Jade Spawn
- Original by Bobby Prince
E2M8. Evil Horde - The Leaning Tower of Babel
- Original by Bobby Prince
E2M9. Nousentre - Mystery Meat
- Original by Bobby Prince
E3M1. Mazedude - Barrelsofun
- Original by Bobby Prince
- From Doom 2
E3M2. RoeTaKa - Ocean Pollen
- Original by Bobby Prince
E3M3. analoq - Demon Con Gusto
- Original by Bobby Prince
E3M4. Mazedude - Gothic Sandy
- Original by Bobby Prince
- From Doom 2
E3M5. TNT - Map 01
- From Evilution
E3M6. TNT - Map 15
- From Evilution
E3M7. Mazedude - River City Rammstein
- From River City Ransom
E3M8. Prophecy - Iron Cathedral
- Original by Bobby Prince
E3M9. Mazedude - Barrelsofun
- Original by Bobby Prince
- From Doom 2
The End. Ashley Carr - Bunny
- Original by Bobby Prince
Stats Screen. Doom - Stats Screen
- PSX Version
Main Menu. Doom - Main Menu
- PSX Version
Text Music. Elsa Persson, Larsec - Darkness Dawning
- Original by Bobby Prince[/spoiler]

It's AWESOME. Especially when playing KDIZD. But any wad is badass.

Return to “GZDoom”