Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G


Jump to: navigation, search

Command line options

202 bytes added, 19:09, 13 October 2009
corrections after proofreading
'''Command line options ''' are a common way to tell applications what to do/how to act on startup. With [[FlightGear]] they are used for many things, from simple ones like selecting an aircraft up to complex stuff like network traffic and weather parameters.
The easiest way to handle those options for FlightGear (''fgfs'') is using a tool with a graphical user interface like ''[[fgrun]]'' on Windows and GNU/Linux or the Mac OS X GUI-Launcher. This way one don't have to bother 'bout them at all.<BR>
The following lists show the options for ''fgfs'' including a short description and sorted by categories. Please have in mind that keeping those lists up to date on the wiki is not an easy task. Also there are different versions of FlightGear out there which don't share exactly the same options. Therefore you better also check your versions ones with <code>fgfs --help --verbose</code>. If this command fails, you may add the option <code>--fg-root=[path]</code> as well, see below.<BR>
It is sad but true, not even this command is , at least in CVS, up to date all the time. At the time of writing at least one option which is supported is not shown with <code>fgfs --help --verbose</code>. So if you have serious issues with an option, the source code is, as always, also the best source for info. In the file ''src/Main/options.cxx'' all the options are listed with their hard coded ''default'' setting and type.<BR>The file $FG_ROOT/options.xml is used to generate the output for <code>fgfs --help [--verbose]</code>. That's the reason why <code>--fg-root=[path]</code> has to be added to <code>fgfs --help --verbose</code> this, if it is not set as environmental variable or as option in fgfsrc.
Defaults to $FG_ROOT/Scenery
(--language=code Select the language for this session
*Not* supportet supported in 1.9.1 and CVS atm!)
--disable-game-mode Disable full-screen game mode
--enable-game-mode Enable full-screen game mode
--units-feet Use feet for distances
--units-meters Use meters for distances
--disable-hud-3d Disable 3D HUD
--enable-hud-3d Enable 3D HUD
--ai-scenario=scenario Add and enable a new scenario. Multiple options
are allowed. Scenarios are in /$FG_ROOT/AI/.
--turbulence=0.0 to 1.0 Specify turbulence from 0.0 (calm) to 1.0
Create an overcast ceiling, optionally with a
--enable-enhanced-lighting Enable enhanced runway lighting
--season=winter Enable snow (not falling, yet)
Disable runway light distance attenuation
Enable runway light distance attenuation
Disable specular reflections on textured
--time-match-real Synchronize time with real-world time
--time-match-local Synchronize time with local real-world time
Specify a starting date/time with respect to
system time
Specify a starting date/time with respect to
Greenwich Mean Time
Specify a starting date/time with respect to
--callsign assign a unique name to a player
Specify multipilot communication settings
--turbulence=0.0 to 1.0 Specify turbulence from 0.0 (calm) to 1.0
Create an overcast ceiling, optionally with a
specific thickness (defaults to 2000 ft).
==== Debugging Options ====
Set the logging level for this session.
0=verbose, 5=alerts only

Navigation menu