Command line options: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
m (Reverted edits by 219.240.12.173 (Talk); changed back to last version by 201.17.253.220)
m (→‎Features: remove nonsense)
Line 56: Line 56:
   --disable-hud-3d            Disable 3D HUD
   --disable-hud-3d            Disable 3D HUD
   --enable-hud-3d              Enable 3D HUD
   --enable-hud-3d              Enable 3D HUD
210149511073119693344


==== Aircraft ====
==== Aircraft ====

Revision as of 17:10, 11 July 2006

Usage: fgfs [ option ... ]

General Options

  --help, -h                   Show the most relevant command line options
  --verbose, -v                Show all command line options when combined
                               with --help or -h
  --fg-root=path               Specify the root data path
  --fg-scenery=path            Specify the base scenery path;
                               Defaults to $FG_ROOT/Scenery
  --language=code              Select the language for this session
  --disable-game-mode          Disable full-screen game mode
  --enable-game-mode           Enable full-screen game mode
  --disable-splash-screen      Disable splash screen
  --enable-splash-screen       Enable splash screen
  --disable-intro-music        Disable introduction music
  --enable-intro-music         Enable introduction music
  --disable-mouse-pointer      Disable extra mouse pointer
  --enable-mouse-pointer       Enable extra mouse pointer
                               (i.e. for full screen Voodoo based cards)
  --disable-random-objects     Exclude random scenery objects
                               (buildings, etc.)
  --enable-random-objects      Include random scenery objects
                               (buildings, etc.)
  --disable-ai-models          Disable the artifical traffic subsystem.
  --enable-ai-models           Enable the artifical traffic.
  --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
  --control=mode               Primary control mode (joystick, keyboard,
                               mouse)
  --enable-auto-coordination   Enable auto coordination
  --disable-auto-coordination  Disable auto coordination
  --browser-app=path           Specify path to your web browser
  --prop:name=value            Set property  to 
  --config=path                Load additional properties from path
  --units-feet                 Use feet for distances
  --units-meters               Use meters for distances


Features

  --disable-panel              Disable instrument panel
  --enable-panel               Enable instrument panel
  --disable-sound              Disable sound effects
  --enable-sound               Enable sound effects
  --disable-hud                Disable Heads Up Display (HUD)
  --enable-hud                 Enable Heads Up Display (HUD)
  --disable-anti-alias-hud     Disable anti-aliased HUD
  --enable-anti-alias-hud      Enable anti-aliased HUD
  --disable-hud-3d             Disable 3D HUD
  --enable-hud-3d              Enable 3D HUD

Aircraft

  --aircraft=name              Select an aircraft profile as defined by a top
                               level -set.xml
  --show-aircraft              Print a list of the currently available
                               aircraft types


Flight Model

  --fdm=name                   Select the core flight dynamics model
                               Can be one of jsb, larcsim, yasim, magic,
                               balloon, ada, external, or null
  --aero=name                  Select aircraft aerodynamics model to load
  --model-hz=n                 Run the FDM this rate (iterations per second)
  --speed=n                    Run the FDM 'n' times faster than real time
  --notrim                     Do NOT attempt to trim the model
                               (only with fdm=jsbsim)
  --on-ground                  Start at ground level (default)
  --in-air                     Start in air (implied when using --altitude)
  --wind=DIR@SPEED             Specify wind coming from DIR (degrees) at SPEED
                               (knots)
  --turbulence=0.0 to 1.0      Specify turbulence from 0.0 (calm) to 1.0
                               (severe)
  --ceiling=FT_ASL[:THICKNESS_FT]
                               Create an overcast ceiling, optionally with a
                               specific thickness (defaults to 2000 ft).


Aircraft model directory (UIUC FDM ONLY)

  --aircraft-dir=path          Aircraft directory relative to the path of the
                               executable


Initial Position and Orientation

  --airport=ID                 Specify starting position relative to an
                               airport
  --runway=rwy_no              Specify starting runway (must also specify an
                               airport)
  --vor=ID                     Specify starting position relative to a VOR
  --ndb=ID                     Specify starting position relative to an NDB
  --fix=ID                     Specify starting position relative to a fix
  --airport-id=ID              (Obsolete; use --airport instead.)
  --offset-distance=nm         Specify distance to reference point (statute
                               miles)
  --offset-azimuth=degrees     Specify heading to reference point
  --lon=degrees                Starting longitude (west = -)
  --lat=degrees                Starting latitude (south = -)
  --altitude=value             Starting altitude
                               (in feet unless --units-meters specified)
  --heading=degrees            Specify heading (yaw) angle (Psi)
  --roll=degrees               Specify roll angle (Phi)
  --pitch=degrees              Specify pitch angle (Theta)
  --uBody=units_per_sec        Specify velocity along the body X axis
                               (in feet unless --units-meters specified)
  --vBody=units_per_sec        Specify velocity along the body Y axis
                               (in feet unless --units-meters specified)
  --wBody=units_per_sec        Specify velocity along the body Z axis
                               (in feet unless --units-meters specified)
  --vc=knots                   Specify initial airspeed
  --mach=num                   Specify initial mach number
  --glideslope=degrees         Specify flight path angle (can be positive)
  --roc=fpm                    Specify initial climb rate (can be negative)


