READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

Outcast .pak archives(completed)

Old posts about game archives and other formats.
Post Reply
Rheini
Moderator
Posts: 652
Joined: Wed Oct 18, 2006 9:48 pm
Location: Germany
Has thanked: 19 times
Been thanked: 40 times
Contact:

Outcast .pak archives(completed)

Post by Rheini » Mon Jan 14, 2008 11:34 pm

Code: Select all

uint magic[4];
uint NumFiles;

struct Entry {
	uint namelength;
	char name[namelength];
	uint offset;
	uint size;
	uint size_decompressed;
} entries[NumFiles]<optimize=false>;
All data is compressed using the PKWare Data Compression Library. You can find decompression source code on the web.
The first two bytes (0x00 0x06) are the PKDCL header.
:)

Post Reply