Command line options: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 49: Line 49:
::Specify an additional base data directory (FGData), before the [[$FG_ROOT]] directory.
::Specify an additional base data directory (FGData), before the [[$FG_ROOT]] directory.


<code>--enable-terrasync</code><br/>
<code>--disable-terrasync</code>
<code>--disable-terrasync</code>
::Disable automatic scenery downloads/updates.
::Enable/disable automatic scenery downloads/updates.
 
<code>--enable-terrasync</code>
::Enable automatic scenery downloads/updates.


<code>--terrasync-dir=path</code>
<code>--terrasync-dir=path</code>
Line 62: Line 60:


<code>--launcher</code>
<code>--launcher</code>
::Enable Qt launcher.
::Run [[FlightGear Qt launcher|Qt Launcher]]. Without this option, it will immediately start the simulator in the default configuration or in the configuration read from the [[Fgfsrc|fgfsrc]] file - if it exists.


<code>--enable-splash-screen</code><br/>
<code>--enable-splash-screen</code><br/>
Line 82: Line 80:


<code>--no-default-config</code>
<code>--no-default-config</code>
::Do not load any default configuration files (like .fgfsrc) unless explicitly specified with <code>--config</code>.
::Do not load any default configuration files (like [[Fgfsrc|fgfsrc]]) unless explicitly specified with <code>--config</code>.
 
<code>--units-feet</code>
::Use feet for distances.


<code>--units-feet</code><br/>
<code>--units-meters</code>
<code>--units-meters</code>
::Use meters for distances.
::Use feets (default) or meters for distances.


<code>--allow-nasal-read=path</code>
<code>--allow-nasal-read=path[:path...]</code>
::Allow Nasal scripts to read files from directories listed as path (separate multiple paths with a semicolon (Windows) or a colon (UNIX)). By default, for security reasons, Nasal scripts can only read data from certain directories, such as [[$FG_ROOT]], [[$FG_HOME]], etc.
::Allow Nasal scripts to read files from directories listed as path (separate multiple paths with a semicolon (Windows) or a colon (UNIX)). By default, for security reasons, Nasal scripts can only read data from certain directories, such as [[$FG_ROOT]], [[$FG_HOME]], etc.


Line 182: Line 178:


<code>--state=value</code>
<code>--state=value</code>
::Specify the initial state of the aircraft to the given value.
::Specify the initial state of the aircraft to the given value. The states that can be used depend on the aircraft. For example, the Cessna 172P has only one state: <tt>auto</tt>.


= Flight Model =
= Flight Model =
Line 208: Line 204:
= Initial Position and Orientation =
= Initial Position and Orientation =


<code>--airport=ID</code>
<code>--airport=ICAO</code>
::Specify airport (e.g. KOAK).
::Specify airport (e.g. KOAK).


Line 322: Line 318:
<code>--disable-horizon-effect</code>
<code>--disable-horizon-effect</code>
::Enable/disable celestial body growth illusion near the horizon.
::Enable/disable celestial body growth illusion near the horizon.
<code>--enable-enhanced-lighting</code><br/>
<code>--disable-enhanced-lighting</code>
::Enable/disable enhanced runway lighting.


<code>--enable-distance-attenuation</code><br/>
<code>--enable-distance-attenuation</code><br/>
Line 362: Line 354:
::Enable/disable wireframe drawing mode.
::Enable/disable wireframe drawing mode.


<code>--fog-disable</code>
<code>--fog-disable</code><br/>
::Disable fog/haze.
<code>--fog-fastest</code><br/>
 
<code>--fog-fastest</code>
::Enable fastest fog/haze.
 
<code>--fog-nicest</code>
<code>--fog-nicest</code>
::Enable nicest fog/haze.
::Set the fog. The <code>--fog-disable</code> option will turn off the fog, resulting in increased visibility and a decrease in performance (more terrain to render). The <code>--fog-fastest</code> option will enable fog rendering in a less realistic way, but improving performance. By default, the <code>--fog-nicest</code> option is used to render a realistic fog, at the expense of performance. These options are deprecated.


<code>--fov=degrees</code>
<code>--fov=degrees</code>
Line 386: Line 374:
::Maximum frame rate in Hz.
::Maximum frame rate in Hz.


<code>--shading-smooth</code><br/>
<code>--shading-flat</code>
<code>--shading-flat</code>
::Enable flat shading.
::Enable smooth or flat shading. These options are deprecated.
 
<code>--shading-smooth</code>
::Enable smooth shading.


<code>--texture-filtering=value</code>
<code>--texture-filtering=value</code>
Line 408: Line 394:


<code>--lod-texturing={bluemarble|raster|debug}</code>
<code>--lod-texturing={bluemarble|raster|debug}</code>
::Specify the method of texturing the terrain. The default is bluemarble. Use with <code>--terrain-engine=pagedLOD</code>.
::Specify the method of texturing the terrain. The default is <tt>bluemarble</tt>. Use with <code>--terrain-engine=pagedLOD</code>.


