Jump to content
The simFlight Network Forums

Problem with cmd line params using external program facility in FSUIPC4


Recommended Posts

Hi Pete/John;

I've been trying to get OpusFSI to run using the FSUIPC Run= facility, and I kept getting an error=2 when I tried to run it with a command line parameter per the documentation. 

The advanced user doc says: "If the program needs command-line parameters these can be included by enclosing the whole value in quotes, so that the space(s) needed don't cause problems."  It appears that guidance is in error...if the space and command line param are placed inside the quotes, it appears to be trying to use the parameter as part of the file name.

If I use:

Run1=READY,KILL,AM=XC0,"X:\OpusFSI_v5\FSISERVER.EXE" 

the program runs, but in its default (P3D) mode.  To run it in FSX:SE mode, it needs the command line parameter " STEAM" appended to the command line.  But if I try to run it with this line:

Run1=READY,KILL,AM=XC0,"X:\OpusFSI_v5\FSISERVER.EXE STEAM"

I get an unable to run line in the log with error=2, which I understand is a file not found error.  If I add the command line param after the quotes, as below, it loads as intended, in FSX:SE mode:

Run1=READY,KILL,AM=XC0,"X:\OpusFSI_v5\FSISERVER.EXE" STEAM

Cheers

Bob Scott

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.