Actions

CONFIG00.DAT: Difference between revisions

From Populous Wiki

No edit summary
Line 1: Line 1:
Stores all of the games settings, including the ones using the cheat/debug menu.
All numbers are stored in big-endian format!


== Graphics Settings ==
Populous Configuration File Format


=== Resolution ===
=== Block Format ===
0x0 is the resolution it is a byte. Its ordered in lowest resolution (640 x 480) to highest resolution of your monitor. This is probably the most simplest, but complex setting in this list.
    BYTE 1 0x0 RESOLUTION
 
    INT32 4 0x1
Example:
    INT32 4 0x5
0 = 640 x 480
    INT32 4 0x9
1 = 800 x 600
    INT32 4 0x13
 
    INT32 4 0x17
and the rest of the values you'll have to pull from the monitor.
    INT16 2 0x21
 
    BYTE 1 0x23
=== Sky (ON/OFF) ===
    INT16 2 0x24
OFFSET(dec):
    INT32 4 0x26
69
    INT32 4 0x30
 
    BYTE 1 0x34
Notes: ON = 150, OFF = 22
    INT32 4 0x35
 
    INT32 4 0x39
=== Foot Steps (ON/OFF) ===
    BYTE 1 0x43
OFFSET(dec):
    BYTE 1 0x44
74
    INT32 4 0x45
 
    INT16 2 0x49
Notes: 128 = ON, 129 = OFF
    BYTE 1 0x51
 
    INT32 4 0x52
=== Reduce Screen (ON/OFF) ===
    INT32 4 0x56
OFFSET(dec):
    INT32 4 0x60
168
    INT32 4 0x64
 
    INT32 4 0x68
Notes: 0 = OFF, 2 = ON
    INT32 4 0x72
 
    INT32 4 0x76
=== High Quality Textures (LOW/HIGH) ===
    INT32 4 0x80
OFFSET(dec):
    BYTE 1 0x84
172
    INT32 4 0x85
 
    BYTE 1 0x89
Notes: 16 = LOW, 144 = HIGH
    BYTE 1 0x90
 
    BYTE 1 0x91
=== Gamma ===
    INT32 4 0x92
OFFSET(dec):
    INT32 4 0x96
151
    INT32 4 0x100
152
    BYTE 1 0x104
 
    BYTE 1 0x105
Notes:
    BYTE 1 0x106
 
    INT32 4 0x107
151 0 - 255 (Starts at 76)
    BYTE 1 0x111
 
    BYTE 1 0x112
152 Each time 151 passes 255 151 value + 1 and 151 changes to 0
    INT32 4 0x113
 
    INT32 4 0x117
== Sound Settings ==
    INT32 4 0x121
 
    INT32 4 0x125
=== Sound (ON/OFF) ===
    BYTE 1 0x129
OFFSET(dec):
    BYTE 1 0x130
43
    INT32 4 0x131
 
    INT32 4 0x135
Notes: 1 = ON, 0 = OFF
    INT32 4 0x139
 
    INT32 4 0x143
=== Sound (VOLUME) ===
    INT32 4 0x147
OFFSET(dec):
    INT16 2 0x151
129
    INT32 4 0x153
 
    INT32 4 0x157
Notes: 0 - 127 (0 = 0%, 127 = 100%)
    INT32 4 0x161
 
    INT32 4 0x165
=== Music (ON/OFF) ===
    INT32 4 0x169
OFFSET(dec):
    INT32 4 0x173
44
All parameters must be read in this exact order
 
Notes: 1 = ON, 0 = OFF
 
=== Music (VOLUME) ===
OFFSET(dec):
130
 
Notes: 0 - 127 (0 = 0%, 127 = 100%)
 
=== Sound Quality (LOW/HIGH) ===
OFFSET(dec):
176
 
Notes: 0 = LOW, 4 = HIGH.
 
== Game Settings ==
=== Tooltips (EXPANDED/SCROLLING) ===
OFFSET(dec):
137
 
Notes: 3 = EXPANDED, 7 = SCROLLING
 
=== Rotation (CURSOR/CTRL CURSOR) ===
OFFSET(dec):
149
 
Notes: 3 = CURSOR, 35 = CTRL CURSOR
 
=== Flip Rotation (ON/OFF) ===
OFFSET(dec):
141
 
Notes: 11 = ON, 3 = OFF
 
=== Stay Selected (ON/OFF) ===
OFFSET(dec):
145
 
Notes: 3 = ON, 19 = OFF
 
=== Autocast Spell (ON/OFF) ===
OFFSET(dec):
133
 
Notes: 3 = ON, 1 = OFF
 
== Debug Settings 'O' ==
 
Covers the rest of the file, but I'm personally not going to go though all 73 of them and see what saves and what doesn't. I know Draw Objects and things save but I'm ending my journey here.

Revision as of 15:34, 8 October 2014

All numbers are stored in big-endian format!

Populous Configuration File Format

Block Format

   BYTE	1	0x0	RESOLUTION
   INT32	4	0x1
   INT32	4	0x5
   INT32	4	0x9
   INT32	4	0x13
   INT32	4	0x17
   INT16	2	0x21
   BYTE	1	0x23
   INT16	2	0x24
   INT32	4	0x26
   INT32	4	0x30
   BYTE	1	0x34
   INT32	4	0x35
   INT32	4	0x39
   BYTE	1	0x43
   BYTE	1	0x44
   INT32	4	0x45
   INT16	2	0x49
   BYTE	1	0x51
   INT32	4	0x52
   INT32	4	0x56
   INT32	4	0x60
   INT32	4	0x64
   INT32	4	0x68
   INT32	4	0x72
   INT32	4	0x76
   INT32	4	0x80
   BYTE	1	0x84
   INT32	4	0x85
   BYTE	1	0x89
   BYTE	1	0x90
   BYTE	1	0x91
   INT32	4	0x92
   INT32	4	0x96
   INT32	4	0x100
   BYTE	1	0x104
   BYTE	1	0x105
   BYTE	1	0x106
   INT32	4	0x107
   BYTE	1	0x111
   BYTE	1	0x112
   INT32	4	0x113
   INT32	4	0x117
   INT32	4	0x121
   INT32	4	0x125
   BYTE	1	0x129
   BYTE	1	0x130
   INT32	4	0x131
   INT32	4	0x135
   INT32	4	0x139
   INT32	4	0x143
   INT32	4	0x147
   INT16	2	0x151
   INT32	4	0x153
   INT32	4	0x157
   INT32	4	0x161
   INT32	4	0x165
   INT32	4	0x169
   INT32	4	0x173

All parameters must be read in this exact order