Skip to navigation


The Snetterton track

One of the four extra tracks in the Revs 4 Tracks expansion

Snetterton was one of the four new tracks released by Acornsoft as part of the Revs 4 Tracks expansion in late 1985 (the others being Brands Hatch, Donington Park and Oulton Park).

The track looks like this, if we extract the data from the track data file and draw the results:

The Snetterton track in RevsThe Snetterton track in RevsThe Snetterton track in Revs

The track's elevation profile looks like this:

The elevation of the Snetterton track in RevsThe elevation of the Snetterton track in RevsThe elevation of the Snetterton track in Revs

The track is broken up into 24 sections, as follows:

NumberShapeDescription
0|<-|Sear to the Esses (3/5)
1|->|Sear to the Esses (4/5)
2{}Sear to the Esses (5/5)
3<-The Esses (1/3)
4||The Esses (2/3)
5|->|The Esses (3/3)
6|->|The Esses to the Bomb Hole
7->The Bomb Hole
8||The Bomb Hole to Coram (1/2)
9||The Bomb Hole to Coram (2/2)
10->Coram
11|<-|Coram to Russell (1/2)
12|<->|Coram to Russell (2/2)
13<-Russell
14->Russell to Riches (1/4)
15|->|Russell to Riches (2/4)
16{}Russell to Riches (3/4)
17||Russell to Riches (4/4)
18->Riches
19||Riches to Seer (1/2)
20||Riches to Seer (2/2)
21->Sear
22||Sear to the Esses (1/5)
23||Sear to the Esses (2/5)

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 can differ between sub-sections
  • -> consists of sub-sections that all curve to the right
  • <- consists of sub-sections that all curve to the left
  • |->| consists of sub-sections that are either straight or curve to the right
  • |<-| consists of sub-sections that are either straight or curve to the left
  • |<->| consists of sub-sections that are either straight or curve to the left or right

See the deep dives on the extra tracks data file format and dynamic track generation in the extra tracks for information on how the extra tracks are constructed, and how the track segment vectors are dynamically generated in the extra tracks. You may also find it useful to read the deep dives on the original track data file format and building a 3D track from sections and segments.

Track generation and shapes
---------------------------

Each track section has lots 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 dives on the track data file format and the extra tracks data file format for details.

In the extra track files, track sections are broken up into sub-sections, which are then 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. Note, however, that because the track segment vectors are dynamically generated for this track, the vector number points to the position in the table where the first calculated vector will be stored, rather than pointing to the data itself (as the data is only generated when needed).

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 Snetterton track is as follows:

SectionVectorSizeSegmentsInner coordOuter coordHeight
01290-28(-12000, -12000)(-12248, -12000)5120
1316729-95(-12115, -8520)(-12363, -8529)5120
2193896-133(-12184, -480)(-12432, -483)5120
31816134-149(-12222, 4080)(-12470, 4077)4481
4359150-158(-13161, 5691)(-13306, 5490)4436
5377159-165(-14034, 6321)(-14179, 6120)4436
6538166-203(-14327, 6992)(-14565, 7064)4436
7416204-219(-12443, 11140)(-12668, 11243)4436
82117220-236(-10882, 12039)(-10852, 12284)4440
92318237-254(-8859, 11784)(-8829, 12029)4712
10252255-306(-6717, 11514)(-6687, 11759)5000
111530307-336(-4314, 6601)(-4086, 6508)4454
12629337-365(-5569, 3238)(-5328, 3184)3794
133717366-382(-6093, -200)(-5850, -248)3387
14168383-390(-5467, -2057)(-5292, -1882)3251
152643391-433(-5017, -2890)(-4776, -2837)3223
163154434-487(-4379, -7998)(-4134, -7972)4123
17735488-522(-3677, -14424)(-3432, -14398)5119
18430523-552(-3222, -18589)(-2977, -18563)5119
193624553-576(-5514, -21060)(-5488, -21306)5119
203925577-601(-8370, -21372)(-8344, -21618)5119
21269602-610(-11345, -21697)(-11319, -21943)5119
223735611-645(-12000, -20998)(-12248, -20998)5119
23040646-685(-12000, -16798)(-12248, -16798)5119

The shape of each track section is also defined in the track data file. Section coordinates are generated on-the-fly, as described in the deep dive on dynamic track generation in the extra tracks, and bit 6 of the track section flags in trackSectionFlag determines the kind of generator that is used (curved or straight).

The shape data for the Snetterton track is as follows:

SectionSignList sizeGenerator (bit 6)Shape (bit 0)Shape
0631 = Curve0 = Straight|<-|
1731 = Curve0 = Straight|->|
2831 = Curve0 = Straight{}
3931 = Curve1 = Curve<-
4930 = Straight0 = Straight||
51031 = Curve1 = Curve|->|
61031 = Curve0 = Straight|->|
71131 = Curve1 = Curve->
81130 = Straight0 = Straight||
91131 = Curve0 = Straight||
101251 = Curve1 = Curve->
111351 = Curve0 = Straight|<-|
121441 = Curve0 = Straight|<->|
131531 = Curve1 = Curve<-
141531 = Curve1 = Curve->
15031 = Curve0 = Straight|->|
16031 = Curve0 = Straight{}
17131 = Curve0 = Straight||
18231 = Curve1 = Curve->
19330 = Straight0 = Straight||
20331 = Curve0 = Straight||
21431 = Curve1 = Curve->
22430 = Straight0 = Straight||
23531 = Curve0 = 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 Snetterton track are as follows:

