FGFS(1)

๐Ÿ“ฆ
version 2024.1.6 ยท 2 versions
, in fedora 43, fedora 44, ubuntu resolute, ubuntu stonking

๐Ÿ’– fgfs โ€” the FlightGear manual page, bestie edition ๐Ÿ’–

okay so welcome to fgfs(1), aka the FlightGear man pages, aka the place where your girl explains the whole flight sim to you like we're texting at 2am. grab a snack ๐Ÿ“, this is a long one, but I promise it slaps.


๐ŸŒธ NAME ๐ŸŒธ

fgfs โ€” literally the FlightGear flight simulator. that's it. that's the name. iconic.


โœจ SYNOPSIS โœจ

fgfs [options...]

yeah bestie, you just run it with options. that's the whole vibe. ๐Ÿ’…


๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

okay so fgfs is the main executable for FlightGear. and FlightGear itself? it's a free, open-source, multi-platform, sophisticated flight simulator framework โ€” built for developing and pursuing interesting flight simulator ideas. like, it's not just a game, it's a whole framework, and it's giving main character energy fr fr. ๐Ÿ›ฉ๏ธ๐Ÿ‘‘


๐Ÿ’œ OPTIONS ๐Ÿ’œ

here's how the options actually get read, and this part matters, so pay attention bestie:

  1. First, options are read from the command-line arguments you passed to fgfs.
  2. Then the program checks whether ~/.fgfsrc.hostname exists (where hostname is the hostname of the machine) and whether ~/.fgfsrc exists. If at least one of those files exists, it gets read and parsed.

and if you're curious about the full specs of that file format, go peek at the fgfsrc(5) man page. ๐Ÿ“–

conflicting options? the ones read last win. periodt.

๐ŸŽ€ General options ๐ŸŽ€

  • --help, -h โ€” shows you usage info about the most relevant command-line options, then dips. โœŒ๏ธ
  • --verbose, -v โ€” when you pair this with --help/-h, it shows usage info about all the command-line options, not just the relevant ones. the full tea, no filter. โ˜•
  • --version โ€” spills the version info for fgfs plus some of the libraries it uses (SimGear, OpenSceneGraph, PLIB), then exits. flexing its whole stack, honestly. ๐Ÿ’ช
  • --fg-root=path โ€” sets the FlightGear data root directory ($FG_ROOT) to path. If you don't set this option, fgfs uses the path in the FG_ROOT environment variable or โ€” if that's not there either โ€” the FlightGear data directory that got chosen back when the program was compiled. ๐Ÿ—‚๏ธ
  • --fg-scenery=path โ€” sets the FlightGear scenery directories ($FG_SCENERY) to path.

You can drop in multiple directories by separating them with colons (:), like /first/path:/second/path. On Microsoft Windows operating systems though, separate multiple paths with semicolons instead. when you do that, fgfs searches for scenery files following the order you wrote the paths in, and stops the second it finds a match. ๐Ÿ”

If this option isn't set, fgfs uses the path in the FG_SCENERY environment variable or โ€” absent that โ€” the Scenery subdirectory inside $FG_ROOT.

  • --fg-aircraft=path โ€” loads extra aircraft from path, on top of the Aircraft subdirectory inside $FG_ROOT. OR, alternatively, you can use --aircraft-dir to target a specific aircraft in a given directory. ๐Ÿ›ซ
  • --download-dir=path โ€” stores aircraft and scenery downloaded through the simulator in path.

Also, the TerraSync directory can be specifically set with the --terrasync-dir option. ๐Ÿ“ฅ

  • --allow-nasal-read=dirs โ€” lets Nasal aircraft scripts read files from the directories listed in dirs (separate multiple paths with colons, or semicolons on Microsoft Windows operating systems).

