WESNOTH(6) ' WESNOTH(6) wesnoth - ', - wesnoth [OPTIONS] [PATH_TO_DATA] Wesnoth -. , . ; , . , . , ' . , , . --all-translations , . --bunzip2 infile.bz2 decompresses a file which should be in bzip2 format and stores it without the .bz2 suffix. The infile.bz2 will be removed. --bzip2 infile compresses a file in bzip2 format, stores it as infile.bz2 and removes infile. -c[id_campaign], --campaign[=id_campaign] id_campaign. , . --campaign-difficulty[=difficulty] (1 ). , . --campaign-scenario id_scenario . . --campaign-skip-story [story] - -start. --clock Adds the option to show a clock for testing the drawing timer. --config-dir name Deprecated, use --userdata-dir. --config-path Deprecated, use --userdata-path. --core id_core overrides the loaded core with the one whose id is specified. --data-dir directory overrides the data directory with the one specified --data-path . -d, --debug ( https://www.wesnoth.org/wiki/CommandMode). --debug-lua Lua --strict-lua API Lua -D,--diff left-file right-file WML; (preprocess) ( , -p). -DiffWML ---output. -e[file], --editor[=file] . file, --l --load. --fps , . -f, --fullscreen . --gunzip infile.gz decompresses a file which should be in gzip format and stores it without the .gz suffix. The infile.gz will be removed. --gzip infile compresses a file in gzip format, stores it as infile.gz and removes infile. -h, --help , . -l, --load file file . -e --editor, file . , . -L, --language lang lang () . : --language ang_GB@latin --log-level=domain1,domain2,... sets the severity level of the log domains. all can be used to match any log domain. Available levels: error, warning, info, debug, none. By default the warning level is used for most domains, but deprecation defaults to none unless combined with the -d option. --log-precise . --log-strict sets the strict level of the logger. Any messages sent to log domains of this level or more severe will cause the unit test to fail regardless of the victory result. Only relevant when used with -u. --logdomains[=filter] ( filter ) --no-log-to-file prevents redirecting logged output to a file. Log files are created in the logs directory under the userdata folder. --log-to-file . --no-log-to-file . --wnoconsole Windows, --no-log-to-file, -cerr/cout -CONOUT. , . --max-fps fps ; 1 -1000, . -m, --multiplayer -. --multiplayer . --mp-test -. --new-widgets - (widget toolkit) , . , . . --nodelay runs the game without any delays for graphic benchmarking. This is automatically enabled by --nogui. --noaddons . --nocache (caching) . --nogui (GUI). --multiplayer --screenshot --plugin. --nobanner . --nomusic . --noreplaycheck (replay) . -u. --nosound . --output file . (diffing). --password password -password , . . --plugin script (experimental) load a script which defines a Wesnoth plugin. Similar to --script, but Lua file should return a function which will be run as a coroutine and periodically woken up with updates. -P,--patch base-file patch-file (patch) DiffWML WML; . -WML ---output. -p, --preprocess source-file/folder target-directory / . .cfg .cfg . , . "data/core/macros" . : -p ~/wesnoth/data/campaigns/tutorial ~/result. : https://wiki.wesnoth.org/PreprocessorRef#Command-line_preprocessor. --preprocess-defines=DEFINE1,DEFINE2,... comma separated list of defines to be used by the --preprocess command. If SKIP_CORE is in the define list the "data/core" directory won't be preprocessed. --preprocess-input-macros source-file used only by the --preprocess command. Specifies a file that contains [preproc_define]s to be included before preprocessing. --preprocess-output-macros[=target-file] 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. The output file can be passed to --preprocess-input-macros. This switch should be typed before the --preprocess command. -r XxY, --resolution XxY . : -r 800x600. --render-image image output ' ' ' -, .png. - https://wiki.wesnoth.org/ImagePathFunctionWML. -R, --report , (build information) , . --rng-seed number number. : --rng-seed 0. --screenshot map output map output . --script file (experimental) file containing a Lua script to control the client. -s[host], --server[=host] , . : --server server.wesnoth.org. --showgui (GUI), --nogui . --strict-validation (validation) . -t[scenario_id], --test[=scenario_id] . WML [test]. test. -[micro_ai] micro_ai_test. --translations-over percent , percent. 0 100. -u, --unit scenario-id (unit test). --nogui. --unsafe-scripts package Lua, . ! -Lua '. -S,--use-schema path sets the WML schema for use with -V,--validate. --userconfig-dir name sets the user configuration directory to name under $HOME or "My Documents\My Games" for windows. You can also specify an absolute path for the configuration directory outside the $HOME or "My Documents\My Games". On Windows it is also possible to specify a directory relative to the process working directory by using path starting with ".\" or "..\". Under X11 this defaults to $XDG_CONFIG_HOME or $HOME/.config/wesnoth, on other systems to the userdata path. --userconfig-path prints the path of the user configuration directory and exits. --userdata-dir name name $HOME "My Documents\My Games" Windows. -$HOME -"My Documents\My Games". -Windows -".\" -"..\". --userdata-path . --username username -username , . --validate path -WML. --validate-addon addon_id -WML . --validate-core -WML . --validate-schema path WML. --validcache (cache) . () -v, --version . --simple-version , , . -w, --windowed . --with-replay (replay) --load. --multiplayer - - -number. number . 1 2, . --ai-config number:value (AI) . --algorithm number:value . [ai], -"data/ai/ais" "data/ai/dev", . : idle_ai -experimental_ai. --controller number:value . : human, ai -null. --era value -Default. . data/multiplayer/eras.cfg. --exit-at-end , / ' '. (benchmarking) . --ignore-map-settings , . --label label -label . --multiplayer-repeat value - value . --nogui . --parm number:name:value . --controller ---algorithm. . ( ) --scenario value - . multiplayer_The_Freelands. --side number:value (faction) . . data/multiplayer.cfg. --turns value . . 0. 1 (SDL, , '). 2 . (with -u), . 0 , -1 . 3 , . 4 , . --noreplaycheck . . , ott . (manual) ' . : https://www.wesnoth.org/ Copyright (C) 2003-2024 David White ; GPL 2, Free Software Foundation. ; . wesnothd(6) wesnoth 2022 WESNOTH(6)