Rendering Options

  --bpp=depth                  Specify the bits per pixel
  --fog-disable                Disable fog/haze
  --fog-fastest                Enable fastest fog/haze
  --fog-nicest                 Enable nicest fog/haze
  --disable-horizon-effect     Disable celestial body growth illusion near the
                               horizon
  --enable-horizon-effect      Enable celestial body growth illusion near the
                               horizon
  --disable-enhanced-lighting  Disable enhanced runway lighting
  --enable-enhanced-lighting   Enable enhanced runway lighting
  --disable-distance-attenuation
                               Disable runway light distance attenuation
  --enable-distance-attenuation
                               Enable runway light distance attenuation
  --disable-specular-highlight
                               Disable specular reflections on textured
                               objects
  --enable-specular-highlight  Enable specular reflections on textured objects
  --enable-clouds              Enable 2D (flat) cloud layers
  --disable-clouds             Disable 2D (flat) cloud layers
  --enable-clouds3d            Enable 3D (volumetric) cloud layers
  --disable-clouds3d           Disable 3D (volumetric) cloud layers
  --fov=degrees                Specify field of view angle
  --disable-fullscreen         Disable fullscreen mode
  --enable-fullscreen          Enable fullscreen mode
  --shading-flat               Enable flat shading
  --shading-smooth             Enable smooth shading
  --disable-skyblend           Disable sky blending
  --enable-skyblend            Enable sky blending
  --disable-textures           Disable textures
  --enable-textures            Enable textures
  --disable-wireframe          Disable wireframe drawing mode
  --enable-wireframe           Enable wireframe drawing mode
  --geometry=WxH               Specify window geometry (640x480, etc)
  --view-offset=value          Specify the default forward view direction as
                               an offset from straight ahead. Allowable values
                               are LEFT, RIGHT, CENTER, or a specific number
                               in degrees
  --visibility=meters          Specify initial visibility
  --visibility-miles=miles     Specify initial visibility in miles


Hud Options

  --hud-tris                   Hud displays number of triangles rendered
  --hud-culled                 Hud displays percentage of triangles culled


Time Options

  --timeofday={dawn,noon,dusk,midnight}
                               Specify a time of day
  --time-offset=[+-]hh:mm:ss   Add this time offset
  --time-match-real            Synchronize time with real-world time
  --time-match-local           Synchronize time with local real-world time
  --start-date-sys=yyyy:mm:dd:hh:mm:ss
                               Specify a starting date/time with respect to
                               system time
  --start-date-gmt=yyyy:mm:dd:hh:mm:ss
                               Specify a starting date/time with respect to
                               Greenwich Mean Time
  --start-date-lat=yyyy:mm:dd:hh:mm:ss
                               Specify a starting date/time with respect to
                               Local Aircraft Time


Network Options

  --httpd=port                 Enable http server on the specified port
  --telnet=port                Enable telnet server on the specified port
  --jpg-httpd=port             Enable screen shot http server on the specified
                               port


MultiPlayer Options

  --callsign                   assign a unique name to a player
  --multiplay={in|out},hz,address,port
                               Specify multipilot communication settings
                               multiple instances can be used


Route/Way Point Options

  --wp=ID[@alt]                Specify a waypoint for the GC autopilot;
                               multiple instances can be used
  --flight-plan=file           Read all waypoints from a file


IO Options

  --generic=params             Open connection using a predefined
                               communication interface and a preselected
                               communication protocol
  --garmin=params              Open connection using the Garmin GPS protocol
  --joyclient=params           Open connection to an Agwagon joystick
  --jsclient=params            Open connection to a remote joystick
  --native-ctrls=params        Open connection using the FG Native Controls
                               protocol
  --native-fdm=params          Open connection using the FG Native FDM
                               protocol
  --native=params              Open connection using the FG Native protocol
  --nmea=params                Open connection using the NMEA protocol
  --opengc=params              Open connection using the OpenGC protocol
  --props=params               Open connection using the interactive property
                               manager
  --pve=params                 Open connection using the PVE protocol
  --ray=params                 Open connection using the Ray Woodworth motion
                               chair protocol
  --rul=params                 Open connection using the RUL protocol
  --atc610x                    Enable atc610x interface


Avionics Options

  --nav1=[radial:]frequency    Set the NAV1 radio frequency, optionally
                               preceded by a radial.
  --nav2=[radial:]frequency    Set the NAV2 radio frequency, optionally
                               preceded by a radial.
  --adf=[rotation:]frequency   Set the ADF radio frequency, optionally
                               preceded by a card rotation.
  --dme={nav1|nav2|frequency}  Slave the ADF to one of the NAV radios, or set
                               its internal frequency.


Situation Options

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


Debugging Options

  --log-level={bulk,debug,info,warn,alert}
                               Set the logging level for this session.
                               0=verbose, 5=alerts only
  --trace-read=property        Trace the reads for a property;
                               multiple instances can be used
  --trace-write=property       Trace the writes for a property;
                               multiple instances can be used