Code: Select all
char magic[4];
uint uk;
uint uk2;
uint uk3;
uint numFiles;
uint uk5;
struct Entry
{
uint size;
string name;
} directory[numFiles]<optimize=false>;
Code: Select all
char magic[4];
uint uk;
uint uk2;
uint uk3;
uint numFiles;
uint uk5;
struct Entry
{
uint size;
string name;
} directory[numFiles]<optimize=false>;
Code: Select all
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//pack file, file head format
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// PHF0 >>>>
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// (DWORD) 01 or 00 unknow >>>>
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// (ULONG64) 00 no use >>>>
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// (DWORD) Num of file >>>>
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// (DWORD) Size of index >>>>
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
//pack file, file index format
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// (DWORD) Size of file >>>>
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// (char) file name >>>>
//>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>