| 1 |
.\" Copyright (C) 2002 Cameron Moore |
| 2 |
.\" Copyright (C) 2017 Alessandro Menti |
| 3 |
.\" |
| 4 |
.\" This program is free software; you can redistribute it and/or |
| 5 |
.\" modify it under the terms of the GNU General Public License |
| 6 |
.\" as published by the Free Software Foundation; either version 2 |
| 7 |
.\" of the License, or (at your option) any later version. |
| 8 |
.\" |
| 9 |
.\" This program is distributed in the hope that it will be useful, |
| 10 |
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 |
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 |
.\" GNU General Public License for more details. |
| 13 |
.\" |
| 14 |
.\" You should have received a copy of the GNU General Public License |
| 15 |
.\" along with this program; if not, write to the Free Software |
| 16 |
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 17 |
.\" Or try here: http://www.fsf.org/copyleft/gpl.html |
| 18 |
.\" |
| 19 |
.TH FGFS 1 2017-06-25 FlightGear "FlightGear man pages" |
| 20 |
.SH NAME |
| 21 |
fgfs \- the FlightGear flight simulator |
| 22 |
.SH SYNOPSIS |
| 23 |
\fBfgfs\fR [\fIoptions...\fR] |
| 24 |
.SH DESCRIPTION |
| 25 |
.B fgfs |
| 26 |
is the main executable for FlightGear, a free, open-source, multi-platform and |
| 27 |
sophisticated flight simulator framework for the development and pursuit of |
| 28 |
interesting flight simulator ideas. |
| 29 |
.SH OPTIONS |
| 30 |
Options are first read from the command-line arguments passed to \fBfgfs\fR. |
| 31 |
The program then checks for the existence of \fI~/.fgfsrc.\fIhostname\fR (where |
| 32 |
.I hostname |
| 33 |
is the hostname of the machine) and of \fI~/.fgfsrc\fR; if at least one of |
| 34 |
those files exists, it is read and parsed (see the |
| 35 |
.BR fgfsrc (5) |
| 36 |
man page for the full specifications of the file format). |
| 37 |
|
| 38 |
If conflicting options are given, the ones read last will prevail. |
| 39 |
|
| 40 |
.SS "General options" |
| 41 |
.TP |
| 42 |
\fB\-\-help\fR, \fB\-h\fR |
| 43 |
Display usage information about the most relevant command-line options and |
| 44 |
exit. |
| 45 |
.TP |
| 46 |
\fB\-\-verbose\fR, \fB\-v\fR |
| 47 |
When combined with \fB\-\-help\fR/\fB\-h\fR, display usage information about |
| 48 |
all command-line options, not just the most relevant ones. |
| 49 |
.TP |
| 50 |
\fB\-\-version\fR |
| 51 |
Display version information about |
| 52 |
.B fgfs |
| 53 |
and some of the libraries used by the program (SimGear, OpenSceneGraph, PLIB), |
| 54 |
then exit. |
| 55 |
.TP |
| 56 |
\fB\-\-fg\-root=\fIpath\fR |
| 57 |
Set the FlightGear data root directory (\fB$FG_ROOT\fR) to \fIpath\fR. If this |
| 58 |
option is not set, |
| 59 |
.B fgfs |
| 60 |
uses the path specified in the |
| 61 |
.B FG_ROOT |
| 62 |
environment variable or, absent that, the FlightGear data directory chosen at |
| 63 |
the time the program was compiled. |
| 64 |
.TP |
| 65 |
\fB\-\-fg\-scenery=\fIpath\fR |
| 66 |
Set the FlightGear scenery directories (\fB$FG_SCENERY\fR) to \fIpath\fR. |
| 67 |
|
| 68 |
You can specify multiple directories by separating them with colons (\fB:\fR), |
| 69 |
as in \fI/first/path\fB:\fI/second/path\fR (on Microsoft Windows operating |
| 70 |
systems, multiple paths should be separated by semicolons instead): in that |
| 71 |
case, |
| 72 |
.B fgfs |
| 73 |
will follow the order the paths are written in to search for scenery files, |
| 74 |
stopping as soon as a match is found. |
| 75 |
|
| 76 |
If this option is not set, |
| 77 |
.B fgfs |
| 78 |
uses the path specified in the |
| 79 |
.B FG_SCENERY |
| 80 |
environment variable or, absent that, the |
| 81 |
.B Scenery |
| 82 |
subdirectory inside \fB$FG_ROOT\fR. |
| 83 |
.TP |
| 84 |
\fB\-\-fg\-aircraft=\fIpath\fR |
| 85 |
Load additional aircraft from \fIpath\fR besides the |
| 86 |
.B Aircraft |
| 87 |
subdirectory inside \fB$FG_ROOT\fR. Alternatively, you can use |
| 88 |
.B \-\-aircraft\-dir |
| 89 |
to target a specific aircraft in a given directory. |
| 90 |
.TP |
| 91 |
\fB\-\-download\-dir=\fIpath\fR |
| 92 |
Store aircraft and scenery downloaded via the simulator in \fIpath\fR. |
| 93 |
|
| 94 |
The TerraSync directory may be specifically set with the |
| 95 |
.B \-\-terrasync\-dir |
| 96 |
option. |
| 97 |
.TP |
| 98 |
\fB\-\-allow\-nasal\-read=\fIdirs\fR |
| 99 |
Allow Nasal aircraft scripts to read files from the directories listed in |
| 100 |
\fIdirs\fR (separate multiple paths with colons, or semicolons on Microsoft |
| 101 |
Windows operating systems). |
| 102 |
|
| 103 |
By default, Nasal scripts are allowed to read data only from \fB$FG_ROOT\fR |
| 104 |
and \fB$FG_HOME\fR, as a security measure. |
| 105 |
.TP |
| 106 |
\fB\-\-read\-only\fR |
| 107 |
Make \fB$FG_HOME\fR (the location where user-specific FlightGear data is |
| 108 |
stored) read-only. |
| 109 |
.TP |
| 110 |
\fB\-\-language=\fIcode\fR |
| 111 |
Set the language used by the simulator to \fIcode\fR, where \fIcode\fR is an |
| 112 |
ISO 639-1 two-letter locale code (for example, \fBen\fR or \fBit\fR). |
| 113 |
.TP |
| 114 |
\fB\-\-restore\-defaults\fR |
| 115 |
Reset all user settings to their defaults. |
| 116 |
.TP |
| 117 |
\fB\-\-enable\-save\-on\-exit\fR, \fB\-\-disable\-save\-on\-exit\fR |
| 118 |
Save/do not save user settings when the program exits. |
| 119 |
.TP |
| 120 |
\fB\-\-ignore\-autosave\fR |
| 121 |
Ignore the user settings saved the previous time FlightGear was run. This |
| 122 |
option implies \fB\-\-disable\-save\-on\-exit\fR. |
| 123 |
.TP |
| 124 |
\fB\-\-browser\-app=\fIpath\fR |
| 125 |
Use the Web browser specified in \fIpath\fR to open aircraft documentation. |
| 126 |
.TP |
| 127 |
\fB\-\-prop:\fR[\fItype\fB:\fR]\fIname\fB=\fIvalue\fR |
| 128 |
Set the property \fIname\fR to \fIvalue\fR. You can optionally specify the |
| 129 |
property type by setting \fItype\fR to \fBstring\fR, \fBdouble\fR, \fBfloat\fR, |
| 130 |
\fBlong\fR, \fBint\fR or \fBbool\fR. |
| 131 |
.TP |
| 132 |
\fB\-\-config=\fIpath\fR |
| 133 |
Load additional configuration directives from \fIpath\fR. The file should |
| 134 |
follow the format described in |
| 135 |
.BR fgfsrc (5). |
| 136 |
.TP |
| 137 |
\fB\-\-no\-default\-config\fR |
| 138 |
Do not load any configuration files unless they were explicitly specified with |
| 139 |
\fB\-\-config\fR. |
| 140 |
.TP |
| 141 |
\fB\-\-units\-feet\fR |
| 142 |
Use feet as the internal measure unit for distances. |
| 143 |
.TP |
| 144 |
\fB\-\-units\-meters\fR |
| 145 |
Use meters as the internal measure unit for distances. |
| 146 |
.TP |
| 147 |
\fB\-\-console\fR |
| 148 |
Display a console window for simulator/aircraft debugging purposes. |
| 149 |
|
| 150 |
This option is recognized only on Microsoft Windows operating systems; on |
| 151 |
other systems, debug messages are always printed to standard output/standard |
| 152 |
error. |
| 153 |
.TP |
| 154 |
\fB\-\-launcher\fR |
| 155 |
Start the FlightGear Launcher, a graphical Qt-based interface to the simulator. |
| 156 |
|
| 157 |
This option is available only if FlightGear was compiled with Qt support |
| 158 |
enabled. |
| 159 |
.TP |
| 160 |
\fB\-\-json\-report\fR |
| 161 |
Print a report in JSON format on the standard output. The report will give |
| 162 |
useful information for debugging purposes, such as the FlightGear version, |
| 163 |
the scenery/aircraft paths in use, the TerraSync and the data download |
| 164 |
directories and the paths to navigation data files. |
| 165 |
.SS Features |
| 166 |
.TP |
| 167 |
\fB\-\-enable\-panel\fR, \fB\-\-disable\-panel\fR |
| 168 |
Enable/disable the pop-up aircraft instrument panel if the chosen airplane has |
| 169 |
it. |
| 170 |
.TP |
| 171 |
\fB\-\-enable\-hud\fR, \fB\-\-disable\-hud\fR |
| 172 |
Enable/disable the heads-up display (HUD) if the chosen airplane has it. |
| 173 |
.TP |
| 174 |
\fB\-\-enable\-anti\-alias\-hud\fR, \fB\-\-disable\-anti\-alias\-hud\fR |
| 175 |
Enable/disable heads-up display antialiasing. |
| 176 |
.TP |
| 177 |
\fB\-\-enable\-hud\-3d\fR, \fB\-\-disable\-hud\-3d\fR |
| 178 |
Enable/disable the 3D version of the heads-up display. |
| 179 |
.TP |
| 180 |
\fB\-\-hud\-tris\fR |
| 181 |
Display the number of triangles rendered when painting the heads-up display. |
| 182 |
.TP |
| 183 |
\fB\-\-hud\-culled\fR |
| 184 |
Display the number of triangles culled when painting the heads-up display. |
| 185 |
.TP |
| 186 |
\fB\-\-enable\-random\-objects\fR, \fB\-\-disable\-random\-objects\fR |
| 187 |
Show/hide random scenery objects, such as buildings. Scenery objects increase |
| 188 |
realism, but require more resources (memory and graphic card power). |
| 189 |
.TP |
| 190 |
\fB\-\-enable\-random\-vegetation\fR, \fB\-\-disable\-random\-vegetation\fR |
| 191 |
Show/hide random vegetation. |
| 192 |
.TP |
| 193 |
\fB\-\-enable\-random\-buildings\fR, \fB\-\-disable\-random\-buildings\fR |
| 194 |
Show/hide random buildings. |
| 195 |
.TP |
| 196 |
\fB\-\-enable\-ai\-models\fR, \fB\-\-disable\-ai\-models\fR |
| 197 |
Enable/disable the internal AI subsystem, which is required for multiplayer |
| 198 |
gaming, AI traffic and many other animations. \fBDisabling the internal AI |
| 199 |
subsystem is deprecated.\fR |
| 200 |
.TP |
| 201 |
\fB\-\-enable\-ai\-traffic\fR, \fB\-\-disable\-ai\-traffic\fR |
| 202 |
Enable/disable artificial plane traffic. |
| 203 |
.TP |
| 204 |
\fB\-\-ai\-scenario=\fIscenario\fR |
| 205 |
Add and enable the AI scenario \fIscenario\fR. This option may be repeated |
| 206 |
multiple times to enable multiple scenarios. |
| 207 |
.TP |
| 208 |
\fB\-\-enable\-freeze\fR |
| 209 |
Start the simulator in a frozen (paused) state. |
| 210 |
.TP |
| 211 |
\fB\-\-disable\-freeze\fR |
| 212 |
Start the simulator in a running (unpaused) state. |
| 213 |
.TP |
| 214 |
\fB\-\-enable\-fuel\-freeze\fR |
| 215 |
Do not consume any fuel (keep its quantity in the tanks constant). |
| 216 |
.TP |
| 217 |
\fB\-\-disable\-fuel\-freeze\fR |
| 218 |
Consume fuel normally. |
| 219 |
.TP |
| 220 |
\fB\-\-enable\-clock\-freeze\fR |
| 221 |
Do not let the clock advance while running the simulation. |
| 222 |
.TP |
| 223 |
\fB\-\-disable\-clock\-freeze\fR |
| 224 |
Let the clock advance normally. |
| 225 |
.TP |
| 226 |
\fB\-\-failure=pitot\fR|\fBstatic\fR|\fBvacuum\fR|\fBelectrical\fR |
| 227 |
Fail the aircraft pitot, static, vacuum or electrical systems. This option may |
| 228 |
be repeated multiple times to fail more than one system. |
| 229 |
.TP |
| 230 |
\fB\-\-load\-tape=\fItape\fR |
| 231 |
Load and replay the flight recorder tape \fItape\fR. |
| 232 |
.SS "Audio options" |
| 233 |
.TP |
| 234 |
\fB\-\-show\-sound\-devices\fR |
| 235 |
Show a list of available audio devices and exit. |
| 236 |
.TP |
| 237 |
\fB\-\-sound\-device=\fIname\fR |
| 238 |
Set the sound device to use to \fIname\fR, where |
| 239 |
.I name |
| 240 |
is the device name shown by the |
| 241 |
.B \-\-show\-sound\-devices |
| 242 |
option. |
| 243 |
.TP |
| 244 |
\fB\-\-enable\-sound\fR, \fB\-\-disable\-sound\fR |
| 245 |
Enable/disable sound in the simulator. |
| 246 |
.SS "Rendering options" |
| 247 |
.TP |
| 248 |
\fB\-\-terrain\-engine=tilecache\fR|\fBpagedLOD\fR |
| 249 |
Choose the terrain engine to use. \fBtilecache\fR is the "traditional" terrain |
| 250 |
engine (recommended); \fBpagedLOD\fR is a new, experimental terrain engine |
| 251 |
designed to minimize memory usage by loading more detailed versions of scenery |
| 252 |
objects on demand. |
| 253 |
|
| 254 |
The \fBpagedLOD\fR engine is available only if FlightGear was compiled with |
| 255 |
GDAL support. |
| 256 |
.TP |
| 257 |
\fB\-\-lod\-levels=\fIlevels\fR |
| 258 |
Set the level of detail levels to \fIlevels\fR, where \fIlevels\fR is a |
| 259 |
space\-separated list of numeric levels. This option is available only if the |
| 260 |
terrain engine in use is \fBpagedLOD\fR. |
| 261 |
.TP |
| 262 |
\fB\-\-lod\-res=\fIresolution\fR |
| 263 |
Set the terrain mesh resolution to \fIresolution\fR. This option is available |
| 264 |
only if the terrain engine in use is \fBpagedLOD\fR. |
| 265 |
.TP |
| 266 |
\fB\-\-lod\-texturing=bluemarble\fR|\fBraster\fR|\fBdebug\fR |
| 267 |
Set the terrain texture method. This option is available only if the terrain |
| 268 |
engine in use is \fBpagedLOD\fR. |
| 269 |
.TP |
| 270 |
\fB\-\-lod\-range\-mult=\fImultiplier\fR |
| 271 |
Set the range multiplier (the breakpoint from a low to a high level of detail) |
| 272 |
to \fImultiplier\fR. This option is available only if the terrain engine in |
| 273 |
use is \fBpagedLOD\fR. |
| 274 |
.TP |
| 275 |
\fB\-\-enable\-splash\-screen\fR, \fB\-\-disable\-splash\-screen\fR |
| 276 |
Show/hide the simulator splash screen while loading the aircraft/scenery. |
| 277 |
.TP |
| 278 |
\fB\-\-enable\-mouse\-pointer\fR, \fB\-\-disable\-mouse\-pointer\fR |
| 279 |
Force enable display/do not force display the mouse pointer at startup. |
| 280 |
.TP |
| 281 |
\fB\-\-max\-fps=\fIfrequency\fR |
| 282 |
Limit the maximum frame rate of the simulator to \fIfrequency\fR Hz (frames per |
| 283 |
second). |
| 284 |
.TP |
| 285 |
\fB\-\-bpp=\fIdepth\fR |
| 286 |
Use a color depth of \fIdepth\fR bits per pixel to display the aircraft and |
| 287 |
scenery. |
| 288 |
.TP |
| 289 |
\fB\-\-fog\-disable\fR, \fB\-\-fog\-fastest\fR, \fB\-\-fog\-nicest\fR |
| 290 |
Choose the fog/haze rendering technique. |
| 291 |
.B \-\-fog\-disable |
| 292 |
will disable fog/haze entirely; |
| 293 |
.B \-\-fog\-fastest |
| 294 |
will explicitly ask the graphics card driver to choose the most efficient, but |
| 295 |
possibly less accurate, fog/haze rendering algorithm; |
| 296 |
.B \-\-fog\-nicest |
| 297 |
will leave the algorithm choice to the driver, leading to higher quality |
| 298 |
results. |
| 299 |
.TP |
| 300 |
\fB\-\-enable\-enhanced\-lighting\fR, \fB\-\-disable\-enhanced\-lighting\fR |
| 301 |
Enable/disable enhanced runway lighting. \fBThis option is deprecated.\fR |
| 302 |
.TP |
| 303 |
\fB\-\-enable\-distance\-attenuation\fR, \fB\-\-disable\-distance\-attenuation\fR |
| 304 |
Enable/disable runway light distance attenuation (the runway lights become |
| 305 |
less intense as distance increases). |
| 306 |
.TP |
| 307 |
\fB\-\-enable\-horizon\-effect\fR, \fB\-\-disable\-horizon\-effect\fR |
| 308 |
Enable/disable the celestial body growth illusion near the horizon. |
| 309 |
.TP |
| 310 |
\fB\-\-enable\-specular\-highlight\fR, \fB\-\-disable\-specular\-highlight\fR |
| 311 |
Enable/disable specular reflections on textured objects. |
| 312 |
.TP |
| 313 |
\fB\-\-fov=\fIdegrees\fR |
| 314 |
Set the field of view angle (FOV) to \fIdegrees\fR. High field of view angles |
| 315 |
allow you to see a wider part of the world; low angles allow you to "zoom in" |
| 316 |
on details. |
| 317 |
.TP |
| 318 |
\fB\-\-aspect\-ratio\-multiplier=\fIfactor\fR |
| 319 |
Set the horizontal and vertical aspect ratio multiplier to \fIfactor\fR. |
| 320 |
.TP |
| 321 |
\fB\-\-enable\-fullscreen\fR, \fB\-\-disable\-fullscreen\fR |
| 322 |
Enable/disable fullscreen mode. |
| 323 |
.TP |
| 324 |
\fB\-\-shading\-flat\fR, \fB\-\-shading\-smooth\fR |
| 325 |
Use flat/smooth shading. If flat shading is active, the simulator uses the same |
| 326 |
color to paint the face of an object: this is faster, but makes edges more |
| 327 |
pronounced. Smooth shading smooths color changes between vertices, leading to |
| 328 |
higher-quality results, at an expense in performance. |
| 329 |
.TP |
| 330 |
\fB\-\-materials\-file=\fIfile\fR |
| 331 |
Load the definitions of the materials used to render the scenery from |
| 332 |
\fIfile\fR. By default, materials are loaded from |
| 333 |
\fI$FG_ROOT/regions/materials.xml\fR. |
| 334 |
.TP |
| 335 |
\fB\-\-texture\-filtering=\fIvalue\fR |
| 336 |
Set the anisotropic texture filtering to \fIvalue\fR. The acceptable values are |
| 337 |
\fB1\fR (default), \fB2\fR, \fB4\fR, \fB8\fR or \fB16\fR. |
| 338 |
.TP |
| 339 |
\fB\-\-enable\-wireframe\fR, \fB\-\-disable\-wireframe\fR |
| 340 |
Enable/disable the wireframe drawing mode (in which only object edges are |
| 341 |
painted). |
| 342 |
.TP |
| 343 |
\fB\-\-geometry=\fIwidth\fBx\fIheight\fR |
| 344 |
Set the window geometry (size) to \fIwidth\fBx\fIheight\fR (both \fIwidth\fR |
| 345 |
and \fIheight\fR are in pixels). |
| 346 |
.TP |
| 347 |
\fB\-\-view\-offset=LEFT\fR|\fBRIGHT\fR|\fBCENTER\fR|\fIvalue\fR |
| 348 |
Specify the default forward view direction as an offset from straight ahead. |
| 349 |
The allowed values are \fBLEFT\fR (-90°), \fBRIGHT\fR (90°), \fBCENTER\fR (0°) |
| 350 |
or a specific number in degrees. |
| 351 |
.SS "Aircraft options" |
| 352 |
.TP |
| 353 |
\fB\-\-aircraft=\fIname\fR, \fB\-\-vehicle=\fIname\fR |
| 354 |
Load an aircraft/vehicle from a set file named \fRname\fI\-set.xml\fR. The file |
| 355 |
is searched for in \fI$FG_ROOT/Aircraft\fR, in the directory pointed to by the |
| 356 |
environment variable \fBFG_AIRCRAFT\fR and in the directories passed to |
| 357 |
.BR fgfs (1) |
| 358 |
using the \fB\-\-fg\-aircraft\fR option. |
| 359 |
.TP |
| 360 |
\fB\-\-aircraft\-dir=\fIpath\fR |
| 361 |
Explicitly specify the directory in which the \fB\-set.xml\fR file should be |
| 362 |
searched for. If this argument is used, the path cache stored in |
| 363 |
\fI~/.fgfs/autosave_X_Y.xml\fR, the directories passed with the |
| 364 |
\fB\-\-fg\-aircraft\fR option and the directory specified in the |
| 365 |
\fBFG_AIRCRAFT\fR environment variable are not taken into account. |
| 366 |
.TP |
| 367 |
\fB\-\-show\-aircraft\fR |
| 368 |
Print a list of available aircraft and exit. |
| 369 |
.TP |
| 370 |
\fB\-\-min\-status=alpha\fR|\fBbeta\fR|\fBearly-production\fR|\fBproduction\fR |
| 371 |
Do not list aircraft having a status level (development status) lower than the |
| 372 |
one specified. See |
| 373 |
.UR http://\:wiki.flightgear.org/\:Aircraft_rating_system |
| 374 |
the FlightGear wiki "Aircraft rating system" page |
| 375 |
.UE |
| 376 |
for an extended description of aircraft ratings. |
| 377 |
.TP |
| 378 |
\fB\-\-fdm=jsb\fR|\fBlarcsim\fR|\fByasim\fR|\fBmagic\fR|\fBballoon\fR|\fBada\fR|\fBexternal\fR|\fBnull\fR |
| 379 |
Select the core flight dynamics model to use among the following ones: |
| 380 |
.RS 7 |
| 381 |
.IP \(bu 3 |
| 382 |
\fBjsb\fR: the |
| 383 |
.UR http://\:www.jsbsim.org/ |
| 384 |
JSBSim flight dynamics model |
| 385 |
.UE , |
| 386 |
which takes a data\-driven approach to modeling: given the performance data for |
| 387 |
an aircraft (mass and balance, ground reactions, propulsions, aerodynamics...), |
| 388 |
it assembles it together to produce the global aircraft dynamics; |
| 389 |
.IP \(bu 3 |
| 390 |
\fBlarcsim\fR: the |
| 391 |
.UR http://\:www.jsbsim.org/ |
| 392 |
LaRCsim flight dynamics model |
| 393 |
.UE , |
| 394 |
the original model used in FlightGear up to 2000, developed at NASA, now |
| 395 |
inactive; |
| 396 |
.IP \(bu 3 |
| 397 |
\fByasim\fR: the |
| 398 |
.UR http://\:wiki.flightgear.org/\:YASim |
| 399 |
YASim flight dynamics model |
| 400 |
.UE , |
| 401 |
which, given the physical and flying characteristics of an aircraft, attempts |
| 402 |
to solve for them; |
| 403 |
.IP \(bu 3 |
| 404 |
\fBmagic\fR: the "Magic Carpet" flight model; |
| 405 |
.IP \(bu 3 |
| 406 |
\fBballoon\fR: a hot air balloon simulation; |
| 407 |
.IP \(bu 3 |
| 408 |
\fBada\fR: an externally-driven flight dynamics model designed by the |
| 409 |
Aeronautical Development Agency of Bangalore, India; |
| 410 |
.IP \(bu 3 |
| 411 |
\fBexternal\fR/\fBnull\fR: use an external flight dynamics model (the |
| 412 |
\fBexternal\fR option has the same meaning as \fBnull\fR and is maintained for |
| 413 |
backward compatibility purposes). |
| 414 |
.RE |
| 415 |
.TP |
| 416 |
\fB\-\-aero=\fIname\fR |
| 417 |
Load the aircraft aerodynamics model from the file \fRname\fI.xml\fR in the |
| 418 |
aircraft directory. |
| 419 |
.TP |
| 420 |
\fB\-\-model\-hz=\fIn\fR |
| 421 |
Run the flight dynamics model at a frequency of \fIn\fR Hz (\fIn\fR times per |
| 422 |
second). |
| 423 |
.TP |
| 424 |
\fB\-\-speed=\fIn\fR |
| 425 |
Run the flight dynamics model \fIn\fR times faster than real time. |
| 426 |
.TP |
| 427 |
\fB\-\-trim\fR, \fB\-\-notrim\fR |
| 428 |
Trim/do not attempt to trim the model. This option is only valid if the flight |
| 429 |
dynamics module in use is JSBSim. |
| 430 |
.TP |
| 431 |
\fB\-\-on\-ground\fR |
| 432 |
Start the aircraft on the ground. This is the default option. |
| 433 |
.TP |
| 434 |
\fB\-\-in\-air\fR |
| 435 |
Start the aircraft in the air. This option is implied if \fB\-\-altitude\fR |
| 436 |
is specified. |
| 437 |
.TP |
| 438 |
\fB\-\-enable\-auto\-coordination\fR, \fB\-\-disable\-auto\-coordination\fR |
| 439 |
Enable/disable auto coordination (joint control of rudder and ailerons). |
| 440 |
.TP |
| 441 |
\fB\-\-livery=\fIname\fR |
| 442 |
Load the aircraft livery from a file named \fIname\fR. |
| 443 |
.TP |
| 444 |
\fB\-\-state=\fIvalue\fR |
| 445 |
Set the initial aircraft state to \fIvalue\fR. The states that can be used are |
| 446 |
aircraft\-dependent. |
| 447 |
.SS "Time options" |
| 448 |
.TP |
| 449 |
\fB\-\-timeofday=real\fR|\fBdawn\fR|\fBmorning\fR|\fBnoon\fR|\fBafternoon\fR|\fBdusk\fR|\fBevening\fR|\fBmidnight\fR |
| 450 |
Start the simulator at the specified time of day: |
| 451 |
.RS 7 |
| 452 |
.IP \(bu 3 |
| 453 |
\fBreal\fR: real clock time; |
| 454 |
.IP \(bu 3 |
| 455 |
\fBdawn\fR: the time when the Sun is 90° E on the horizon; |
| 456 |
.IP \(bu 3 |
| 457 |
\fBmorning\fR: the time when the Sun is 75° E on the horizon; |
| 458 |
.IP \(bu 3 |
| 459 |
\fBnoon\fR: the time when the Sun is 0° on the horizon; |
| 460 |
.IP \(bu 3 |
| 461 |
\fBafternoon\fR: the time when the Sun is 75° W on the horizon; |
| 462 |
.IP \(bu 3 |
| 463 |
\fBdusk\fR: the time when the Sun is 90° W on the horizon; |
| 464 |
.IP \(bu 3 |
| 465 |
\fBevening\fR: the time when the Sun is 100° W on the horizon; |
| 466 |
.IP \(bu 3 |
| 467 |
\fBmidnight\fR: the time when the Sun is 180° on the horizon. |
| 468 |
.RE |
| 469 |
.TP |
| 470 |
\fB\-\-season=summer\fR|\fBwinter\fR |
| 471 |
Load summer/winter textures. |
| 472 |
.TP |
| 473 |
\fB\-\-time\-offset=\fR[\fB+\fR|\fB-\fR]\fIhh\fB:\fImm\fB:\fIss\fR |
| 474 |
Add a time offset to the startup time specified with the \fB\-\-timeofday\fR |
| 475 |
option. |
| 476 |
.TP |
| 477 |
\fB\-\-time\-match\-real\fR |
| 478 |
Synchronize the simulator time with real world GMT time. |
| 479 |
.TP |
| 480 |
\fB\-\-time\-match\-local\fR |
| 481 |
Synchronize the simulator time with real world local time. |
| 482 |
.TP |
| 483 |
\fB\-\-start\-date\-sys=\fIyyyy\fB:\fImm\fB:\fIdd\fB:\fIhh\fB:\fImm\fB:\fIss\fR |
| 484 |
Specify the simulator starting date and time with respect to the local timezone |
| 485 |
of the system. |
| 486 |
.TP |
| 487 |
\fB\-\-start\-date\-gmt=\fIyyyy\fB:\fImm\fB:\fIdd\fB:\fIhh\fB:\fImm\fB:\fIss\fR |
| 488 |
Specify the simulator starting date and time with respect to the Greenwich Mean |
| 489 |
Time. |
| 490 |
.TP |
| 491 |
\fB\-\-start\-date\-lat=\fIyyyy\fB:\fImm\fB:\fIdd\fB:\fIhh\fB:\fImm\fB:\fIss\fR |
| 492 |
Specify the simulator starting date and time with respect to the timezone of |
| 493 |
the starting airport. |
| 494 |
.SS "Initial position and orientation" |
| 495 |
.TP |
| 496 |
\fB\-\-airport=\fIID\fR |
| 497 |
Start the simulator at the airport having \fIID\fR as its ICAO code. |
| 498 |
.TP |
| 499 |
\fB\-\-parking\-id=\fIname\fR |
| 500 |
Place the aircraft at the parking position \fIname\fR. This option requires the |
| 501 |
\fB\-\-airport\fR option to be present. |
| 502 |
.TP |
| 503 |
\fB\-\-runway=\fInumber\fR |
| 504 |
Place the aircraft on runway \fInumber\fR. This option requires the |
| 505 |
\fB\-\-airport\fR option to be present. |
| 506 |
.TP |
| 507 |
\fB\-\-carrier=\fIname\fR|\fIID\fR |
| 508 |
Place the aircraft on the AI carrier named \fIname\fR/having the ID \fIID\fR. |
| 509 |
.TP |
| 510 |
\fB\-\-parkpos=\fIname\fR |
| 511 |
Place the aircraft at the starting position \fIname\fR. This option requires |
| 512 |
the \fB\-\-carrier\fR option to be present. |
| 513 |
.TP |
| 514 |
\fB\-\-vor=\fIID\fR |
| 515 |
Place the aircraft over the VOR \fIID\fR. |
| 516 |
.TP |
| 517 |
\fB\-\-vor\-frequency=\fIfrequency\fR |
| 518 |
Set the frequency of the VOR to \fIfrequency\fR. This option requires the |
| 519 |
\fB\-\-vor\fR option to be present. |
| 520 |
.TP |
| 521 |
\fB\-\-ndb=\fIID\fR |
| 522 |
Place the aircraft over the NDB \fIID\fR. |
| 523 |
.TP |
| 524 |
\fB\-\-ndb\-frequency=\fIfrequency\fR |
| 525 |
Set the frequency of the NDB to \fIfrequency\fR. This option requires the |
| 526 |
\fB\-\-ndb\fR option to be present. |
| 527 |
.TP |
| 528 |
\fB\-\-fix=\fIID\fR |
| 529 |
Place the aircraft over the fix \fIID\fR. |
| 530 |
.TP |
| 531 |
\fB\-\-offset\-distance=\fInm\fR |
| 532 |
Place the aircraft \fInm\fR statute miles away from the reference point |
| 533 |
specified by the previous options. |
| 534 |
.TP |
| 535 |
\fB\-\-offset\-azimuth=\fIdegrees\fR |
| 536 |
Place the aircraft at a heading of \fIdegrees\fR degrees with respect to the |
| 537 |
reference point specified by the previous options. |
| 538 |
.TP |
| 539 |
\fB\-\-lon=\fIdegrees\fR, \fB\-\-lat=\fIdegrees\fR |
| 540 |
Place the aircraft at the point with the coordinates (\fIlat\fR, \fIlon\fR). |
| 541 |
Northern longitudes/eastern latitudes must be positive; southern |
| 542 |
longitudes/western latitudes must be negative. |
| 543 |
.TP |
| 544 |
\fB\-\-altitude=\fIvalue\fR |
| 545 |
Place the aircraft at an altitude of \fIvalue\fR feet (meters if the |
| 546 |
\fB\-\-units\-meters\fR option was specified). |
| 547 |
.TP |
| 548 |
\fB\-\-heading=\fIdegrees\fR |
| 549 |
Specify the initial heading (yaw) angle (psi) of the aircraft. |
| 550 |
.TP |
| 551 |
\fB\-\-roll=\fIdegrees\fR |
| 552 |
Specify the initial roll angle (phi) of the aircraft. |
| 553 |
.TP |
| 554 |
\fB\-\-pitch=\fIdegrees\fR |
| 555 |
Specify the initial pitch angle (theta) of the aircraft. |
| 556 |
.TP |
| 557 |
\fB\-\-uBody=\fIunits_per_sec\fR |
| 558 |
Specify the initial velocity along the body X axis. |
| 559 |
.TP |
| 560 |
\fB\-\-vBody=\fIunits_per_sec\fR |
| 561 |
Specify the initial velocity along the body Y axis. |
| 562 |
.TP |
| 563 |
\fB\-\-wBody=\fIunits_per_sec\fR |
| 564 |
Specify the initial velocity along the body Z axis. |
| 565 |
.TP |
| 566 |
\fB\-\-vNorth=\fIunits_per_sec\fR |
| 567 |
Specify the initial velocity along the body North-South axis. |
| 568 |
.TP |
| 569 |
\fB\-\-vEast=\fIunits_per_sec\fR |
| 570 |
Specify the initial velocity along the body West-East axis. |
| 571 |
.TP |
| 572 |
\fB\-\-vDown=\fIunits_per_sec\fR |
| 573 |
Specify the initial velocity along the body vertical axis. |
| 574 |
.TP |
| 575 |
\fB\-\-vc=\fIknots\fR |
| 576 |
Set the initial airspeed of the aircraft to \fIknots\fR knots. |
| 577 |
.TP |
| 578 |
\fB\-\-mach=\fInumber\fR |
| 579 |
Set the initial airspeed of the aircraft to Mach \fInumber\fR. |
| 580 |
.TP |
| 581 |
\fB\-\-glideslope=\fIdegrees\fR |
| 582 |
Set the flight path angle to \fIdegrees\fR degrees. The value can be positive. |
| 583 |
.TP |
| 584 |
\fB\-\-roc=\fIfpm\fR |
| 585 |
Set the initial rate of climb to \fIfpm\fR feet per minute. The value can be |
| 586 |
negative. |
| 587 |
.SS "Route/waypoint options" |
| 588 |
.TP |
| 589 |
\fB\-\-wp=\fIID\fR[\fB@\fIalt\fR] |
| 590 |
Enter the waypoint (VOR, NDB, fix) \fIID\fR into the autopilot. The optional |
| 591 |
part \fB@\fIalt\fR can be used to specify the altitude at which \fIID\fR |
| 592 |
should be crossed. |
| 593 |
.TP |
| 594 |
\fB\-\-flight\-plan=\fIfile\fR |
| 595 |
Read a flight plan from \fIfile\fR. |
| 596 |
.SS "Avionics options" |
| 597 |
.TP |
| 598 |
\fB\-\-com1=\fIfrequency\fR |
| 599 |
Set the COM1 frequency to \fIfrequency\fR MHz. |
| 600 |
.TP |
| 601 |
\fB\-\-com2=\fIfrequency\fR |
| 602 |
Set the COM2 frequency to \fIfrequency\fR MHz. |
| 603 |
.TP |
| 604 |
\fB\-\-nav1=\fR[\fIradial\fB:\fR]\fIfrequency\fR |
| 605 |
Set the NAV1 frequency to \fIfrequency\fR MHz. You can optionally specify a |
| 606 |
radial by prefixing the frequency with the heading and a colon. |
| 607 |
.TP |
| 608 |
\fB\-\-nav2=\fR[\fIradial\fB:\fR]\fIfrequency\fR |
| 609 |
Set the NAV2 frequency to \fIfrequency\fR MHz. You can optionally specify a |
| 610 |
radial by prefixing the frequency with the heading and a colon. |
| 611 |
.TP |
| 612 |
\fB\-\-adf1=\fR[\fIrotation\fB:\fR]\fIfrequency\fR, \fB\-\-adf=\fR[\fIrotation\fB:\fR]\fIfrequency\fR |
| 613 |
Set the ADF1 frequency to \fIfrequency\fR kHz. You can optionally specify the |
| 614 |
rotation angle of its compass card by prefixing the frequency with the angle and |
| 615 |
a colon. \fBThe \-\-adf option is deprecated.\fR |
| 616 |
.TP |
| 617 |
\fB\-\-adf2=\fR[\fIrotation\fB:\fR]\fIfrequency\fR |
| 618 |
Set the ADF2 frequency to \fIfrequency\fR kHz. You can optionally specify the |
| 619 |
rotation angle of its compass card by prefixing the frequency with the angle and |
| 620 |
a colon. |
| 621 |
.TP |
| 622 |
\fB\-\-dme=nav1\fR|\fBnav2\fR|\fIfrequency\fR |
| 623 |
Slave the automatic direction finder to the NAV1/NAV2 radio or set its internal |
| 624 |
frequency to \fIfrequency\fR. |
| 625 |
.SS "Environment options" |
| 626 |
.TP |
| 627 |
\fB\-\-metar=\fIMETAR\fR |
| 628 |
Simulate the weather conditions described by the METAR string \fIMETAR\fR. This |
| 629 |
option implies \fB\-\-disable\-real\-weather\-fetch\fR. |
| 630 |
.TP |
| 631 |
\fB\-\-enable\-real\-weather\-fetch\fR, \fB\-\-disable\-real\-weather\-fetch\fR |
| 632 |
Enable/disable METAR-based real weather fetching. This feature requires an |
| 633 |
active Internet connection. |
| 634 |
.TP |
| 635 |
\fB\-\-enable\-clouds\fR, \fB\-\-disable\-clouds\fR |
| 636 |
Enable/disable 2D (flat) cloud layers. |
| 637 |
.TP |
| 638 |
\fB\-\-enable\-clouds3d\fR, \fB\-\-disable\-clouds3d\fR |
| 639 |
Enable/disable 3D (volumetric) cloud layers. |
| 640 |
.TP |
| 641 |
\fB\-\-visibility=\fImeters\fR |
| 642 |
Set the initial visibility to \fImeters\fR meters. |
| 643 |
.TP |
| 644 |
\fB\-\-visibility\-miles=\fImiles\fR |
| 645 |
Set the initial visibility to \fImiles\fR miles. |
| 646 |
.TP |
| 647 |
\fB\-\-wind=\fIdir\fR[\fB:\fImaxdir\fR]\fB@\fIspeed\fR[\fB:\fIgust\fR] |
| 648 |
Specify the direction the wind blows from (\fIdir\fR) and its speed (\fIspeed\fR |
| 649 |
knots). If the wind is not meant to blow from a fixed direction, but rather |
| 650 |
from a range of directions, specify the range as \fIdir\fB:\fImaxdir\fR, where |
| 651 |
\fIdir\fR and \fImaxdir\fR are the minimum and maximum angles in degrees. If |
| 652 |
you want the simulator to model wind gusts as well, set \fIgust\fR to their |
| 653 |
maximum intensity in knots. |
| 654 |
.TP |
| 655 |
\fB\-\-random\-wind\fR |
| 656 |
Randomize the direction and speed of the wind. |
| 657 |
.TP |
| 658 |
\fB\-\-turbulence=\fIintensity\fR |
| 659 |
Set the turbulence intensity to \fIintensity\fR. The intensity can range from |
| 660 |
\fB0.0\fR (calm) to \fB1.0\fR (severe). |
| 661 |
.TP |
| 662 |
\fB\-\-ceiling=\fIft_asl\fR[\fB:\fIthickness_ft\fR] |
| 663 |
Create an overcast ceiling at a height of \fIft_asl\fR feet above the mean sea |
| 664 |
level. You can optionally specify a thickness by appending a colon (\fB:\fR) |
| 665 |
and the desired thickness in feet; if you omit it, the simulator will default |
| 666 |
to 2000 ft. |
| 667 |
.SS "Network options" |
| 668 |
.TP |
| 669 |
\fB\-\-callsign=\fIvalue\fR |
| 670 |
Set the multiplayer callsign to \fIvalue\fR. The callsign must be at most ten |
| 671 |
characters long and must contain only numbers, letters of the English alphabet, |
| 672 |
dashes (\fB\-\fR) and underscores (\fB_\fR); longer callsigns are truncated, |
| 673 |
and characters not matching those listed above are replaced with dashes. |
| 674 |
.TP |
| 675 |
\fB\-\-multiplay=\fR{\fBin\fR|\fBout\fR}\fB,\fIhz\fB,\fIaddress\fB,\fIport\fR |
| 676 |
Specify the multiplayer communication settings. |
| 677 |
|
| 678 |
The first field specifies whether the settings apply to inbound (\fBin\fR) or |
| 679 |
outbound (\fBout\fR) communications. The second field (\fIhz\fR) specifies the |
| 680 |
frequency (in Hz, times per second) at which data should be sent. The third |
| 681 |
field (\fIaddress\fR) must be set to the IP address of the network interface |
| 682 |
that FlightGear should use to send/receive data, or left blank to let the |
| 683 |
simulator use all available interfaces. The fourth field (\fIport\fR) should be |
| 684 |
set to the port to use (usually \fB5000\fR). |
| 685 |
.TP |
| 686 |
\fB\-\-proxy=\fR[\fIusername\fB:\fIpassword\fB@\fR]\fIhost\fB:\fIport\fR |
| 687 |
Specify the proxy server and port to use. The username and password are |
| 688 |
optional; if they are present, they should be given as MD5 hashes. |
| 689 |
|
| 690 |
This option is only useful if \fB\-\-real\-weather\-fetch\fR is enabled. |
| 691 |
.TP |
| 692 |
\fB\-\-httpd=\fR[\fIaddress\fB:\fR]\fIport\fR |
| 693 |
Enable the Phi interface (HTTP server) on the specified address and port. The |
| 694 |
address is optional. |
| 695 |
.TP |
| 696 |
\fB\-\-telnet=\fIport\fR |
| 697 |
Enable the Telnet interface on the specified port. |
| 698 |
.TP |
| 699 |
\fB\-\-jpg\-httpd=\fIport\fR |
| 700 |
Enable the screenshot HTTP server interface on the specified port. \fBThis |
| 701 |
option is deprecated: use the Phi interface instead.\fR |
| 702 |
.TP |
| 703 |
\fB\-\-enable\-terrasync\fR, \fB\-\-disable\-terrasync\fR |
| 704 |
Enable/disable automatic scenery/object downloads. |
| 705 |
.TP |
| 706 |
\fB\-\-terrasync\-dir=\fIdirectory\fR |
| 707 |
Set the directory where the downloaded scenery will be stored to |
| 708 |
\fIdirectory\fR. |
| 709 |
.TP |
| 710 |
\fB\-\-enable\-fgcom\fR, \fB\-\-disable\-fgcom\fR |
| 711 |
Enable/disable the FGCom (voice ATC) integration. |
| 712 |
.SS "I/O options" |
| 713 |
.TP |
| 714 |
\fB\-\-generic=\fIparams\fR, \fB\-\-atlas=\fIparams\fR, \fB\-\-atcsim=\fIparams\fR, \fB\-\-AV400=\fIparams\fR, \fB\-\-AV400Sim=\fIparams\fR, \fB\-\-AV400WSimA=\fIparams\fR, \fB\-\-AV400WSimB=\fIparams\fR, \fB\-\-garmin=\fIparams\fR, \fB\-\-hla=\fIparams\fR, \fB\-\-hla\-local=\fIparams\fR, \fB\-\-igc=\fIparams\fR, \fB\-\-joyclient=\fIparams\fR, \fB\-\-jsclient=\fIparams\fR, \fB\-\-native\-ctrls=\fIparams\fR, \fB\-\-native\-gui=\fIparams\fR, \fB\-\-native\-fdm=\fIparams\fR, \fB\-\-native=\fIparams\fR, \fB\-\-nmea=\fIparams\fR, \fB\-\-opengc=\fIparams\fR, \fB\-\-props=\fIparams\fR, \fB\-\-pve=\fIparams\fR, \fB\-\-ray=\fIparams\fR, \fB\-\-rul=\fIparams\fR |
| 715 |
Open a connection to drive external programs or hardware. |
| 716 |
|
| 717 |
Specify the protocol by using the correct command\-line option: |
| 718 |
.RS 7 |
| 719 |
.IP \(bu 3 |
| 720 |
\fBgeneric\fR: a predefined communication interface and a preselected |
| 721 |
communication protocol; |
| 722 |
.IP \(bu 3 |
| 723 |
\fBatlas\fR: the Atlas protocol; |
| 724 |
.IP \(bu 3 |
| 725 |
\fBatcsim\fR: the ATCsim (atc610x) protocol; |
| 726 |
.IP \(bu 3 |
| 727 |
\fBAV400\fR: the Garmin AV400 protocol, required to drive a Garmin 196/296 |
| 728 |
series GPS; |
| 729 |
.IP \(bu 3 |
| 730 |
\fBAV400Sim\fR: the set of AV400 strings required to drive a Garmin 400-series |
| 731 |
GPS; |
| 732 |
.IP \(bu 3 |
| 733 |
\fBAV400WSimA\fR, \fBAV400WSimB\fR: the set of strings required to drive a |
| 734 |
Garmin WAAS GPS (where the \fBA\fR channel uses a variant of the AVSim400 |
| 735 |
protocol and the \fBB\fR channel communicates with the GPS unit); |
| 736 |
.IP \(bu 3 |
| 737 |
\fBgarmin\fR: the Garmin GPS protocol; |
| 738 |
.IP \(bu 3 |
| 739 |
\fBhla\fR, \fBhla\-local\fR: the HLA protocol, either remote or local; |
| 740 |
.IP \(bu 3 |
| 741 |
\fBigc\fR: the International Glider Commission protocol; |
| 742 |
.IP \(bu 3 |
| 743 |
\fBjoyclient\fR: the protocol used by Agwagon joysticks; |
| 744 |
.IP \(bu 3 |
| 745 |
\fBnative\-ctrls\fR: the FlightGear Native Controls protocol; |
| 746 |
.IP \(bu 3 |
| 747 |
\fBnative\-gui\fR: the FlightGear Native GUI protocol; |
| 748 |
.IP \(bu 3 |
| 749 |
\fBnative\-fdm\fR: the FlightGear Native FDM protocol; |
| 750 |
.IP \(bu 3 |
| 751 |
\fBnative\fR: the FlightGear Native protocol; |
| 752 |
.IP \(bu 3 |
| 753 |
\fBnmea\fR: the NMEA protocol (used to drive most GPS units); |
| 754 |
.IP \(bu 3 |
| 755 |
\fBopengc\fR: the protocol used by OpenGC, a software used to render |
| 756 |
high\-quality glass cockpit displays for simulated flightdecks; |
| 757 |
.IP \(bu 3 |
| 758 |
\fBprops\fR: the interactive property manager protocol; |
| 759 |
.IP \(bu 3 |
| 760 |
\fBpve\fR: the PVE protocol; |
| 761 |
.IP \(bu 3 |
| 762 |
\fBray\fR: the Ray Woodworth motion chair protocol; |
| 763 |
.IP \(bu 3 |
| 764 |
\fBrul\fR: the RUL protocol. |
| 765 |
.RE |
| 766 |
|
| 767 |
.RS 7 |
| 768 |
The parameters (\fIparams\fR) must be in the form |
| 769 |
\fImedium\fB,\fIdirection\fB,\fIhz\fB,\fImedium_options\fR where \fImedium\fR |
| 770 |
is the medium used by the protocol (\fBserial\fR, \fBsocket\fR, \fBfile\fR...), |
| 771 |
\fIdirection\fR is the communication direction (\fBin\fR, \fBout\fR or |
| 772 |
\fBbi\fR), \fIhz\fR is the frequency the channel should be processed at |
| 773 |
(floating point values are accepted) and \fImedium_options\fR are: |
| 774 |
.RE |
| 775 |
|
| 776 |
.RS 7 |
| 777 |
.IP \(bu 3 |
| 778 |
for serial protocols, \fIdevice\fB,\fIbaud\fR, where \fIdevice\fR is the device |
| 779 |
name to be opened and \fIbaud\fR is the communication baud rate; |
| 780 |
.IP \(bu 3 |
| 781 |
for socket protocols, \fImachine\fB,\fIport\fB,\fIstyle\fR, where \fImachine\fR |
| 782 |
is the machine name or the IP address of the server (if the simulator should |
| 783 |
act as a client) or is left empty (if the simulator should act as a server), |
| 784 |
\fIport\fR is the port to use (or is left empty to ask the operating system to |
| 785 |
choose an available port) and \fIstyle\fR is \fBtcp\fR or \fBudp\fR; |
| 786 |
.IP \(bu 3 |
| 787 |
for file protocols, \fIfilename\fR, where \fIfilename\fR is the name of the |
| 788 |
file data should be written to. |
| 789 |
.RE |
| 790 |
.SS "Debugging options" |
| 791 |
.TP |
| 792 |
\fB\-\-enable\-fpe\fR |
| 793 |
Abort when a floating\-point exception is encountered. |
| 794 |
.TP |
| 795 |
\fB\-\-fgviewer\fR |
| 796 |
View the scenery and the aircraft in a simple model viewer, without loading the |
| 797 |
entire simulator. |
| 798 |
.TP |
| 799 |
\fB\-\-log\-level=bulk\fR|\fBdebug\fR|\fBinfo\fR|\fBwarn\fR|\fBalert\fR |
| 800 |
Set the minimum logging level. Log messages having a severity greater than or |
| 801 |
equal to the specified value are recorded; the others are discarded. |
| 802 |
.TP |
| 803 |
\fB\-\-log\-class=all\fR|\fBnone\fR|\fBai\fR|\fBenvironment\fR|\fBflight\fR|\fBgeneral\fR|\fBio\fR|\fBnetwork\fR|\fBsound\fR|\fBterrain\fR|... |
| 804 |
Log only events belonging to the specified log classes (\fBall\fR logs all |
| 805 |
events, \fBnone\fR logs none). Multiple classes can be specified by separating |
| 806 |
them with commas or pipes, for example: \fB\-\-log\-class=ai,flight\fR. |
| 807 |
.TP |
| 808 |
\fB\-\-log\-dir=\fIdir\fR |
| 809 |
Save the logs in the directory \fIdir\fR. If \fIdir\fR is \fBdesktop\fR, the |
| 810 |
logs are saved on the Desktop. This option may be given several times, using a |
| 811 |
different directory each time. Inside the specified directory, the log file |
| 812 |
will be named \fIFlightGear_\fRYYYY\fI-\fRMM\fI-\fRDD\fI_\fRnum\fI.log\fR, |
| 813 |
where \fIYYYY-MM-DD\fR is the current date and \fInum\fR is a progressive |
| 814 |
number starting at \fB0\fR. |
| 815 |
.TP |
| 816 |
\fB\-\-trace\-read=\fIproperty\fR, \fB\-\-trace\-write=\fIproperty\fR |
| 817 |
Trace the reads/writes for a property (print a log message whenever |
| 818 |
\fIproperty\fR is read from/written to). |
| 819 |
.TP |
| 820 |
\fB\-\-developer\fR |
| 821 |
Enable developer mode. |
| 822 |
.SH "EXIT STATUS" |
| 823 |
.B fgfs |
| 824 |
exits with |
| 825 |
.B 0 |
| 826 |
if the execution completes successfully, or with another status (usually |
| 827 |
.B 1 |
| 828 |
or \fB-1\fR) if an error occurred. |
| 829 |
.SH ENVIRONMENT |
| 830 |
.IP "\fBCOMPUTERNAME\fR" 4 |
| 831 |
Specifies the hostname of the system in use. This environment variable is only |
| 832 |
taken into account on Microsoft Windows operating systems. |
| 833 |
.IP "\fBFG_AIRCRAFT\fR" 4 |
| 834 |
Specifies the path in which aircraft should be searched for. |
| 835 |
.IP "\fBFG_LAUNCHER\fR" 4 |
| 836 |
If this environment variable is set and is not \fB0\fR, the Qt launcher will be |
| 837 |
shown. The variable is mainly used on Mac OS X operating systems to avoid the |
| 838 |
use of wrapper scripts. |
| 839 |
.IP "\fBFG_ROOT\fR" 4 |
| 840 |
Specifies the root data directory to use. |
| 841 |
.IP "\fBFG_SCENERY\fR" 4 |
| 842 |
Specifies the scenery directory to use. |
| 843 |
.IP "\fBHTTP_PROXY\fR" 4 |
| 844 |
Specifies the HTTP proxy to use. Must be in the form \fBhttp://host:port/\fR. |
| 845 |
.IP "\fBLANG\fR" 4 |
| 846 |
Specifies the language to use. |
| 847 |
.SH FILES |
| 848 |
.IP "\fI~/.fgfs\fR" 4 |
| 849 |
The main directory where FlightGear configuration files and data (downloaded |
| 850 |
aircraft/scenery) are stored. |
| 851 |
.IP "\fI~/.fgfsrc.hostname\fR, \fI~/.fgfsrc\fR" 4 |
| 852 |
Configuration files containing command-line options for |
| 853 |
.BR fgfs (1). |