Over the months, I've seen different mods use different manners of code in mods' merged.ini files, so that the game would remember which costume variants should stick around after the game is restarted.
I thought I finally figured things out, with everything working as intended, but then I recently updated GIMI to 7.0, and now most of them keep resetting again. Is there a "correct" way of doing it, so that GIMI does things proper?
This is an example (Mona here) of what used to work if copied into every merged.ini file:
[Constants] global persist $swapvar = 0 global $ActiveCharacter = 0 [KeySwap] condition = $ActiveCharacter == 1 [Present] post $ActiveCharacter = 0 [TextureOverrideMonaPosition] $ActiveCharacter = 1
Now it only works on 1 character. Plus another character with differently named globals. Does this mean that GIMI 7.0 no longer allows the same globals to be used across different mods? I assume that if I renamed the globals on a per-character basis ($ActChar1, $ActChar2), they'd all remember their last used setting again. It's just annoying that the previous behavior no longer works.
Anyone knowledgable, feel free to be technical with your answer. I'll appreciate it.
Edit: Double-checked around, given that the only persistent variable should realistically be $swapvar. And as such, responsible for reloading the mods with the right skins, if I understand things correctly. And yes, if I look in the 3DMigoto folder, the d3dx_user.ini file lists all my mods, and their latest used $swapvar values. So why the heck does it still reset on next game launch? The more I try to understand, the less I understand...
Mod_persistence_on_game_reload.zip