diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2020-06-18 13:53:34 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2020-06-18 13:53:34 -0400 |
commit | 28b7cf28c73879c406324f14df424fd7f46e9c14 (patch) | |
tree | e4616cf2702e62b3dd35f9d65ff4b012d0f02b22 /tools/o2narc/Narc.h | |
parent | 42efbaf26211b24edc4e31a7ae51948458caef65 (diff) |
Implement o2narc; decompile base stats and movelearns to json
Diffstat (limited to 'tools/o2narc/Narc.h')
-rw-r--r-- | tools/o2narc/Narc.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/tools/o2narc/Narc.h b/tools/o2narc/Narc.h new file mode 100644 index 00000000..f1b93b56 --- /dev/null +++ b/tools/o2narc/Narc.h @@ -0,0 +1,47 @@ +#ifndef GUARD_NARC_H +#define GUARD_NARC_H + +struct NarcHeader +{ + uint32_t Id; + uint16_t ByteOrderMark; + uint16_t Version; + uint32_t FileSize; + uint16_t ChunkSize; + uint16_t ChunkCount; +}; + +struct FileAllocationTable +{ + uint32_t Id; + uint32_t ChunkSize; + uint16_t FileCount; + uint16_t Reserved; +}; + +struct FileAllocationTableEntry +{ + uint32_t Start; + uint32_t End; +}; + +struct FileNameTable +{ + uint32_t Id; + uint32_t ChunkSize; +}; + +struct FileNameTableEntry +{ + uint32_t Offset; + uint16_t FirstFileId; + uint16_t Utility; +}; + +struct FileImages +{ + uint32_t Id; + uint32_t ChunkSize; +}; + +#endif //GUARD_NARC_H |