Command line options: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 21: Line 21:
==== General Options ====
==== General Options ====


  --help, -h                  Show the most relevant command line options
  --help, -h                  Show the most relevant command line options.
  --verbose, -v                Show all command line options when combined with --help or -h
  --verbose, -v                Show all command line options when combined with --help or -h.
  --fg-root=path              Specify the root data path
--version                    Display the current FlightGear version.
  --fg-root=path              Specify the root data path.
--fg-scenery=path[:path...]  Specify the base scenery path;
                              Defaults to [[$FG_ROOT]]/Scenery.
--fg-aircraft=path          Specify additional aircraft directory path(s)
                              (alternatively, you can use --aircraft-dir to
                              target a specific aircraft in a given
                              directory).
  --download-dir=path          Store aircraft and scenery downloaded via the simulator in path.
  --download-dir=path          Store aircraft and scenery downloaded via the simulator in path.
                               The TerraSync directory may be specifically set  
                               The TerraSync directory may be specifically set  
                               with the --terrasync-dir option.
                               with the --terrasync-dir option.
  --terrasync-dir=path        Specify the [[TerraSync]] scenery path
--disable-terrasync          Disable automatic scenery downloads/updates
                                Defaults to [[$FG_HOME]]/TerraSync
--enable-terrasync          Enable automatic scenery downloads/updates
  --fg-scenery=path[:path...]  Specify the base scenery path;
  --terrasync-dir=path        Specify the [[TerraSync]] scenery path;
                                Defaults to [[$FG_ROOT]]/Scenery
                              Defaults to [[$FG_HOME]]/TerraSync.
  --fg-aircraft=path           Specify additional aircraft directory path(s)
  --language=code              Select the language for this session.
                                (alternatively, you can use --aircraft-dir to
--launcher                  Enable Qt launcher.
                                target a specific aircraft in a given
  --load-tape={<name>|<url>}  Load recording of earlier flightgear session.
                                directory)
                              For <name>, if <name> ends with .fgdata it is
--texture-cache-dir=path    Set the DDS texture cache directory to be different
                              treated as the local path of the recording
                                than the default location
                              file; otherwise we form the local path by
--language=code              Select the language for this session
                              prepending <name> with the tape directory and
