Utility that processes TD4 and TD6 files, listing their statistics and build instructions.
TD6Sherlock <trackfile including either TD4 or TD6 extension> function option <output( defaults to STDOUT)>
Parameters
trackfile complete TD4/TD6 file name (including full path)
function selection. Possible values are:
"v" = verify only (default)
"p" = above plus perform standard analysis
"s" = above plus provide list of scenery items
"i" = above plus create file with instructions for reproducing
the track piece by piece.
Options: "r" = all values are output as "raw" data from the file. (no conversion factors)(default)
"c" = all values are output with conversion factors.
"d" = a short description follows most output values.(with conversion factors)
The output of this console program is to STDOUT. It generates the following:
line 1 = Number of lines of output created by this program (including this line)
line 2 = Error Code: 0 = OK (no error)
1 = file not specified
2 = file not found
3 = track too long
4 = invalid file
5 = internal error (not further specified)
6 = incorrect file extension (no further processing of file took place)
7 = scenery data error
8 = file size not valid
9 = file checksum not valid
10 = decoded track length not valid
11 = invalid Track ID value
[if function selection was "v" or if any error occurred, no further output will occur.]
line 3 = Ride Type [numerical value]
line 4 = vehicle Type [numerical value of vehicle code for RCT1, 8 character string for RCT2]
line 5 = Excitement rating [includes a decimal point, eg. "6.7"]
line 6 = Intensity rating [includes a decimal point]
line 7 = Nausea rating [includes a decimal point]
line 8 = Length of track in meters
line 9 = Maximum speed [includes a decimal point]
line 10 = Average speed [includes a decimal point]
line 11 = Number of inversion (in file specs); or holes in mini golf
line 12 = Number of drops (in file specs)
line 13 = Highest drop in meters
line 14 = Max Positive G force [includes a decimal point]
line 15 = Max Negative G force [includes a decimal point]
line 16 = Max Lateral G force [includes a decimal point]
line 17 = Version of RollerCoaster Tycoon used to create the file
0 = Original RCT
1 = AA/CF expansion
2 = LL expansion
3 = Original RCT2
4 = WW RCT2 expansion
5 = TT RCT2 expansion
line 18 = Width of ride (in tiles)
line 19 = Length of ride (in tiles)
line 20 = Height of ride (in game units)
line 21 = CanBeBuiltOnFlatLand: 0 = yes, 1 = no
line 22 = Number of track elements (0 to 5000)
line 23 = NumberOfStations (1 to 4)
line 24 = true number of drops: 0 to <2500
line 25 = true number of inversions: 0 to <2500 ( or holes in mini golf )
line 26 = IsAClosedCircuit: 0 = yes, 1 = no
line 27 = Air Time [includes a decimal point]
line 28 = MD5 checksum as a string of 32 characters
line 29 = MD5 checksum as a string of 32 characters
line 30 = Required scenery Themes from Original RCT2. A hexadecimal representation
of a 32 bit flag. The assignment is as follows:
00000001 = Trees
00000002 = Shrubs and Ornaments
00000004 = Gardens
00000008 = Fences and Walls
00000010 = Walls and Roofs
00000020 = Signs and Items for Footpaths
00000040 = Abstract Theming
00000080 = Classical/Roman Theming
00000100 = Egyptian Theming
00000200 = Creepy Theming
00000400 = Jungle Theming
00000800 = Jurassic Theming
00001000 = Martian Theming
00002000 = Medieval Theming
00004000 = Mine Theming
00008000 = Pagoda Theming
00010000 = Snow and Ice Theming
00020000 = Space Theming
00040000 = Spooky Theming
00080000 = Urban Theming
00100000 = Wonderland Theming
00200000 = Mechanical Theming
00400000 = Giant Garden Theming
00800000 = Water Feature Theming
01000000 = Pirates Theming
02000000 = Sports Theming
04000000 = Wild West Theming
08000000 = Giant Candy Theming
10000000 = Six Flags Theming
line 31 = Required scenery Themes from Wacky Worlds. A hexadecimal representation
of a 32 bit flag. The assignment is as follows:
00000001 = African Theming
00000002 = Antartic Theming
00000004 = Asian Theming
00000008 = Australasian Theming
00000010 = European Theming
00000020 = North American Theming
00000040 = South American Theming
line 32 = Required scenery Themes from Time Twister. A hexadecimal representation
of a 32 bit flag. The assignment is as follows:
00000001 = Roaring 20's Theming
00000002 = Roaring 20's Walls Theming
00000004 = Rock 'n' Roll Theming
00000008 = Future Theming
00000010 = Prehistoric Theming
00000020 = Dark Ages Theming
00000040 = Mythological Theming
line 33 = Count of Original RCT2 scenery items (0 for RCT1 files)
line 34 = Count of Custom RCT2 scenery items
line 35 = Count of WW RCT2 scenery items
line 36 = Count of TT RCT2 scenery items
[if function selection was "p", no further output will occur.]
line 37 = count of how many lines for scenery items
line 38...SS Each line contains the name of a custom dat file
[if function selection was "i", the following lines provide construction information]
line SS+1 .. SS + number_of_track_elements = construction information