The loading of music files was hardcoded.
Here is a patch to load them dynamically from a dedicated folder.
It also allows users to add their own music files (*.ogg)
INSTALL:
1- create a "data/music" folder (and add this folder to svn)
2- move the music files in the new "data/music" folder (not the sfx)
3- apply the diff patch
I haven't been able to test this patch, but once DftD begins to adjust the music based on the environment, how will user-specified music work?
Any sound or music specific to the game or menus should remain in the "sound" directory. Right now I didn't find any explicit reference to in-game music changes, they will be added later on. Any music file should work fine.
After you created the "data/music" folder, just move the files "ImInTheMood.ogg" and "Betty_Roche-Trouble_Trouble.ogg" from "data/sounds" to "data/music".
You can access the loaded playlist once ingame using the "right-click > Show music playlist"
You can now add/replace new tracks in the "data/music" directory.
To keep the ambiance of the game you can pick some free files here:
https://archive.org/details/Free_20s_Jazz_Collection
Of course after applying the patch you need to compile the game again! ;-)
If you still have problems to apply the patch, tell me and I will see what I can do.
Last edit: bfighter 2014-05-22