airforce2 Posted July 23, 2019 Report Posted July 23, 2019 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
spokes2112 Posted July 23, 2019 Report Posted July 23, 2019 I would hazard to guess this may work, similar to batch or lua ext.shell(path, options) - Run1=READY,KILL,AM=XC0,"X:\OpusFSI_v5\FSISERVER.EXE" "STEAM" Roman
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now