(6) - , wesnoth [] [__] . , . . , , , . , -. . , . --all-translations , , . --bunzip2 infile.bz2 , bzip2 .bz2. infile.bz2 . --bzip2 infile bzip2, infile.bz2 infile. -c[id_campaign], --campaign[=id_campaign] id id_campaign. id . --campaign-difficulty[=difficulty] (1 .). , , . --campaign-scenario id_scenario Id . . --campaign-skip-story [story] start. --clock Adds the option to show a clock for testing the drawing timer. --config-dir name , --userdata-dir. --config-path , --userdata-path. --core id_core . --data-dir directory --data-path . -d, --debug ( https://www.wesnoth.org/wiki/CommandMode ) --debug-lua Lua --strict-lua disallow deprecated Lua API calls -D,--diff left-file right-file diffs the two WML files; does not preprocess them first (to do that, run them through -p first). Outputs the diff as DiffWML on standard output or to the file indicated by --output. -e[file], --editor[=file] . file, -l --load. --fps , , , . -f, --fullscreen . --gunzip infile.gz , gzip .gz. infile.gz . --gzip infile gzip , infile.gz 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 shows the timestamps in log output with more precision. --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] lists defined log domains (only the ones containing filter if used) and exits --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 log output is written to a file. Cancels the effect of --no-log-to-file whether implicit or explicit. --wnoconsole For Windows, when used with --no-log-to-file, results in output being written to cerr/cout instead of CONOUT. Otherwise, does nothing. --max-fps fps , ; 1 and 1000, .. -m, --multiplayer . , --multiplayer , . --mp-test . --new-widgets (WIP) . , , . . --nodelay . --nogui. --noaddons . --nocache . --nogui GUI. --multiplayer --screenshot, --plugin. --nobanner . --nomusic . --noreplaycheck . , -u. --nosound . --output file . . --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 applies a DiffWML patch to a WML file; does not preprocess either of the files. Outputs the patched WML to standard output or to the file indicated by --output. -p, --preprocess source-file/folder target-directory preprocesses a specified file/folder. For each file(s) a plain .cfg file and a processed .cfg file will be written in 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: -p ~/wesnoth/data/campaigns/tutorial ~/result. For details regarding the preprocessor visit: https://wiki.wesnoth.org/PreprocessorRef#Command-line_preprocessor. --preprocess-defines=DEFINE1,DEFINE2,... , , --preprocess. SKIP_CORE, "data/core" . --preprocess-input-macros source-file --preprocess. , [preproc_define]s, . --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 takes a valid wesnoth 'image path string' with image path functions, and outputs to a .png file. Image path functions are documented at https://wiki.wesnoth.org/ImagePathFunctionWML. -R, --report , . --rng-seed number seeds the random number generator with number. Example: --rng-seed 0. --screenshot map output map output, . --script file () file, Lua . -v, --verbose-s[host], --server[=host] , , . : --server server.wesnoth.org. --nogui--showgui runs the game with the GUI, overriding any implicit --nogui. --strict-validation . -t[scenario_id], --test[=scenario_id] runs the game in a small test scenario. The scenario should be one defined with a [test] WML tag. The default is test. A demonstration of the [micro_ai] feature can be started with micro_ai_test. --translations-over percent , percent. 0 100. -u, --unit scenario-id runs the specified test scenario as a unit test. Implies --nogui. --unsafe-scripts makes the package package available to lua scripts, so that they can load arbitrary packages. Do not do this with untrusted scripts! This action gives lua the same permissions as the wesnoth executable. -S,--use-schema path WML -V,--validate. --userconfig-dir name name $HOME "My Documents\My Games" windows. . Windows , ".\" or "..\". X11 $XDG_CONFIG_HOME $HOME/.config/wesnoth, . --userconfig-path . --userdata-dir name name $HOME "My Documents\My Games" windows. . Windows , ".\" or "..\". --userdata-path . --username username username, . --validate path WML . --validate-addon addon_id WML , . --validate-core WML , . --validate-schema path WML . --validcache , . () -v, --version . --simple-version shows the version number and nothing else, then exits. -w, --windowed . --with-replay --load. --multiplayer number. . 1 2, . --ai-config number:value , , . --algorithm number:value , . [ai], "data/ai/ais" "data/ai/dev", . : idle_ai experimental_ai. --controller number:value . : human, ai null. --era value , Default. id. data/multiplayer/eras.cfg. --exit-at-end , /, . . --ignore-map-settings , . --label label label . --multiplayer-repeat value value . --nogui . --parm number:name:value . --controller --algorithm . . ( ) --scenario value id. id multiplayer_The_Freelands. --side number:value . id. data/multiplayer.cfg . --turns value . . 0. 1 (SDL, , ..) . 2 . (with -u), . 0 , , 1 , . 3 , , . 4 , , . , --noreplaycheck . . , ott Soliton . . : https://www.wesnoth.org/ Copyright (C) 2003-2024 David White ; GPL 2, Free Software Foundation. , . wesnothd(6) 2022 (6)