forked from openrails/openrails
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstart.rst
381 lines (259 loc) · 15.3 KB
/
start.rst
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
.. _start:
***************
Getting Started
***************
After having successfully installed Open Rails (see the Installation
Manual), to run the game you must double-click on the Open Rails icon on
the desktop, or on the OpenRails.exe file.
The OpenRails main window will appear.
If you have an MSTS installation in place, this will be displayed as your available
installation profile.
.. _start-picture:
.. image:: images/start-activity.png
If not, then the next ``Content`` form is shown where you can download content. This form is described in the next `Content` chapter.
Content
=======
Clicking on the ``Content`` button makes the ``Content`` form popup with the tab ``Auto Installed`` open:
.. image:: images/content-form-auto-installed.png
Select the route to be installed. This list will be enlarged by the OR team when suitable routes become available.
However it is still possible to install routes manually as described in the next chapter.
* ``Install path`` and ``Browse``: Fill in or Browse to the path where the route is to be installed. Each route will be installed in its own subdirectory.
* ``Info``: Gives more information of the selected route. The default web browser will be started with the information page.
* ``Install``: Installs the selected route. A popup mentions the directory where the route is to be installed before starting the actual install. Installation profile gets added also.
* ``Delete``: Delete route with this button. Take care: whole directory including any added and changed files gets deleted.
* ``Update``: GitHub-based routes can get updated after the install by means of this button. A check for updates is made when clicking this button and updates may be reported at the end of the information webpage. Also GitHub has a watch feature which notifies you of changes by email.
Installation Profiles
=====================
Each profile may be a folder containing one or more routes, or an optional MSTS
installation.
In the case where you already have an MSTS installation (see
paragraph :ref:`Does Open Rails need MSTS to run? <intro-MSTSneeded>` for a precise definition of
a MSTS installation) OR should already correctly point to that
installation. To check this, you should initially see under ``Installation
Profile`` the string ``- Default -``. Under ``Route`` you should see the
name of one of the MSTS routes in your MSTS installation.
You can easily add, remove or move other content profiles and select
among them (e.g. if you have any so-called ``mini-routes`` installed.).
For this select the ``Manually Installed`` tab on the ``Content`` form:
.. image:: images/content-form-manually-installed.png
This window allows you to add, remove or modify access to content.
Each profile may be a folder containing one or more routes, or an MSTS
installation.
Profiles located on other drives, or on a USB key, can be added even if they are
not always available.
Click on the *Add* button, and locate the desired installation. ORTS will
automatically enter a proposed name in the *Route:* window that will
appear in the *Installation set:* window on the main menu form. Modify
the name if desired, then click *OK* to add the new path and name to
Open Rails.
Please do not store content or any files within the folder containing the Open Rails software.
This is because the Updater operates by wiping out the contents of that folder before replacing it
with a new updated version.
It would be unfriendly for users to lose content that they have stored there, so
attempts to add a profile folder stored there are blocked and lead to an error message.
To remove an entry (note that this does not remove the installation
itself!) select the entry in the window, and click *Delete*, then *OK*
to close the window.
To modify an entry, select the route to be changed. Make the necessary changes in the ``Route`` and/or ``Path`` fields.
The *Browse...* button can be used to chnage the Path by browsing. Click *OK*
to close the window and save the changes to OR.
.. _updating-or:
Updating OR
===========
Four update modes are provided and you can update Open Rails with a single click of a button.
"Stable" is the default and recommended mode.
"Testing" is updated more frequently than the "Stable" mode.
If you follow the Open Rails project on the forums, then you will hear about bug-fixes and new features.
These are included in the "Unstable" version for developers and testers to try out.
Once they have been checked and approved, they are published (on Fridays) as the latest "Testing" version.
Any user can easily update to the current weekly "Testing" version and benefit from these improvements.
New versions are advertised and installed using the :ref:`Notifications <notifications>` feature.
You can change your current mode using Options > System > Update mode.
The fourth mode is "none", which does not search for a new version.
.. _notifications:
Notifications
=============
Notifications are brief messages sent to Open Rails when you launch Open Rails.
You can view these by clicking on the notifications icon and stop viewing by toggling the icon again.
.. image:: images/notification-icon.png
Old notifications persist, but when new ones are available, the icon is overlaid with a red indicator showing the number of new notifications.
The icons are presented in date order with the latest one first. Step through them by clicking on the arrows:
.. image:: images/notification-red-indicator.png
Static Notifications
--------------------
A simple notification may be shown in the same way to all users, such as:
.. image:: images/notification-static.png
Pressing the “Archive” button will launch your default browser to provide extra detail.
Responsive Notifications
------------------------
Many notifications show differently depending on the user’s installation.
Responsive notifications are used to advise that a new version is available.
If a new version is available, then the notification might be shown as:
.. image:: images/notification-update-available.png
As before, the button “What’s new” will launch your default browser to provide extra detail.
The “Install” button is special and launches a seamless process to download the latest version available and use it to replace the active version.
Once the user has upgraded, the previous message is no longer appropriate and the notification responds to the changes by showing as:
.. image:: images/notification-update-installed.png
Privacy Note
------------
No information is returned to the Open Rails web server.
Update Mode
-----------
There are 4 update modes – Stable, Testing, Unstable and None. More details are available :ref:`here <updating-or>`.
Note, however, that previously saved games may not be compatible with newer versions, as described :ref:`here <driving-saveresume>`.
Checking Compatibility
----------------------
Responsive notifications are also used to check that an update is compatible with your system. For example, you might see useful warnings such as:
.. image:: images/notification-update-incompatible.png
Responding to Routes
--------------------
These notifications can respond to the routes you have installed, so you can be advised of updates to routes you have already installed. For example, you might see:
.. image:: images/notification-routes.png
But this notification would be missing if you don’t already have the route installed.
Responding to Settings
----------------------
The notifications can also respond to the settings you are using - see :ref:`Open Rails Options<options>`.
In this fictional example, you might see a message encouraging you to try an improved feature:
.. image:: images/notification-settings.png
However, if you have the option turned on already, then the notification is not shown.
Communication Error
-------------------
If there is a problem with the Internet then the Notifications are replaced by a single prepared notification which gives a reason for the error and a chance to re-try:
.. image:: images/notification-error.png
Publishing Notifications
------------------------
The Notifications document explains how to publish notifications and is included in the :ref:`Documents drop-down<documents>`.
=======
When a new release of OR is available and your computer is online, a link
``Update to xnnnn`` appears in the upper right corner. The string ``xnnnn`` is
the release number of the newest release that matches your selected level
of update. Various level of updates called Update Channels are available.
You may choose the desired level in the ``Options-Update`` window, described
:ref:`below <options-updater-options>`.
When you click on the update link OR will download and install the new
release. In this way your version of Open Rails is always up to date.
Note, however, that previously saved games may not be compatible with
newer versions, as described :ref:`here <driving-saveresume>`.
Clicking the link ``What's new?`` in the upper centre part of the main menu
window will connect to a website that summarizes the most recent changes
to the OR program.
Further General Buttons
=======================
Tools
-----
By clicking this button you get access to the ancillary tools (see :ref:`here
<intro-reality>`).
.. _documents:
Documents
---------
This button becomes selectable only if you have at least once updated to a
testing version or to a stable version greater than 1.0. By clicking this
button you get immediate access to the OR documentation.
Preliminary Selections
----------------------
Firstly, under ``Route:`` select the route on which you wish to run.
If you check the ``Logging`` checkbox, Open Rails will generate a log file
named ``OpenRailsLog.txt`` that resides on your desktop. This log file is very
useful to document and investigate malfunctions.
At every restart of the game (that is, after clicking ``Start`` or ``Server``
or ``Client``) the log file is cleared and a new one is generated.
If you wish to fine-tune Open Rails for your system, click on the
``Options`` button. See the Chapter: :ref:`Open Rails Options <options>` which describes
the extensive set of OR options. It is recommended that you read this
chapter.
Gaming Modes
============
One of the plus points of Open Rails is the variety of gaming modes you
can select.
Activity, Explore and Explore with activity modes
-------------------------------------------------
As a default you will find the radio button ``Activity`` selected in the
start window, as :ref:`above <start-picture>`.
This will allow you to run an activity or run on of two types of explore mode.
If you select ``- Explore Route -`` (first entry under ``Activity:``), you will
also have to select the consist, the path, the starting time, the season
and the weather with the relevant buttons.
If you select ``+ Explore in activity mode +`` (second entry under
``Activity:``, you will have to select same items as with Explore route, but
in this case the game will automatically generate an activity (with the
player train only) and will execute it. By exploring the route in this mode
you will able to switch to autopilot mode if you like ( see :ref:`here
<driving-autopilot>` ) and you will have access to some other activity features
like :ref:`randomized weather <options-actweather-randomization>` if selected.
To select the consist you have two possibilities: either you click under
``Consist:``, and the whole list of available consists will appear, or you
first click under ``Locomotive:``, where you can select the desired
locomotive, and then click under ``Consist:``, where only the consists led
by that locomotive will appear.
If you instead select a specific activity, you won't have to perform any
further selections.
Activity Evaluation
'''''''''''''''''''
During the activity session, data about performance is stored and may be viewed as the activity progresses.
At the end of the activity a report file is generated which provides a summary of
the player's skills as a train driver.
Activity evaluation is described :ref:`here <debriefeval>`.
If you have selected the related Experimental Option, at runtime you can
switch :ref:`Autopilot mode <driving-autopilot>` on or off, which allows you
to watch OR driving your
train, as if you were a trainspotter or a visitor in the cab.
Autopilot mode is not available in Explore mode.
.. _start-timetable:
Timetable Mode
--------------
If you select the radio button ``Timetable``, the main menu window will
change as follows:
.. image:: images/start-timetable.png
Timetable mode is unique to Open Rails, and is based on a ``timetable`` that
is created in a spreadsheet formatted in a predefined way, defining trains
and their timetables, their paths, their consists, some operations to be
done at the end of the train run, and some train synchronization rules.
Timetable mode significantly reduces development time with respect to
activities in cases where no specific shunting or train operation is
foreseen. The complete description of the timetable mode can be found
:ref:`here. <timetable>`
The spreadsheet has a .csv format, but it must be saved in Unicode format
with the extension ``.timetable_or`` in a subdirectory named ``Openrails``
that must be created in the route's ``ACTIVITIES`` directory.
A specific tool (Timetable editor) is available under the "Tools" button to ease
generation of timetables.
For the game player, one of the most interesting features of timetable
mode is that any one of the trains defined in the timetable can be
selected as the player train.
The drop-down window ``Timetable set:`` allows you to select a timetable
file from among those found in the route's ``Activities/Openrails/`` folder.
Now you can select in the drop-down window ``Train:`` from all of the trains
of the timetable the train you desire to run as the Player train. Season
and weather can also be selected.
Run
---
Now, click on ``Start``, and OR will start loading the data needed for your
game. When loading completes you will be within the cab of your
locomotive! You can read further in the chapter :ref:`Driving a Train <driving>`.
Firewall
========
The game uses a built-in web-server to deliver standard and custom web-pages
to any browser - see :ref:`Web Server <web-server>`.
When the game runs for the first time, the web-server will try to use a
port on your PC to serve any browser that you might want to run.
The Windows OS will detect this and pop up a prompt to ask permission for this.
.. image:: images/firewall.png
We recommend that you grant permission as a private network even if you
don't plan to use a browser straight away.
Multiplayer Mode
----------------
Open Rails also features this exciting game mode: several players, each
one on a different computer in a local network or through the Internet,
can play together, each driving a train and seeing the trains of the other
players, even interacting with them by exchanging wagons, under the
supervision of a player that acts as dispatcher. The multiplayer mode is
described in detail :ref:`here. <multiplayer>`
Replay
------
This is not a real gaming mode, but it is nevertheless another way to
experience OR. After having run a game you can save it and replay it: OR
will save all the commands that you gave, and will automatically execute
the commands during replay: it's like you are seeing a video on how you
played the game. Replay is described :ref:`later <driving-save-and-replay>`
together with the save and
resume functions.