Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Mod persistence on game reload

- A Question for Genshin Impact.

primary preview sec preview img

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...

Login or Sign up to access this!
Login or Sign up to access this!

Files

Alternate File Sources

Credits

Submitter

OcaroCreator
Login or Sign up to access this!
Login or Sign up to access this!
Login or Sign up to access this!

Game

Login or Sign up to access this!

Category

Sub-category
category img Skins

Details

License

Share

  • 9
  • 344
Login or Sign up to access this!

More from Submitter

preview img
248 24.1k 13
arrow_back