PackIndex Asset

From COD Engine Research
Revision as of 09:27, 25 December 2014 by Aerosoul94 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The packindex asset exists only in Black Ops 1 and World at War. It most likely holds pack file indexes..

struct PackIndexEntry	// 0xC
	unsigned int hash;
	unsigned int offset;
	unsigned int size;
struct PackIndexHeader		// 0x14
	unsigned int magic; // "PAK0"
	unsigned int timestamp;
	unsigned int count;
	unsigned int alignment;
	unsigned int data_start;
struct PackIndex		// 0x1C
	const char *name;
#ifdef PC
	PackIndexHeader header;
	PackIndexEntry *entries;	// count = header.count