Chase H.Q. | Map Data Format |
Each stage's map is composed of six separate variable-length streams of data. They are:
Curvature controls the left-right turn of the road. It is stored as a sequence of bytes of the form $CT where $C is a count (1..15) and $T is a type. The valid types are:
A zero byte in the stream is an escape which can be followed by one of:
This escape format is the same for all the other streams.
Height controls the up-down inclination of the road. It uses the same encoding as curvature but the type field instead defines the road's inclination. Its valid values are:
Lanes use a different scheme: pairs of bytes. The first byte is a count and the following byte is the data. The currently understood valid data values are:
$00: [ |||| ]
4 Lanes$01: [ ||__ ]
2 Lanes, Left Aligned$02: [ _||_ ]
2 Lanes, Centre Aligned$03: [ __|| ]
2 Lanes, Right Aligned$06: [ /||_ ]
3 Lanes to 2 Narrowing, Left Aligned$0F: [ _/|| ]
3 Lanes to 2 Narrowing, Right Aligned$1F: [ _\|| ]
2 Lanes to 3 Widening, Left Aligned$2D: [ \||_ ]
2 Lanes to 3 Widening, Right Aligned$45: [ ____ ]
Tunnel start$59: [ ____ ]
Tunnel cont/end?$81: [ |||_ ]
3 Lanes, Left Aligned$82: [ _||| ]
3 Lanes, Right Aligned$8E: [ /||| ]
4 Lanes to 3 Narrowing, Right Aligned$9E: [ \||| ]
3 Lanes to 4 Widening, Right Aligned$AD: [ |||/ ]
3 Lanes to 4 Widening, Left Aligned$BD: [ |||\ ]
4 Lanes to 3 Narrowing, Left Aligned$C1: [ |||| ]
4 Lanes, Dirt track $C2: [ _||| ]
3 Lanes, Dirt track, Right Aligned$C3: [ __|| ]
2 Lanes, Dirt track, Right AlignedRight and Left side objects are encoded in nibbles as for curvature data. The object types (for Stage 1) are:
Hazards are encoded only as byte counters and an extended form of the escapes with the following additional codes: