Skip to content

Conversation

@magicaldave
Copy link
Contributor

@magicaldave magicaldave commented Jun 11, 2025

NOTE: This depends on #51, but was implemented separatelly in case this aspect may be considered controversial.

If a user's configuration defines a data-local directory, then that directory will always load last.

Some people like to put tool plugins here, including myself. You'll never lose file conflicts when doing this and it's quite convenient.

This behavior is totally opt-in and can generally only be used if the user explicitly sets the install directory to the literal openmw installation directory, OR if the user themselves defines a data-local key in some other higher-priority configuration file tes3merge is aware of.

Most people will either not be running tes3merge in this way or, if an explicit install path is set, it'll probably be pointing at the default openmw.cfg. I guess maybe there is a vague chance people using OpenMW Player plugin might have data-local directories defined which they both don't know about and tes3merge uses, but if that's the case they're also not likely to have anything in them.

tl;dr this will mostly never happen if you don't want it to.

…ta-local directory which doesn't already exist
…directory instead, and make LoadConfiguration recurse onto itself when config keys are encountered to handle layered openmw.cfg configurations
…dle configruation-defined configuration directories
…the end of a quoted path instead of the literal last double-quote
@magicaldave magicaldave force-pushed the feat/install-to-data-local branch from 32b7fda to 6a33c05 Compare June 11, 2025 06:43
@magicaldave magicaldave force-pushed the feat/install-to-data-local branch from 6a33c05 to 6f2f13f Compare June 11, 2025 11:54
…ta-local directory in order to correctly relativize paths
@magicaldave magicaldave force-pushed the feat/install-to-data-local branch from 6f2f13f to a1e8d1d Compare June 11, 2025 16:37
@magicaldave magicaldave force-pushed the feat/install-to-data-local branch from a4d9c4f to 13fec7a Compare June 11, 2025 19:10
@NullCascade NullCascade merged commit 1058246 into NullCascade:master Jun 12, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants