rendered paste body//--------------------------------------
//--- 010 Editor v2.1.3 Binary Template
//
// File: RSCTemplate.bt
// Author: Slurm
// Revision: 1.0
// Purpose: Parse BYOND resource archives.
//--------------------------------------
typedef struct
{
unsigned int blockSize;
unsigned char version;
unsigned char junk[13];
unsigned int dataSize;
char name[blockSize - 13 - 4 - dataSize];
unsigned char fileData[dataSize];
}
FileEntry <read = readFileEntry>;;
string readFileEntry(FileEntry &a)
{
return a.name;
}
while (!FEof())
{
FileEntry file;
}