BC46 / freelancer-hd-edition

Freelancer: HD Edition is a mod that aims to improve every aspect of the game Freelancer (2003) while keeping the look and feel as close to vanilla as possible.
https://www.moddb.com/mods/freelancer-hd-edition
168 stars 15 forks source link

Compress all HQ music tracks #96

Closed BC46 closed 2 years ago

BC46 commented 2 years ago

Freelancer: HD Edition includes HQ music from the Bonus DVD. All the .wav files have a bit rate of 1411kbps, which is a lot. It's also apparent Freelancer doesn't handle such large music file sizes well since there have been many occurrences where a track doesn't load correctly, or the end keeps looping.

It's strongly recommended to compress the existing HQ music files to 320 kbps. Not only would that save a ton of space, but it would probably also fix most if not all of the known audio bugs, including #84. Besides, I doubt anyone would even be able to notice the difference during gameplay.

BC46 commented 2 years ago

Take the music from the feature/dxt-compression branch

BC46 commented 2 years ago

Also @Drakohen, only the files in DATA\AUDIO\MUSIC need to be compressed.

Drakohen commented 2 years ago

Tested audio files in game and they failed to work. Identified the issue as FL not being able to read .mp3 changed to .wav via extension rename. To fix the issue, mpa2wav from http://mukoli.free.fr/mpa2wav/ will be used to package the mp3s up in a proper .wav file.

Drakohen commented 2 years ago

I noticed some of the bar tracks that are repeats are not included in dtx-compression branch. Do you want me to add them or will this be performed later when porting these changes over to the v05 branch?