Open JKDos opened 2 years ago
This BARS patcher was only written to replace the headers of BWAV files stored in BARS archives, as a solution to replacing standalone BWAV files with custom ones, in games where the game reads BWAV headers from a BARS archive that contains only the headers of the corresponding files, while continuing to read the actual audio data from the standalone BWAV files. It was not intended for replacing entire BWAV files stored in BARS archives. However, once I find the time, I might implement this functionality.
ABP = Automatic Bars Patcher
So there's 2 things to address here.
I wrote a Python script that will parse a BARS file and extract all BWAVs, so I actually got my hands on what is technically THE original BWAV file to satisfy the ABP.
Since ABP asks for an original BWAV, what is the appropriate way to patch BARS files for sound effects? If I did it correctly by extracting the BWAV from the BARS file and feeding it to ABP, what is the cause for the new BARS file not including the new BWAV file, but a distorted copy of the original?