Changes

Jump to navigation Jump to search
1,251 bytes added ,  10:13, 22 January 2023
→‎Glossary: Added more detail to TTB page
Line 1: Line 1: −
A '''.ttb file''' is a program readable timetable file. It contains information about the [[Timetable Creation|timetable]] for a route. It is designed to be opened in [[About|Railway Operation Simulator]], however, it can also be opened and edited in [[ROSTimetableEditor]]
+
A '''.ttb file''' is a program readable timetable file. It contains information about the [[Timetable Creation|timetable]] for a route. It is designed to be opened in [[About|Railway Operation Simulator]], however, it can also be opened and edited in [[ROSTimetableEditor]].
 +
 
 +
==Glossary==
 +
 
 +
*'''Entry''': a single block within the timetable, this can be either the global start time, a comment, or a service definition.
 +
 
 +
*'''Service''': a train service consisting of a specification followed by service type, then a list of calling points for that service, finally concluding with finish type and optional repeats.
 +
 
 +
*'''Line''': a single line of the timetable file, this is any statement represented as a single line within the program editor.
 +
 
 +
==Structure==
 +
 
 +
Timetable files are structured as a single block of text making use of three characters as delimiters to separate information. Although manual editting of such files is not recommended, knowledge of the file structure is useful for quick value/entry patching by search pattern.
 +
 
 +
===Data separation===
 +
 
 +
A single line of a timetable entry uses a semicolon (<code>;</code>) as a delimiter to separate each statement:
 +
 
 +
<pre>
 +
08:00;LM - London Euston to Bletchley;0;120;200;100;2400
 +
</pre>
 +
 
 +
===Line separation===
 +
 
 +
New lines within the timetable are separated using a null string <code>\0</code> (this can be represented in many ways depending on the programming language syntax/application).
 +
 
 +
===Entry separation===
 +
 
 +
Entries are separated using a comma (<code>,</code>).
    
[[Category:RailOS Files]]
 
[[Category:RailOS Files]]
confirmed, superuser, Administrators
539

edits

Navigation menu