Important Announcement
Forum has been made read-only. Please click here for more information or here to return to The Spriters Resource.

Simplistic Extraction Script?
#1
Tongue 
Here's a little problem. There's 3DS-types clearly visible in a hex scanning of the attached file. I was wondering if there was a simple way to just have something run through and spit out the contained files so they can be easily readable? The contained files are not compressed even, just archived in these bigger ones.

Dropbox Link
Reply
#2
QuickBMS script
Code:
endian little
GoTo 0 0 ;
SavePos found 0 ;
Get QT ASIZE 0 ;


For T = 0 < QT ;
GoTo found 0 ;
findloc OFFSET string "\x43\x47\x46\x58" 0 0 ;
If OFFSET = 0 ;
Math t = QT ;
Math twotest = 1 ;
Math twotesttwo = 1 ;
EndIF ;
If OFFSET != 0 ;
GoTo OFFSET 0 ;
Math FILE = OFFSET ;
GoTo FILE 0 ;
Get null Long 0 ;
Get null Long 0 ;
Get null Long 0 ;
Get size Long 0 ;
SavePos found 0 ;
Get name FILENAME 0 ;
string name += . ;
string name += T ;
string name += .cgfx ;
Log name FILE size 0 ;
EndIF ;
Next T ;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)