Outcast .OPK

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Outcast .OPK

Post by makc_ar »

aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Outcast .OPK

Post by aluigi »

Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Outcast .OPK

Post by Ekey »

Code: Select all

# Outcast (OPK format)
#
# Written by Ekey (h4x0r)
#
# script for QuickBMS http://quickbms.aluigi.org

comtype COMP_EXPLODE

idstring "qn\x00\x00"
goto 0x10
get FILES long

for i = 0 < FILES
    get NSIZE long
    getdstring NAME NSIZE
    get OFFSET long
    get ZSIZE long
    get SIZE long
   
    if SIZE == ZSIZE
        log NAME OFFSET SIZE
    else
        clog NAME OFFSET ZSIZE size
    endif
next i