Tick it, restart, play
Main menu › Mods lists every mod: the ones you subscribed to on the Steam Workshop, your own, and the ones that come with the game.
- Tick a mod to use it, and press Restart at the top right. Changes are used after a restart.
- The order matters. A mod further down the list is laid over the ones above it. Use the arrows to move it. A mod another mod needs is always loaded first.
- A mod with problems is not used. The Mods screen says why: the file and what is wrong with it.
- Your own mods live in
%APPDATA%\Dwelvers\Mods. Mods from the Workshop are kept by Steam.
A mod is a folder
Mods change models, textures, sounds, texts and the game's data. A mod is a folder of data files, never programs or scripts. It is laid over the game's Media folder: a file in the mod is used in place of the game's file with the same path, and new files are added.
Press New Mod in the Mods screen and Dwelvers makes this folder for you:
%APPDATA%\Dwelvers\Mods\MyMod\
mod.xml the mod's name, version, author ...
preview.png (add it) the picture on the Workshop, 16:9, e.g. 1280 x 720
Media\ your files, in the same folders as the game's Media
Patches\ changes to the game's XML files
Patches\Example.xml.txt an example patch: rename it to Example.xml to use it
Put your files in the folders and press Restart. The game checks every file at the start: XML files must be valid XML, models must load, images must be readable images and every patch must find what it changes.
mod.xml: who, what and which version
<?xml version="1.0" encoding="UTF-8"?>
<mod id="yourname.orcwarpaint" version="1.0" gameVersion="1.3.5.0" workshopId="0">
<title>Orc War Paint</title>
<author>Your Name</author>
<description>Red war paint for the orcs.</description>
<tags><tag>Creatures</tag><tag>Textures</tag></tags>
<dependencies><mod id="someone.goblinpack" version="1.2"/></dependencies>
</mod>| Field | What it is |
|---|---|
| id | Unique: letters, digits, . _ and -. Keep it when you update the mod: save games and other mods find it by its id. |
| version | Your mod's version. Raise it when you upload a new one. |
| gameVersion | The Dwelvers version you made it for. A note is shown when the player's game is older. |
| workshopId | Written by the game the first time you upload the mod. Leave it as it is. |
| tags | For the Workshop: Creatures, Buildings, Items, Textures, Models, Sounds, Gameplay, Translation, Interface. |
| dependencies | Mods this mod needs, with the lowest version. They are loaded before it. Without them it is not used. |
Same path, your file
A file in the mod's Media folder replaces the game's file with the same path. Upper and lower case do not matter.
Media\Entities\CreatureTypes\Orc\OrcColor.png the orc's texture (OrcColor1..4.png: player colours)
Media\Menu\MainMenuLogo.png the logo on the main menu
Media\Localizations\English\MyTexts.xml new or changed texts
- Read by the game: .xml, .png, .jpg, .bmp, .tga, .dds, .glb and .gltf (models), .ogg and .wav (sounds) and .txt.
- Not allowed: programs and scripts (.exe, .dll, .bat, .ps1, .js, .py ...). A mod with one is not used.
- Not yet: fonts and shaders can not be modded.
A whole XML file in your mod replaces the game's file. Prefer a patch: it keeps working when the game's file gets new lines in an update, and several mods can change the same file.
Patches change the game's XML without copying it
Every .xml file in the mod's Patches folder is read. Each <patch> changes one of the game's XML files when the game reads it:
<patches>
<patch file="Media/Entities/CreatureTypes/Orc/Orc.xml">
<set path="creatureType/properties/walkSpeed" attribute="blocksPerSecond" value="1.5"/>
</patch>
<patch file="Media/Entities/CreatureTypes/CreatureTypes.xml">
<add path="creatureTypes"><creatureType name = "Goblin"/></add>
</patch>
</patches>
- file is the XML file's path from the game folder:
Media/... - path goes from the file's root element down, one element name per step:
creatureType/properties/walkSpeed.[@name='Orc']picks the element with that attribute value,[2]the second element with that name,*any name. A path can match several elements: the operation is done on all of them. - An operation that finds nothing is an error. The mod is not used, and the Mods screen says which patch and path.
- Patches run in the load order, after the mods' own files are laid over Media, so a patch can change another mod's file.
| Operation | What it does |
|---|---|
<set path="..." attribute="a" value="v"/> | Sets an attribute. Without attribute: the element's text. |
<add path="...">elements</add> | Adds the elements as the last children of the element. |
<replace path="...">elements</replace> | Puts the elements in place of the element. |
<remove path="..."/> | Removes the element. |
Models: glTF in, glTF out
The game's models are glTF binary files (.glb), one or a few per folder. A creature's file, for example Orc\Orc.glb, holds the skeleton and the creature's mesh, every other skinned mesh its XML uses (eyelids, backpack, armour ...), every animation, the handles (empty objects on the hand bones and so on) and the bounding box.
The XML names each part without a file extension: <model fileName="Orc">, <animation fileName="OrcWalkOneHanded">, <handle fileName="HandleLeftHand">. The game finds the part by that name: first a .glb with the name (Orc.glb), then a part with the name in any .glb in the folder. Your mod's .glb files are searched first. A name can start with a folder: ../Orc/Orc is the orc's model seen from another creature's folder.
In Blender
- Set the scene's frame rate to 30 fps before you import (Output Properties › Frame Rate).
- File › Import › glTF 2.0, edit, then File › Export › glTF 2.0 (.glb) with the default settings. Keep the object and action names.
- Limits: 64 bones per skeleton and 4 bone weights per vertex. The number of vertices and triangles has no limit.
- The material in the file is only for Blender. The game takes its textures from the XML.
- A new animation: add an action with a new name, export, and point an
<animation fileName="NewName">at it with a patch. - Move a handle by moving its empty object. The game reads its position in the rest pose.
Texts in every language
Every XML file in Media\Localizations\<Language>\ is read: English, Swedish, Polish, Russian, SimplifiedChinese, SpanishLatinAmerican and BrazilianPortuguese. Put your texts in a file of your own:
<?xml version="1.0" encoding="utf-8"?>
<localization>
<namespace id = "creatures">
<translation id = "goblin_headline" value = "Goblin"/>
</namespace>
</localization>
- A text with the same id as one of the game's replaces it. The namespace is part of the id:
creatures:goblin_headline. - A language without the text shows the English one.
A new creature in three files
The Goblins example in the game's Modding\Examples folder adds a creature type that borrows the orc's models and animations:
Media\Entities\CreatureTypes\Goblin\Goblin.xml: a copy of Orc.xml. Its models and animations point at the orc's (../Orc/Orc), its textures are its own (GoblinColor.png...). Icons:Icon.png,Icon1..4.png,IconFemale*.png.Patches\CreatureTypes.xmladds<creatureType name = "Goblin"/>to the list of creature types.- Its texts (
creatures:goblin_headline...) inMedia\Localizations\English\.
Save games keep a creature's type by its name, so a save with goblins can only be loaded with the mod on.
Achievements, save games and safe mode
- A mod that changes the game turns achievements off while it is on: XML files, .txt files and patches other than model and texture file names. The game says "Modded" in the menu. Mods that only change models, textures, sounds and texts keep them on.
- A save game remembers its mods. Loading it without them asks first, and can subscribe to the Workshop ones.
- Safe mode. If the game closes while it loads with mods on, the next start asks "Start without mods?". Your choices stay as they are.
- Errors list the mods that were on. The game's log is in
%APPDATA%\Dwelvers\logs.
Share it on the Steam Workshop
- Choose your mod in the Mods screen, and fix the problems it lists first.
- Add
preview.png(16:9). Over 1 MB it is made smaller when it is uploaded. - Choose who can see it with Visibility (Public, Friends Only, Private or Unlisted) and press Upload to Workshop. The first time, Steam may ask you to accept the Workshop agreement.
- mod.xml gets the item's workshopId. Raise the version in mod.xml and press Update on Workshop to upload a new one.
Uploaded: mod.xml, preview.png and the files in Media and Patches. Players subscribe on the Workshop and tick the mod in Mods.
Start from an example


| Folder | What it shows |
|---|---|
| Mods\Christmas | Comes with the game, tick it in Mods. Santa hats for the Dark Mother and for imps working in rooms, and presents instead of eggs. Only models and patches, so achievements stay on. |
| Modding\Examples\RedOrcs | New textures, a changed value (a patch) and a changed text. |
| Modding\Examples\Goblins | A new creature type. |
To try an example, copy its folder to %APPDATA%\Dwelvers\Mods and tick it in Mods. The full guide is Modding\README.txt in the game folder.
Not possible yet: code or scripts, fonts, shaders, realms that need mods, and changes without a restart.

