This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
custom_music [2007-04-30 22:19] – Reverted edit of 221.162.25.11, changed back to last version by Danij danij | custom_music [2009-08-13 15:02] (current) – Robot: Changing Category:Map Author's Guide dewbot | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{stub}} | ||
+ | {{update}} | ||
+ | {{cleanup}} | ||
+ | |||
+ | This article is about using custom music resources with [[doomsday]]. | ||
+ | |||
+ | |||
+ | ====== How do I Use External Music (MP3, CD etc…)? | ||
+ | |||
+ | |||
+ | Doomsday can play various external music files using the [[http:// | ||
+ | |||
+ | NOTE On some systems, using FMOD with Doomsday has caused lock-ups or other unwanted behavior. If this appears to be the case for you, you should disable FMOD with the " | ||
+ | |||
+ | Like other external resources, placing a music file into the Music resource class directory is enough. The file name must match the lump name of the original music data lump. For example, to replace the music for Doom's first episode' | ||
+ | |||
+ | It is also possible to store music files into a WAD. Again, you must name the lumps so that they match the lumps of the original songs, and are thus loaded instead of them. Any music files supported by FMOD can be loaded from a WAD. | ||
+ | |||
+ | Another way to specify an external resource file is to use the " | ||
+ | |||
+ | |||
+ | ===== Adding Music: Step 1 ===== | ||
+ | |||
+ | |||
+ | The first thing to decide is whether you want to play the song from where it's currently located, or do you want to move it under the Doomsday directory. In the latter case it would be easy to distribute the song and its definition file to others, since they wouldn' | ||
+ | |||
+ | |||
+ | ===== Adding Music Step 2 ===== | ||
+ | |||
+ | |||
+ | Open Audio.ded in a text editor. In it, you will find a bunch of [[music]] definitions, | ||
+ | |||
+ | < | ||
+ | </ | ||
+ | In order to make the change persist over version upgrades (each one will overwrite Audio.ded) copy the definition to User.ded in the Defs\jDoom\ directory, or create a new DED file with any name you like in the Defs\jDoom\Auto\ directory. Everything in the Auto directory will be read automatically. If User.ded doesn' | ||
+ | |||
+ | |||
+ | ===== Adding Music Step 3 ===== | ||
+ | |||
+ | |||
+ | Now you have the new [[music]] definition, and the only thing left is to let the engine know which file it should load when the song " | ||
+ | |||
+ | < | ||
+ | ID = " | ||
+ | Ext = " | ||
+ | } | ||
+ | </ | ||
+ | CD tracks can be associated with songs in a similar fashion, but instead of using the " | ||
+ | |||
+ | < | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | |||