Skip to content

Read the game's data from a directory named on the command line

Changes0.2.0 (in development)

NewPlanned for 0.2.0

-DATADIR=<path> names a directory the game reads its data from, in addition to the directory that holds the executable. OPENTS.INI, which describes how the data is laid out, is read from it too.

The game never writes to the data directory. One copy of the data, even in a folder the players cannot write to, can therefore serve several players who each keep their own settings and saves with -USERDIR. A path that is not an existing directory stops startup with an error message.

Affected entities

Credit: ZivDero