By default, Nasal scripts are allowed to read data only from $FG_ROOT and $FG_HOME, and that's a security measure. so like, this flag is you unlocking the door on purpose. ๐Ÿ”

  • --read-only โ€” makes $FG_HOME (where all your user-specific FlightGear data lives) read-only. ๐Ÿšซโœ๏ธ
  • --language=code โ€” sets the language the simulator uses to code, where code is an ISO 639-1 two-letter locale code (for example, en or it). ๐ŸŒ
  • --restore-defaults โ€” resets all user settings back to their defaults. factory reset moment. ๐Ÿ”„
  • --enable-save-on-exit, --disable-save-on-exit โ€” save / do not save user settings when the program exits.
  • --ignore-autosave โ€” ignores the user settings saved the previous time FlightGear was run. and heads up: this option implies --disable-save-on-exit. ๐Ÿ“
  • --browser-app=path โ€” uses the Web browser specified in path to open aircraft documentation. ๐ŸŒ
  • --prop:[type:]name=value โ€” sets the property name to value. You can optionally specify the property type by setting type to string, double, float, long, int or bool. ๐Ÿงฉ
  • --config=path โ€” loads additional configuration directives from path. That file should follow the format described in fgfsrc(5).
  • --no-default-config โ€” don't load any configuration files unless they were explicitly specified with --config. no sneaky defaults, we're doing this on purpose. ๐Ÿ’…
  • --units-feet โ€” uses feet as the internal measure unit for distances. ๐Ÿฆถ
  • --units-meters โ€” uses meters as the internal measure unit for distances. ๐Ÿ“
  • --console โ€” displays a console window for simulator/aircraft debugging purposes.

โš ๏ธ This option is recognized only on Microsoft Windows operating systems; on other systems, debug messages are always printed to standard output/standard error anyway.

  • --launcher โ€” starts the FlightGear Launcher, a graphical Qt-based interface to the simulator. โœจ

heads up: this option is available only if FlightGear was compiled with Qt support enabled.

  • --json-report โ€” prints a report in JSON format on the standard output. the report gives you useful debugging info, like the FlightGear version, the scenery/aircraft paths in use, the TerraSync and the data download directories, and the paths to navigation data files. ๐Ÿงพ

๐Ÿ”ฅ Features ๐Ÿ”ฅ

  • --enable-panel, --disable-panel โ€” enable/disable the pop-up aircraft instrument panel, if the chosen airplane has one.
  • --enable-hud, --disable-hud โ€” enable/disable the heads-up display (HUD), if the chosen airplane has one.
  • --enable-anti-alias-hud, --disable-anti-alias-hud โ€” enable/disable heads-up display antialiasing.
  • --enable-hud-3d, --disable-hud-3d โ€” enable/disable the 3D version of the heads-up display.
  • --hud-tris โ€” displays the number of triangles rendered when painting the heads-up display. ๐Ÿ”บ
  • --hud-culled โ€” displays the number of triangles culled when painting the heads-up display.
  • --enable-random-objects, --disable-random-objects โ€” show/hide random scenery objects, like buildings. Scenery objects increase realism, but they require more resources (memory and graphic card power). so it's a tradeoff, bestie. ๐Ÿ™๏ธ
  • --enable-random-vegetation, --disable-random-vegetation โ€” show/hide random vegetation. ๐ŸŒณ
  • --enable-random-buildings, --disable-random-buildings โ€” show/hide random buildings. ๐Ÿข
  • --enable-ai-models, --disable-ai-models โ€” enable/disable the internal AI subsystem, which is required for multiplayer gaming, AI traffic and many other animations.
Disabling the internal AI subsystem is deprecated. just so you know.
  • --enable-ai-traffic, --disable-ai-traffic โ€” enable/disable artificial plane traffic. โœˆ๏ธ
  • --ai-scenario=scenario โ€” adds and enables the AI scenario scenario. and you can repeat this option multiple times to enable multiple scenarios. the more the merrier honestly.
  • --enable-freeze โ€” starts the simulator in a frozen (paused) state. ๐ŸงŠ
  • --disable-freeze โ€” starts the simulator in a running (unpaused) state. ๐Ÿƒโ™€๏ธ
  • --enable-fuel-freeze โ€” do not consume any fuel (keeps the quantity in the tanks constant). โ›ฝ
  • --disable-fuel-freeze โ€” consume fuel normally.
  • --enable-clock-freeze โ€” doesn't let the clock advance while running the simulation. โฐ
  • --disable-clock-freeze โ€” lets the clock advance normally.
  • --failure=pitot|static|vacuum|electrical โ€” fails the aircraft pitot, static, vacuum or electrical systems. you can repeat this option multiple times to fail more than one system. chaotic, but okay. ๐Ÿ’€
  • --load-tape=tape โ€” loads and replays the flight recorder tape tape. ๐Ÿ“ผ

