Created
March 22, 2020 21:18
-
-
Save dullbananas/52a250204051b043216a9ac088597462 to your computer and use it in GitHub Desktop.
Chunks32h.dat Kaitai Struct representation
This file contains hidden or 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
meta: | |
id: chunks32h | |
endian: le | |
seq: | |
- id: directory_entries | |
type: directory_entry | |
repeat: expr | |
repeat-expr: 65536 | |
- id: guard_entry | |
type: directory_entry | |
- id: chunks | |
type: chunk | |
repeat: eos | |
types: | |
directory_entry: | |
seq: | |
- id: x_position | |
type: s4 | |
- id: z_position | |
type: s4 | |
- id: index | |
type: s4 | |
chunk: | |
seq: | |
- id: header | |
type: chunk_header | |
- id: blocks | |
type: block | |
repeat: expr | |
repeat-expr: 32768 * 2 | |
- id: surface | |
type: surface_point | |
repeat: expr | |
repeat-expr: 256 | |
chunk_header: | |
seq: | |
- id: mgagic_1 | |
contents: [0xef, 0xbe, 0xad, 0xde] | |
- id: magic_2 | |
contents: [0xfe, 0xff, 0xff, 0xff] | |
- id: x_position | |
type: s4 | |
- id: z_position | |
type: s4 | |
block: | |
seq: | |
- id: data | |
type: u4 | |
surface_point: | |
seq: | |
- id: maxheight | |
type: u1 | |
- id: temphumidity | |
type: u1 | |
- id: unused1 | |
type: u1 | |
- id: unused2 | |
type: u1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment