Disabled mods are active when launching P4G from R2 Steam shortcut
Mods that are disabled in Reloaded II are injected anyway when launching Persona 4 Golden from a custom shortcut in Steam.
Steps to reproduce the behaviour:
- Setup a Steam shortcut for P4G w/ Reloaded II as stated in this page on the P4G CEP wiki.
- Disable some mods for P4G in the Reloaded II UI.
- Launch the game through the Steam shortcut.
- Disabled mods will be injected despite being disabled.
Disabled mods should not be injected when disabled. This issue does not occur when using the "Launch Application" button in Reloaded II.
I initially noticed this issue when I would disable Title Screen Fix+, launch the game through the Steam shortcut, and the text on the title screen would say "MOD LOADER ENABLED" instead of "PRESS ANY BUTTON". This is a change that the mod makes and the text doesn't change when launching through Reloaded II with the mod disabled.
[Currently on a 'break', so I have no immediate plans to do anything]
But it's weird.
IIRC, changing mod configuration saves the configuration in the Apps folder.
Launching through a shortcut just launches it through the --launch parameter.
In both cases, the mod loader itself (inside the game), would just look through the Apps folder and load whatever's there.
I haven't worked with the R2 code much in a while- but could the issue be that the App is not saving immediately after you trigger a mod on/off. i.e.
- Disable a Mod
- Launch from Steam without closing launcher
And because program hasn't yet saved the mod config, the enabled/disabled mods are not applied.
Maybe it's something of this sort.
I took a look at AppConfig.json and I found a listing for p4gpc.titlescreenfix. I removed it, and launching from Steam yielded the vanilla title screen text. I think this was the only mod loading that I didn't know about. I guess it just wasn't getting removed from the list when the mod was disabled with the GUI. I still don't know why it only affected --launch and not launching through R2. Thanks for pointing me in the right direction with this.
Edit: Just noticed that two mods not apart of CEP weren't in the list despite being enabled. I'll stick to using R2 to launch as of now. This isn't a huge deal anyway, just annoying as it's hard to tell that it's happening.