Mr. Nukem Roses, on 22 November 2020 - 02:33 AM, said:
Thank you.
You're the one who asked about music support on YouTube, aren't you?
ReDuke has music support since the Beta 2 release. Supported music formats are .WAV and .OGG (.WAV files load faster than .OGG files). You need to edit the HRP.INI file and define the music you want to use for each level. The finished list should look something like this:
[MUSIC]
menu = menusong.ogg
level0 = song01.ogg
level1 = intermission.ogg
level2 = song02.ogg
level3 = intermission.ogg
level4 = song03.ogg
level5 = intermission.ogg
... and so on up to level20. level20 is for the demo level (not accessible without cheats), level19 is the intermission before the demo level (also inaccessible) and level18 is the last regular level (boss level).
The music files in the example above must be in the same folder as ReDuke.exe. If you put them anywhere else, you must change the entries in the INI file and add the path to the music files. If the music is in a subfolder of your ReDuke folder, you can use a relative path, like "level0 = music\song01.ogg" if the song is in a subfolder named "music". If your music is not in your ReDuke foler at all, you must use an absolute path, like "level0 = D:\music\song01.ogg".
You should even be able to use different music lists for different episodes. By default, the entries from the "[MUSIC]" section are used, but you can override them with a "[MUSIC.DN1]" section for episode 1, for example. At least that functionality is in Beta 4, not sure about the earlier versions.