Here is a structure of pcg files from 5 Street Online.
[syntax]//--------------------------------------
//--- 010 Editor v3.1.2 Binary Template
//
// File: 5 Street Online pcg structure
// Author: Dwar
// Revision: 2010-10-24
// Purpose: PCG file unpack/repack
//--------------------------------------
char PCGSig[13]; //File Sig
int unk;
int fCount; //File count
byte header[40];
struct fList {
struct block {
ubyte PathLength; //File path length
ubyte sign;
if ( sign == 0xff) {
char PCGSig[256 - PathLength];
}
else char PCGSig[PathLength];
int fSize; //File size
byte hash[32]; //Fie hash
int fOffset; //File offset
int unk3[19];
};
local int i;
for (i=0; i < fCount+1; i++)
{
block test;
}
} file;[/syntax]