Widget Configuration
This is a page is intended to be filled with some commonly asked about configuration questions which can be solved with relatively simple changes in the non-advanced menu.
Adding or removing music
Create the folder Zero-K/sounds/music
with the five subfolders war
, peace
, briefing
, victory
and defeat
. Put your music files in the appropriate folders. The only supported format is .ogg
.
To use your music, unticksimple settings through the ingame menu and toggle Settings/Audio/Use Included Tracks
then type /luaui reload
in the game chat. There is also an option to not play any of the music included with the game.
Changing teamcolor
To set custom teamcolors download and unzip this in Zero-K\LuaUI\Configs
such that the filepath Zero-K\LuaUI\Configs\LocalColors.lua
exists. Edit LocalColors.lua with any text editor to configure your color as well as those of neutral units, allies, and enemies.
The 'Custom' option should appear in the color selection menu that can be found in the top left corner of the ingame interface. Select it to use your custom colors. You can make changes to the colors during the game by editing the file and typing /luaui reload
to apply the updates.
Debug data:
[SQLBagOStuff] MainObjectStash using store ReplicatedBagOStuff
[objectcache] MainWANObjectCache using store EmptyBagOStuff
IP: 18.220.70.192
Start request GET /mediawiki/index.php?oldid=3890&printable=yes&title=Widget_Configuration
HTTP HEADERS:
CONTENT-TYPE:
CONTENT-LENGTH: 0
USER-AGENT: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HOST: zero-k.info
ACCEPT-ENCODING: gzip, br, zstd, deflate
ACCEPT: */*
CONNECTION: close[localisation] LocalisationCache: using store LCStoreDB
[session] SessionManager using store SqlBagOStuff
[DBReplication] Cannot use ChronologyProtector with EmptyBagOStuff
[DBReplication] Wikimedia\Rdbms\LBFactory::getChronologyProtector: request info {
"IPAddress": "18.220.70.192",
"UserAgent": "Mozilla\/5.0 AppleWebKit\/537.36 (KHTML, like Gecko; compatible; ClaudeBot\/1.0; +claudebot@anthropic.com)",
"ChronologyProtection": false,
"ChronologyPositionIndex": 0,
"ChronologyClientId": false
}[DBConnection] Wikimedia\Rdbms\LoadBalancer::lazyLoadReplicationPositions: executed chronology callback.
[DBConnection] Wikimedia\Rdbms\LoadBalancer::getLocalConnection: connected to database 0 at 'localhost'.
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[session] SessionBackend "ov653f9kt0pv710fj7fa69657ubejle0" is unsaved, marking dirty in constructor
[session] SessionBackend "ov653f9kt0pv710fj7fa69657ubejle0" save: dataDirty=1 metaDirty=1 forcePersist=0
[cookie] already deleted setcookie: "wikidb229_mw__session", "", "1715723147", "/", "", "", "1"
[cookie] already deleted setcookie: "wikidb229_mw_UserID", "", "1715723147", "/", "", "", "1"
[cookie] already deleted setcookie: "wikidb229_mw_Token", "", "1715723147", "/", "", "", "1"
[cookie] already deleted setcookie: "forceHTTPS", "", "1715723147", "/", "", "", "1"
[DBConnection] Wikimedia\Rdbms\LoadBalancer::getLocalConnection: connected to database 0 at 'localhost'.
Title::getRestrictionTypes: applicable restrictions to [[Widget Configuration]] are {edit,move}
[ContentHandler] Created handler for wikitext: WikitextContentHandler
[MessageCache] MessageCache using store SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] SqlBagOStuff::lock failed due to timeout for wikidb229-mw_:messages:en.
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[MessageCache] MessageCache::load: Loading en... local cache is empty, global cache is expired/volatile, loading from database
ParserFactory: using preprocessor: Preprocessor_Hash
Unstubbing $wgLang on call of $wgLang::_unstub from ParserOptions->__construct
[caches] parser: SqlBagOStuff
Article::view using parser cache: no
Article::view: doing uncached parse
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
Parser cache options found.
[Preprocessor] Cached preprocessor output (key: wikidb229-mw_:preprocess-hash:0a77c6da32f3dd236d62e49a9e96d284:0)
[Mime] MimeAnalyzer::loadFiles: loading mime types from C:\Projekty\zero-k.info\www\mediawiki\includes/libs/mime/mime.types
[Mime] MimeAnalyzer::loadFiles: loading mime info from C:\Projekty\zero-k.info\www\mediawiki\includes/libs/mime/mime.info
File::transform: Doing stat for mwstore://local-backend/local-thumb/2/20/ColorSelection.png/468px-ColorSelection.png
[FileOperation] FileBackendStore::ingestFreshFileStats: File mwstore://local-backend/local-thumb/2/20/ColorSelection.png/468px-ColorSelection.png does not exist
TransformationalImageHandler::doTransform: creating 468x276 thumbnail at C:\Windows\TEMP\mwtmp-IUSR/transform_21d3a3f210a5.png using scaler im
TransformationalImageHandler::doTransform: returning unscaled image
File::transform: Doing stat for mwstore://local-backend/local-thumb/2/20/ColorSelection.png/468px-ColorSelection.png
TransformationalImageHandler::doTransform: creating 468x276 thumbnail at C:\Windows\TEMP\mwtmp-IUSR/transform_454a5558d313.png using scaler im
TransformationalImageHandler::doTransform: returning unscaled image
File::transform: Doing stat for mwstore://local-backend/local-thumb/2/20/ColorSelection.png/468px-ColorSelection.png
TransformationalImageHandler::doTransform: creating 468x276 thumbnail at C:\Windows\TEMP\mwtmp-IUSR/transform_eeed65bb9ad9.png using scaler im
TransformationalImageHandler::doTransform: returning unscaled image
[Preprocessor] Cached preprocessor output (key: wikidb229-mw_:preprocess-hash:0a77c6da32f3dd236d62e49a9e96d284:0)
MediaWiki::preOutputCommit: primary transaction round committed
MediaWiki::preOutputCommit: pre-send deferred updates completed
MediaWiki::preOutputCommit: session changes committed
MediaWiki::preOutputCommit: LBFactory shutdown completed
Title::getRestrictionTypes: applicable restrictions to [[Widget Configuration]] are {edit,move}