<code>--lod-range-mult=multiplier</code>
<code>--lod-range-mult=multiplier</code>
::Specify the range multiplier (point from low to fine detail). Defaults is 2. Use with <code>--terrain-engine=pagedLOD</code>.
::Specify the range multiplier (point from low to fine detail). Defaults is 2. Use with <code>--terrain-engine=pagedLOD</code>.
<code>--season={summer|winter}</code>
::Enable <tt>summer</tt> season or <tt>winter</tt> - default <tt>summer</tt>. Available until FG 2020.3.


= Hud Options =
= Hud Options =
Line 428: Line 417:


<code>--hud-tris</code>
<code>--hud-tris</code>
::Hud displays number of triangles rendered.
<code>--hud-culled</code>
<code>--hud-culled</code>
::Hud displays percentage of triangles culled.
::Hud displays number of triangles rendered or percentage of triangles culled.


= Time Options =
= Time Options =
The following time and date setting options are not compatible with each other, so only one of them should be given.


<code>--timeofday={real|dawn|morning|noon|afternoon|dusk|evening|midnight}</code>
<code>--timeofday={real|dawn|morning|noon|afternoon|dusk|evening|midnight}</code>
Line 457: Line 446:


= Network Options =
= Network Options =
<code>--proxy=[user:password@]host:port</code>
::Specify the proxy server and port to be used. Username and password are optional. If present, they should be listed as MD5 hashes. This option is only useful when <code>--real-weather-fetch</code> is enabled.


<code>--httpd=port</code>
<code>--httpd=port</code>
::Enable http server on the specified port.
::Enable HTTP server on the specified port.


<code>--telnet={port|socket,bi,hz,localhost,port,tcp}</code>, <code>--props={port|socket,bi,hz,localhost,port,tcp}</code>
<code>--telnet={port|socket,bi,hz,localhost,port,tcp}</code>, <code>--props={port|socket,bi,hz,localhost,port,tcp}</code>
Line 465: Line 457:


<code>--jpg-httpd=port</code>
<code>--jpg-httpd=port</code>
::Enable screen shot http server on the specified port. This option has been withdrawn, instead use <code>--httpd</code> and /screenshots URL.
::Enable screen shot HTTP server on the specified port. This option has been withdrawn, instead use <code>--httpd</code> and /screenshot URL.


<code>--allow-nasal-from-sockets</code>
<code>--allow-nasal-from-sockets</code>
::Remove security flag, which means that network connections will be allowed full access to the simulator including running arbitrary scripts. Ensure you have adequate security (such as a firewall which blocks external connections).
::Remove security flag, which means that network connections will be allowed full access to the simulator including running arbitrary scripts. Ensure you have adequate security such as a firewall which blocks external connections.


<code>--enable-sentry</code><br/>
<code>--enable-sentry</code><br/>
Line 484: Line 476:
<code>--enable-fgcom</code><br/>
<code>--enable-fgcom</code><br/>
<code>--disable-fgcom</code>
<code>--disable-fgcom</code>
::Enable/disable built-in FGCom.
::Enable/disable built-in FGCom (voice communication with ATC.)


<code>--disable-hold-short</code>
<code>--disable-hold-short</code>
::Disable the move to hold short position for multiplayer.
::In multiplayer mode, when you select an initial position on the runway, you will be moved by default to the hold-short position, which is on the taxiway, just in front of the runway. The <code>--disable-hold-short</code> option allows you to disable this behavior, but keep in mind that this is undesirable, as it may interfere with others taking off or landing.


= Route/Way Point Options =
= Route/Way Point Options =
Line 519: Line 511:


<code>--flarm=params</code>
<code>--flarm=params</code>
::Open connection using the FLARM protocol, which includes NMEA/GPS and traffic reporting messages,
::Open connection using the FLARM protocol, which includes NMEA/GPS and traffic reporting messages.


<code>--garmin=params</code>
<code>--garmin=params</code>
::Open connection using the Garmin GPS protocol,
::Open connection using the Garmin GPS protocol.
 
<code>--hla=params</code>
::Open a remote connection using the HLA protocol. Currently, this option is disabled.
 
<code>--hla-local=params</code>
::Open a local connection using the HLA protocol. Currently, this option is disabled.


<code>--igc=params</code>
<code>--igc=params</code>
Line 541: Line 539:
<code>--native-fdm=params</code>
<code>--native-fdm=params</code>
::Open connection using the FG Native FDM protocol.
::Open connection using the FG Native FDM protocol.
<code>--native-gui=params</code>
::Open connection using the FG Native GUI protocol.


<code>--nmea=params</code>
<code>--nmea=params</code>
Line 592: Line 593:
<code>--disable-horizon-effect</code>
<code>--disable-horizon-effect</code>
::Enable/disable celestial body growth illusion near the horizon.
::Enable/disable celestial body growth illusion near the horizon.
<code>--enable-clouds</code><br/>
<code>--disable-clouds</code>
::Enable/disable 2D (flat) cloud layers.
<code>--enable-clouds3d</code><br/>
<code>--disable-clouds3d</code>
::Enable/disable 3D (volumetric) cloud layers.


<code>--visibility=meters</code><br/>
<code>--visibility=meters</code><br/>
1,089

edits

Navigation menu