1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-31 02:35:46 +01:00

Formatting

Margen67
2021-04-20 14:58:30 -10:00
parent f4b6a575e0
commit f555739251

@@ -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
(all offsets are in decimal form)
`Show real name of guests` doesn't seem to be stored in the config file.