From 1604864c258cbe455bff6b46c8622cc58d14c1e9 Mon Sep 17 00:00:00 2001 From: itsme Date: Wed, 7 Jul 2021 02:56:49 +0200 Subject: added note about Stru structure --- docs/cronos-research.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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 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. + +## structure definitions + +records start numbering at '1'. + +The first entry contains: + + byte + array { + byte strlen + char name[strlen] + uint32_t index_or_size; // size when bit31 is set. + byte data[size] + } + -- cgit v1.2.3