Fgfsrc: Difference between revisions

Jump to navigation Jump to search
78 bytes added ,  8 October 2009
no edit summary
(temporarily finished :P)
No edit summary
Line 1: Line 1:
= fgfsrc =
= fgfsrc =
The files ''fgfsrc'' purpose is to contain [[Command Line Parameters]] which are read by ''fgfs'' at startup. This is for users who start FlightGear from the [[command line]], users using a graphical user interface like [[fgrun]] don't have to bother about this at all. Anyhow, it is possible to use fgrun to create your personal set of options by copy'n'paste_ing them from the ''Show command line'' textbox into ''fgfsrc''.
The files ''fgfsrc'' purpose is to contain [[Command Line Parameters]] which are read by ''fgfs'' at startup. This is for users who start FlightGear from the [[command line]], so users using a graphical user interface like [[fgrun]] don't have to bother with this at all. Anyhow, it is possible to use fgrun to create your personal set of options by copy-and-pasting them from the ''Show command line'' textbox (on the last page of FGRun) into ''fgfsrc''.




It is very likely that this file does not exist on your system yet and therefore has to be created by the user, you. The contents of the file are handled the same way by ''fgfs'' on all operating systems. But the name and location is not:
It is very likely that this file does not exist on your system yet, and therefore has to be created by the user, you. The contents of the file are handled the same way by ''fgfs'' on all operating systems, but the name and location is not:


* on ''GNU/Linux'' (POSIX = Mac OS X?) the file is called ''.fgfsrc'' (note the leading dot!) and ''fgfs'' is looking for it inside the users $HOME directory. To figure out where this is on your system, open a terminal window (shell) and enter <code>cd $HOME</code>.
* on ''GNU/Linux'' and ''Mac OS X'' the file is called ''.fgfsrc'' (note the leading dot!). ''Fgfs'' is looking for it inside the user's $HOME directory. To figure out where this is on your system, open a terminal window (shell) and enter <code>cd $HOME</code>.


* on ''Windows'' systems the file is called ''system.fgfsrc'' and lives in $FG_ROOT which, on a standard installation, is ''C:\Program Files\FlightGear\data''.
* on ''Windows'' systems the file is called ''system.fgfsrc'' and lives in $FG_ROOT which, on a standard installation, is ''C:\Program Files\FlightGear\data''.
Line 13: Line 12:
===== Some 'rules' for the content: =====
===== Some 'rules' for the content: =====
* Each line contains one option only.
* Each line contains one option only.
* If the first 'visible' character is a '#', ''fgfs'' does not read this line (comment).
* If the first 'visible' character is a '#', ''fgfs'' does not read this line (comment) and totally ignores it.
* Lines containing an option followed by a comment are *not* allowed! (<code>--some-option  # some comment</code>)
* Lines containing an option followed by a comment are *not* allowed! (<code>--some-option  # some comment</code>) ''Fgfs'' will not ignore this.




Line 101: Line 100:




Please feel free to add other usefull options to the temporary and basic ones!!!
Please feel free to add other useful options to the temporary and basic ones!!!
127

edits

Navigation menu