SHARE
TWEET

Dante's Inferno PSP BMS

a guest Aug 28th, 2017 4 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Dante's Inferno (PSP) - .STR FSB4 extractor
  2. #  by bnnm
  3. # script for QuickBMS http://quickbms.aluigi.org
  4.  
  5. endian little
  6.  
  7. set I 0
  8. for OFFSET = 0 < MAXSIZE
  9.     goto OFFSET
  10.    
  11.     get DUMMY long
  12.     get DUMMY long
  13.     get HEAD_SIZE long
  14.     get DATA_SIZE long
  15.    
  16.     set NAME_OFFSET OFFSET
  17.     math NAME_OFFSET + 0x32
  18.     goto NAME_OFFSET
  19.     getdstring FSB4_NAME 0x1E
  20.    
  21.     get BASE basename
  22.     string NAME p= "%s_%03i__%s.fsb" BASE I FSB4_NAME
  23.  
  24.     xmath FSB4_SIZE "0x30 + HEAD_SIZE + DATA_SIZE"
  25.  
  26.     log NAME OFFSET FSB4_SIZE
  27.    
  28.     math OFFSET + FSB4_SIZE
  29.    
  30. 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