daily pastebin goal
79%
SHARE
TWEET

EA DAT Extractor

Nicknine Jul 16th, 2018 121 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Electronic Arts - DAT files (Nascar 06)
  2.  
  3. idstring "TERF"
  4. get BNAME basename
  5. get BLOCKSIZE long
  6. set INFO_OFF BLOCKSIZE
  7. goto 0x0E
  8. get FILES short
  9.  
  10. goto INFO_OFF
  11. idstring "DIR1"
  12. get BLOCKSIZE long
  13. xmath DATA_OFF "INFO_OFF + BLOCKSIZE"
  14.  
  15. for i = 0 < FILES
  16.     get OFFSET long
  17.     get SIZE long
  18.     math OFFSET + DATA_OFF
  19.     string NAME p "%s_%d." BNAME i
  20.     log NAME OFFSET SIZE
  21. 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