Command-Line Reference

From FreeSpace Wiki
Revision as of 02:55, 14 November 2005 by 152.3.76.154 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Launcher Flags

The following command-line options can be chosen from the launcher.

Graphics

-spec

Enables specular mapping. Only polygons mapped with textures for which a shinemap exists will recieve specular lighting. Specular maps are specified with the base map name plus "-shine" (i.e. TCov3A-shine.pcx).

-glow

Enables glowmapping. Only polygons mapped with textures for which a glowmap exists will be glowmapped. Glow maps are specified with the base map name plus "-shine" (i.e. TCov4A-glow.pcx)

-jpgtga

Enables the use of TGA and JPG file formats for image files. If a ship is showing up partially invisible, select this option.

-pcx32

<color = "red">WARNING - HIGH MEMORY USAGE</color>

Enables PCX files to be loaded into 32-bit memory. This will not imporove the rendering of any ships in-game, and is usually more of a burden on performance than is worthwhile. Use at your own risk.

-cell

Enables cell shading. This will make graphics appear more "cartoonish". For use with media in mv_cell.vp. Not considered a standard enhancement.

-mipmap

Enables mipmaping.

-nomotiondebris

Disables motion debris.

-2d_poof

Applies nebula poofs in 2d, effectively preventing them from forming intersections with ships.

-noscalevid

Disables scaling of video clips.

-cache_bitmaps

Caches bitmaps between missions, which will ideally reduce the load-time from one mission to another.

-img2dds

Converts all images to DDS (compressed) format. Decreases memory usage but potentially reduces image quality.

-no_vsync

Disables vertical sync.

HUD

-dualscanlines

Adds a second pair of scanning lines to the target window when scanning an object.

-targetinfo

Displays target info, such as name and class, beside the targeted object.

-orbradar

Enables 3D radar (the Orb). 3D radar will replace the standard 2D version.

-ballistic_gauge

Adds an ammo gauge to the HUD when armed with a ballistic weapon.

Gameplay

-nobeampierce

Causes beams to hit (and damage) shields before they impact a ship's hull. This is a global flag, but this behavior can also be modified in weapons.tbl.

-smart_shields

Enables "smart" shield recharging. Shield recharge rate is distributed across all damaged quadrants only, so each quadrant will recharge faster if not all are damaged.

-ship_choice_3d

Use ship and weapon models in ship selection and weapon loadout. Completely disables the standard ANI interface on those screens.

-3dwarp

Use full geometry for the subspace warp effect.

-warp_flash

Enable a flash at warp in and warp out.

-UseNewAI

Tells the game to use new AI routines. This argument alters mission balance and is not considered a standard feature. ====-tbp Enable feature set for The Babylon Project

-wcsaga

Enable feature set for The Wing Commander Saga

Audio

-snd_preload

Preload mission sounds. Useful in preventing game stuttering when sounds are played for the first time.

-nosound

Disables all sounds.

-nomusic

Disables music only.

Multiplayer

-standalone

Creates a standalone server.

-startgame

What does this do?

-closed

What does this do?

-restricted

What does this do?

-multilog

What does this do?

-clientdamage

What does this do?

-mpnoreturn

Disables return to the flight deck screen after a mission completes.

Troubleshooting

-fixbugs

<color="red">Obsolete Argument</color>

Originally used to disable certain crashing behavior as a stop-gap measure. This feature is not available in current builds.

-nocrash

<color="red">Obsolete Argument</color>

Originally used to disable certain crashing behavior as a stop-gap measure. This feature is not available in current builds.

-oldfire

What does this do?

-nohtl

<color = "red">WARNING - VERY SLOW</color>

Reverts to software rendering mode. Does this work any more?

-no_set_gamma

Disables the gamma settings in the options screen.

-nomovies

Disables all video playback.

-noparseerrors

Disables some parsing warnings and makes other parse errors non-fatal. Do not rely on this when creating new tables, the errors are there for a reason.

-safeloading

Loads missions the old way. Typically safer, but slower.

-query_speech

Determines if the current build includes text-to-speech.

-d3d_bad_tsys

Enable inefficient texture system.

-novbo

Disables OpenGL VBO.

-noibx

Disables IBX caching of model geometry data. This will dramatically increase load times, but will help troubleshoot a model if one is working incorrectly.

-loadallweps

Load all weapons, even those not used.

Experimental

-env

Enables environment mapping. Direct3D only. Environment mapping intensity will be determined from the intensity of specular maps.

-alpha_env

Enables alpha environment mapping. Direct3D only. Environment mapping intensity will be determined from the alpha channel of specular maps.

-decals

Enables damage decals.

-ingame_join

Enables ingame joining in multiplayer. FIXME: Host option?

-tga16

Converts all TGA images to 16-bits. Reduces memory footprint at the expense of image quality.

Development Tools

-fps

Displays current frames per second.

-pos

Displays current position coordinates of camera.

-window

Runs the game in a window. No check to make sure that resolution is no higher than your desktop resolution, so be careful.

-timerbar

Displays a timing bar across the top of the screen. Timebar format varies by build.

-stats

Shows statistics.

-coords

Shows coordinates of the mouse cursor.

-show_mem_usage

Shows memory usage.

-pofspew

What does this do?

-tablecrcs

What does this do?

-missioncrcs

What does this do?

-dis_collisions

Disables all collisions.

-dis_weapons

Disables weapons rendering.

-output_sexps

Outputs SEXPs to sexps.html.

-output_scripting

Outputs scripting to scripting.html.

-nograb

Unix only. Disables focus grabbing in a window.

Other

The following options are not available as checkboxes in the launcher. Many require parameters, which follow the flag seperated by a space. The prototype for use in this case is "-option argument"

Graphics

-ambient_factor

Reduces the ambient lighting levels.

Takes one argument decimal. The range is specified as a percent, so 0 is no ambient lighting, 100 is default levels.

-spec_exp

What does this do?

Takes one argument decimal.

-spec_point

What does this do?

Takes one argument decimal.

-spec_static

What does this do?

Takes one argument decimal.

"-spec_tube

What does this do?

Takes one argument decimal.

-clipdist

Changes the distance from the viewpoint for the near-clipping plane.

Takes one argument decimal specifying the distance to the near-clipping plane.

Gameplay

-mod

Specifies a higher priority game directory.

Takes one argument string, the name of the directory in which the target mod is contained. Explicit use of this command line should be unnecessary as the launcher has MOD options, though multiple mods are supported and do require manual entry.

Data precidence with -mod is as follows (mod directory "moddir")

  1. moddir/data/(appropriate directory)/
  2. moddir/data/
  3. moddir/
  4. Freespace2/data/(appropriate directory)
  5. Freespace2/data/
  6. Freespace2/

-fov

Specifies the Field of View for the player eyepoint.

Takes one argument decimal specifying the angle of the viewing cone. FIXME: Is this a solid angle, or a width? Is it radians or degrees? What is the valid range of inputs?

Multiplayer

-gamename

Specifies the name of the game to be created by a stand-alone server.

Takes one argument string, the name to be assigned to the game being created.

-password

Specifies the password for a stand-alone server.

Takes one argument string, the required password for the game being created.

-allowabove

Specifies a player's minimum rank for joining a game on a stand-alone server.

Takes one argument integer, the points ranking above which a player must be to enter the game.

-allowbelow

Specifies a player's maximum rank for joining a game on a stand-alone server.

Takes one argument integer, the points ranking below which a player must be to enter the game.

-port

Specifies the port on which to run for a stand-alone server.

Takes one argument integer, the port which the game should use to connect.

-connect

What does this do?

-clientdamage

What does this do?

-timeout

What does this do?