<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd"> <html> <!-- Created by texi2html 1.76 --> <!-- Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) Karl Berry <karl@freefriends.org> Olaf Bachmann <obachman@mathematik.uni-kl.de> and many others. Maintained by: Many creative people <dev@texi2html.cvshome.org> Send bugs and suggestions to <users@texi2html.cvshome.org> --> <head> <title>Crystal Space 1.2.1: 4.5.1 Common Command Line Options</title> <meta name="description" content="Crystal Space 1.2.1: 4.5.1 Common Command Line Options"> <meta name="keywords" content="Crystal Space 1.2.1: 4.5.1 Common Command Line Options"> <meta name="resource-type" content="document"> <meta name="distribution" content="global"> <meta name="Generator" content="texi2html 1.76"> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii"> <style type="text/css"> <!-- a.summary-letter {text-decoration: none} pre.display {font-family: serif} pre.format {font-family: serif} pre.menu-comment {font-family: serif} pre.menu-preformatted {font-family: serif} pre.smalldisplay {font-family: serif; font-size: smaller} pre.smallexample {font-size: smaller} pre.smallformat {font-family: serif; font-size: smaller} pre.smalllisp {font-size: smaller} span.sansserif {font-family:sans-serif; font-weight:normal;} ul.toc {list-style: none} --> </style> </head> <body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000"> <a name="Common-Command-Line-Options"></a> <a name="0"></a> <table cellpadding="1" cellspacing="1" border="0"> <tr><td valign="middle" align="left">[<a href="Options.html#0" title="Previous section in reading order"> < </a>]</td> <td valign="middle" align="left">[<a href="Configuration-File.html#0" title="Next section in reading order"> > </a>]</td> <td valign="middle" align="left"> </td> <td valign="middle" align="left">[<a href="Using-Crystal-Space.html#0" title="Beginning of this chapter or previous chapter"> << </a>]</td> <td valign="middle" align="left">[<a href="Options.html#0" title="Up section"> Up </a>]</td> <td valign="middle" align="left">[<a href="Working-with-Engine-Content.html#0" title="Next chapter"> >> </a>]</td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> <td valign="middle" align="left">[<a href="index.html#SEC_Top" title="Cover (top) of document">Top</a>]</td> <td valign="middle" align="left">[<a href="cs_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> <td valign="middle" align="left">[<a href="cs_Index.html#0" title="Index">Index</a>]</td> <td valign="middle" align="left">[<a href="cs_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> <hr size="1"> <h3 class="subsection"> 4.5.1 Common Command Line Options </h3> <p>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. </p> <p>The most immediately useful command line option which all applications respond to is <samp>‘-help’</samp>. This command list all of the other options to which an application responds. </p> <p>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. </p> <p>Some interesting options to play with are: </p> <dl compact="compact"> <dt> <code>-mode=640x480</code></dt> <dd><p>Use this option to set the size of the display. </p> </dd> <dt> <code>-canvas=sdl2d</code></dt> <dd><p>Use this option to select the type of 2D canvas to use. </p> </dd> <dt> <code>-video=opengl</code></dt> <dd><p>(or software, ...). Use this option to select type of display driver to use. Other options are <code>software</code>, <code>null</code>, etc. </p> </dd> <dt> <code>-fs</code></dt> <dd><p>Open in fullscreen mode (default is windowed). </p> </dd> <dt> <code>-verbose</code></dt> <dd><p>This enable very verbose output. This is useful for debugging why Crystal Space isn't behaving as it should. If you just specify <samp>‘-verbose’</samp> you will get a lot of output. If your problem is not <small>SCF</small> related you can also do: <samp>‘-verbose=-scf’</samp>. </p> </dd> <dt> <code>-relight</code></dt> <dd><p>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. Note that this command is only for the old lightmap system as used by the thing mesh object. </p> </dd> <dt> <code>-fullbright</code></dt> <dd><p>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. </p> </dd> <dt> <code>-plugin=<small class="dots">...</small></code></dt> <dd><p>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 <samp>‘bugplug’</samp> debugging plugin like this: <samp>‘-plugin=bugplug’</samp>. </p> </dd> <dt> <code>-cfgset=<small class="dots">...</small></code></dt> <dd><p>With this commandline option you can set a configuration option on the commandline. For example: <samp>‘-cfgset=Video.OpenGL.DelaySwap=yes’</samp>. </p> </dd> <dt> <code>-cfgfile=<small class="dots">...</small></code></dt> <dd><p>This option loads an entire file to the configuration manager. </p></dd> </dl> <hr size="1"> <table cellpadding="1" cellspacing="1" border="0"> <tr><td valign="middle" align="left">[<a href="Options.html#0" title="Previous section in reading order"> < </a>]</td> <td valign="middle" align="left">[<a href="Configuration-File.html#0" title="Next section in reading order"> > </a>]</td> <td valign="middle" align="left"> </td> <td valign="middle" align="left">[<a href="Using-Crystal-Space.html#0" title="Beginning of this chapter or previous chapter"> << </a>]</td> <td valign="middle" align="left">[<a href="Options.html#0" title="Up section"> Up </a>]</td> <td valign="middle" align="left">[<a href="Working-with-Engine-Content.html#0" title="Next chapter"> >> </a>]</td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> <td valign="middle" align="left"> </td> <td valign="middle" align="left">[<a href="index.html#SEC_Top" title="Cover (top) of document">Top</a>]</td> <td valign="middle" align="left">[<a href="cs_toc.html#SEC_Contents" title="Table of contents">Contents</a>]</td> <td valign="middle" align="left">[<a href="cs_Index.html#0" title="Index">Index</a>]</td> <td valign="middle" align="left">[<a href="cs_abt.html#SEC_About" title="About (help)"> ? </a>]</td> </tr></table> <p> <font size="-1"> This document was generated using <a href="http://texi2html.cvshome.org/"><em>texi2html 1.76</em></a>. </font> <br> </p> </body> </html>