Skip to content

1.1

Choose a tag to compare

@Ryxali Ryxali released this 11 Nov 13:31
· 135 commits to main since this release

Dom Compiler

Run as a command line process. It will package all .dme files into a single .dm file, and copy all referenced artwork to the compiled mod.

This enables you to split your mod into several files, gaining a better overview of its' contents. You can also integrate it with Visual Studio Code or other text processors to enable you to quickly iterate and deploy without working on it inside the Dominions mod directory.

When compiling, it will automatically detect all art references made in the mod and copy them to the output directory.

Changes

This version adds support for relative site index & enchantment numbers, allowing you to use the $ syntax when making global enchantments and when referencing site numbers. These are also added as new optional arguments to the command line --siindex | --start-site-index and --enindex | --start-enchnbr-index.

NOTE that these new arguments meant that some old arguments have changed:

  • --eindex has become --ecindex
  • --sindex has become --spindex

Getting started

This tool is executed from the command line, and is as such distributed bare-bones. Structuring the project and your developing environment is up to you. I've used Visual Studio Code for myself, which you can use as a base for your own mods. You can find this project here.

Quick start (Windows)

Download the sample mod and open in Visual Studio Code.

Contributing

For bugs, feature improvements, or other spicy opinions feel free to raise an issue here.