Holzhaus/rekordcrate

`*SETTINGS.DAT` Reference documentation

Swiftb0y opened this issue · 3 comments

Is there non-code documentation for this format or did you reverse engineer this just now yourself?

I reverse-engineered it myself.

Ok, its hard to get a firmer understanding of the format by looking at the code, though its getting easier with the binrw version

The format is simple. It's basically:

  • length of string section (4 bytes)
  • string section (96 bytes)
    • contains 3 strings, each one 32 bytes and padded with nullbytes
  • length of data section (4 bytes)
  • data section (size depends on type)
  • crc16 checksum (2 bytes)
  • padding (2 bytes, null bytes)

The data section contains setting values, each one is 1 byte long.