1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- Created by texi2html 1.64 -->
<!--
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: Olaf Bachmann <obachman@mathematik.uni-kl.de>
Send bugs and suggestions to <texi2html@mathematik.uni-kl.de>
-->
<HTML>
<HEAD>
<TITLE>Crystal Space: Common Command Line Options</TITLE>
<META NAME="description" CONTENT="Crystal Space: Common Command Line Options">
<META NAME="keywords" CONTENT="Crystal Space: Common Command Line Options">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META NAME="Generator" CONTENT="texi2html 1.64">
</HEAD>
<BODY LANG="" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#800080" ALINK="#FF0000">
<A NAME="SEC120"></A>
<TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0>
<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_45.html#SEC119"> < </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_47.html#SEC121"> > </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_45.html#SEC119"> << </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_45.html#SEC119"> Up </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_53.html#SEC134"> >> </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="index.html#SEC_Top">Top</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_toc.html#SEC_Contents">Contents</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_285.html#SEC711">Index</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_abt.html#SEC_About"> ? </A>]</TD>
</TR></TABLE>
<HR SIZE=1>
<H2> 3.1 Common Command Line Options </H2>
<!--docid::SEC120::-->
<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.
For example, normally the default for <CODE>-gamma</CODE> is <CODE>1.0</CODE> (the default
brightness level). But when <CODE>GAMMA=2.0</CODE> is set in configuration file
`<TT>soft3d.cfg</TT>' the default will be <CODE>2.0</CODE> instead. Command line
options always override default values.
</P><P>
Some interesting options to play with are:
</P><P>
<DL COMPACT>
<DT><CODE>-mode=640x480</CODE>
<DD>Use this option to set the size of the display.
<P>
<DT><CODE>-canvas=sdl2d</CODE>
<DD>Use this option to select the type of 2D canvas to use.
<P>
<DT><CODE>-video=opengl</CODE>
<DD>(or direct3d, software, ...).
Use this option to select type of display driver to use. Other options
are <CODE>software</CODE>, <CODE>direct3d</CODE>, etc.
<P>
<DT><CODE>-recalc</CODE>
<DD>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 `<SAMP>-relight</SAMP>',
`<SAMP>-revis</SAMP>', etc.
<P>
<DT><CODE>-norecalc</CODE>
<DD>Inhibit automatic recalculation of cached information if the engine determines
that it is out of date.
<P>
<DT><CODE>-relight</CODE>
<DD>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.
<P>
<DT><CODE>-norelight</CODE>
<DD>Inhibit automatic recalculation of the lightmap information which can occur
if the engine finds that the existing lightmaps are out of date.
<P>
<DT><CODE>-revis</CODE>
<DD>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.
<P>
<DT><CODE>-norevis</CODE>
<DD>Inhibit automatic recalculation of visibility information if the engine
determines that it is out of date.
<P>
<DT><CODE><EM>FIXME</EM></CODE>
<DD>Document the remaining common command line options.
</DL>
<A NAME="Configuration File"></A>
<HR SIZE=1>
<TABLE CELLPADDING=1 CELLSPACING=1 BORDER=0>
<TR><TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_45.html#SEC119"> < </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_47.html#SEC121"> > </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_45.html#SEC119"> << </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_45.html#SEC119"> Up </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_53.html#SEC134"> >> </A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT"> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="index.html#SEC_Top">Top</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_toc.html#SEC_Contents">Contents</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_285.html#SEC711">Index</A>]</TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="cs_abt.html#SEC_About"> ? </A>]</TD>
</TR></TABLE>
<BR>
<FONT SIZE="-1">
This document was generated
using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html
"><I>texi2html</I></A>
</BODY>
</HTML>
|