FlatOut 4 .PKG

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
spider91
Posts: 233
Joined: Sun Aug 24, 2014 5:26 pm

FlatOut 4 .PKG

Post by spider91 »

Code: Select all

idstring "PPKG"
get DUMMY long
get FILES long
get TOC_SIZE long
goto 0x30
comtype lz4f
for i = 0 < FILES
   get NAME_SIZE long
   getdstring NAME NAME_SIZE
   get DUMMY long
   get OFFSET longlong
   get DUMMY longlong
   get ZSIZE longlong
   get SIZE longlong
   getdstring DUMMY 0x2C
   math OFFSET += 4
   clog NAME OFFSET ZSIZE SIZE
next i