And finally, I tested audio(wav) part of mm compressor of FA. Here results were unexpected. Although FA apply tta compressor on each(any) wav file, results are not so clear as you will see.
But first, let me tell you that originally I tried to compare tta to flac. On specific game I tried(IL2 Sturmovik), flac refused to recognize file format even though it have RIFF header and is played fine in foobar2000. These wav's must have been compressed or something. On top of that, you cannot "tar" files and apply flac on it, but tta is able to. Because of issues and compatibility problems, I came to conclussion that it is not worth replacing internal tta with external compressor. But thats not all, I tried tta vs lzma and... you will see. But lets start from beginning.
Original *.wav folder
44.72mb:
FA -mwav:
43.92mb < Clearly not working
Now tarred wavs to single file:
Code:
FA -mwav: 42.84mb (small gain when tarred but not working properly)
FA -mxlzma: 20.52mb !!!
FA -mdelta+xlzma: 20.52mb
FA -xlzma+tta: 20.52mb
FA -m5rep+delta+lzma: 21.14mb
FA -mtta+delta+xlzma: 42.84mb
FA -mtta+xlzma: 42.84mb (trying all kind of order as you see)
FA -mdelta+tta: 42.84mb
You can see something is wrong here. Neither tta nor flac seem to be able to process these wav's at all. Could be compressed? But how can then lzma achieve
half the size?! This is problem because FA doesnt recognize wav's internally and apply tta based on extension. I couldnt help it so I downloaded random wav file from internet to confirm.
Code:
11k16bitpcm.wav(298kb):
FA -mtta: 203kb
FA -mxlzma: 260kb
FA -m5rep+tta: 203kb
Aha!
So this means:
-do continue using internal tta but verify it first if your wav files are "standard" ones or not, test and compare with lzma!
-this thing still need more testing to get right idea, I am particularly curious about combination of delta+tta on "real" wav's as well as effect of rep etc...
EDIT: Since tta doesnt work properly on tarred wav's, this argument is done now, no need for rep or delta on top of it $wav.
-(feel free to tar files together same way as $bmp I described above, like:
$wav=5rep+wav for example(or better 0+tta because unlike $bmp here can be a slight loss of compression), tta is great in that unlike other codecs, it work on raw data regardless of extension. This could also help with some data packs that contain wav files inside as well as some audio banks.)
EDIT: ^Do not tar wav files after all, even though it worked on my test dir, during actual game repack test it resulted in decompression error.
Keep standard $wav=wav setting.