vlasoft
29-08-2011, 11:29
скажите что это такое??? и как это сохранять???
//--------------------------------------
//--- 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;
//--------------------------------------
//--- 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;