You are here: Wiki > start > usertrack > command_line

Table of Contents

Command Line
View Window
Control Window
Message Window
Startup
New Session
Load Session
Join Session

Command Line

SimSig can be started with command line options. Most follow the format -xx:yy where xx is the option and yy is the value. These are as follows:

View Window

All four of vx/vy/vw/vh must be specified together otherwise the simulator defaults will be used.
Option Description Example
-vx Screen X position of the view window -vx:50
-vy Screen Y position of the view window -vy:100
-vw Width of the view window -vw:640
-vh Height of the view window -vh:512

Control Window

The control window is a fixed size.
Option Description Example
-cx Screen X position of the control window -cx:50
-cy Screen Y position of the control window -cy:100

Message Window

Options can be specified individually: simulator defaults will be used for missing options.
Option Description Example
-mx Screen X position of the message window -mx:50
-my Screen Y position of the message window -my:100
-mw Width of the message window -mw:480
-mh Height of the message window -mh:128

Startup

One of the following options may be used to automatically start a session:

Option Description Example
-action:new Start a new simulation session -action:new
-action:load Load a saved simulation session -action:load
-action:join Join a multiplayer session -action:join

New Session

"Launch" will start to load the simulation. It is not currently possible to select a timetable or simulation options so launching will be without a timetable and with default simulation options.
Option Description Example
-sim Simulation identity -sim:exeter
-server Start in server mode with the specified port number -server:50505
-pause Start paused (yes/true/1 to pause; no/false/0 to not pause) -pause:yes
-launch Launch the sim without user input -launch:true

Load Session

Not implemented yet

Option Description Example
-load Load saved simulation from file -load:saved_game.ssg
-server Start in server mode with the specified port number -server:50505
-pause Start paused (yes/true/1 to pause; no/false/0 to not pause) -pause:yes
-launch Launch the sim without user input -launch:true

Join Session

Not implemented yet

Option Description Example
-sim Simulation identity -sim:exeter
-ip Connect to the specified server IP address -ip:127.0.0.1
-port Connect to the specified server IP port -port:50505
-launch Launch the sim without user input -launch:true

Last edited by GeoffM on 15/09/2016 at 03:00