《不败战神》pak file

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
hackspeedok
Posts: 404
Joined: Mon Oct 06, 2014 6:41 pm

《不败战神》pak file

Post by hackspeedok »

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

Re: 《不败战神》pak file

Post by aluigi »

Code: Select all

get OFFSET long
get FILES long
goto OFFSET
for i = 0 < FILES
    getdstring NAME 0x40
    if NAME == ""
        break
    endif
    get OFFSET long
    get SIZE long
    get ZSIZE long
    get FLAGS long  # 0x0101 for every file
    if SIZE == ZSIZE
        log NAME OFFSET SIZE
    else
        clog NAME OFFSET ZSIZE SIZE
    endif
next i
*script updated*
hackspeedok
Posts: 404
Joined: Mon Oct 06, 2014 6:41 pm

Re: 《不败战神》pak file

Post by hackspeedok »

aluigi wrote:

Code: Select all

get OFFSET long
get FILES long
goto OFFSET
for i = 0 < FILES
    getdstring NAME 0x40
    if NAME == ""
        break
    endif
    get OFFSET long
    get SIZE long
    get ZSIZE long
    get FLAGS long  # 0x0101 for every file
    if SIZE == ZSIZE
        log NAME OFFSET SIZE
    else
        clog NAME OFFSET ZSIZE SIZE
    endif
next i
*script updated*


Thanks so much :D