Command line parameters

Moderators: Tony, Sharkku

Command line parameters

Postby abrahad » Tue Feb 20, 2018 7:15 am

Does Flyinsidefsx.exe support command line parameters in the same way as fsx.exe? I use this in FSX to create several shortcuts to select a different .cfg file for each type of aircraft I want to use eg.
FSX_stick_glider.cfg
FSX_stick_prop.cfg
FSX_yoke_jet.cfg
FSX_helicopter.cfg

The shorcut would then be of the form "D:\Program Files (x86)\Steam\steamapps\common\FSX\fsx.exe" /CFG:FSX-stick_glider.cfg

I can then edit each .cfg file to load and save controls, buttons etc to seperate .xml files. I have been trying to setup Flyinside in the same way but can't seem to avoid loading fsx.cfg.
CPU AMD ryzen 5 3600 - GPU Nvidia GTX 1060 6GB - RAM 16gb DDR4 - Mobo Asus ROG Strix b450-f - Drive 250GB SSD - OS Win 10 x64 - Simulator FSX-SE - VR Oculus Rift
abrahad
 
Posts: 6
Joined: Tue Feb 20, 2018 7:04 am

Re: Command line parameters

Postby Tony » Tue Feb 20, 2018 10:06 am

Hi mate :) ok got this from Dan for you.

If you add this to your Flyinside.cfg which you can find under the appdata/roaming/Flyinside folder tree.

[Loading]
ForceVRModeDev = 1

Add that to your FlyInside.cfg it will let you launch FlyInside by running FSX.exe directly, rather than through FlyInsideFSX.exe. 

One thing he's not sure of, is if FlyInside will respect the secondary cfg or not?

Please let us know how you get on ;)
Tony F
Customer Support = contact tony@flyinside-fsx.com
FlyInside Inc.
Tony
 
Posts: 4924
Joined: Sat May 30, 2015 3:20 pm
Location: Rift User

Re: Command line parameters

Postby abrahad » Wed Feb 21, 2018 8:58 am

Hi Tony,
Couldn't get that to work but I've come up with another solution. I have created a batch file to start FlyinsideFSX with the control setup I want.
Example: FSXVR_stick_prop.bat

----------------------------------------------------------------------------------------
REM Batch file to start FlyinsideFSX with controls for joystick and prop aircraft

REM copy control set I want to Standard.xml
c:
cd C:\Users\David\AppData\Roaming\Microsoft\FSX\Controls
copy /y FSX-stick_prop.xml Standard.xml

REM start programme in correct directory
d:
cd D:\"Program Files (x86)"\Steam\steamapps\common\FSX
FlyInsideFSX.exe

Rem wait for Enter keypress before saving control set
set /p dummy=Hit Enter to close

REM save control set in case it was altered
c:
cd C:\Users\David\AppData\Roaming\Microsoft\FSX\Controls
copy /y Standard.xml FSX-stick_prop.xml
------------------------------------------------------------

I have one .xml and one .bat file for each configuration/aircraft type.
CPU AMD ryzen 5 3600 - GPU Nvidia GTX 1060 6GB - RAM 16gb DDR4 - Mobo Asus ROG Strix b450-f - Drive 250GB SSD - OS Win 10 x64 - Simulator FSX-SE - VR Oculus Rift
abrahad
 
Posts: 6
Joined: Tue Feb 20, 2018 7:04 am


Return to Aircraft Compatibility with FSX

Who is online

Users browsing this forum: No registered users and 1 guest

cron