Tomb Raider Angel of Darkness (PC) - .CLZ

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Tomb Raider Angel of Darkness (PC) - .CLZ

Post by AnonBaiter »

So I'm trying to write a script based on the .clz compressed files used on the oh-so-infamous Core Design game.

Code: Select all

comtype zlib_noerror

get EXT extension
if EXT == "CLZ"
   get SIZE asize
   get ZSIZE long
   set OFFSET long 0x4
   math SIZE - OFFSET
   putarray 0 i OFFSET
   putarray 1 i SIZE
   get NAME basename
   if ZSIZE == 0
      log NAME OFFSET SIZE
   else
      log NAME OFFSET ZSIZE SIZE
   endif
else
   break
endif
Here is a sample.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Tomb Raider Angel of Darkness (PC) - .CLZ

Post by aluigi »

AnonBaiter
Posts: 1125
Joined: Tue Feb 02, 2016 2:35 am

Re: Tomb Raider Angel of Darkness (PC) - .CLZ

Post by AnonBaiter »

Ah, I probably forgot about this .CLZ file too, this time using a different format.
PARIS1.GMX.CLZ
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Tomb Raider Angel of Darkness (PC) - .CLZ

Post by aluigi »

ok, I have handled clz separately now and added support for gmx.
Script 0.2.1