-
-
Notifications
You must be signed in to change notification settings - Fork 988
/
wesnoth.6
295 lines (293 loc) · 11 KB
/
wesnoth.6
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
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
.\" This program is free software; you can redistribute it and/or modify
.\" it under the terms of the GNU General Public License as published by
.\" the Free Software Foundation; either version 2 of the License, or
.\" (at your option) any later version.
.\"
.\" This program is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with this program; if not, write to the Free Software
.\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
.\"
.
.\"*******************************************************************
.\"
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH WESNOTH 6 2013 wesnoth "Battle for Wesnoth"
.
.SH NAME
wesnoth \- Battle for Wesnoth, a turn\-based fantasy strategy game
.
.SH SYNOPSIS
.
\fBwesnoth\fP [\fIOPTIONS\fP] [\fIPATH_TO_DATA\fP]
.
.SH DESCRIPTION
.
Battle for \fBWesnoth\fP is a turn\-based fantasy strategy game.
Defeat all enemy leaders using a well\-chosen cadre of troops, taking care to
manage your resources of gold and villages. All units have their own
strengths and weaknesses; to win, deploy your forces to their best advantage
while denying your foes the chance to do the same. As units gain experience,
they acquire new abilities and become more powerful. Play in your own
language and test your skill against a smart computer opponent, or join
Wesnoth's large community of online players. Create your own custom units,
scenarios or campaigns, and share them with others.
.
.SH OPTIONS
.
.TP
\fB\-\-bpp\fP\fI\ number\fP
sets BitsPerPixel value. Example: \fB\-\-bpp 32\fP
.TP
\fB\-c, \-\-campaign \ [<id_campaign>]\fP
goes directly to the campaign with id <id_campaign>. A selection
menu will appear if no id was specified. \fBNote:\fP When using this switch
please ensure that you specify the data directory path as the final argument
as well, otherwise the game will take the campaign/scenario id as the data
dir.
.TP
\fB\-\-campaign\-difficulty [<difficulty>]\fP
The difficulty of the specified campaign (1 to max). If none specified, the
campaign difficulty selection widget will appear.
.TP
\fB\-\-campaign\-scenario <id_scenario>\fP
The id of the scenario from the specified campaign. The default is the first
scenario.
.TP
\fB\-\-data\-dir <directory>\fP
overrides the data directory with the one specified
.TP
\fB\-\-data\-path\fP
prints the path of the data directory and exits.
.TP
\fB\-d, \-\-debug\fP
enables additional command mode options in\-game (see the wiki page at
http://www.wesnoth.org/wiki/CommandMode for more information about command
mode).
.TP
\fB\-e,\ \-\-editor\fP\fI\ file\fP
start the in\-game map editor directly. If \fIfile\fP is specified, equivalent
to \fB\-l \-\-load\fP
.TP
\fB\-\-fps\fP
displays the number of frames per second the game is currently running at,
in a corner of the screen.
.TP
\fB\-f, \-\-fullscreen\fP
runs the game in full screen mode.
.TP
\fB\-\-gunzip\fP\fI\ infile.gz\fP
decompresses a file which should be in gzip format and stores it without the
\&.gz suffix. The \fIinfile.gz\fP will be removed.
.TP
\fB\-\-gzip\fP\fI\ infile\fP
compresses a file in gzip format, stores it as \fIinfile\fP.gz and removes
\fIinfile\fP.
.TP
\fB\-h, \-\-help\fP
displays a summary of command line options to standard output, and exits.
.TP
\fB\-l,\ \-\-load\fP\fI\ file\fP
loads the savegame \fIfile\fP from the standard save game directory. If the
\fB\-e\fP or \fB\-\-editor\fP option is used as well, starts the editor with the map
from \fIfile\fP open. If it is a directory, the editor will start with a load
map dialog opened there.
.TP
\fB\-\-log\-\fP\fIlevel\fP\fB=\fP\fIdomain1\fP\fB,\fP\fIdomain2\fP\fB,\fP\fI...\fP
sets the severity level of the log domains. \fBall\fP can be used to match any
log domain. Available levels: \fBerror\fP,\ \fBwarning\fP,\ \fBinfo\fP,\ \fBdebug\fP.
By default the \fBerror\fP level is used.
.TP
\fB\-\-logdomains\ [filter]\fP
lists defined log domains (only the ones containing \fBfilter\fP if used) and
exits
.TP
\fB\-\-max\-fps\fP
the number of frames per second the game can show, the value should be
between the 1 and 1000, the default is \fB50\fP.
.TP
\fB\-m, \-\-multiplayer\fP
runs a multiplayer game. There are additional options that can be used
together with \fB\-\-multiplayer\fP as explained below. Only these additional
options can follow \fB\-\-multiplayer\fP.
.TP
\fB\-\-no\-delay\fP
runs the game without any delays for graphic benchmarking. This is
automatically enabled by \fB\-\-nogui\fP.
.TP
\fB\-\-nocache\fP
disables caching of game data.
.TP
\fB\-\-nomusic\fP
runs the game without music.
.TP
\fB\-\-nosound\fP
runs the game without sounds and music.
.TP
\fB\-\-path\fP
prints the name of the game data directory and exits.
.TP
\fB\-p, \-\-preprocess <source file/folder> <target directory>\fP
preprocesses a specified file/folder. For each file, a plain .cfg file and a
processed .cfg file will be written in the specified target directory. If a
folder is specified, it will be preprocessed recursively based on the known
preprocessor rules. The common macros from the "data/core/macros" directory
will be preprocessed before the specified resources. Example: \fB\-p
~/wesnoth/data/campaigns/tutorial ~/result.\fP For details regarding the
preprocessor, visit:
http://wiki.wesnoth.org/PreprocessorRef#Command\-line_preprocessor
.TP
\fB\-\-preprocess\-defines=DEFINE1,DEFINE2,etc\fP
comma\-separated list of defines to be used by the '\-\-preprocess' command. If
\fBSKIP_CORE\fP is in the define list the "data/core" directory won't be
preprocessed.
.TP
\fB\-\-preprocess\-input\-macros <source file>\fP
used only by the '\-\-preprocess' command. Specifies a file that contains
[preproc_define]s to be included before preprocessing.
.TP
\fB\-\-preprocess\-output\-macros [<target file>]\fP
used only by the '\-\-preprocess' command. Will output all preprocessed
macros in the target file. If the file is not specified the output will be
file '_MACROS_.cfg' in the target directory of preprocess's command. This
switch should be typed before the \-\-preprocess command.
.TP
\fB\-r\ \fP\fIX\fP\fBx\fP\fIY\fP\fB,\ \-\-resolution\ \fP\fIX\fP\fBx\fP\fIY\fP
sets the screen resolution. Example: \fB\-r 800x600\fP
.TP
\fB\-s,\ \-\-server\ [host]\fP
connects to the specified host if any, otherwise connect to the first server
in preferences. Example: \fB\-\-server server.wesnoth.org\fP
.TP
\fB\-\-username\fP\fI<username>\fP
uses <username> when connecting to a server, ignoring other
preferences.
.TP
\fB\-\-password\fP\fI<password>\fP
uses <password> when connecting to a server, ignoring other
preferences. Unsafe.
.TP
\fB\-\-strict\-validation\fP
validation errors are treated as fatal errors.
.TP
\fB\-t, \-\-test\fP
runs the game in a small test scenario.
.TP
\fB\-\-userconfig\-dir\fP\fI\ name\fP
sets the user configuration directory to \fIname\fP under $HOME or "My
Documents\eMy Games" for windows. You can also specify an absolute path for
the configuration directory outside the $HOME or "My Documents\eMy Games".
Under X11 this is set to $XDG_CONFIG_HOME or $HOME/.config/wesnoth by
default, on other systems to the userdata path.
.TP
\fB\-\-userconfig\-path\fP
prints the path of the user configuration directory and exits.
.TP
\fB\-\-userdata\-dir\fP\fI\ name\fP
sets the userdata directory to \fIname\fP under $HOME or "My Documents\eMy
Games" for windows. You can also specify an absolute path for the userdata
directory outside the $HOME or "My Documents\eMy Games".
.TP
\fB\-\-userdata\-path\fP
prints the path of the userdata directory and exits.
.TP
\fB\-\-validcache\fP
assumes that the cache is valid. (dangerous)
.TP
\fB\-v, \-\-version\fP
shows the version number and exits.
.TP
\fB\-w, \-\-windowed\fP
runs the game in windowed mode.
.TP
\fB\-\-with\-replay\fP
replays the game loaded with the \fB\-\-load\fP option.
.
.SH "Options for \-\-multiplayer"
.
The side\-specific multiplayer options are marked with \fInumber\fP. \fInumber\fP
has to be replaced by a side number. It usually is 1 or 2 but depends on the
number of players possible in the chosen scenario.
.TP
\fB\-\-ai_config\fP\fInumber\fP\fB=\fP\fIvalue\fP
selects a configuration file to load for the AI controller for this side.
.TP
\fB\-\-algorithm\fP\fInumber\fP\fB=\fP\fIvalue\fP
selects a non\-standard algorithm to be used by the AI controller for this
side. Available values: \fBidle_ai\fP and \fBsample_ai\fP.
.TP
\fB\-\-controller\fP\fInumber\fP\fB=\fP\fIvalue\fP
selects the controller for this side. Available values: \fBhuman\fP and \fBai\fP.
.TP
\fB\-\-era=\fP\fIvalue\fP
use this option to play in the selected era instead of the \fBDefault\fP
era. The era is chosen by an id. Eras are described in the
\fBdata/multiplayer/eras.cfg\fP file.
.TP
\fB\-\-exit\-at\-end\fP
exits once the scenario is over, without displaying victory/defeat dialog
which requires the user to click OK. This is also used for script\-based
benchmarking.
.TP
\fB\-\-ignore\-map\-settings\fP
do not use map settings, use default values instead.
.TP
\fB\-\-multiplayer\-repeat=\fP\fIvalue\fP
repeats a multiplayer game \fIvalue\fP times. Best to use with \fB\-\-nogui\fP for
script\-based benchmarking.
.TP
\fB\-\-nogui\fP
runs the game without the GUI. Must appear before \fB\-\-multiplayer\fP to have
the desired effect.
.TP
\fB\-\-parm\fP\fInumber\fP\fB=\fP\fIname\fP\fB:\fP\fIvalue\fP
sets additional parameters for this side. This parameter depends on the
options used with \fB\-\-controller\fP and \fB\-\-algorithm\fP. It should only be
useful for people designing their own AI. (not yet documented completely)
.TP
\fB\-\-scenario=\fP\fIvalue\fP
selects a multiplayer scenario by id. The default scenario id is
\fBmultiplayer_The_Freelands\fP.
.TP
\fB\-\-side\fP\fInumber\fP\fB=\fP\fIvalue\fP
selects a faction of the current era for this side. The faction is chosen by
an id. Factions are described in the data/multiplayer.cfg file.
.TP
\fB\-\-turns=\fP\fIvalue\fP
sets the number of turns for the chosen scenario. The default is \fB50\fP.
.
.SH "EXIT STATUS"
.
Normal exit status is 0. An exit status of 1 indicates an (SDL, video,
fonts, etc) initialization error. An exit status of 2 indicates an error
with the command line options.
.
.SH AUTHOR
.
Written by David White <davidnwhite@verizon.net>.
.br
Edited by Nils Kneuper <crazy\-ivanovic@gmx.net>, ott
<ott@gaon.net> and Soliton <soliton.de@gmail.com>.
.br
This manual page was originally written by Cyril Bouthors
<cyril@bouthors.org>.
.br
Visit the official homepage: http://www.wesnoth.org/
.
.SH COPYRIGHT
.
Copyright \(co 2003\-2013 David White <davidnwhite@verizon.net>
.br
This is Free Software; this software is licensed under the GPL version 2, as
published by the Free Software Foundation. There is NO warranty; not even
for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
.
.SH "SEE ALSO"
.
\fBwesnothd\fP(6).