summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoritsme <itsme@xs4all.nl>2021-07-07 02:56:49 +0200
committeritsme <itsme@xs4all.nl>2021-07-07 02:56:49 +0200
commit1604864c258cbe455bff6b46c8622cc58d14c1e9 (patch)
treea5a1b703ba222a1b2101b73903b5d14e791028fd
parent15099fc4fff9437da9104f67c33e4a92ed15a76f (diff)
added note about Stru structure
-rw-r--r--docs/cronos-research.md15
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
122Its 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. 122Its 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
127records start numbering at '1'.
128
129The 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