๐Ÿ”Š Audio options ๐Ÿ”Š

  • --show-sound-devices โ€” shows a list of available audio devices and exits. ๐ŸŽง
  • --sound-device=name โ€” sets the sound device to use to name, where name is the device name shown by the --show-sound-devices option.
  • --enable-sound, --disable-sound โ€” enable/disable sound in the simulator.

๐ŸŒˆ Rendering options ๐ŸŒˆ

  • --terrain-engine=tilecache|pagedLOD โ€” chooses the terrain engine to use. tilecache is the "traditional" terrain engine (recommended โœ…); pagedLOD is a new, experimental terrain engine designed to minimize memory usage by loading more detailed versions of scenery objects on demand.

ngl the pagedLOD engine is available only if FlightGear was compiled with GDAL support.

  • --lod-levels=levels โ€” sets the level of detail levels to levels, where levels is a space-separated list of numeric levels. โš ๏ธ this option is available only if the terrain engine in use is pagedLOD.
  • --lod-res=resolution โ€” sets the terrain mesh resolution to resolution. โš ๏ธ available only if the terrain engine in use is pagedLOD.
  • --lod-texturing=bluemarble|raster|debug โ€” sets the terrain texture method. โš ๏ธ available only if the terrain engine in use is pagedLOD.
  • --lod-range-mult=multiplier โ€” sets the range multiplier (the breakpoint from a low to a high level of detail) to multiplier. โš ๏ธ available only if the terrain engine in use is pagedLOD.
  • --enable-splash-screen, --disable-splash-screen โ€” show/hide the simulator splash screen while loading the aircraft/scenery.
  • --enable-mouse-pointer, --disable-mouse-pointer โ€” force enable display / do not force display the mouse pointer at startup. ๐Ÿ–ฑ๏ธ
  • --max-fps=frequency โ€” limits the maximum frame rate of the simulator to frequency Hz (frames per second). ๐ŸŽž๏ธ
  • --bpp=depth โ€” uses a color depth of depth bits per pixel to display the aircraft and scenery.
  • --fog-disable, --fog-fastest, --fog-nicest โ€” choose the fog/haze rendering technique. --fog-disable disables fog/haze entirely; --fog-fastest explicitly asks the graphics card driver to choose the most efficient โ€” but possibly less accurate โ€” fog/haze rendering algorithm; --fog-nicest leaves the algorithm choice to the driver, which leads to higher quality results. ๐ŸŒซ๏ธ
  • --enable-enhanced-lighting, --disable-enhanced-lighting โ€” enable/disable enhanced runway lighting.
This option is deprecated. just saying. ๐Ÿšจ
  • --enable-distance-attenuation, --disable-distance-attenuation โ€” enable/disable runway light distance attenuation (the runway lights become less intense as distance increases). ๐Ÿ’ก
  • --enable-horizon-effect, --disable-horizon-effect โ€” enable/disable the celestial body growth illusion near the horizon. ๐ŸŒ…
  • --enable-specular-highlight, --disable-specular-highlight โ€” enable/disable specular reflections on textured objects. โœจ
  • --fov=degrees โ€” sets the field of view angle (FOV) to degrees. High field of view angles let you see a wider part of the world; low angles let you "zoom in" on details. ๐Ÿ”ญ

