PackIndex Asset: Difference between revisions

From COD Engine Research
Created page with "The packindex asset exists only in Black Ops 1 and World at War. It most likely holds pack file indexes.. <source lang="cpp"> struct PackIndexEntry // 0xC { int unknown[3]; }..."
 
mNo edit summary
Line 1: Line 1:
__NOTOC__
[[Category:Assets]]
[[Category:WaW]]
[[Category:BO1]]
The packindex asset exists only in Black Ops 1 and World at War. It most likely holds pack file indexes..
The packindex asset exists only in Black Ops 1 and World at War. It most likely holds pack file indexes..
<source lang="cpp">
<source lang="cpp">

Revision as of 14:10, 26 February 2014

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

struct PackIndexEntry	// 0xC
{
	int unknown[3];
};

struct PackIndexStruct		// 0x14
{
	int magic; // "PAK0"
	int unknown1;
	int entryCount;
	int unknown2[2];
};

struct PackIndex		// 0x1C
{
	const char *name;
	PackIndexStruct struct1;
	PackIndexEntry *entries;	// count = struct1.entryCount
};