OpenXcom Forum

Modding => Work In Progress => Topic started by: ksnova on September 14, 2016, 07:31:37 pm

Title: [TFTD] How do I change the music?
Post by: ksnova on September 14, 2016, 07:31:37 pm
I already tried running the search engine; maybe I'm just putting in the wrong search terms.

In the TFTD folder, there aren't any "loose" MIDI files in the Sound subfolder like there was with UFO EU. While I don't really have any alternate MIDI's in mind, does anyone know how I might get MP3's or FLAC's running instead? Possibly a certain way I have to name them while they're in the folder?
Title: Re: [TFTD] How do I change the music?
Post by: ivandogovich on September 14, 2016, 08:06:20 pm
https://www.ufopaedia.org/index.php/Audio_Options_(OpenXcom)#Custom_Music

This might have the best hints to help you.
Title: Re: [TFTD] How do I change the music?
Post by: ksnova on September 15, 2016, 06:29:28 am
That works for some of them... but somehow not all of them. So far it seems putting in an alternate file for GMSTORY does nothing, and possibly GMGEO3 and 4? It's not really clear.
Title: Re: [TFTD] How do I change the music?
Post by: new_civilian on September 15, 2016, 12:12:14 pm
-Make sure you switch the playback options to ogg or mp3 (if it doesn't work automatically)
-If you do not replace files, but add them, make sure the music.rul actually recognises your file. You might have to make a mod to make additional files work.
Title: Re: [TFTD] How do I change the music?
Post by: Solarius Scorch on September 15, 2016, 01:11:38 pm
I've heard repeatedly that the mp3 format is causing problems, so it's better to stick with ogg.
Title: Re: [TFTD] How do I change the music?
Post by: ivandogovich on September 15, 2016, 04:41:47 pm
I've heard repeatedly that the mp3 format is causing problems, so it's better to stick with ogg.

Yup. This completely.  I had to do this with my PirateZ music mod.
Title: Re: [TFTD] How do I change the music?
Post by: ksnova on September 15, 2016, 10:43:00 pm
-Make sure you switch the playback options to ogg or mp3 (if it doesn't work automatically)
-If you do not replace files, but add them, make sure the music.rul actually recognises your file. You might have to make a mod to make additional files work.

What commands do I put in for music.rul to accommodate additional files? And how does one make a mod so that said extra files will work? I tried checking the wiki, but it's not really clear to me.