Marvel Ultimate Alliance (Wii) .Wad .Zzz

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Doprond
Posts: 67
Joined: Tue Mar 15, 2016 3:38 pm

Marvel Ultimate Alliance (Wii) .Wad .Zzz

Post by Doprond »

Samples:
https://mega.nz/#!6p5HjJLZ!kJFQSQnvGZmG ... rXeBPq9mQE
Thanks in advance.
Edit: My file was corrupted.
I fixed it,and now he can be opened through WinRar or 7zip
Last edited by Doprond on Fri Jul 21, 2017 7:31 am, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Marvel Ultimate Alliance (Wii) .Wad .Zzz

Post by aluigi »

What a mess.
The zzz file has a sort of zip-like structure at the beginning that refers to nothing.
While the wad has a similar structure at the end but the offsets don't match very well.
The other big problem is that compression is used but no idea about what algorithm.

The following is a work-in-progress script for reference (in short DO NOT USE IT!):

Code: Select all

for i = 0
    findloc OFFSET binary "PK\x01\x02"
    math OFFSET + 4
    goto OFFSET
    get DUMMY short
    get ver             short
    get flag            short
    get method          short
    get modtime         short
    get moddate         short
    get zip_crc         long
    get comp_size       long
    get uncomp_size     long
    get name_len        short
    getdstring ZERO 8
    get DUMMY short # 0x20
    get DUMMY short
    get OFFSET long
    getdstring name     name_len
    log NAME OFFSET comp_size
next i