06-05-2015, 03:56 PM
(06-03-2015, 05:46 PM)TGE Wrote:Thanks! I'll give it a try later.You can use this QuickBMS script to dump the BRRES filesCode:#Extract (uncompressed) BRRES files from (uncompressed) files
#Made by TGE
endian big
GoTo 0 0 ;
SavePos found 0 ;
Get QT ASIZE 0 ;
For T = 0 < QT ;
GoTo found 0 ;
findloc OFFSET string "\x62\x72\x65\x73" 0 0 ;
If OFFSET = 0 ;
Math t = QT ;
EndIF ;
If OFFSET != 0 ;
GoTo OFFSET 0 ;
Math FILE = OFFSET ;
GoTo FILE 0 ;
Get FileEndian Long 0 ;
If FileEndian == string "\xFF\xFE\x00\x00" ;
endian change
EndIF ;
Get null Long 0 ;
Get size Long 0 ;
If size > QT ;
cleanexit
EndIF ;
SavePos found 0 ;
Get name FILENAME 0 ;
string name += _ ;
string name += T ;
string name += .brres ;
Log name FILE size 0 ;
EndIF ;
Next T ;