Crystal Space 2.0.0: 4.5.1 Common Command Line Options

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

### 4.5.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. 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. You don't often have to use this as the 3D driver normally automatically selects the appropriate canvas plugin.

`-video=opengl`

  Use this option to select type of display driver to use.

`-fs`

  Open in fullscreen mode (default is windowed).

`-verbose`

  This enable very verbose output. This is useful for debugging why Crystal Space isn't behaving as it should. If you just specify `‘-verbose’` you will get a lot of output. If your problem is not SCF related you can also do: `‘-verbose=-scf’`.

`-fullbright`

  Use this option to get fullbright rendering of all objects. This is useful for debugging maps if you don't want to spend time relighting them first.

`-plugin=...`

  This is a general commandline option with which you can load any plugin into your application. One common option is to use this for loading the `‘bugplug’` debugging plugin like this: `‘-plugin=bugplug’`. See section Using the BugPlug Debugging Plugin.

`-cfgset=...`

  With this commandline option you can set a configuration option on the commandline. For example: `‘-cfgset=Video.OpenGL.DelaySwap=yes’`.

`-cfgfile=...`

  This option loads an entire file to the configuration manager.

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

This document was generated using texi2html 1.76.