Skip to content

Instantly share code, notes, and snippets.

@maxton
Created November 26, 2018 04:48
Show Gist options
  • Save maxton/c140541239c7a6cd55472ee8d311cacd to your computer and use it in GitHub Desktop.
Save maxton/c140541239c7a6cd55472ee8d311cacd to your computer and use it in GitHub Desktop.
//--------------------------------------
//--- 010 Editor v6.0.2 Binary Template
//
// File:
// Author:
// Revision:
// Purpose:
//--------------------------------------
BigEndian();
typedef struct
{
char magic[4]; // FSAR
int unk;
uint base;
uint num_files;
char xs[16];
} header;
typedef struct
{
char full_path[0x100];
uint64 size;
uint64 compressed_size;
uint64 offset;
uint zipped; // 1 = uncompressed, 2 = zipped
uint unk;
} file_entry;
struct
{
header hdr;
file_entry entries[hdr.num_files];
} FAR;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment