WESNOTH(6)
โจ WESNOTH(6) โ Battle for Wesnoth โจ
okay so this is the manual page for wesnoth, aka Battle for Wesnoth. It's a turn-based fantasy strategy game, and this is part 1 โ more parts are coming, so stay with me bestie ๐
๐ธ NAME ๐ธ
wesnoth โ Battle for Wesnoth, a turn-based fantasy strategy game
๐ซ SYNOPSIS ๐ซ
wesnoth [OPTIONS] [PATH_TO_DATA]
๐ DESCRIPTION ๐
Battle for Wesnoth is a turn-based fantasy strategy game.
To win, you defeat all enemy leaders using a well-chosen cadre of troops, and you have to manage your resources of gold and villages. Every unit has its 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.
๐ OPTIONS ๐
--all-translationsโ okay so this shows all translations in the in-game language selection list, even if they are deemed insufficiently complete. no gatekeeping bestie ๐--bunzip2 infile.bz2โ decompresses a file which should be in bzip2 format and stores it without the.bz2suffix. Theinfile.bz2will be removed. bye bye bz2 ๐ซถ--bzip2 infileโ compresses a file in bzip2 format, stores it asinfile.bz2and removesinfile. slay and compress โจ-c[id_campaign],--campaign[=id_campaign]โ goes directly to the campaign with idid_campaign. A selection menu will appear if no id was specified. choose your own adventure, but make it campaign ๐--campaign-difficulty[=difficulty]โ the difficulty of the specified campaign (1to max). If none specified, the campaign difficulty selection widget will appear. pick your struggle, bestie ๐ญ--campaign-scenario id_scenarioโ the id of the scenario from the specified campaign. The default is the first scenario. first one is free, literally ๐--campaign-skip-storyโ skip[story]screens and dialog through the end of the start event. not me skipping the lore... ๐--clockโ adds the option to show a clock for testing the drawing timer. time check โฐ--config-dir nameโ deprecated, use--userdata-dir. old and busted, use the new one ๐--config-pathโ deprecated, use--userdata-path. same vibe, different flag ๐ซถ--core id_coreโ overrides the loaded core with the one whose id is specified. core swap, no cap ๐--data-dir directoryโ overrides the data directory with the one specified. point me to your data ๐--data-pathโ prints the path of the data directory and exits. just tell me where it's at and dip โจ-d,--debugโ enables additional command mode options in-game (see the wiki page athttps://www.wesnoth.org/wiki/CommandModefor more information about command mode). debug mode main character energy ๐ฅ--debug-luaโ enables some Lua debugging mechanisms. lua girlies rise ๐ง--strict-luaโ disallow deprecated Lua API calls. strict lua, no old nonsense ๐-D,--diff left-file right-fileโ diffs the two WML files; does not preprocess them first (to do that, run them through-pfirst). Outputs the diff asDiffWMLon standard output or to the file indicated by--output. compare and contrast, WML style ๐-e[file],--editor[=file]โ start the in-game map editor directly. Iffileis specified, equivalent to-l --load. map editor slay ๐--fpsโ displays the number of frames per second the game is currently running at in a corner of the screen as well as writes these values to a file in the userdata directory. fps check, bestie ๐-f,--fullscreenโ runs the game in full screen mode. big screen energy ๐--gunzip infile.gzโ decompresses a file which should be in gzip format and stores it without the.gzsuffix. Theinfile.gzwill be removed. unzip and thrive โจ--gzip infileโ compresses a file in gzip format, stores it asinfile.gzand removesinfile. zip zip hooray ๐-h,--helpโ displays a summary of command line options to standard output, and exits. help me help you ๐ซถ-l,--load fileโ loads the savegame file from the standard save game directory. If the-eor--editoroption is used as well, starts the editor with the map fromfileopen. If it is a directory, the editor will start with a load map dialog opened there. load it up, bestie ๐-L,--language langโ uses languagelang(symbol) this session. Example:--language ang_GB@latin. speak your truth ๐ธ--log-level=domain1,domain2,...โ sets the severity level of the log domains.allcan be used to match any log domain. Available levels:error,warning,info,debug,none. By default thewarninglevel is used for most domains, but deprecation defaults tononeunless combined with the-doption. log level realness ๐--log-preciseโ shows the timestamps in log output with more precision. precise timestamps, periodt โฑ๏ธ--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. strict logger, no chill ๐ญ--logdomains[=filter]โ lists defined log domains (only the ones containingfilterif used) and exits. show me the domains ๐--max-fps fpsโ the number of frames per second the game can show, the value should be between1and1000, the default is the monitor's refresh rate. cap the fps, bestie ๐-m,--multiplayerโ runs a multiplayer game. There are additional options that can be used together with--multiplayeras explained below. squad up ๐--mp-testโ load the test mp scenarios. test the multiplayer, lowkey ๐ง--new-widgetsโ there is a new WIP widget toolkit, this option enables it. This is very experimental, don't fill bug reports since most are known. Parts of the library are deemed stable and will work without this switch. experimental era, handle with care ๐--nodelayโ runs the game without any delays for graphic benchmarking. This is automatically enabled by--nogui. no delays, just vibes โจ--noaddonsโ disables loading of user addons. no addons, no problem ๐ซถ--nocacheโ disables caching of game data. cache cleared, bestie ๐งน--noguiโ runs the game without the GUI. Only available in combination with--multiplayeror--screenshotor--plugin. no GUI, just game ๐--nobannerโ suppress the startup banner. no banner, we move ๐--nomusicโ runs the game without music. silent but deadly ๐ง--noreplaycheckโ don't try to validate replay of unit test. Only relevant when used with-u. no replay check, keep it moving ๐--nosoundโ runs the game without sounds and music. mute mode activated ๐--output fileโ output to the specified file. Applicable to diffing operations. put it in a file, bestie ๐--password passwordโ usespasswordwhen connecting to a server, ignoring other preferences. Unsafe. > unsafe alert! do not be careless with this one ๐ญ--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. plugin era, experimental fr fr ๐ง-P,--patch base-file patch-fileโ applies aDiffWMLpatch 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. patch it up, slay ๐-p,--preprocess source-file/folder target-directoryโ preprocesses a specified file/folder. For each file(s) a plain.cfgfile and a processed.cfgfile 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 queen ๐--preprocess-defines=DEFINE1,DEFINE2,...โ comma separated list of defines to be used by the--preprocesscommand. IfSKIP_COREis in the define list the"data/core"directory won't be preprocessed. define your destiny โจ--preprocess-input-macros source-fileโ used only by the--preprocesscommand. Specifies a file that contains[preproc_define]s to be included before preprocessing. macros in, magic out ๐ธ--preprocess-output-macros[=target-file]โ used only by the--preprocesscommand. 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--preprocesscommand. order matters, bestie ๐-r XxY,--resolution XxYโ sets the screen resolution. Example:-r 800x600. resolution reset, iconic ๐--render-image image outputโ takes a valid wesnoth 'image path string' with image path functions, and outputs to a.pngfile. Image path functions are documented athttps://wiki.wesnoth.org/ImagePathFunctionWML. render it and serve ๐-R,--reportโ initializes game directories, prints build information suitable for use in bug reports, and exits. report for the bug reports ๐--rng-seed numberโ seeds the random number generator withnumber. Example:--rng-seed 0. rng but make it seeded ๐ฒ--screenshot map outputโ saves a screenshot ofmaptooutputwithout initializing a screen. screenshot without the screen, wild ๐--script fileโ (experimental) file containing a Lua script to control the client. script it up, experimental ๐ง-s[host],--server[=host]โ connects to the specified host if any, otherwise connect to the first server in preferences. Example:--server server.wesnoth.org. server link up ๐--showguiโ runs the game with the GUI, overriding any implicit--nogui. show the GUI, periodt ๐--strict-validationโ validation errors are treated as fatal errors. strict validation, no mercy ๐ญ-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 istest. A demonstration of the[micro_ai]feature can be started withmicro_ai_test. Implies--nogui. test scenario, tiny but mighty โจ--translations-over percentโ Set the standard for deeming a translation is complete enough to show in the in-game language list topercent. Valid values are0to100. translation threshold, bestie ๐-u,--unit scenario-idโ runs the specified test scenario as a unit test. Implies--nogui. unit test mode, no GUI needed ๐--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. > seriously, do not do this with untrusted scripts! it's giving danger ๐ญ-S,--use-schema pathโ sets the WML schema for use with-V,--validate. schema set, validation ready ๐--userconfig-dir nameโ sets your user configuration directory to name under$HOMEor"My Documents\My Games"for Windows. โจ You can also drop an absolute path to park the config directory outside$HOMEor"My Documents\My Games". On Windows you can even use a path relative to the process working directory by starting it with.\or..\. Under X11 this defaults to$XDG_CONFIG_HOMEor$HOME/.config/wesnoth; on other systems it defaults to the userdata path. ๐--userconfig-pathโ prints the path of the user configuration directory and then exits. ๐ฆ--userdata-dir nameโ sets your userdata directory to name under$HOMEor"My Documents\My Games"for Windows. You can also specify an absolute path for the userdata directory outside$HOMEor"My Documents\My Games". On Windows you can also specify a directory relative to the process working directory by using a path starting with.\or..\. ๐ธ--userdata-pathโ prints the path of the userdata directory and exits. โญ--username usernameโ uses username when connecting to a server, ignoring other preferences. ๐--validate pathโ validates a file against the WML schema. โ--validate-addon addon_idโ validates the WML of the given addon as you play. ๐--validate-coreโ validates the core WML as you play. ๐--validate-schema pathโ validates a file as a WML schema. ๐--validcacheโ assumes that the cache is valid. โ ๏ธ dangerous โ like, for real, be careful. ๐-v,--versionโ shows the version number and exits. ๐--simple-versionโ shows the version number and nothing else, then exits. ๐-w,--windowedโ runs the game in windowed mode. ๐ช--with-replayโ replays the game loaded with the--loadoption. ๐
โจ Options for --multiplayer โจ
The side-specific multiplayer options are marked with number. number has to be replaced by a side number. It usually is 1 or 2, but it depends on the number of players possible in the chosen scenario. ๐ฎ
--ai-config number:valueโ selects a configuration file to load for the AI controller for this side. ๐ค--algorithm number:valueโ selects a non-standard algorithm to be used by the AI controller for this side. The algorithm is defined by an[ai]tag, which can be a core one either in"data/ai/ais"or"data/ai/dev", or an algorithm defined by an addon. Available values include:idle_aiandexperimental_ai. ๐ง--controller number:valueโ selects the controller for this side. Available values:human,aiandnull. ๐ฎ--era valueโ use this option to play in the selected era instead of the Default era. The era is chosen by an id. Eras are described in thedata/multiplayer/eras.cfgfile. ๐--exit-at-endโ exits once the scenario is over, without displaying the victory/defeat dialog which normally requires the user to click End Scenario. This is also used for scriptable benchmarking. ๐--ignore-map-settingsโ do not use map settings, use default values instead. ๐--label labelโ sets the label for AIs. ๐ท๏ธ--multiplayer-repeat valueโ repeats a multiplayer game value times. Best to use with--noguifor scriptable benchmarking. ๐--parm number:name:valueโ sets additional parameters for this side. This parameter depends on the options used with--controllerand--algorithm. It should only be useful for people designing their own AI. (not yet documented completely) ๐ ๏ธ--scenario valueโ selects a multiplayer scenario by id. The default scenario id ismultiplayer_The_Freelands. ๐บ๏ธ--side number:valueโ selects a faction of the current era for this side. The faction is chosen by an id. Factions are described in thedata/multiplayer.cfgfile. โ๏ธ--turns valueโ sets the number of turns for the chosen scenario. By default no turn limit is set. โณ
๐ช 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. ๐
When running unit tests (with -u), the exit status is different. An exit status of 0 indicates that the test passed, and 1 indicates that the test failed. An exit status of 3 indicates that the test passed, but produced an invalid replay file. An exit status of 4 indicates that the test passed, but the replay produced errors. These latter two are only returned if --noreplaycheck is not passed. ๐ญ
๐ AUTHOR ๐
Written by David White <davidnwhite@verizon.net>. Edited by Nils Kneuper <crazy-ivanovic@gmx.net>, ott <ott@gaon.net> and Soliton <soliton.de@gmail.com>. This manual page was originally written by Cyril Bouthors <cyril@bouthors.org>. Visit the official homepage: https://www.wesnoth.org/ ๐
๐ COPYRIGHT ๐
Copyright ยฉ 2003-2022 David White <davidnwhite@verizon.net> ๐
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. ๐จ
๐ SEE ALSO ๐
wesnothd(6) ๐
And that's the whole page, bestie! This one's from wesnoth, the 2022 era, filed under WESNOTH(6). Stay iconic. ๐ โจ
๐ฆ where this page comes from
- debian bookworm: wesnoth-1.16-core 1:1.16.9-1
- ubuntu noble: wesnoth-1.16-core 1:1.16.11-1build3
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms