bgbennyboy / Telltale-Music-Extractor

A program that enables you to rip the music from the games developed by Telltale Games. This includes games produced by others using the Telltale engine such as Skunkape Games’ Sam & Max Save the World.
http://quickandeasysoftware.net/software/telltale-music-extractor
GNU General Public License v2.0
25 stars 4 forks source link

BANK File format? #3

Closed LucasSaragosa closed 4 years ago

LucasSaragosa commented 4 years ago

just wondering (this is not an issue) What is the format for BANK files? Im converting lots of telltale extraction programs into java (you would get credit) and the bank files are a weird one I tried looking at the pascal source, but you are using APIs that you have made which arent on the github here. Thanks

bgbennyboy commented 4 years ago

I dont know the format and as far as I know no-one does. The approach I took was to build a separate tool (FSB Bank Dumper) that uses the fmod API to dump them.

LucasSaragosa commented 4 years ago

Aah okay, But do you know if the files are encrypted? And if they are, which encryption, and what keys? Aah, just saw on your website that you wont be releasing it even after John_Doe?, found the encyption

bgbennyboy commented 4 years ago

What exactly is it you are trying to make?

LucasSaragosa commented 4 years ago

Okay so Im a fan of MCSM, In java ive made this tool which imports the meshes from MCSM s1+s2 and imports then into minecraft, the program also extracts ttarch bundles using ttarchext and given credit, converts d3dtx to dds files, and im wanting to write the bank file extractor Its basically a tool which combines some other tools and tools for extracting from telltale games files

The tool is here: https://www.planetminecraft.com/mod/ttg-mcsm-s1-2-mesh-importer/

I found this: https://zenhax.com/viewtopic.php?t=3462 The header for the bank file im using to try and extract from is RIFF...FEV etc.. I think that might be the encryption key, but I just need to find out the algorithm now

LucasSaragosa commented 4 years ago

Luigi auriemma made a fsb extractor which works though, Im going to look at the C code and maybe convert it into java then. Apparently it does not use encryption

bgbennyboy commented 4 years ago

.bank files are a newer type of FSB that arent supported in aluigi's fsb extractor as far as I know. If you want to extract from .bank files use my FSB Bank Dumper tool from this repository or this tool which uses the same approach https://zenhax.com/viewtopic.php?f=17&t=1901

LucasSaragosa commented 4 years ago

Is there a source for that? I would like to see the source code to see about it Also, do you know anywhere that can teach me audio file formats and how audio is stored?

bgbennyboy commented 4 years ago

The source for mine is in this repository, the other one I have no idea

LucasSaragosa commented 4 years ago

Got it, thanks for that. Ill use the JNI (java native interface for using C &cpp code with java) to use the dlls needed for fmod and I can use then in the extractor. Ill have a look at your code too to see how this works