and that's part 1 bestie, keep scrolling, we're not done yet ๐Ÿ’–

  • --aspect-ratio-multiplier=factor โ€” sets the horizontal and vertical aspect ratio multiplier to factor. Slay those pixels, bestie. โœจ
  • --enable-fullscreen, --disable-fullscreen โ€” turn fullscreen mode on/off. ๐Ÿ–ฅ๏ธ
  • --shading-flat, --shading-smooth โ€” flat vs smooth shading. If flat shading is active, the simulator uses the same color to paint the face of an object: this is faster, but makes edges more pronounced. Smooth shading smooths color changes between vertices, leading to higher-quality results, at an expense in performance. โœจ
  • --materials-file=file โ€” load the definitions of the materials used to render the scenery from file. By default, materials are loaded from $FG_ROOT/regions/materials.xml. ๐ŸŽจ
  • --texture-filtering=value โ€” set the anisotropic texture filtering to value. The acceptable values are 1 (default), 2, 4, 8 or 16. ๐Ÿ”
  • --enable-wireframe, --disable-wireframe โ€” enable/disable the wireframe drawing mode (in which only object edges are painted). ๐Ÿ•ธ๏ธ
  • --geometry=widthxheight โ€” set the window geometry (size) to widthxheight (both width and height are in pixels). ๐Ÿ“
  • --view-offset=LEFT|RIGHT|CENTER|value โ€” specify the default forward view direction as an offset from straight ahead. The allowed values are LEFT (-90ยฐ), RIGHT (90ยฐ), CENTER (0ยฐ) or a specific number in degrees. ๐Ÿ‘€

โœˆ๏ธ Aircraft options โœˆ๏ธ

  • --aircraft=name, --vehicle=name โ€” load an aircraft/vehicle from a set file named name-set.xml. The file is searched for in $FG_ROOT/Aircraft, in the directory pointed to by the environment variable FG_AIRCRAFT and in the directories passed to fgfs(1) using the --fg-aircraft option. ๐Ÿ›ฉ๏ธ
  • --aircraft-dir=path โ€” explicitly specify the directory in which the -set.xml file should be searched for. If this argument is used, the path cache stored in ~/.fgfs/autosave_X_Y.xml, the directories passed with the --fg-aircraft option and the directory specified in the FG_AIRCRAFT environment variable are not taken into account. ๐Ÿ“
  • --show-aircraft โ€” print a list of available aircraft and exit. ๐Ÿ“‹
  • --min-status=alpha|beta|early-production|production โ€” do not list aircraft having a status level (development status) lower than the one specified. See the FlightGear wiki "Aircraft rating system" page for an extended description of aircraft ratings. โญ
  • --fdm=jsb|larcsim|yasim|magic|balloon|ada|external|null โ€” select the core flight dynamics model to use among the following ones:
    • jsb: the JSBSim flight dynamics model, which takes a data-driven approach to modeling: given the performance data for an aircraft (mass and balance, ground reactions, propulsions, aerodynamics...), it assembles it together to produce the global aircraft dynamics;
    • larcsim: the LaRCsim flight dynamics model, the original model used in FlightGear up to 2000, developed at NASA, now inactive;
    • yasim: the YASim flight dynamics model, which, given the physical and flying characteristics of an aircraft, attempts to solve for them;
    • magic: the "Magic Carpet" flight model;
    • balloon: a hot air balloon simulation;
    • ada: an externally-driven flight dynamics model designed by the Aeronautical Development Agency of Bangalore, India;
    • external/null: use an external flight dynamics model (the external option has the same meaning as null and is maintained for backward compatibility purposes).
  • --aero=name โ€” load the aircraft aerodynamics model from the file name.xml in the aircraft directory. ๐ŸŒฌ๏ธ
  • --model-hz=n โ€” run the flight dynamics model at a frequency of n Hz (n times per second). โšก
  • --speed=n โ€” run the flight dynamics model n times faster than real time. โฉ
  • --trim, --notrim โ€” trim/do not attempt to trim the model. This option is only valid if the flight dynamics module in use is JSBSim. โœ‚๏ธ
  • --on-ground โ€” start the aircraft on the ground. This is the default option. ๐Ÿ›ฌ
  • --in-air โ€” start the aircraft in the air. This option is implied if --altitude is specified. ๐Ÿ›ซ
  • --enable-auto-coordination, --disable-auto-coordination โ€” enable/disable auto coordination (joint control of rudder and ailerons). ๐ŸŽฎ
  • --livery=name โ€” load the aircraft livery from a file named name. ๐ŸŽจ
  • --state=value โ€” set the initial aircraft state to value. The states that can be used are aircraft-dependent. ๐Ÿ“Œ

