This python script fixes the BFSTP files that come out of Aboood40091's BCFSTM-BCFWAV-Converter.
It reorganizes the internal structure of the file and cuts it to a proper length so it's not bigger than the original.
Please note that it was created with The Legend of Zelda: Breath of the Wild in mind.
Just drag BFSTP file(s) you want to fix onto the script OR run it through a command line with file paths as arguments.
It will create a new file called "*_fixed.bfstp", so it doesn't overwrite the original ones.
It won't work with any hex-edited files, so please use it on the BFSTP's that came out straight from the converter.
- Waikuteru on Zelda BOTW Modding Hub discord - testing