-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ReShade INI being overwritten/deleted #1071
Comments
I can reproduce the removing INI behaviour, not sure why though. I don't think this is intended., as per the note on the OP for PR #1000
Hm, I don't remember if we're supposed to do this, but it sounds sensible, so I'll take a look for this too. |
The removal code for the INI is handled in This looks like a mistake on my part: if [ "$KEEPRESHADEINI" -eq 1 ]; then
rmFileIfExists "$INSTDESTDIR/$RSINI"
fi My guess is that we're supposed to check |
Yeah, changing the above to check I also think this behaviour is incorrect, not just logically, but because it doesn't match the behaviour in As for checking for an existing INI, I'll take a look at this too. Would this be a valid testing scenario?
Likely, overwriting an existing ReShade INI is also a bug introduced as part of the major ReShade rework, so once investigated if a fix is needed I probably won't note this on the changelog either :-) |
Huh, it seems correcting the line to There is likely no need for a PR for this, so I'll just push the fix directly to master. |
This was automatically closed because I mentioned the issue, even though I deliberately used "may fix" ;-_- Whenever you can, please test out that commit and see if it fixes your problem :-) If the problem really was this simple, well, that's embarrassing that I didn't catch it earlier... |
Should've created a ReShade label long ago, but never got around to it until now. Better late than never! 😄 |
Will test on my end when I get home. But from your earlier comments I think it was that easy 😂 had a feeling there was incorrect conditional lol |
was able to confirm that the overwrite part of the bug is fixed. Haven't tested an existing in being deleted if the option is disabled yet.... will test latter today |
Yup everthing looks good ini is no longer overridden or deleted sorry i took so long to get back to this |
No problem :-) If I had actually gotten around to playing more of P3R, I'd make a Persona-related "happy gaming" reply, but I haven't, so it's just "happy gaming" to you for now :-) |
System Information
Issue Description
setting
CREATERESHINI
to1
creates a ReShade ini as expected but it will also overwrite existing ReShade ini's so it looks like the check for existing ini is not working.Even stranger for some reason in Persona 3 Reloaded disabling
CREATERESHINI
causes the existing ReShade ini to be deleted.my understanding is if
CREATERESHINI
is0
it just skips the ini creation code. It shouldn't be deleting the ini... yet for some reason setting it to 0 causes thisLogs
2161700.log
The text was updated successfully, but these errors were encountered: