The original track that came with the first release of Revs
The Silverstone track is the original Revs track, and was the only track supplied with the first Acornsoft release in 1985.
The track looks like this, if we extract the data from the track data file and draw the results:



The track's elevation profile looks like this:



The Silverstone track is broken up into 24 sections, as follows:
Number | Shape | Description |
---|---|---|
0 | || | Abbey Curve to Woodcote Corner (2/2) |
1 | -> | Woodcote Corner (1/3) |
2 | <- | Woodcote Corner (2/3) |
3 | -> | Woodcote Corner (3/3) |
4 | || | Woodcote Corner to Copse Corner |
5 | -> | Copse Corner |
6 | || | Copse Corner to Maggotts Curve (1/3) |
7 | {} | Copse Corner to Maggotts Curve (2/3) |
8 | || | Copse Corner to Maggotts Curve (3/3) |
9 | <- | Maggotts Curve |
10 | || | Maggotts Curve to Becketts Corner (1/2) |
11 | || | Maggotts Curve to Becketts Corner (2/2) |
12 | -> | Becketts Corner |
13 | || | Becketts Corner to Chapel Curve |
14 | <- | Chapel Curve |
15 | || | Hangar Straight (1/3) |
16 | {} | Hangar Straight (2/3) |
17 | || | Hangar Straight (3/3) |
18 | -> | Stowe Corner |
19 | || | Stowe Corner to Club Corner |
20 | -> | Club Corner |
21 | || | Club Corner to Abbey Curve |
22 | <- | Abbey Curve |
23 | {} | Abbey Curve to Woodcote Corner (1/2) |
Each section is one of the following shapes:
- || is a straight section that doesn't curve to the left or right, and has the same gradient throughout the whole section
- {} is a straight section in the sense that it doesn't curve to the left or right, but the gradient changes within the section
- -> is a section that curves to the right
- <- is a section that curves to the left
See the deep dives on the track data file format and building a 3D track from sections and segments for details of how the track is constructed.
Track generation and shapes
---------------------------
Each track section has a lot of associated data, most of which is stored in the two track section data blocks. These are split into part 1 and part 2. See the deep dive on the track data file format for details.
In the Silverstone track file, track sections are broken up into segments. Each section therefore has an associated size, given as the number of segments. There is also a track segment vector number, which determines which track segment vectors make up the sections; specifically, it points to the position in the segment vector table where the section's first vector is stored.
Finally, each section has inner and outer coordinates that define the inner and outer track edges at the start of the section. These coordinates share the same y-coordinate, as track sections are level from left to right, so the following table shows the coordinates as (x, z), or longitude and latitude, and the section height is shown separately.
The section data for the Silverstone track is as follows:
Section | Vector | Size | Segments | Inner coord | Outer coord | Height |
---|---|---|---|---|---|---|
0 | 0 | 99 | 0-98 | (-12000, 4000) | (-12352, 3988) | 3200 |
1 | 1 | 21 | 99-119 | (-12396, 15880) | (-12748, 15868) | 3200 |
2 | 22 | 12 | 120-131 | (-11483, 18070) | (-11579, 18408) | 3200 |
3 | 34 | 21 | 132-152 | (-10574, 19089) | (-10922, 19145) | 3200 |
4 | 55 | 105 | 153-257 | (-8529, 20303) | (-8545, 20654) | 3200 |
5 | 56 | 24 | 258-281 | (4071, 20828) | (4055, 21179) | 3200 |
6 | 80 | 28 | 282-309 | (6104, 19209) | (6455, 19223) | 3275 |
7 | 81 | 9 | 310-318 | (6244, 15849) | (6595, 15863) | 3667 |
8 | 90 | 54 | 319-372 | (6289, 14769) | (6640, 14783) | 3703 |
9 | 91 | 16 | 373-388 | (6559, 8289) | (6910, 8303) | 3487 |
10 | 107 | 38 | 389-426 | (7162, 6493) | (7451, 6693) | 3423 |
11 | 108 | 27 | 427-453 | (9746, 2731) | (10035, 2931) | 3271 |
12 | 109 | 27 | 454-480 | (11717, 139) | (11997, 351) | 3163 |
13 | 136 | 40 | 481-520 | (10597, -2434) | (10707, -2769) | 3149 |
14 | 137 | 16 | 521-536 | (6037, -3954) | (6147, -4289) | 3149 |
15 | 153 | 135 | 537-671 | (4568, -5126) | (4869, -5308) | 3085 |
16 | 154 | 6 | 672-677 | (-3802, -19031) | (-3501, -19213) | 2005 |
17 | 160 | 28 | 678-705 | (-4174, -19649) | (-3873, -19831) | 2039 |
18 | 161 | 40 | 706-745 | (-5910, -22533) | (-5609, -22715) | 2459 |
19 | 201 | 104 | 746-849 | (-10167, -23134) | (-10422, -23378) | 2660 |
20 | 202 | 33 | 850-882 | (-18799, -14086) | (-19054, -14330) | 2036 |
21 | 235 | 85 | 883-967 | (-18941, -10466) | (-19214, -10244) | 2110 |
22 | 236 | 18 | 968-985 | (-12481, -2561) | (-12754, -2339) | 2960 |
23 | 254 | 38 | 986-1023 | (-11810, -558) | (-12162, -571) | 3197 |
The shape of each track section is also defined in the track data file. Silverstone is the only track that contains all its track segment vectors and coordinates as static data in the data file (all the other tracks generate track coordinates and vectors on-the-fly). As a result, bit 6 of the track section flags in trackSectionFlag has no effect in Silverstone.
The shape data for the Silverstone track is as follows:
Section | Sign | List size | Generator (bit 6) | Shape (bit 0) | Shape |
---|---|---|---|---|---|
0 | 0 | 3 | 0 = N/A | 0 = Straight | || |
1 | 1 | 3 | 0 = N/A | 1 = Curve | -> |
2 | 1 | 2 | 0 = N/A | 1 = Curve | <- |
3 | 2 | 2 | 0 = N/A | 1 = Curve | -> |
4 | 2 | 2 | 0 = N/A | 0 = Straight | || |
5 | 3 | 3 | 0 = N/A | 1 = Curve | -> |
6 | 4 | 2 | 0 = N/A | 0 = Straight | || |
7 | 5 | 3 | 0 = N/A | 1 = Curve | {} |
8 | 5 | 3 | 0 = N/A | 0 = Straight | || |
9 | 6 | 4 | 0 = N/A | 1 = Curve | <- |
10 | 6 | 4 | 0 = N/A | 0 = Straight | || |
11 | 7 | 3 | 0 = N/A | 0 = Straight | || |
12 | 7 | 2 | 0 = N/A | 1 = Curve | -> |
13 | 7 | 2 | 0 = N/A | 0 = Straight | || |
14 | 8 | 4 | 0 = N/A | 1 = Curve | <- |
15 | 9 | 3 | 0 = N/A | 0 = Straight | || |
16 | 10 | 2 | 0 = N/A | 1 = Curve | {} |
17 | 11 | 1 | 0 = N/A | 0 = Straight | || |
18 | 11 | 4 | 0 = N/A | 1 = Curve | -> |
19 | 12 | 3 | 0 = N/A | 0 = Straight | || |
20 | 13 | 2 | 0 = N/A | 1 = Curve | -> |
21 | 14 | 2 | 0 = N/A | 0 = Straight | || |
22 | 15 | 2 | 0 = N/A | 1 = Curve | <- |
23 | 15 | 2 | 0 = N/A | 0 = Straight | {} |
The sign number describes which signs to show when driving around the track (see the next section for details), and the list size determines the size of the track section list in the track verge buffer (see the deep dive on data structures for the track calculations for an explanation).
Road signs
----------
Revs supports up to 16 road signs per track. Each sign's 3D coordinate is stored as a vector (xTrackSignVector, yTrackSignVector, zTrackSignVector) that is scaled down to fit into 8-bit coordinates. This vector describes the sign's coordinate relative to the inner coordinates of a specified track section. Inner section coordinates are stored in part 1 and part 2 of the section data, in the 16-bit variables (xTrackSectionIHi xTrackSectionILo), (yTrackSectionIHi yTrackSectionILo) and (zTrackSectionIHi zTrackSectionILo). We can therefore calculate the 3D coordinate of a sign by scaling the sign vector and adding it to the relevant section coordinate. See the deep dive on road signs for details of this calculation.
The following table shows the sign number, the sign type, the number of the section to which the sign coordinate is relative, the inner section coordinate, the scaled sign vector and the 3D coordinate of the sign that we calculate from all of the preceding data.
Each track section also has an associated sign number in the trackSectionData entry in the first block of track section data. A sign is drawn if this number changes when we drive into a new track section (so it shows the correct sign whether we are driving forwards or backwards into the new section). The sign numbers are shown in the shape table in the previous section.
The road signs for the Silverstone track are as follows:
Sign | Type | Section | trackSectionI | trackSignVector | Coordinate |
---|---|---|---|---|---|
0 | Chicane | 0 | [ -12000 ] [ 3200 ] [ 4000 ] | [ -10 ] [ 8 ] [ 108 ] | [ -12640 ] [ 3328 ] [ 10912 ] |
1 | Straight | 2 | [ -11483 ] [ 3200 ] [ 18070 ] | [ -8 ] [ 8 ] [ 4 ] | [ -11995 ] [ 3328 ] [ 18326 ] |
2 | Start flag | 3 | [ -10574 ] [ 3200 ] [ 19089 ] | [ 82 ] [ 8 ] [ 27 ] | [ -5326 ] [ 3328 ] [ 20817 ] |
3 | Right turn | 5 | [ 4071 ] [ 3200 ] [ 20828 ] | [ -78 ] [ 8 ] [ 3 ] | [ -921 ] [ 3328 ] [ 21020 ] |
4 | Straight | 7 | [ 6244 ] [ 3667 ] [ 15849 ] | [ 7 ] [ 0 ] [ 8 ] | [ 6692 ] [ 3667 ] [ 16361 ] |
5 | Left turn | 9 | [ 6559 ] [ 3487 ] [ 8289 ] | [ -4 ] [ 18 ] [ 75 ] | [ 6303 ] [ 3775 ] [ 13089 ] |
6 | Right turn | 12 | [ 11717 ] [ 3163 ] [ 139 ] | [ -39 ] [ 17 ] [ 63 ] | [ 9221 ] [ 3435 ] [ 4171 ] |
7 | Left turn | 14 | [ 6037 ] [ 3149 ] [ -3954 ] | [ 40 ] [ 8 ] [ 14 ] | [ 8597 ] [ 3277 ] [ -3058 ] |
8 | Straight | 14 | [ 6037 ] [ 3149 ] [ -3954 ] | [ -5 ] [ 8 ] [ -1 ] | [ 5717 ] [ 3277 ] [ -4018 ] |
9 | Straight | 14 | [ 6037 ] [ 3149 ] [ -3954 ] | [ -51 ] [ -16 ] [ -79 ] | [ 2773 ] [ 2893 ] [ -9010 ] |
10 | Right turn | 18 | [ -5910 ] [ 2459 ] [ -22533 ] | [ 39 ] [ -20 ] [ 53 ] | [ -3414 ] [ 2139 ] [ -19141 ] |
11 | Straight | 19 | [ -10167 ] [ 2660 ] [ -23134 ] | [ 23 ] [ 12 ] [ -16 ] | [ -8695 ] [ 2852 ] [ -24158 ] |
12 | Right turn | 20 | [ -18799 ] [ 2036 ] [ -14086 ] | [ 48 ] [ 22 ] [ -59 ] | [ -15727 ] [ 2388 ] [ -17862 ] |
13 | Straight | 21 | [ -18941 ] [ 2110 ] [ -10466 ] | [ -6 ] [ 4 ] [ -16 ] | [ -19325 ] [ 2174 ] [ -11490 ] |
14 | Left turn | 22 | [ -12481 ] [ 2960 ] [ -2561 ] | [ -46 ] [ -16 ] [ -57 ] | [ -15425 ] [ 2704 ] [ -6209 ] |
15 | Straight | 23 | [ -11810 ] [ 3197 ] [ -558 ] | [ 0 ] [ 8 ] [ 36 ] | [ -11810 ] [ 3325 ] [ 1746 ] |
Corner markers and verge markings
---------------------------------
Each track section can optionally have a set of corner markers (three markers are shown for each curve when configured, while one marker is shown for each applicable straight). The markers can either be a combination of red and white markers, or just white, according to bit 5 of the track section flags in trackSectionFlag. They can also appear on the left or the right of the track, according to bits 3-4 of the section flags.
Track sections can also have differently coloured verge markings. These are black-and-white by default, but can be configured in bits 1-2 of the section flags to be red-and-white on the left or the right of the track.
See the deep dive on corner markers for details of how corner markers work, and the deep dive on the track verges for more on how the verge markings are implemented.
The corner markers and verge markings for the Silverstone track are as follows:
Section | Marker colours (bit 5) | Marker positions (bits 3-4) | Verge colours (bits 1-2) |
---|---|---|---|
0 | 1 = Red/white | 10 = Left | 00 = Both black/white |
1 | 1 = Red/white | 01 = Right | 10 = Red/white on right |
2 | 1 = Red/white | 10 = Left | 01 = Red/white on left |
3 | 1 = Red/white | 01 = Right | 10 = Red/white on right |
4 | 1 = Red/white | 10 = Left | 01 = Red/white on left |
5 | 1 = Red/white | 01 = Right | 10 = Red/white on right |
6 | 0 = White | 00 = None | 01 = Red/white on left |
7 | 0 = White | 00 = None | 00 = Both black/white |
8 | 1 = Red/white | 01 = Right | 00 = Both black/white |
9 | 1 = Red/white | 10 = Left | 01 = Red/white on left |
10 | 0 = White | 00 = None | 00 = Both black/white |
11 | 1 = Red/white | 10 = Left | 00 = Both black/white |
12 | 1 = Red/white | 01 = Right | 10 = Red/white on right |
13 | 1 = Red/white | 01 = Right | 01 = Red/white on left |
14 | 1 = Red/white | 10 = Left | 01 = Red/white on left |
15 | 0 = White | 00 = None | 00 = Both black/white |
16 | 0 = White | 00 = None | 00 = Both black/white |
17 | 1 = Red/white | 10 = Left | 00 = Both black/white |
18 | 1 = Red/white | 01 = Right | 10 = Red/white on right |
19 | 1 = Red/white | 10 = Left | 01 = Red/white on left |
20 | 1 = Red/white | 01 = Right | 10 = Red/white on right |
21 | 1 = Red/white | 01 = Right | 01 = Red/white on left |
22 | 1 = Red/white | 10 = Left | 01 = Red/white on left |
23 | 0 = White | 00 = None | 10 = Red/white on right |
Non-player driver speeds and steering
-------------------------------------
The track data also contains data that influences how the non-player drivers drive (see the deep dive on tactics of the non-player drivers for details). This data latter is not only used to control non-player drivers, but feeds into computer assisted steering (CAS) as well; see the deep dive computer assisted steering (CAS) for more on this.
This data includes the segment number in each section where non-player drivers should start turning (in trackSectionTurn), the optimum speed for each section (in trackSectionSpeed), the optimum steering to apply for this section (in trackSteering), and whether this section has a maximum speed (in bit 7 of trackSectionFlag).
The non-player driver data for the Silverstone track is as follows:
Section | Turn at segment | Optimum speed | Speed as bit 7:0-6 | Section shape | Optimum steering | Maximum speed |
---|---|---|---|---|---|---|
0 | 96 | 136 | 1:8 | || | <- 5* | - |
1 | 18 | 0 | 0:0 | -> | -> 12 | 136 |
2 | 20 | 138 | 1:10 | <- | <- 28 | - |
3 | 30 | 33 | 0:33 | -> | -> 14 | - |
4 | 98 | 125 | 0:125 | || | <- 6* | - |
5 | 40 | 26 | 0:26 | -> | -> 12 | 125 |
6 | 255 | 255 | 1:127 | || | -> 5* | - |
7 | 0 | 0 | 0:0 | {} | -> 5* | - |
8 | 33 | 255 | 1:127 | || | -> 5* | - |
9 | 40 | 12 | 0:12 | <- | <- 15* | - |
10 | 255 | 255 | 1:127 | || | <- 6* | - |
11 | 21 | 116 | 0:116 | || | <- 12* | - |
12 | 39 | 25 | 0:25 | -> | -> 12 | 116 |
13 | 24 | 255 | 1:127 | || | -> 14* | - |
14 | 40 | 20 | 0:20 | <- | <- 14* | - |
15 | 255 | 255 | 1:127 | || | <- 5* | - |
16 | 0 | 0 | 0:0 | {} | <- 5* | - |
17 | 22 | 139 | 1:11 | || | <- 5* | - |
18 | 52 | 24 | 0:24 | -> | -> 13 | 139 |
19 | 96 | 151 | 1:23 | || | <- 8* | - |
20 | 49 | 28 | 0:28 | -> | -> 22* | 151 |
21 | 69 | 255 | 1:127 | || | -> 10 | - |
22 | 36 | 11 | 0:11 | <- | <- 21* | - |
23 | 255 | 255 | 1:127 | {} | <- 5* | - |
The speed is shown as-is, and with bit 7 split out, which is used in the driver tactic calculations. The optimum steering is shown as a direction and a magnitude, and if there is an asterisk (*), then the magnitude is scaled by the track's base speed for the chosen class.