Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: carn1x on January 04, 2011, 09:00:26 am

Title: Running Linux client from CLI, what are the arguments?
Post by: carn1x on January 04, 2011, 09:00:26 am
Can I simply run the Linux client with the same command line arguments as those provided by the Windows Launcher?

Sorry if this is the wrong forum, I couldn't make up my mind where to ask :S
Title: Re: Running Linux client from CLI, what are the arguments?
Post by: Jeff Vader on January 04, 2011, 09:15:09 am
You mean, can you run the Linux build with command-line options like " -mod mediavps_3612 -spec -glow -env"? Yes, yes you can.

The idea of Launchers is to simplify the usage of those options for the less skillful users.
Title: Re: Running Linux client from CLI, what are the arguments?
Post by: carn1x on January 04, 2011, 10:00:34 am
I thought it was likely, are all the arguments identical?

I ask because I can't seem to find YAL, but I have no aversion to running command line stuff anyway. However fs2_open_3_6_12_INF_r doesn't appear to have a man page :)

Also, FSOInstaller just doesn't seem to work properly. I run:

Code: [Select]
java -jar FreeSpaceOpenInstaller.jar
but it just loads a window with the Title image and text:

Code: [Select]
You are about to use the FreeSpace Open Installer. Make sure that your internet connection is working and that your firewall isn't blocking this application.
The bottom of the window extends below the bottom of my screen and I can't use Alt+Mouse3 to resize it. Additionally the window won't close unless I kill the process. The window is responsive however as I can copy+paste the text in it. If I run the same JAR file in windows, it all downloads and installs fine. I'm assuming I'm doing it wrong.

The terminal output before I kill it is simply:

Code: [Select]
IntroPage(23776721)
DirPage(25934938)
ConfigPage(16437003)
SelectPage(3083761)
InstallPage(20736546)
ExitPage(22808536)
www.fsoinstaller.com
/files/installer/java/

I'd love to not have to reboot to Windows for this like everything else, please help! :)

Thanks
Title: Re: Running Linux client from CLI, what are the arguments?
Post by: Jeff Vader on January 04, 2011, 10:16:44 am
Yes, the arguments are identical.
Title: Re: Running Linux client from CLI, what are the arguments?
Post by: carn1x on January 04, 2011, 11:06:05 am
Ok, turns out I installed OpenJDK ages ago for the browser plugin. In order to set Sun JDK as default, on Ubuntu at least, you can run:

Code: [Select]
sudo update-alternatives --config java
This then presents a menu where you can choose which to make default. From here I chose the Sun JDK, and now FSOInstaller runs perfecto :D