โฐ Time options โฐ

  • --timeofday=real|dawn|morning|noon|afternoon|dusk|evening|midnight โ€” start the simulator at the specified time of day:
    • real: real clock time;
    • dawn: the time when the Sun is 90ยฐ E on the horizon;
    • morning: the time when the Sun is 75ยฐ E on the horizon;
    • noon: the time when the Sun is 0ยฐ on the horizon;
    • afternoon: the time when the Sun is 75ยฐ W on the horizon;
    • dusk: the time when the Sun is 90ยฐ W on the horizon;
    • evening: the time when the Sun is 100ยฐ W on the horizon;
    • midnight: the time when the Sun is 180ยฐ on the horizon.
  • --season=summer|winter โ€” load summer/winter textures. โ„๏ธโ˜€๏ธ
  • --time-offset=[+|-]hh:mm:ss โ€” add a time offset to the startup time specified with the --timeofday option. โณ
  • --time-match-real โ€” synchronize the simulator time with real world GMT time. ๐ŸŒ
  • --time-match-local โ€” synchronize the simulator time with real world local time. ๐Ÿ“
  • --start-date-sys=yyyy:mm:dd:hh:mm:ss โ€” specify the simulator starting date and time with respect to the local timezone of the system. ๐Ÿ—“๏ธ
  • --start-date-gmt=yyyy:mm:dd:hh:mm:ss โ€” specify the simulator starting date and time with respect to the Greenwich Mean Time. ๐ŸŒ
  • --start-date-lat=yyyy:mm:dd:hh:mm:ss โ€” specify the simulator starting date and time with respect to the timezone of the starting airport. ๐Ÿ›ซ

๐Ÿ“ Initial position and orientation ๐Ÿ“

  • --airport=ID โ€” start the simulator at the airport having ID as its ICAO code. ๐Ÿ›ฌ
  • --parking-id=name โ€” place the aircraft at the parking position name. This option requires the --airport option to be present. ๐Ÿ…ฟ๏ธ
  • --runway=number โ€” place the aircraft on runway number. This option requires the --airport option to be present. ๐Ÿ›ฃ๏ธ
  • --carrier=name|ID โ€” place the aircraft on the AI carrier named name/having the ID ID. ๐Ÿšข
  • --parkpos=name โ€” place the aircraft at the starting position name. This option requires the --carrier option to be present. โš“
  • --vor=ID โ€” place the aircraft over the VOR ID. ๐Ÿ“ก
  • --vor-frequency=frequency โ€” set the frequency of the VOR to frequency. This option requires the --vor option to be present. ๐Ÿ“ป
  • --ndb=ID โ€” place the aircraft over the NDB ID. ๐Ÿ“ถ
  • --ndb-frequency=frequency โ€” set the frequency of the NDB to frequency. This option requires the --ndb option to be present. ๐ŸŽš๏ธ
  • --fix=ID โ€” place the aircraft over the fix ID. ๐Ÿ“
  • --offset-distance=nm โ€” place the aircraft nm statute miles away from the reference point specified by the previous options. ๐Ÿ“
  • --offset-azimuth=degrees โ€” place the aircraft at a heading of degrees degrees with respect to the reference point specified by the previous options. ๐Ÿงญ
  • --lon=degrees, --lat=degrees โ€” place the aircraft at the point with the coordinates (lat, lon). Northern longitudes/eastern latitudes must be positive; southern longitudes/western latitudes must be negative. ๐ŸŒ
  • --altitude=value โ€” place the aircraft at an altitude of value feet (meters if the --units-meters option was specified). โ›ฐ๏ธ
  • --heading=degrees โ€” specify the initial heading (yaw) angle (psi) of the aircraft. ๐Ÿงญ
  • --roll=degrees โ€” specify the initial roll angle (phi) of the aircraft. ๐Ÿ”„
  • --pitch=degrees โ€” specify the initial pitch angle (theta) of the aircraft. ๐Ÿ“
  • --uBody=units_per_sec โ€” specify the initial velocity along the body X axis. โžก๏ธ
  • --vBody=units_per_sec โ€” specify the initial velocity along the body Y axis. โฌ†๏ธ
  • --wBody=units_per_sec โ€” specify the initial velocity along the body Z axis. โฌ‡๏ธ
  • --vNorth=units_per_sec โ€” specify the initial velocity along the body North-South axis. ๐Ÿงญ
  • --vEast=units_per_sec โ€” specify the initial velocity along the body West-East axis. ๐ŸŒ…
  • --vDown=units_per_sec โ€” specify the initial velocity along the body vertical axis. โฌ‡๏ธ
  • --vc=knots โ€” set the initial airspeed of the aircraft to knots knots. ๐Ÿ’จ
  • --mach=number โ€” set the initial airspeed of the aircraft to Mach number. ๐Ÿš€
  • --glideslope=degrees โ€” set the flight path angle to degrees degrees. The value can be positive. ๐Ÿ“‰
  • --roc=fpm โ€” set the initial rate of climb to fpm feet per minute. The value can be negative. ๐Ÿ“ˆ

