Difference between revisions of "PackIndex Asset"

From COD Engine Research
Jump to: navigation, search
m
m
Line 21: Line 21:
 
{
 
{
 
const char *name;
 
const char *name;
 +
#ifdef PC
 
PackIndexStruct struct1;
 
PackIndexStruct struct1;
 
PackIndexEntry *entries; // count = struct1.entryCount
 
PackIndexEntry *entries; // count = struct1.entryCount
 +
#endif
 +
int unknown[2];
 
};
 
};
 
</source>
 
</source>

Revision as of 18:06, 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;
#ifdef PC
	PackIndexStruct struct1;
	PackIndexEntry *entries;	// count = struct1.entryCount
#endif
	int unknown[2];
};