Actions

CONFIG00.DAT: Difference between revisions

From Populous Wiki

No edit summary
Line 4: Line 4:


=== Block Format ===
=== Block Format ===
     BYTE 1 0x0     RESOLUTION
     <nowiki>BYTE 1 0x0 RESOLUTION
     INT32 4 0x1
     INT32 4 0x1
     INT32 4 0x5
     INT32 4 0x5
Line 62: Line 62:
     INT32 4 0x165
     INT32 4 0x165
     INT32 4 0x169
     INT32 4 0x169
     INT32 4 0x173
     INT32 4 0x173</nowiki>
All parameters must be read in this exact order
All parameters must be read in this exact order

Revision as of 15:36, 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