General Question orbiter.exe launch options?

nerdy

New member
Joined
Oct 2, 2014
Messages
2
Reaction score
1
Points
0
Hi,

I'm working on an assignment for a school project and we are using orbiter as a base. What we would like to do is to be able to launch a given scenario using only command-line, eg.
Code:
orbiter.exe --scenario "Scenarios\Shuttle-A\Shuttle-A Launch.scn"

Does the orbiter executable accept arguments like those? or is there an alternate way to do this without using the launchpad?

Thanks :cheers:
 

orb

New member
News Reporter
Joined
Oct 30, 2009
Messages
14,020
Reaction score
4
Points
0
Code:
orbiter.exe -s <scenario-name>

scenario-name is relative to Scenarios subdirectory of Orbiter. You need to omit the trailing ".scn" from the file name.

-s (lower-case) terminates Orbiter after you end simulation session
-S (upper-case) uses the default shutdown option


For your example:
Code:
orbiter.exe -s "Shuttle-A\Shuttle-A Launch"
 

nerdy

New member
Joined
Oct 2, 2014
Messages
2
Reaction score
1
Points
0
This is perfect, thank you :tiphat:
 

Ripley

Tutorial translator
Donator
Joined
Sep 12, 2010
Messages
3,135
Reaction score
409
Points
123
Location
Rome
Website
www.tuttovola.org
If you prefer to launch the graphics client version, your command line would look like this:

Code:
Modules\Server\orbiter.exe -s <scenario_path\filename>

With scenario path/filename without extension and between quotes if there are blanks.
 
Top