fzipp / gg

A set of command line tools and Go packages to work with Thimbleweed Park data files.
BSD 3-Clause "New" or "Revised" License
7 stars 2 forks source link

FMOD bank files come out garbled upon extraction (RtMI) #4

Closed modusc896d352 closed 1 year ago

modusc896d352 commented 1 year ago

so, i tested out the latest ggpack version with the new ggpack format from RtMI and though i managed to extract every asset there is through these ggpack files there are a couple of extracted files (coming from Weird.ggpack4a through Weird.ggpack4f) ending with the *.bank extension that look like this.

MasterBank.bank MasterBank.assets.bank Music.bank Talkies_en.bank

JanFrederick00 commented 1 year ago

The issue is that the fmod bank files, opposed to every other file type, are not xor-encrypted (presumably to help with streaming the data). Trying to decrypt them accidentally encrypts them.

modusc896d352 commented 1 year ago

yikes, that kinda sucks. i really hope this gets fixed someday.

fzipp commented 1 year ago

Fixed in v0.6.1.

modusc896d352 commented 1 year ago

holy cow, you made it! now i won't have to deal with garbled bank files any longer!