#config-file #virtual-filesystem #env-var #system #openmw #open-mw

openmw-cfg

A library for interacting with the openmw config file and the virtual file system it defines

9 unstable releases (4 breaking)

0.5.1 Mar 9, 2024
0.5.0 Aug 19, 2023
0.4.0 Jul 16, 2023
0.3.0 Sep 13, 2022
0.1.0 May 1, 2020

#861 in Filesystem

Download history 4/week @ 2024-07-14 14/week @ 2024-07-21 27/week @ 2024-07-28 17/week @ 2024-08-04 1/week @ 2024-08-11 10/week @ 2024-08-25 5/week @ 2024-09-01 4/week @ 2024-09-08 13/week @ 2024-09-15 13/week @ 2024-09-22 13/week @ 2024-09-29 7/week @ 2024-10-06 33/week @ 2024-10-13 15/week @ 2024-10-20

55 downloads per month

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

18KB
249 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

~3–13MB
~108K SLoC