Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Topgun on December 07, 2010, 09:06:32 pm

Title: Example config file for linux?
Post by: Topgun on December 07, 2010, 09:06:32 pm
Can't find one in the wiki. Anyone care to share?
Title: Re: Example config file for linux?
Post by: The E on December 07, 2010, 09:09:42 pm
Uhhh.

config file?
Title: Re: Example config file for linux?
Post by: kkmic on December 10, 2010, 07:17:57 am
Can't find one in the wiki. Anyone care to share?
Do you mean a launch script? There are several launchers available for Linux. Just check the latest release thread (http://www.hard-light.net/forums/index.php?topic=70692.0) if you're looking for one.
Title: Re: Example config file for linux?
Post by: Topgun on December 10, 2010, 12:05:11 pm
Im talking about ~/.fs2_open/fs2_open.ini. can I see an example that includes things like mod folders and switches?
Title: Re: Example config file for linux?
Post by: Iss Mneur on December 11, 2010, 04:02:10 pm
Im talking about ~/.fs2_open/fs2_open.ini. can I see an example that includes things like mod folders and switches?
Mod folders and switches are not stored there.  fs2_open.ini stores things the the resolution, bit depth, etc. (the stuff that is stored in the registry on windows) which are set by a launcher.  Run a launcher once, and it will setup the file and then you won't have to bother with it any more, especially becuase the resolution can be set by -res.

Mod folders and the other commandline switches are stored in the <game data folder>/data/cmdline_fso.cfg as a single line.  Though because you are on linux you can either just put the switches into a shell script and pass them to FSO directly on the proper command line, or you can put the cmdline_fso.cfg file in ~/.fs2_open/data/cmdline_fso.cfg.