Caesar 3 Saved Game Format
The saved game format is similar to the scenario format, with one big difference: nearly of the grids are compressed. Particularly grids with a lot of zeroes benefit greatly from the compression.
For a more detailed description for the first few grids, see the scenario spec. Without further ado, here's what I found out:
(Uncompressed) length (bytes) |
Compressed? | Description |
---|---|---|
52488 | Yes | Short grid, graphic IDs |
26244 | Yes | Byte grid, edge data |
52488 | Yes | Short grid, building IDs: the numbers on this grid correspond to an entry in the building table |
52488 | Yes | Short grid, terrain data |
4x grid | Yes | Four compressed grids with unknown size and purpose |
26244 | No | Byte grid, random data. Uncompressed since "compressing" would increase the size |
5x compressed | Yes | Five compressed blocks with unknown size and purpose |
128000 | Yes | Walker list, consisting of 1000 entries of 128 bytes each |
1200 | Maybe | Block of 600 * 2 bytes: routing path to walker id index. Old versions of C3 (pre-release only?) wrote it uncompressed, new versions compress it |
300000 | Yes | Compressed block, 600 entries of 500 bytes, routing paths |
6400 | Yes | Compressed block with unknown purpose |
12 | No | 3 integers, unknown purpose |
1x compressed | Yes | Compressed block with unknown size and purpose |
70 bytes | No | Unknown purpose |
256000 | Yes | Building list, consisting of 2000 entries of 128 bytes each |
208 bytes | No | Unknown purpose |
1x compressed | Yes | Compressed block with unknown size and purpose |
~2000 | No | (Partly) verbatim copy of the last part of the scenario file: requests, invasions, map size, etc |
? | Mixed | Unknown |
Last modified on 2014-07-26 21:49:49