$FG ROOT: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
mNo edit summary
m (fgdata vs. fgroot confusion)
Line 1: Line 1:
'''$FG_ROOT''' is refered to as the main directory of [[FlightGear]], containing the so called ''base package'' (default [[aircraft]] and [[scenery]], [[Menubar|GUI]] files etc). When running FlightGear from a [[command line]], you can set $FG_ROOT via <tt>--fg-root=path/to/root</tt>. In [[FGRun]], it is set on the paths page, previous to the aircraft selection page.
'''$FG_ROOT''' is referred to as the main data directory of [[FlightGear]], containing the so called ''base package'' (default [[aircraft]] and [[scenery]], [[Menubar|GUI]] files, sounds, 3D models etc). With '''fgdata''' being the name of the gitorious repository containing the base package<ref>https://www.mail-archive.com/search?q=fgdata&l=flightgear-devel%40lists.sourceforge.net</ref><ref>https://www.mail-archive.com/search?l=flightgear-devel%40lists.sourceforge.net&q=fg_data&x=0&y=0</ref>. When running FlightGear from a [[command line]], you can set $FG_ROOT via <tt>--fg-root=path/to/root</tt>. In [[FGRun]], it is set on the paths page, previous to the aircraft selection page.


As of FlightGear 2.4, it is advised to install additional scenery and aircraft in [[$FG_SCENERY]] and [[$FG_AIRCRAFT]] directories outside $FG_ROOT. This allow for maintaining the additional stuff when installing a new version of FlightGear.
As of FlightGear 2.4, it is advised to install additional scenery and aircraft in [[$FG_SCENERY]] and [[$FG_AIRCRAFT]] directories outside $FG_ROOT. This allow for maintaining the additional stuff when installing a new version of FlightGear.
Line 10: Line 10:
: {{note|Newer Windows versions are very, very protective about the <tt>Program Files</tt> folder and installing FlightGear into this folder makes it prone to any problems relating to file read/write permissions. Hence, installing FlightGear into <tt>Program Files</tt> on Windows Vista and later is not recommended.}}
: {{note|Newer Windows versions are very, very protective about the <tt>Program Files</tt> folder and installing FlightGear into this folder makes it prone to any problems relating to file read/write permissions. Hence, installing FlightGear into <tt>Program Files</tt> on Windows Vista and later is not recommended.}}


<references/>
[[Category:Special directories|ROOT]]
[[Category:Special directories|ROOT]]



Revision as of 16:13, 18 January 2015

$FG_ROOT is referred to as the main data directory of FlightGear, containing the so called base package (default aircraft and scenery, GUI files, sounds, 3D models etc). With fgdata being the name of the gitorious repository containing the base package[1][2]. When running FlightGear from a command line, you can set $FG_ROOT via --fg-root=path/to/root. In FGRun, it is set on the paths page, previous to the aircraft selection page.

As of FlightGear 2.4, it is advised to install additional scenery and aircraft in $FG_SCENERY and $FG_AIRCRAFT directories outside $FG_ROOT. This allow for maintaining the additional stuff when installing a new version of FlightGear.

Common paths

  • Mac OS X: Applications/FlightGear.app/Contents/Resources/data/ (right-click on FlightGear.app and select "Show Package Contents" to see the Contents folder)
$FG_ROOT is not installed automatically. See New to FlightGear for an installation manual.
  • Ubuntu: /usr/share/games/flightgear/
  • Windows: Program Files\FlightGear\data\ (default, see note!)
Note  Newer Windows versions are very, very protective about the Program Files folder and installing FlightGear into this folder makes it prone to any problems relating to file read/write permissions. Hence, installing FlightGear into Program Files on Windows Vista and later is not recommended.