View Single Post
  #9  
Old 10-04-2024, 00:18
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,217
Thanks: 294
Thanked 1,405 Times in 637 Posts
Masquerade is on a distinguished road
^^
Extract all FSB5 banks from the bank/data with this quickbms script:
https://www.fileforums.com/showthrea...141#post502141

Then, extract those new FSB files with this script:
https://github.com/HearthSim/python-fsb5

For the audio extracted, concatenate the files by file type with bincat by Aluigi.

Bin files? Reextract the original FSB with fsbext and compress the extracted wav with msc
WAV files? Compress with msc.
Ogg? Compress with oggre.

So you can have up to 3 different files at this point.

Use oggvorbis2fsb5 to convert your decompressed ogg data into FMOD ogg audio. Concatenate your (up to) 3 files and make a patch to the original bank with hdiffz.

During unpacking/installation use oggvorbis2fsb5 again, concatenate and then apply the hdiffz patch you made earlier to restore the original bank.
Reply With Quote
The Following User Says Thank You to Masquerade For This Useful Post:
wareck (10-04-2024)