๐Ÿ—บ๏ธ Route/waypoint options ๐Ÿ—บ๏ธ

  • --wp=ID[@alt] โ€” enter the waypoint (VOR, NDB, fix) ID into the autopilot. The optional part @alt can be used to specify the altitude at which ID should be crossed. ๐Ÿงญ
  • --flight-plan=file โ€” read a flight plan from file. ๐Ÿ“„

๐Ÿ“ป Avionics options ๐Ÿ“ป

  • --com1=frequency โ€” set the COM1 frequency to frequency MHz. ๐Ÿ“ป
  • --com2=frequency โ€” set the COM2 frequency to frequency MHz. ๐Ÿ“ป
  • --nav1=[radial:]frequency โ€” set the NAV1 frequency to frequency MHz. You can optionally specify a radial by prefixing the frequency with the heading and a colon. ๐Ÿ“ก
  • --nav2=[radial:]frequency โ€” set the NAV2 frequency to frequency MHz. You can optionally specify a radial by prefixing the frequency with the heading and a colon. ๐Ÿ“ก
  • --adf1=[rotation:]frequency, --adf=[rotation:]frequency โ€” set the ADF1 frequency to frequency kHz. You can optionally specify the rotation angle of its compass card by prefixing the frequency with the angle and a colon. The --adf option is deprecated. ๐Ÿงญ
  • --adf2=[rotation:]frequency โ€” set the ADF2 frequency to frequency kHz. You can optionally specify the rotation angle of its compass card by prefixing the frequency with the angle and a colon. ๐Ÿงญ
  • --dme=nav1|nav2|frequency โ€” slave the automatic direction finder to the NAV1/NAV2 radio or set its internal frequency to frequency. ๐Ÿ“ป

๐ŸŒค๏ธ Environment options ๐ŸŒค๏ธ

  • --metar=METAR โ€” okay so you can simulate the weather conditions described by the METAR string METAR. This option implies --disable-real-weather-fetch. ๐Ÿ’จ
  • --enable-real-weather-fetch, --disable-real-weather-fetch โ€” bestie, turn METAR-based real weather fetching on or off. Heads up: this feature requires an active Internet connection. ๐ŸŒ
  • --enable-clouds, --disable-clouds โ€” enable/disable 2D (flat) cloud layers. โ˜๏ธ
  • --enable-clouds3d, --disable-clouds3d โ€” enable/disable 3D (volumetric) cloud layers. โ˜๏ธโ˜๏ธ
  • --visibility=meters โ€” set the initial visibility to meters meters. ๐Ÿ‘€
  • --visibility-miles=miles โ€” set the initial visibility to miles miles. ๐Ÿ‘€
  • --wind=dir[:maxdir]@speed[:gust] โ€” specify the direction the wind blows from (dir) and its speed (speed knots). If the wind is not meant to blow from a fixed direction, but rather from a range of directions, specify the range as dir:maxdir, where dir and maxdir are the minimum and maximum angles in degrees. If you want the simulator to model wind gusts as well, set gust to their maximum intensity in knots. ๐ŸŒฌ๏ธ
  • --random-wind โ€” randomize the direction and speed of the wind. ๐ŸŽฒ
  • --turbulence=intensity โ€” set the turbulence intensity to intensity. The intensity can range from 0.0 (calm) to 1.0 (severe). ๐Ÿ˜ตโ€๐Ÿ’ซ
  • --ceiling=ft_asl[:thickness_ft] โ€” create an overcast ceiling at a height of ft_asl feet above the mean sea level. You can optionally specify a thickness by appending a colon (:) and the desired thickness in feet; if you omit it, the simulator will default to 2000 ft. ๐ŸŒซ๏ธ

