From f555739251f85197d9ade279a91fa0888efd42db Mon Sep 17 00:00:00 2001 From: Margen67 Date: Tue, 20 Apr 2021 14:58:30 -1000 Subject: [PATCH] Formatting --- game.cfg-structure.md | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/game.cfg-structure.md b/game.cfg-structure.md index 6523f9a..364dd79 100644 --- a/game.cfg-structure.md +++ b/game.cfg-structure.md @@ -1,21 +1,22 @@ The game.cfg format doesn't seem to be available on the technical depot any more, so I played around with it and found the following: -| Offset | Notes -|--------|------ -| 0-3 | Magic number to identify it as a valid settings file (0x0003113A) | -| 5-20 | Handles sound device | -| 22 | Forced software buffering (0x00 = off, 0x01 = on) | -| 26 | Construction marker (0x00 == white, 0x01 == translucent) | -| 28 | Seems to be a combination of settings including height labels, landscape smoothing, grid lines on landscape. | -| 29-31 | Sound quality (0x02 0x03 0x00 == Low, 0x04 0x05 0x01 = Medium, 0x07 0x07 0x02 = high) | -| 32 | Metric or imperial (0x00 = imperial, 0x01 = metric) | -| 33 | Celsius or Fahrenheit (0x00 = Celsius, 0x01 = Fahrenheit) | -| 98 | "Scroll view when pointer at edge" (0x00 = off, 0x01 = on) | -| 99 | In game currency. (C0 == £, C9 == €) | -| 101-102 | Mysterious offset that is changed when other settings are changed | -| 2152-2153 | Expansion pack flags | -| 2154-2147 | Game window resolution | -| 2154 | Options loaded first time | +Offset | Notes +------ | ----- +0-3 | Magic number to identify it as a valid settings file. (0x0003113A) +5-20 | Handles sound device. +22 | Forced software buffering. (0x00 = off, 0x01 = on) +26 | Construction marker. (0x00 == white, 0x01 == translucent) +28 | Seems to be a combination of settings including height labels, landscape smoothing, grid lines on landscape. +29-31 | Sound quality. (0x02 0x03 0x00 == Low, 0x04 0x05 0x01 = Medium, 0x07 0x07 0x02 = high) +32 | Metric or imperial. (0x00 = imperial, 0x01 = metric) +33 | Celsius or Fahrenheit. (0x00 = Celsius, 0x01 = Fahrenheit) +98 | Scroll view when pointer at edge. (0x00 = off, 0x01 = on) +99 | In game currency. (C0 == £, C9 == €) +101-102 | Mysterious offset that is changed when other settings are changed. +2152-2153 | Expansion pack flags. +2154-2147 | Game window resolution. +2154 | Options loaded first time. -(all offsets are in decimal form) -"Show real name of guests" does not seem to be stored in the config file \ No newline at end of file +(all offsets are in decimal form) + +`Show real name of guests` doesn't seem to be stored in the config file.