#open-mw #config-dir

dw-openmw-cfg

A library for interacting with the openmw configuration files and directories. Forked from its predecessor, openmw-cfg.

1 unstable release

Uses new Rust 2024

0.5.3 Apr 25, 2025

#1957 in Filesystem

GPL-3.0-or-later OR MIT and maybe GPL-3.0

25KB
344 lines

OpenMW cfg

This library provides tools for accessing the case insensitive virtual file system defined by OpenMW in openmw.cfg.

The location of the openmw.cfg file is determined by the location described in the OpenMW paths documentation, and can be overridden by end users using the environment variable OPENMW_CONFIG_DIR or OPENMW_CONFIG, to allow for systems that use a non-standard location.

OPENMW_CONFIG_DIR can contain multiple paths, separated by colons (or semicolons on Windows), and these paths will be searched in turn to find one which contains a file with the name openmw.cfg.

Dependencies

~2.6–5MB
~96K SLoC