General Question Launching Orbiter after compilation

Goth

Occasional orbinaut
Donator
Joined
Aug 1, 2008
Messages
424
Reaction score
2
Points
0
How do you tell your Visual Studio 2010 Express project to launch Orbiter.exe (if possible, even better, also telling it to launch a specific scenario directly) after compilation? Because now it tries to launch my DLL.
Thanks.
 

RisingFury

OBSP developer
Addon Developer
Joined
Aug 15, 2008
Messages
6,427
Reaction score
492
Points
173
Location
Among bits and Bytes...
In your project properties, go under Debugging and set Command to
C:\Where\ever\is\your\Orbiter\orbiter.exe

and working directory to
C:\Where\ever\is\your\Orbiter

As far as launching a specific scenario, I'm not sure if it's possible, but if it is, you'll probably need to add it to the Command field.
 

orb

New member
News Reporter
Joined
Oct 30, 2009
Messages
14,020
Reaction score
4
Points
0
If you use Orbiter property sheets :)P), then the command is simply for every project and every Orbiter installation:
Code:
$(OrbiterDir)\orbiter.exe
and the working directory:
Code:
$(OrbiterDir)

To launch a specified scenario at start, put in Command Arguments:
Code:
-s "Your scenario name"
 
Top