Skip to content

Circuit records

Enrique Somolinos Pérez edited this page Jan 2, 2019 · 5 revisions

Let's start with the circuit order and car type order:

Circuit Id
SUBURBIA_CIRCUIT 0
DOWNTOWN_CIRCUIT 1
UTOPIA_CIRCUIT 2
ROCKZONE_CIRCUIT 3
SNAKEALLEY_CIRCUIT 4
OASIS_CIRCUIT 5
VELODROME_CIRCUIT 6
HOLOCAUST_CIRCUIT 7
BOGOTA_CIRCUIT 8
WESTEND_CIRCUIT 9
NEWARK_CIRCUIT 10
COMPLEX_CIRCUIT 11
HELLMOUNTAIN_CIRCUIT 12
DESERTRUN_CIRCUIT 13
PALMSIDE_CIRCUIT 14
EIDOLON_CIRCUIT 15
TOXICDUMP_CIRCUIT 16
BORNEO_CIRCUIT 17
Car Id
VAGABOND 0
DERVISH 1
SENTINEL 2
SHRIEKER 3
WRAITH 4
DELIVERATOR 5

The circuit records structure defined in the config file is as follows:

Offset (byte) Size (bytes) Information
0 24 Record for circuit 0, car 0 (SUBURBIA_CIRCUIT, VAGABOUND)
24 24 Record for circuit 0, car 1 (SUBURBIA_CIRCUIT, DERVISH )
48 24 Record for circuit 0, car 2 (SUBURBIA_CIRCUIT, SENTINEL)
.... .... .....
24 Record for circuit 17, car 5 (BORNEO, DELIVERATOR)

Each circuit record is defined as follows (24 bytes):

Offset (byte) Size (bytes) Information
0 12 Driver name
12 4 Record minutes
16 4 Record seconds
20 4 Record miliseconds
You can’t perform that action at this time.