SignTypeSectiontrackSectionItrackSignVectorCoordinate
0Start flag16[  -4379 ]
[   4123 ]
[  -7998 ]
[   4 ]
[   8 ]
[   0 ]
[  -4123 ]
[   4251 ]
[  -7998 ]
1Right turn18[  -3222 ]
[   5119 ]
[ -18589 ]
[  -3 ]
[   8 ]
[  68 ]
[  -3414 ]
[   5247 ]
[ -14237 ]
2Straight18[  -3222 ]
[   5119 ]
[ -18589 ]
[  -4 ]
[   8 ]
[ -23 ]
[  -3478 ]
[   5247 ]
[ -20061 ]
3Right turn21[ -11345 ]
[   5119 ]
[ -21697 ]
[  61 ]
[   8 ]
[   2 ]
[  -7441 ]
[   5247 ]
[ -21569 ]
4Straight22[ -12000 ]
[   5119 ]
[ -20998 ]
[   1 ]
[   8 ]
[  27 ]
[ -11936 ]
[   5247 ]
[ -19270 ]
5Straight23[ -12000 ]
[   5119 ]
[ -16798 ]
[  -5 ]
[   8 ]
[  18 ]
[ -12320 ]
[   5247 ]
[ -15646 ]
6Straight0[ -12000 ]
[   5120 ]
[ -12000 ]
[   0 ]
[   8 ]
[  26 ]
[ -12000 ]
[   5248 ]
[ -10336 ]
7Straight1[ -12115 ]
[   5120 ]
[  -8520 ]
[  -7 ]
[   8 ]
[  27 ]
[ -12563 ]
[   5248 ]
[  -6792 ]
8Left turn3[ -12222 ]
[   4481 ]
[   4080 ]
[   1 ]
[  48 ]
[ -77 ]
[ -12158 ]
[   5249 ]
[   -848 ]
9Right turn4[ -13161 ]
[   4436 ]
[   5691 ]
[ -15 ]
[   8 ]
[   5 ]
[ -14121 ]
[   4564 ]
[   6011 ]
10Right turn7[ -12443 ]
[   4436 ]
[  11140 ]
[ -21 ]
[   8 ]
[ -34 ]
[ -13787 ]
[   4564 ]
[   8964 ]
11Right turn10[  -6717 ]
[   5000 ]
[  11514 ]
[ -29 ]
[  -8 ]
[   9 ]
[  -8573 ]
[   4872 ]
[  12090 ]
12Straight10[  -6717 ]
[   5000 ]
[  11514 ]
[  32 ]
[  18 ]
[ -13 ]
[  -4669 ]
[   5288 ]
[  10682 ]
13Straight11[  -4314 ]
[   4454 ]
[   6601 ]
[  10 ]
[  28 ]
[  16 ]
[  -3674 ]
[   4902 ]
[   7625 ]
14Left turn13[  -6093 ]
[   3387 ]
[   -200 ]
[   7 ]
[  32 ]
[  50 ]
[  -5645 ]
[   3899 ]
[   3000 ]
15Straight14[  -5467 ]
[   3251 ]
[  -2057 ]
[   3 ]
[   8 ]
[  -5 ]
[  -5275 ]
[   3379 ]
[  -2377 ]

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 Snetterton track are as follows:

SectionMarker colours
(bit 5)
Marker positions
(bits 3-4)
Verge colours
(bits 1-2)
00 = White00 = None00 = Both black/white
10 = White00 = None00 = Both black/white
21 = Red/white01 = Right00 = Both black/white
31 = Red/white10 = Left01 = Red/white on left
40 = White00 = None00 = Both black/white
51 = Red/white01 = Right10 = Red/white on right
61 = Red/white10 = Left01 = Red/white on left
71 = Red/white01 = Right10 = Red/white on right
80 = White00 = None01 = Red/white on left
91 = Red/white10 = Left00 = Both black/white
101 = Red/white01 = Right10 = Red/white on right
110 = White00 = None00 = Both black/white
121 = Red/white01 = Right00 = Both black/white
131 = Red/white10 = Left01 = Red/white on left
141 = Red/white01 = Right10 = Red/white on right
150 = White00 = None00 = Both black/white
160 = White00 = None00 = Both black/white
171 = Red/white10 = Left00 = Both black/white
181 = Red/white01 = Right10 = Red/white on right
190 = White00 = None01 = Red/white on left
201 = Red/white10 = Left00 = Both black/white
211 = Red/white01 = Right10 = Red/white on right
220 = White00 = None01 = Red/white on left
230 = White00 = None00 = Both black/white

Driver speeds and approaches
----------------------------

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 Snetterton track is as follows:

SectionTurn at segmentOptimum speedSpeed as bit 7:0-6Section shapeOptimum steeringMaximum speed
02552551:127|<-|<- 0*-
12552551:127|->|-> 6*-
2281260:126{}-> 6*-
32680:8<-<- 11126
49820:82||<- 0*-
516110:11|->|-> 2182
6311180:118|->|<- 6*-
730160:16->-> 15118
82552551:127||<- 6*-
9141451:17||<- 6*-
1060320:32->-> 15*145
112552551:127|<-|-> 6*-
12151451:17|<->|-> 6*-
132660:6<-<- 25*145
1421120:12->-> 47*6
152552551:127|->|<- 9*12
162552551:127{}<- 6*-
17281401:12||<- 6*-
1842140:14->-> 26140
192552551:127||<- 6*-
2020870:87||<- 6*-
2119110:11->-> 2187
222551291:1||-> 6*-
232552551:127||<- 0*129

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.