Command Line Options: Difference between revisions

From SignalWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 24: Line 24:


Start a simulation without any trains. Useful for testing things without having to actually dispatch trains.
Start a simulation without any trains. Useful for testing things without having to actually dispatch trains.
===Override Telephone Number===
<pre style="color:blue;font-size:16px">
-phone:<number>
</pre>
Example:
<pre style="color:blue;font-size:16px">
-phone:123456789
</pre>
Override the phone number used by the simulations Line Operations telephone system.
===Override Fax Number===
<pre style="color:blue;font-size:16px">
-fax:<number>
</pre>
Example:
<pre style="color:blue;font-size:16px">
-fax:987654321
</pre>
Override the fax number used by the simulations Line Operations fax system.





Revision as of 23:10, 1 November 2011

Contents | Developers pages | Command Line Options | Timetables | Scenario Creation | Developing Installers



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:

  • use the options.txt option
  • 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.


Override Telephone Number

-phone:<number>

Example:

-phone:123456789

Override the phone number used by the simulations Line Operations telephone system.


Override Fax Number

-fax:<number>

Example:

-fax:987654321

Override the fax number used by the simulations Line Operations fax system.


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.

Disallow Coworker Sounds

-nocoworkers

Prevents coworker sounds from playing.

Disallow Startup Music

-nomusic

Prevents music from playing on start up, if it is defined for the simulation.



Contents | Developers pages | Command Line Options | Timetables | Scenario Creation | Developing Installers