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 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199
|
<?xml version="1.0"?>
<FILE TITLE="Command line parameters">
<CHAP TITLE="Introduction">
<TEXT>
When you launch Liquid War 5, you can use command line options.
If you have no problems launching Liquid War,
this section should not interest you very much.
</TEXT>
<TEXT>
You can use several options at the same time.
The basic syntax for options looks like this:
</TEXT>
<CODE>
lw -option1 -option2 parameter2 -option3 parameter3 -option4 -option5
</CODE>
<TEXT>
Note that most of the options are legacy options which where usefull
with the initial releases of Liquid War, when you had to run in a
Windows DOS box, and when there were still plenty of 486 computers
with only 8Mb ram...
</TEXT>
</CHAP>
<CHAP TITLE="Version checking">
<TEXT>
These are basic options which can be usefull to figure out
which release of Liquid War is installed.
</TEXT>
<LIST>
<ELEM>
"-v" : returns the version number of the program.
</ELEM>
<ELEM>
"-h" : displays a short description and copyright information.
</ELEM>
</LIST>
</CHAP>
<CHAP TITLE="Changing default paths">
<TEXT>
Very usefull options, especially if you can not install Liquid War
in default directories or want to put the game in a special place.
</TEXT>
<LIST>
<ELEM>
"-cfg myconfigfile.cfg" : causes Liquid War to use the specified
config file.
</ELEM>
<ELEM>
"-dat mydatafilefile.dat" : causes Liquid War to use the specified
datafile. This might be a very interesting option if you run
Liquid War on a GNU/Linux box where you do not have root access and
therefore can not put the datafile in /usr.
</ELEM>
<ELEM>
"-map mycustommapdir" : causes Liquid War to use the specified
directory as the user map directory. The user map directory
is where you can put plain bitmaps to be used as maps.
</ELEM>
<ELEM>
"-tex mycustomtexturedir" : causes Liquid War to use the specified
directory as the user texture directory. The user texture directory
is where you can put plain bitmaps to be used as textures.
</ELEM>
<ELEM>
"-mid mycustommusicdir" : causes Liquid War to use the specified
directory as the user music directory. Any midi file placed in this
directory will be added to the list of available musics.
</ELEM>
</LIST>
</CHAP>
<CHAP TITLE="Troubleshooting switches">
<TEXT>
These options give you control on how Liquid War treats
initialisation errors, how much memory it should reserve,
what kind of video mode sit should not choose etc...
</TEXT>
<LIST>
<ELEM>
"-vga" :
This option forces Liquid War to use your video card
as if it was only a basic VGA card.
This option is required if you play Liquid War from Windows NT.
</ELEM>
<ELEM>
"-no400300" :
This option disables the VGA 400x300 video mode.
I created this options for I know that some video cards/monitors
don't support the 400x300 mode.
</ELEM>
<ELEM>
"-silent" :
With this option, Liquid War will not play any sound.
It will not search for any sound card.
This can be interesting if you don't have any sound card
or if Liquid War doesn't handle your card correctly.
</ELEM>
<ELEM>
"-nowater" :
Causes Liquid War not to load any water sound.
Use this if Liquid War runs short of memory,
and you should gain about 850kb.
</ELEM>
<ELEM>
"-nosfx" :
Causes Liquid War not to load any sound fx.
Use this if Liquid War runs short of memory,
and you should gain about 150kb.
</ELEM>
<ELEM>
"-nomusic" :
Causes Liquid War not to load any midi music.
</ELEM>
<ELEM>
"-mem n" :
The parameter "n" sets the amount of memory (in Mb)
Liquid War will allocate to do all its calculus.
If this number is too small, you won't be able to play
on all the levels.
If it is too high, Liquid War may not start at all
or crash while you are playing.
The default value is 8.
If you play Liquid War from Windows and Liquid War
refuses to run because this parameter is too high,
then try and give more dpmi memory to Liquid War.
</ELEM>
<ELEM>
"-nojoy" :
This option disables joystick support.
</ELEM>
<ELEM>
"-noback" :
Causes Liquid War not to load the background image.
Use this if Liquid War runs short of memory,
and you should gain about 300kb.
</ELEM>
<ELEM>
"-notex" :
Causes Liquid War not to load any texture.
Use this if Liquid War runs short of memory,
and you should gain about 750kb.
</ELEM>
<ELEM>
"-auto" :
If you set this option, Liquid War won't generate
any error while allocating memory or loading data.
</ELEM>
<ELEM>
"-safe" :
With this option, you will play with a very reduced
version of Liquid War. It looks rather ugly but
should work in a DOS box with only 4Mb of DPMI memory.
Use this if you experience serious memory or device problems.
If Liquid War doesn't start with this option turned on,
I really don't think I can do anything for you...
</ELEM>
<ELEM>
"-nice" :
With this option, Liquid War will use a mode which
is between the default mode and the <samp>safe</samp> mode.
</ELEM>
<ELEM>
"-check" :
With this option, Liquid War will stop as soon as it detects
something strange while initializing.
</ELEM>
<ELEM>
"-stop" :
If you set this option, Liquid War will prompt you for a key
when the init process is completed.
</ELEM>
<ELEM>
"-c" :
This is a weird option, if you turn it on,
the game will only use fonctions which are programmed in C langage.
The default behaviour is to use some functions I rewrote
in assembly langage, so that the game is a little faster.
</ELEM>
</LIST>
</CHAP>
<CHAP TITLE="Debug options">
<TEXT>
These options are usefull if you want to debug the game and
trace what's happening.
</TEXT>
<LIST>
<ELEM>
"-netlog" :
Dumps all the network traffic on the standard output. This
can help finding problems when trying to connect to the server
in a network game.
</ELEM>
</LIST>
</CHAP>
</FILE>
|