Environment variables

From The Battle for Wesnoth Wiki
Revision as of 01:18, 1 April 2024 by Doofus-01 (talk | contribs) (Creating a page for environment variables)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Command Line

Running Wesnoth from command line allows you to set options on the fly ("wesnoth -d" for starting in debug mode or "wesnoth --nocache" to disable cache, for example). Try "wesnoth --help" to see all the options.

Environment Variables

Any program run from command line can be further influenced by environment variables. This section is to document the wesnoth-specific available environment variables.

  • WESNOTH_NO_LOG_FILE
By default, error/warning/info messages are directed to a log file, and some are displayed in-game. However, if you set WESNOTH_NO_LOG_FILE="true", running wesnoth from command line allows you to instantly see warnings, errors, and other information that could be useful when debugging Wesnoth or your add-on.
This page was last edited on 1 April 2024, at 01:18.