diff options
Diffstat (limited to 'docs/cronos-research.md')
-rw-r--r-- | docs/cronos-research.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/cronos-research.md b/docs/cronos-research.md index 517137c..75b9c61 100644 --- a/docs/cronos-research.md +++ b/docs/cronos-research.md | |||
@@ -121,3 +121,18 @@ CroBank.dat contains the actual database entries for multiple tables as describe | |||
121 | 121 | ||
122 | Its first byte defines, which table it belongs to. It is encoded in cp1251 (or possibly IBM866) with actual column data separated by 0xfe. There is an extra concept of sub fields in those columns, indicated by a 0xfd byte. | 122 | Its first byte defines, which table it belongs to. It is encoded in cp1251 (or possibly IBM866) with actual column data separated by 0xfe. There is an extra concept of sub fields in those columns, indicated by a 0xfd byte. |
123 | 123 | ||
124 | |||
125 | ## structure definitions | ||
126 | |||
127 | records start numbering at '1'. | ||
128 | |||
129 | The first entry contains: | ||
130 | |||
131 | byte | ||
132 | array { | ||
133 | byte strlen | ||
134 | char name[strlen] | ||
135 | uint32_t index_or_size; // size when bit31 is set. | ||
136 | byte data[size] | ||
137 | } | ||
138 | |||