TR4 PAK formats

TR4 PAK formats


Replies | Reply | Tomb Raider Level Editor & Utility Discussion Forum

Posted by Dr. Willard on July 19, 2000 at 00:28:03:

I'm not sure how much of this you people already know, but here goes:

All numerical quantities are little-endian, of course, something I have to watch out for.

The PAK format is 4 bytes of uncompressed length followed by the zlib-compressed contents.

The various *LOGO files are 512*256 headerless raw image files with 888 RGB pixels. I could easily import them with Photoshop. Saving them as PNG files produces slightly worse compression. All of them say "Tomb Raider: the Last Revelation", but they use different styles of lettering. GRLOGO.PAK has a IV after "Tomb Raider", and FRLOGO.PAK translates "the Last Revelation" into French (GRLOGO.PAK is all-English).

CUTSEQ.PAK contains the engine-rendered-cutscene animation data. Its format is:

8-byte string: "(C) DEL!"
30 sets of catalog entries, with form:

long Offset; // in bytes from the beginning of the file
long Length; // in bytes

a long message from the creator of this file, and then the cutscene data itself.

The message includes some of the format of the cutscene data, and ends with "See you in TR5.... bwhahahah"



Replies:



Reply

Name:

Email:

Subject:

Message:

Optional
Link URL:

Link Title:

Image URL:


Replies | Reply | Tomb Raider Level Editor & Utility Discussion Forum