Open mitsuhiko opened 13 years ago
These files have header 'CE D1 B2 0F' (rearranged D1CE 0FB2) and are also used for vehicles (equivalent of BF2 .tweak files) and sound files (for metadata). In the case of sound files they have parameters NameHash, DataChunk, ChunkSize, ChunkId etc which would need to be parsed to identify the audio itself for extraction. This also appears to be the case for other assets.
There are too many unknowns currently. I guess we will have to look at a few different files and see if we find some common things. For what it's worth, based on Pilate's struct definitions I added a basic parser in the Python library so one can throw it at different files.
the listdogtags.py file shows that the dogtag definitions are in a format we currently cannot handle. I assume that there is more than one type of file in the CAS files that has this file format and it would make sense to parse this.