Welcome, Guest.
Username: Password: Remember me

TOPIC: Shift + Right click to reset UI variable

Shift + Right click to reset UI variable 1 month 2 weeks ago #1

Not sure how simple this is to do, but could something be implemented via a combo input (such as shift + right click or anything else tbh) to reset a UI variable to shader default?

If it's inefficient to read the shader after compilation, perhaps the default values could be stored in the user saved ini alongside the modified values. I'm not sure since I'm not really any kind of programmer.
Last Edit: 1 month 2 weeks ago by TreyM.
The administrator has disabled public write access.

Shift + Right click to reset UI variable 1 month 2 weeks ago #2

This isn't easy to do and would require some ugly hacks I'd much rather avoid. ReShade doesn't preserve defaults. They are gone as soon as you change the value.
Cheers, crosire =)
The administrator has disabled public write access.
The following user(s) said Thank You: TreyM

Shift + Right click to reset UI variable 1 month 2 weeks ago #3

:( That's too bad. I have an HSL shader setup here that cries every time I have to reset the values.
The administrator has disabled public write access.

Shift + Right click to reset UI variable 1 month 2 weeks ago #4

@TreyM Where did you get this HSL shader? Could you share it, please? It seems amazing!
Last Edit: 1 month 2 weeks ago by Durante_.
The administrator has disabled public write access.

Shift + Right click to reset UI variable 1 month 1 week ago #5

It was written by my friend kingeric1992. I'll see about getting him to release it.
The administrator has disabled public write access.

Shift + Right click to reset UI variable 4 weeks 2 days ago #6

TreyM wrote:
:( That's too bad. I have an HSL shader setup here that cries every time I have to reset the values.
Warning: Spoiler! [ Click to expand ]
Maybe you could put default value info in ui_label name? Like "Red (default #BF4040)"
Just an idea
GitHub
If you want to buy me a coffee, donate :)
Last Edit: 4 weeks 2 days ago by Fu-Bama.
The administrator has disabled public write access.

Shift + Right click to reset UI variable 3 weeks 6 days ago #7

That's already been done. it's not ideal, and that isn't the point. It's still a massive pain to reset every single value.
The administrator has disabled public write access.