๐ŸŒ Network options ๐ŸŒ

  • --callsign=value โ€” set the multiplayer callsign to value. The callsign must be at most ten characters long and must contain only numbers, letters of the English alphabet, dashes (-) and underscores (_); longer callsigns are truncated, and characters not matching those listed above are replaced with dashes. ๐Ÿ“ป
  • --multiplay={in|out},hz,address,port โ€” specify the multiplayer communication settings. The first field specifies whether the settings apply to inbound (in) or outbound (out) communications. The second field (hz) specifies the frequency (in Hz, times per second) at which data should be sent. The third field (address) must be set to the IP address of the network interface that FlightGear should use to send/receive data, or left blank to let the simulator use all available interfaces. The fourth field (port) should be set to the port to use (usually 5000). ๐Ÿ•น๏ธ
  • --proxy=[username:password@]host:port โ€” specify the proxy server and port to use. The username and password are optional; if they are present, they should be given as MD5 hashes. This option is only useful if --real-weather-fetch is enabled. ๐Ÿ”
  • --httpd=[address:]port โ€” enable the Phi interface (HTTP server) on the specified address and port. The address is optional. ๐Ÿ–ฅ๏ธ
  • --telnet=port โ€” enable the Telnet interface on the specified port. ๐Ÿ“ก
  • --jpg-httpd=port โ€” enable the screenshot HTTP server interface on the specified port. This option is deprecated: use the Phi interface instead. ๐Ÿšซ
  • --enable-terrasync, --disable-terrasync โ€” enable/disable automatic scenery/object downloads. ๐Ÿ—บ๏ธ
  • --terrasync-dir=directory โ€” set the directory where the downloaded scenery will be stored to directory. ๐Ÿ“
  • --enable-fgcom, --disable-fgcom โ€” enable/disable the FGCom (voice ATC) integration. ๐ŸŽ™๏ธ

๐Ÿ”Œ I/O options ๐Ÿ”Œ

  • --generic=params, --atlas=params, --atcsim=params, --AV400=params, --AV400Sim=params, --AV400WSimA=params, --AV400WSimB=params, --garmin=params, --hla=params, --hla-local=params, --igc=params, --joyclient=params, --jsclient=params, --native-ctrls=params, --native-gui=params, --native-fdm=params, --native=params, --nmea=params, --opengc=params, --props=params, --pve=params, --ray=params, --rul=params โ€” open a connection to drive external programs or hardware.

Specify the protocol by using the correct command-line option:

  • generic: a predefined communication interface and a preselected communication protocol;
  • atlas: the Atlas protocol;
  • atcsim: the ATCsim (atc610x) protocol;
  • AV400: the Garmin AV400 protocol, required to drive a Garmin 196/296 series GPS;
  • AV400Sim: the set of AV400 strings required to drive a Garmin 400-series GPS;
  • AV400WSimA, AV400WSimB: the set of strings required to drive a Garmin WAAS GPS (where the A channel uses a variant of the AVSim400 protocol and the B channel communicates with the GPS unit);
  • garmin: the Garmin GPS protocol;
  • hla, hla-local: the HLA protocol, either remote or local;
  • igc: the International Glider Commission protocol;
  • joyclient: the protocol used by Agwagon joysticks;
  • native-ctrls: the FlightGear Native Controls protocol;
  • native-gui: the FlightGear Native GUI protocol;
  • native-fdm: the FlightGear Native FDM protocol;
  • native: the FlightGear Native protocol;
  • nmea: the NMEA protocol (used to drive most GPS units);
  • opengc: the protocol used by OpenGC, a software used to render high-quality glass cockpit displays for simulated flightdecks;
  • props: the interactive property manager protocol;
  • pve: the PVE protocol;
  • ray: the Ray Woodworth motion chair protocol;
  • rul: the RUL protocol.

