1WESNOTH(6) Battle for Wesnoth WESNOTH(6)
2
3
4
6 wesnoth - Battle for Wesnoth, a turn-based fantasy strategy game
7
9 wesnoth [OPTIONS] [PATH_TO_DATA]
10
12 Battle for Wesnoth is a turn-based fantasy strategy game.
13
14 Defeat all enemy leaders using a well-chosen cadre of troops, taking
15 care to manage your resources of gold and villages. All units have
16 their own strengths and weaknesses; to win, deploy your forces to their
17 best advantage while denying your foes the chance to do the same. As
18 units gain experience, they acquire new abilities and become more pow‐
19 erful. Play in your own language and test your skill against a smart
20 computer opponent, or join Wesnoth's large community of on-line play‐
21 ers. Create your own custom units, scenarios or campaigns, and share
22 them with others.
23
25 --bpp number
26 sets BitsPerPixel value. Example: --bpp 32
27
28 --compress <infile> <outfile>
29 compresses a savefile (infile) that is in text WML format into
30 binary WML format (outfile).
31
32 -d, --debug
33 shows extra debugging information and enables additional command
34 mode options in-game (see the Wiki at http://www.wesnoth.org/
35 for more information about command mode).
36
37 --decompress <infile> <outfile>
38 decompresses a savefile (infile) that is in binary WML format
39 into text WML format (outfile).
40
41 -f, --fullscreen
42 runs the game in full screen mode.
43
44 --fps displays the number of frames per second the game is currently
45 running at, in a corner of the screen.
46
47 -h, --help
48 displays a summary of command line options to standard output,
49 and exits.
50
51 --load savegame
52 loads the file savegame from the standard save game directory.
53
54 --log-error="domain1,domain2,...", --log-warning="...", --log-
55 info="..."
56 sets the severity level of the debug domains. "all" can be used
57 to match any debug domain. --log-info shows all messages,
58 --log-warning only warnings and errors, and --log-error just
59 errors.
60
61 --multiplayer
62 runs a multiplayer game. There are additional options that can
63 be used together with --multiplayer as explained below.
64
65 --nocache
66 disables caching of game data.
67
68 --nosound
69 runs the game without sounds and music.
70
71 --path prints the name of the game data directory and exits.
72
73 -r, --resolution XxY
74 sets the screen resolution. Example: -r 800x600
75
76 -t, --test
77 runs the game in a small test scenario.
78
79 -v, --version
80 shows the version number and exits.
81
82 -w, --windowed
83 runs the game in windowed mode.
84
85 --no-delay
86 runs the game without any delays for graphic benchmarking. This
87 is automatically enabled by --nogui.
88
89 --exit-at-end
90 exits once the scenario is over, without displaying vic‐
91 tory/defeat dialog which requires the user to click OK. This is
92 also used for scriptable benchmarking.
93
95 The side-specific multiplayer options are marked with <number>. <num‐
96 ber> has to be replaced by a side number. It usually is 1 or 2 but
97 depends on the number of players possible in the chosen scenario.
98
99 --algorithm<number>=value
100 selects a non-standard algorithm to be used by the AI controller
101 for this side. Available values: "idle_ai" and "sample_ai".
102
103 --controller<number>=value
104 selects the controller for this side. Available values: "human"
105 and "ai".
106
107 --era=value
108 use this option to play in the selected era instead of the
109 "Default" era. The era is chosen by an id. Eras are described in
110 the data/multiplayer.cfg file.
111
112 --nogui
113 runs the game without the GUI. Must appear before --multiplayer
114 to have the desired effect.
115
116 --parm<number>=name:value
117 sets additional parameters for this side. This parameter depends
118 on the options used with --controller and --algorithm. It
119 should only be useful for people designing their own AI. (not
120 yet documented completely)
121
122 --scenario=value
123 selects a multiplayer scenario. The default scenario is "multi‐
124 player_Charge".
125
126 --side<number>=value
127 selects a faction of the current era for this side. The faction
128 is chosen by an id. Factions are described in the data/multi‐
129 player.cfg file.
130
131 --turns=value
132 sets the number of turns for the chosen scenario. The default is
133 "50".
134
135 Example to test your own AI:
136 wesnoth --multiplayer --controller2=python_ai --algo‐
137 rithm2=python_ai --parm2=python_script:py/my_own_python_ai.py
138 --side2=Rebels
139
141 Written by David White <davidnwhite@verizon.net>.
142 Edited by Nils Kneuper <crazy-ivanovic@gmx.net>, ott <ott@gaon.net> and
143 Soliton <soliton@sonnenkinder.org>.
144 This manual page was originally written by Cyril Bouthors
145 <cyril@bouthors.org>.
146 Visit the official homepage: http://www.wesnoth.org/
147
149 Copyright © 2003-2006 David White <davidnwhite@verizon.net>
150 This is Free Software; this software is licensed under the GPL version
151 2, as published by the Free Software Foundation. There is NO warranty;
152 not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
153
155 wesnoth_editor(6), wesnothd(6)
156
157
158
159wesnoth 2006 WESNOTH(6)