Command Line Options: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
Command line options are useful for controlling the behaviour of the simulator without having to use the program's [http://en.wikipedia.org/wiki/Graphical_user_interface GUI]. An example of such options is the following: | Command line options are useful for controlling the behaviour of the simulator without having to use the program's [http://en.wikipedia.org/wiki/Graphical_user_interface GUI]. An example of such options is the following: | ||
<pre style="color:blue;font-size: | <pre style="color:blue;font-size:16px"> | ||
C:\Program Files\Signalsoft\Zentralstellwerk Köln Hbf\Zentralstellwerk Köln Hbf.exe -x -l | C:\Program Files\Signalsoft\Zentralstellwerk Köln Hbf\Zentralstellwerk Köln Hbf.exe -x -l | ||
</pre> | </pre> | ||
| Line 15: | Line 15: | ||
===No Trains=== | ===No Trains=== | ||
<pre style="color:blue;font-size: | <pre style="color:blue;font-size:16px"> | ||
-notrains | -notrains | ||
</pre> | </pre> | ||
| Line 24: | Line 24: | ||
===Free Speed=== | ===Free Speed=== | ||
<pre style="color:blue;font-size: | <pre style="color:blue;font-size:16px"> | ||
-simspeed | -simspeed | ||
</pre> | </pre> | ||
| Line 33: | Line 33: | ||
===Developer Mode=== | ===Developer Mode=== | ||
<pre style="color:blue;font-size: | <pre style="color:blue;font-size:16px"> | ||
-x | -x | ||
</pre> | </pre> | ||
| Line 42: | Line 42: | ||
===Log Mode=== | ===Log Mode=== | ||
<pre style="color:blue;font-size: | <pre style="color:blue;font-size:16px"> | ||
-l | -l | ||
</pre> | </pre> | ||
Writes to the program log located in the ''C:\Documents and Settings\User\My Documents\Signalsoft\APPNAME\logs\'' folder. '''Developer Mode must be active for logging to work.''' | Writes to the program log located in the ''C:\Documents and Settings\User\My Documents\Signalsoft\APPNAME\logs\'' folder. '''Developer Mode must be active for logging to work.''' | ||
Revision as of 22:36, 2 July 2011
Command line options are useful for controlling the behaviour of the simulator without having to use the program's GUI. An example of such options is the following:
C:\Program Files\Signalsoft\Zentralstellwerk Köln Hbf\Zentralstellwerk Köln Hbf.exe -x -l
The command line switches -x and -l enable Developer Mode, and Logging Mode, respectively. To use these options, you may:
- start the program directly from the command line
- modify the desktop shortcut's "target" property
- write a batch file (*.bat)
No Trains
-notrains
Start a simulation without any trains. Useful for testing things without having to actually dispatch trains.
Free Speed
-simspeed
Allows unrestricted simulation speed. Undefined behaviour may occur in simulations simulated at speeds larger than 4X.
Developer Mode
-x
Enables Developer Mode. Allows access to "Dev" menu item which has useful scenario and timetable editing options. In Developer mode, more dialog boxes may appear.
Log Mode
-l
Writes to the program log located in the C:\Documents and Settings\User\My Documents\Signalsoft\APPNAME\logs\ folder. Developer Mode must be active for logging to work.