Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

[PC] Battlefield 3 .cas / .sb / .toc

Featured Replies

  • 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 by wattostudios

  • 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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.