2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-12-27 11:16:43 +01:00
xash3d-fwgs/Documentation/environment-variables.md

1.1 KiB

Environment variables

Xash3D FWGS

The engine respects these environment variables:

Variable Type Description
XASH3D_GAME string Overrides default game directory. Ignored if -game command line argument is set
XASH3D_BASEDIR string Sets path to base (root) directory, instead of current working directory
XASH3D_RODIR string Sets path to read-only base (root) directory. Ignored if -rodir command line argument is set
XASH3D_EXTRAS_PAK1 string Archive file from specified path will be added to virtual filesystem search path in the lowest possible priority
XASH3D_EXTRAS_PAK2 string Similar to XASH3D_EXTRAS_PAK1 but next to it in priority list

Environment variables NOT listed in the table above are used internally, and aren't considered as stable interface.

mdldec

Variable Type Description
MDLDEC_ACT_PATH string If set, will read activities list from this path