The parameters (params) must be in the form medium,direction,hz,medium_options where medium is the medium used by the protocol (serial, socket, file...), direction is the communication direction (in, out or bi), hz is the frequency the channel should be processed at (floating point values are accepted) and medium_options are:

  • for serial protocols, device,baud, where device is the device name to be opened and baud is the communication baud rate;
  • for socket protocols, machine,port,style, where machine is the machine name or the IP address of the server (if the simulator should act as a client) or is left empty (if the simulator should act as a server), port is the port to use (or is left empty to ask the operating system to choose an available port) and style is tcp or udp;
  • for file protocols, filename, where filename is the name of the file data should be written to.

๐Ÿ› Debugging options ๐Ÿ›

  • --enable-fpe โ€” abort when a floating-point exception is encountered. ๐Ÿ’ฅ
  • --fgviewer โ€” view the scenery and the aircraft in a simple model viewer, without loading the entire simulator. โœˆ๏ธ
  • --log-level=bulk|debug|info|warn|alert โ€” set the minimum logging level. Log messages having a severity greater than or equal to the specified value are recorded; the others are discarded. ๐Ÿ“
  • --log-class=all|none|ai|environment|flight|general|io|network|sound|terrain|... โ€” log only events belonging to the specified log classes (all logs all events, none logs none). Multiple classes can be specified by separating them with commas or pipes, for example: --log-class=ai,flight. ๐Ÿ—‚๏ธ
  • --log-dir=dir โ€” save the logs in the directory dir. If dir is desktop, the logs are saved on the Desktop. This option may be given several times, using a different directory each time. Inside the specified directory, the log file will be named FlightGear_YYYY-MM-DD_num.log, where YYYY-MM-DD is the current date and num is a progressive number starting at 0. ๐Ÿ“‚
  • --trace-read=property, --trace-write=property โ€” trace the reads/writes for a property (print a log message whenever property is read from/written to). ๐Ÿ”
  • --developer โ€” enable developer mode. ๐Ÿ› ๏ธ

๐Ÿšฆ EXIT STATUS ๐Ÿšฆ

fgfs exits with 0 if the execution completes successfully, or with another status (usually 1 or -1) if an error occurred. ๐Ÿ’€


๐ŸŒ ENVIRONMENT ๐ŸŒ

  • COMPUTERNAME โ€” specifies the hostname of the system in use. This environment variable is only taken into account on Microsoft Windows operating systems. ๐ŸชŸ
  • FG_AIRCRAFT โ€” specifies the path in which aircraft should be searched for. โœˆ๏ธ
  • FG_LAUNCHER โ€” if this environment variable is set and is not 0, the Qt launcher will be shown. The variable is mainly used on Mac OS X operating systems to avoid the use of wrapper scripts. ๐ŸŽ
  • FG_ROOT โ€” specifies the root data directory to use. ๐Ÿ“
  • FG_SCENERY โ€” specifies the scenery directory to use. ๐Ÿž๏ธ
  • HTTP_PROXY โ€” specifies the HTTP proxy to use. Must be in the form http://host:port/. ๐ŸŒ
  • LANG โ€” specifies the language to use. ๐Ÿ—ฃ๏ธ

๐Ÿ“ FILES ๐Ÿ“

  • ~/.fgfs โ€” the main directory where FlightGear configuration files and data (downloaded aircraft/scenery) are stored. ๐Ÿ“‚
  • ~/.fgfsrc.hostname, ~/.fgfsrc โ€” configuration files containing command-line options for fgfs(1). โš™๏ธ

okay bestie, that's the whole manual page! this was FlightGear, dated 2017-06-25, and it's page FGFS(1). love you, bye! ๐Ÿ’–โœจ

๐Ÿ“ฆ where this page comes from