--launcher                  Enable Qt launcher
                              appending ".fgtape". For <url> (starting with
  --disable-splash-screen      Disable splash screen
                              http:// or https://) we download the remote
  --enable-splash-screen      Enable splash screen
                              recording (which must be a Continuous
  --disable-mouse-pointer      Disable extra mouse pointer
                              recording) in the background to a url-dependent
                              filename while replaying it; if the
                              url-dependent filename already exists it is
                              assumed to be a truncated download and we only
                              download any remaining data.
  --disable-splash-screen      Disable splash screen.
  --enable-splash-screen      Enable splash screen.
  --disable-mouse-pointer      Disable extra mouse pointer.
  --enable-mouse-pointer      Enable extra mouse pointer
  --enable-mouse-pointer      Enable extra mouse pointer
                                (i.e. for full screen Voodoo based cards)
                              (i.e. for full screen Voodoo based cards).
  --disable-random-objects    Exclude random scenery objects
  --browser-app=path          Specify path to your web browser.
                                (buildings, etc.)
  --prop:foo=bar              Set property named "foo" to value "bar".
  --enable-random-objects      Include random scenery objects
--config=path                Load additional properties from path.
                                (buildings, etc.)
  --no-default-config         Do not load any default configuration files
  --disable-ai-models         Disable the AI subsystem.
                              (like .fgfsrc) unless explicitly specified
                                (This also disables showing the models of other
                              with --config.
                                multiplayer aircraft)
  --units-feet                Use feet for distances.
--enable-ai-models          Enable the AI subsystem.
  --units-meters              Use meters for distances.
  --disable-ai-traffic        Disable the autogenerated traffic subsystem.
  --allow-nasal-read=path      Allow Nasal scripts to read files from directories
  --enable-ai-traffic          Enable the autogenerated traffic subsystem.
                              listed as path (separate multiple paths with a  
  --disable-freeze            Start in a running state
                              semicolon (Windows) or a colon (UNIX)). By default,
--enable-freeze              Start in a frozen state
                              for security reasons, Nasal scripts can only read
  --disable-fuel-freeze        Fuel is consumed normally
                              data from the $FG_ROOT and $FG_HOME directories.
  --enable-fuel-freeze        Fuel tank quantity forced to remain constant
  --read-only                  Make $FG_HOME read-only.
  --disable-clock-freeze       Clock advances normally
  --ignore-autosave            Ignore the autosave file, i.e. the settings saved
  --enable-clock-freeze       Do not advance clock
                              in this file will not be loaded during startup,
  --browser-app=path           Specify path to your web browser
                              nor will the settings be saved to this file when
--prop:foo=bar              Set property named "foo" to value "bar"
                              closing the simulator.
--config=path                Load additional properties from path
  --disable-save-on-exit       Don't save preferences upon program exit.
--units-feet                Use feet for distances
  --enable-save-on-exit       Allow saving preferences at program exit.
--units-meters              Use meters for distances
  --restore-defaults           Reset all user settings to their defaults
                                (rendering options etc.)


==== Features ====
==== Features ====


  --disable-panel              Disable instrument panel
--composite-viewer={true|false}
  --enable-panel              Enable instrument panel
                              Enable CompositeViewer (extra view windows).
  --disable-sound             Disable sound effects
  --disable-panel              Disable instrument panel.
  --enable-sound              Enable sound effects
  --enable-panel              Enable instrument panel.
  --disable-freeze            Start in a running state.
--enable-freeze             Start in a frozen state.
--disable-fuel-freeze        Fuel is consumed normally.
--enable-fuel-freeze        Fuel tank quantity forced to remain constant.
--disable-clock-freeze      Clock advances normally.
  --enable-clock-freeze        Do not advance clock.
  --ai-scenario=scenario      Add and enable a new scenario. Multiple options
  --ai-scenario=scenario      Add and enable a new scenario. Multiple options
                               are allowed. Scenarios are in /[[$FG_ROOT]]/AI/.
                               are allowed. Scenarios are in /[[$FG_ROOT]]/AI/.
--disable-ai-models          Disable the AI subsystem.
                              (This also disables showing the models of other
                              multiplayer aircraft)
--enable-ai-models          Enable the AI subsystem.
--disable-ai-traffic        Disable the autogenerated traffic subsystem.
--enable-ai-traffic          Enable the autogenerated traffic subsystem.
--disable-vr                Disable the Virtual Reality.
--enable-vr                  Enable the Virtual Reality.
--restart-launcher          Open Launcher automatically when exiting the FlightGear.


==== Aircraft ====
==== Aircraft ====
Line 154: Line 184:
  --vDown=units_per_sec        Specify velocity along a vertical axis
  --vDown=units_per_sec        Specify velocity along a vertical axis
                               (in feet unless --units-meters specified).
                               (in feet unless --units-meters specified).
==== Audio Options ====
--show-sound-devices        Show a list of available audio device.
--sound-device              Explicitly specify the audio device to use.
--disable-sound              Disable sound effects.
--enable-sound              Enable sound effects.


==== Rendering Options ====
==== Rendering Options ====
Line 179: Line 215:
  --enable-texture-cache      Enable texture cache (DDS).
  --enable-texture-cache      Enable texture cache (DDS).
  --disable-texture-cache      Disable texture cache (DDS).
  --disable-texture-cache      Disable texture cache (DDS).
--texture-cache-dir=path    Set the DDS texture cache directory to be different
                              than the default location.
  --enable-fullscreen          Enable fullscreen mode.
  --enable-fullscreen          Enable fullscreen mode.
  --disable-fullscreen        Disable fullscreen mode.
  --disable-fullscreen        Disable fullscreen mode.
--enable-random-objects      Include random scenery objects
                              (buildings, etc.)
--disable-random-objects    Exclude random scenery objects
                              (buildings, etc.)
  --enable-wireframe          Enable wireframe drawing mode.
  --enable-wireframe          Enable wireframe drawing mode.
  --disable-wireframe          Disable wireframe drawing mode.
  --disable-wireframe          Disable wireframe drawing mode.
Line 324: Line 366:
  --nav2=[radial:]frequency    Set the NAV2 radio frequency, optionally
  --nav2=[radial:]frequency    Set the NAV2 radio frequency, optionally
                               preceded by a radial.
                               preceded by a radial.
  --adf1=[rotation:]frequency, --adf=[rotation:]frequency
  --adf1=[rotation:]frequency
                               Set the ADF1 frequency to frequency kHz.  
                               Set the ADF1 frequency to frequency kHz.  
                               You can optionally specify the rotation angle  
                               You can optionally specify the rotation angle  
Line 363: Line 405:
==== Situation Options ====
==== Situation Options ====


  --failure={pitot|static|system|vacuum}
  --failure={pitot|static|vacuum|electrical}
                               Fail the pitot, static, vacuum, or electrical
                               Fail the pitot, static, vacuum, or electrical
                              system (repeat the option for multiple system
                              system (repeat the option for multiple system
                              failures).
                              failures).


==== Debugging Options ====
==== Debugging Options ====
1,388

edits

Navigation menu