Snake Battle GPF

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
AntonZab
Posts: 461
Joined: Thu Oct 01, 2015 5:03 pm

Snake Battle GPF

Post by AntonZab »

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

Re: Snake Battle GPF

Post by aluigi »

Unknown compression algorithm.
This is the work-in-progress script for who wants to continue the work:

Code: Select all

#comtype lzss0 # it's not lzss, tried also other options
idstring "\x1aGAMOS PACKED FILE"
goto 0x17
get FILES short
for EXTRACT = 0 < 2
    goto 0x21
    for i = 0 < FILES
        getdstring NAME 0x10
        get DUMMY short
        get ZSIZE short
        get SIZE short
        if EXTRACT != 0
            clog NAME OFFSET ZSIZE SIZE
            math OFFSET + ZSIZE
        endif
    next i
    savepos OFFSET
next EXTRACT