Allow switching between MIDI and MP3/OGG if both are present in a WAD

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

User avatar
ShockwaveS08
Posts: 195
Joined: Thu Jul 07, 2016 7:29 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): SteamOS
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Location: Manhattan, IL

Allow switching between MIDI and MP3/OGG if both are present in a WAD

Post by ShockwaveS08 »

Given how the Nightdive remaster can swap between MIDI and Remix music at will, is it possible to add a similar feature to GZDoom, in a similar manner to the CD Audio option from Raze? The only snag would be both MID/MUS and MP3/OGG needing to share the same song filename as a precaution. Would mostly apply to externally-loaded music WADs/PK3s.
User avatar
Zhs2
Posts: 1294
Joined: Fri Nov 07, 2008 3:29 pm
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Location: Maryland, USA, but probably also in someone's mod somewhere

Re: Allow switching between MIDI and MP3/OGG if both are present in a WAD

Post by Zhs2 »

This would not work as suggested - Doom is built to sequentially replace lumps with identical names in memory, "last loaded wins", from the inception of its release basically.

However, this is entirely DIY manageable with ZScript, no lump renaming needed. I've assembled a simple mod that will switch the prefix on the name of the currently playing song to the desired song - the Nightdive release prefixes Andrew Hulshult tracks with H_ and their original OGG recordings of the MIDIs (playing raw MIDIs must be too uncertain these days...) with O_, funnily enough. You can find the submenu to switch music options in either the full or simple options menu. Load attached file along with steamapps\common\Ultimate Doom\rerelease\extras.wad, and please allow a tick of unpaused gameplay to switch music again if you change it during play. 99.9% sure it works in, and won't desync, multiplayer.
You do not have the required permissions to view the files attached to this post.

Return to “Feature Suggestions [GZDoom]”