Game & Wario .FZIP

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
lemurboy12
Posts: 265
Joined: Fri Oct 17, 2014 2:57 am

Game & Wario .FZIP

Post by lemurboy12 »

http://puu.sh/g8CBg.zip

All of this game's files seem to be compressed with .FZIP.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Game & Wario .FZIP

Post by aluigi »

They are simply compressed with zlib:

Code: Select all

endian big
idstring "FZIP"
get SIZE long
savepos OFFSET
get ZSIZE asize
math ZSIZE -= OFFSET
get NAME basename
clog NAME OFFSET ZSIZE SIZE
lemurboy12
Posts: 265
Joined: Fri Oct 17, 2014 2:57 am

Re: Game & Wario .FZIP

Post by lemurboy12 »

Image

I get this error on certain files, though it works on most. Thanks.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Game & Wario .FZIP

Post by aluigi »

Can you upload that file?
lemurboy12
Posts: 265
Joined: Fri Oct 17, 2014 2:57 am

Re: Game & Wario .FZIP

Post by lemurboy12 »

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

Re: Game & Wario .FZIP

Post by aluigi »

My fault, it's big endian.
Script above fixed.