[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.1 Common Command Line Options

All Crystal Space applications respond to a common set of command line options. Many applications define additional options which are specific to that particular application.

The most immediately useful command line option which all applications respond to is `-help'. This command list all of the other options to which an application responds.

The default setting for each command line option is set internally in the program unless there is a corresponding line for it in the configuration file. For example, normally the default for -gamma is 1.0 (the default brightness level). But when GAMMA=2.0 is set in configuration file `soft3d.cfg' the default will be 2.0 instead. Command line options always override default values.

Some interesting options to play with are:

-mode=640x480
Use this option to set the size of the display.

-canvas=sdl2d
Use this option to select the type of 2D canvas to use.

-video=opengl
(or direct3d, software, ...). Use this option to select type of display driver to use. Other options are software, direct3d, etc.

-recalc
Use this option to force recalculation of all cached information about a level, such as lightmaps and visibility data. This is a convenient shortcut to typing the other commands individually, such as `-relight', `-revis', etc.

-norecalc
Inhibit automatic recalculation of cached information if the engine determines that it is out of date.

-relight
Use this option to recalculate all lightmaps after you changed lighting or geometry in a level that you're trying. If you don't do this you either get the old lightmaps or no lightmaps at all.

-norelight
Inhibit automatic recalculation of the lightmap information which can occur if the engine finds that the existing lightmaps are out of date.

-revis
Use this option to recalculate all visibility information after you have changed geometry in a level. This will force the engine to ignore the existing cached visibility information and recalculate it from scratch.

-norevis
Inhibit automatic recalculation of visibility information if the engine determines that it is out of date.

FIXME
Document the remaining common command line options.

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated using texi2html