SHARE
TWEET

EA ASF Scanner

Nicknine Jul 16th, 2018 (edited) 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Extracts individual EA SCHl format files from archives.
  2. # Script for QuickBMS: https://aluigi.altervista.org/quickbms.htm
  3.  
  4. get BNAME basename
  5.  
  6. for i = 0
  7.     # Find SCHl header
  8.     findloc OFFSET string "SCHl" 0
  9.     goto OFFSET
  10.    
  11.     # Find SCEl block (end marker)
  12.     do
  13.         get BLOCKID long
  14.         get BLOCKSIZE long
  15.         math BLOCKSIZE - 8
  16.         goto BLOCKSIZE 0 SEEK_CUR
  17.     while BLOCKID != 0x6C454353 # SCEl
  18.    
  19.     savepos SIZE
  20.     math SIZE - OFFSET
  21.    
  22.     string NAME p "%s_%d.asf" BNAME i
  23.     log NAME OFFSET SIZE
  24. next i
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top