summaryrefslogtreecommitdiff
path: root/spec/emz.fspec
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2017-04-20 16:49:35 +0300
committerJari Vetoniemi <mailroxas@gmail.com>2017-05-01 22:58:22 +0300
commit29086b1d12a2c28cffdbfbf0b3990a7bd75506b9 (patch)
tree8acd48bc30932812744c0adb102d7a7add494357 /spec/emz.fspec
parent76b8c9e03c97b16d9ff97f3b79c0ecbff0f5e7f2 (diff)
work in progress
Diffstat (limited to 'spec/emz.fspec')
-rw-r--r--spec/emz.fspec7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/emz.fspec b/spec/emz.fspec
new file mode 100644
index 0000000..0fe02a1
--- /dev/null
+++ b/spec/emz.fspec
@@ -0,0 +1,7 @@
+struct emz {
+ header: u8[4] | matches('#EMZ') str;
+ unknown: u32 hex; // most likely redunancy check (crc32?)
+ size: u32;
+ offset: u32; // always 16?
+ data: u8[$] | compression('deflate', size) hex;
+};