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.
(RM-4086 from redmine: created on 2017-09-08 by Dark Locq, , relates #3503)