Disney's Beauty and the Beast pak

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

Disney's Beauty and the Beast pak

Post by AntonZab »

Disney's Beauty and the Beast pak files


Samples


https://drive.google.com/file/d/0B0oEDr ... sp=sharing
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Disney's Beauty and the Beast pak

Post by Ekey »

Seems it's little bit modified zip's.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Disney's Beauty and the Beast pak

Post by aluigi »

I think the algorithm is shrink or explode but none of them works.
The following is the work-in-progress script (aka do NOT USE IT):

Code: Select all

get ZERO long
get MAX_OFF asize
for i = 0
    get OFFSET long
    if i == 0
        math MAX_OFF = OFFSET
    endif

    savepos TMP
    goto OFFSET
    get ZERO long
    get ZSIZE long
    get SIZE long
    get method short    # ???
    get VER short
    get DUMMY short
    getdstring NAME 0x12
    savepos OFFSET
    goto TMP

    if method == 0
        log NAME OFFSET SIZE
    else
        #ComType deflate
        #ComType shrink
        ComType explode

        clog NAME OFFSET ZSIZE SIZE
    endif

    if TMP == MAX_OFF
        break
    endif
next i