Created
November 26, 2018 04:48
-
-
Save maxton/c140541239c7a6cd55472ee8d311cacd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//-------------------------------------- | |
//--- 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