2
<FILE TITLE="Command line parameters">
4
<CHAP TITLE="Introduction">
6
When you launch Liquid War 5, you can use command line options.
7
If you have no problems launching Liquid War,
8
this section should not interest you very much.
11
You can use several options at the same time.
12
The basic syntax for options looks like this:
15
lw -option1 -option2 parameter2 -option3 parameter3 -option4 -option5
18
Note that most of the options are legacy options which where usefull
19
with the initial releases of Liquid War, when you had to run in a
20
Windows DOS box, and when there were still plenty of 486 computers
25
<CHAP TITLE="Version checking">
27
These are basic options which can be usefull to figure out
28
which release of Liquid War is installed.
32
"-v" : returns the version number of the program.
35
"-h" : displays a short description and copyright information.
40
<CHAP TITLE="Changing default paths">
42
Very usefull options, especially if you can not install Liquid War
43
in default directories or want to put the game in a special place.
47
"-cfg myconfigfile.cfg" : causes Liquid War to use the specified
51
"-dat mydatafilefile.dat" : causes Liquid War to use the specified
52
datafile. This might be a very interesting option if you run
53
Liquid War on a GNU/Linux box where you do not have root access and
54
therefore can not put the datafile in /usr.
57
"-map mycustommapdir" : causes Liquid War to use the specified
58
directory as the user map directory. The user map directory
59
is where you can put plain bitmaps to be used as maps.
62
"-tex mycustomtexturedir" : causes Liquid War to use the specified
63
directory as the user texture directory. The user texture directory
64
is where you can put plain bitmaps to be used as textures.
67
"-mid mycustommusicdir" : causes Liquid War to use the specified
68
directory as the user music directory. Any midi file placed in this
69
directory will be added to the list of available musics.
74
<CHAP TITLE="Troubleshooting switches">
76
These options give you control on how Liquid War treats
77
initialisation errors, how much memory it should reserve,
78
what kind of video mode sit should not choose etc...
83
This option forces Liquid War to use your video card
84
as if it was only a basic VGA card.
85
This option is required if you play Liquid War from Windows NT.
89
This option disables the VGA 400x300 video mode.
90
I created this options for I know that some video cards/monitors
91
don't support the 400x300 mode.
95
With this option, Liquid War will not play any sound.
96
It will not search for any sound card.
97
This can be interesting if you don't have any sound card
98
or if Liquid War doesn't handle your card correctly.
102
Causes Liquid War not to load any water sound.
103
Use this if Liquid War runs short of memory,
104
and you should gain about 850kb.
108
Causes Liquid War not to load any sound fx.
109
Use this if Liquid War runs short of memory,
110
and you should gain about 150kb.
114
Causes Liquid War not to load any midi music.
118
The parameter "n" sets the amount of memory (in Mb)
119
Liquid War will allocate to do all its calculus.
120
If this number is too small, you won't be able to play
122
If it is too high, Liquid War may not start at all
123
or crash while you are playing.
124
The default value is 8.
125
If you play Liquid War from Windows and Liquid War
126
refuses to run because this parameter is too high,
127
then try and give more dpmi memory to Liquid War.
131
This option disables joystick support.
135
Causes Liquid War not to load the background image.
136
Use this if Liquid War runs short of memory,
137
and you should gain about 300kb.
141
Causes Liquid War not to load any texture.
142
Use this if Liquid War runs short of memory,
143
and you should gain about 750kb.
147
If you set this option, Liquid War won't generate
148
any error while allocating memory or loading data.
152
With this option, you will play with a very reduced
153
version of Liquid War. It looks rather ugly but
154
should work in a DOS box with only 4Mb of DPMI memory.
155
Use this if you experience serious memory or device problems.
156
If Liquid War doesn't start with this option turned on,
157
I really don't think I can do anything for you...
161
With this option, Liquid War will use a mode which
162
is between the default mode and the <samp>safe</samp> mode.
166
With this option, Liquid War will stop as soon as it detects
167
something strange while initializing.
171
If you set this option, Liquid War will prompt you for a key
172
when the init process is completed.
176
This is a weird option, if you turn it on,
177
the game will only use fonctions which are programmed in C langage.
178
The default behaviour is to use some functions I rewrote
179
in assembly langage, so that the game is a little faster.
184
<CHAP TITLE="Debug options">
186
These options are usefull if you want to debug the game and
187
trace what's happening.
192
Dumps all the network traffic on the standard output. This
193
can help finding problems when trying to connect to the server