Welcome, Guest.
Username: Password: Remember me

TOPIC: Shift + Right click to reset UI variable

Shift + Right click to reset UI variable 7 months 6 days 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: 7 months 6 days ago by TreyM.
The administrator has disabled public write access.

Shift + Right click to reset UI variable 7 months 5 days 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 7 months 5 days 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 7 months 4 days ago #4

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

Shift + Right click to reset UI variable 7 months 3 days 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 6 months 2 weeks 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
Last Edit: 6 months 2 weeks ago by Fu-Bama.
The administrator has disabled public write access.

Shift + Right click to reset UI variable 6 months 2 weeks 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.

Shift + Right click to reset UI variable 4 months 2 days ago #8

Durante_ wrote:
@TreyM Where did you get this HSL shader? Could you share it, please? It seems amazing!

The shader has now been released here: Advanced HSL Shifting
The administrator has disabled public write access.

Shift + Right click to reset UI variable 3 months 4 weeks ago #9

As an alternative, it can solve by 2 changes.
  1. Clarify that ReShade does not save completely disabled effect settings

    (checked MagicDOF)
    Techniques=MagicDOF
    [DOF.fx]
    ...
    <<EOF
    (unchecked MagicDOF)
    Techniques=
    <<EOF
  2. at load preset, ignore the disabled effect settings
disable technique. press the reload button.

more information: Changed technique settings to be initializable for each effect
Last Edit: 3 months 4 weeks ago by seri14.
The administrator has disabled public write access.

Shift + Right click to reset UI variable 4 weeks 11 hours ago #10

Link for pull request which adds support for this (for tracking purpose): github.com/crosire/reshade/pull/64
Cheers, crosire =)
The administrator has disabled public write access.
The following user(s) said Thank You: OtisInf