Game app keeps moving/deleting comments in openmw.cfg
I have various comments in my openmw.cfg, sometimes commented-out mod data directories, but also often organizational comments, e.g. to indicate a block of related mods. Mostly, OpenMW.app leaves them alone, but in some cases it insists on moving or removing them. It even seems to be doing this on the basis of what the content of the comment is. E.g., if I have a "# COMPANION MODS" header before a bunch of companion mods, it may move this comment to nearer a mod whose name starts with "Companion". Sometimes the moves or deletions don't seem to have any discernible rationale, but they don't seem to be truly random (it always wants to monkey around with the same ones).
Whatever's going on, it's intensely frustrating. At this point, I've had to maintain a "openmw_testing.cfg" file, in which I make changes, then copy it that file over openmw.cfg every single time I run the game, and thus just forcibly ignore all changes the app tries to make to the config file. If I need (very rarely) to actually change some setting in the config file with the GUI, I end up having to do a diff and integrate that code change from the openmw.cfg it generates, into my openmw_testing.cfg, then overwrite openmw.cfg again.
If you want, I can supply my openwm_testing.cfg and whatever is the latest mis-matching openmw.cfg the app has written out, if that would be helpful. PS: I've been using OpenMW since around January 2017, and it's been doing it the entire time, I think. Definitely for at least the last several months. I think I was certain it was happening by around May.
#1 Updated by Josh Langtree 6 months ago
configFileStream, description, true), variables);
configFileStreamUnfiltered, description, true), variables);
Then re-try, hope this works for you.
Sure. Attached here, both my "real" one, openmw_testing.cfg, and the last openmw.cfg written out by the app. It changed three things (this time; often it's more, though it often affects some of the same comments even if I alter their wording):
1. Deleted the comment:
# # NPC/COMP MODS TO LOAD BEFORE COMPs #
2. Moved the comment:
# # COMPs #to where the "NPC/COMP MODS TO LOAD BEFORE COMPs" comment was.
3. Deleted the commented-out directory:
#data="/mw/mods to try/NPC and QUEST MODS/_installed/Looking_Good"though it left alone various other commented-out mod directories.
See also #4085. While the problem is only peripherally related, a proposed solution (ability to turn off the game app's auto-management of the openmw.cfg file so that the file is hand-maintained by a mod nut like me) would work around both problems, though not address the underlying causes.