Custom Music
To decrease the size of the file (in raw WAV it is 9.36 Megs) (I don't quite want to downsample it much more) I'd like to encode it into the mp3 format Freelancer uses. I've read the tutorial on the site and all the replies for it. Louva-Deus there recommended the use of CDex to compress the wav file into Fraunhofer mp3 and add the RIFF-WAV header.
I downloaded CDex, went to options, settings, encoder and under the encoder section I selected Windows mp3 codec (instead of the default LAME encoder version 1.30). Under encoder options, I picked the only possible choice: Fraunhofer IIS MPEG-Layer 3 Codec (advanced). Codec bitrate selection, I picked the best possible one: 56 kbps, 22050KHz, Stereo.
I encoded the music file and inserted it into Freelancer as a space music. Now, when entering the system, (first I flee from encounters to get rid of the danger music) I CAN hear the music playing - for a second or two. The amount played varies when I use Fraunhofer, LAME or others. After these one or two seconds of music played, the music loops back to its beginning and starts over - like if the file was only 2 seconds long!
By the by, the file is 56 seconds long. Has anyone managed to get encoded music into the game, and if so, where did I go wrong? Please, any ideas?