June 9Jun 9 Localization I'm looking for these tools to unpack CAS and SB and TOC files from Battlefield 3 with proper filenames. https://mega.nz/folder/ISojyLyL#xNGydTvsEmbmWdTvly9MUg
June 11Jun 11 Localization The CAS+CAT files look to be the same as Dragon Age: Inquisition. The CAT file contains the directory for all the CAS files ( there must be 10 of them? ). There are no filenames in these archives. +-----------------------------------------+ | Dragon Age: Inquisition *##.cas + *.cat | +-----------------------------------------+ // The CAT file contains the directory. There are a number of CAS files that contain the file data. // The CAT file is named "cas.cat" and the CAS files are named "cas_##.cas" where ## starts from "01". // Uses ZLib Compression on some files // CAT FILE // HEADER 16 - Header (NyanNyanNyanNyan) // DETAILS DIRECTORY // for each file (32 bytes per entry) 20 - Hash? 4 - File Offset (Relative to the start of the referenced ##.cas file. Points to the offset after the "null" in the CAS file) 4 - File Length 4 - CAS File Number (1/2/3...) // CAS FILES // FILE DATA // for each file 4 - File Entry Header (250,206,15,240) 20 - Hash? (same as in the CAT file) 4 - File Length (same as in the CAT file) 4 - null if (compressed){ // for each compressed block){ 4 - Decompressed Block Length (BIG) 4 - Compressed Block Length (BIG) X - File Data (ZLib Compression) } } else { 4 - Uncompression Header? (206,209,178,15) X - File Data (no compression) } Edited June 11Jun 11 by wattostudios
June 11Jun 11 Localization The FB2 file is just a ZIP file that's been encrypted with an XOR key, the same as the TOC files as per https://github.com/NicknineTheEagle/Frostbite-Scripts/blob/master/frostbite2/dumper.py . I don't know whether there's any tool specifically for the FB2 files or not, but using the details at that link, you should be able to hack the script to dump out the decrypted ZIP file. For the SB+TOC files, the scripts at that same link should be able to dump out the files with their filenames.
Create an account or sign in to comment