$FG HOME: Difference between revisions

Jump to navigation Jump to search
132 bytes added ,  23 March 2013
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
'''$FG_HOME''' is a placeholder variable representing the path to where user-specific data is stored (not application data). $FG_HOME is NOT an environment variable that needs to be specifically configured for FlightGear to work, unlike [[$FG_ROOT]]. $FG_HOME is only used to refer to the OS-specific location for some settings/folders.
'''$FG_HOME''' is a placeholder variable representing the path to where user-specific data is stored (not application data). Unlike $FG_ROOT, $FG_HOME is NOT an environment variable that needs to be specifically configured for FlightGear to work. $FG_HOME is only used to refer to the OS-specific location for some settings/folders. The actual location of $FG_HOME will be determined by the fgfs binary during startup, it is a name for a directory that varies with the various operating systems supported by FG (Windows, OSX and Linux) and it stores information between sessions, such as: configuration/preferences, properties marked with the "user-archive" attribute and aircraft-specific settings (using the data helper class in aircraft.nas).  
 
Basically, it is a name for a directory that varies with the operating system and stores information between sessions: configuration/preferences, properties marked with the "user-archive" attribute and aircraft-specific settings (using the data helper class in aircraft.nas).  


===Common paths===
===Common paths===

Navigation menu