GameHash define

  • PetkaGtA
  • Topic Author
More
9 years 3 weeks ago #1 by PetkaGtA GameHash define was created by PetkaGtA
Just started to work on my ReShade mod, and got a little suggestion about presets. I'd like to have a define that has a current application name in it (hash for example), so for some games I could use different presets. :)

Please Log in or Create an account to join the conversation.

  • crosire
More
9 years 3 weeks ago #2 by crosire Replied by crosire on topic GameHash define
Nice idea =).
Any naming suggestions/wishes? Something like one of these for instance:
  • __GAME__
  • __EXECUTABLE__
  • __APPLICATION__

Please Log in or Create an account to join the conversation.

  • PetkaGtA
  • Topic Author
More
9 years 3 weeks ago #3 by PetkaGtA Replied by PetkaGtA on topic GameHash define
I think __APPLICATION__ would be nice. Keep up the good work btw. :)
The following user(s) said Thank You: crosire

Please Log in or Create an account to join the conversation.

  • crosire
More
9 years 3 weeks ago #4 by crosire Replied by crosire on topic GameHash define
Alright then (and thanks =) ). Available with the next update. Also added a field to the statistics overlay (#pragma reshade showstatistics) displaying its value.

Please Log in or Create an account to join the conversation.

  • jmp909
More
9 years 3 weeks ago #5 by jmp909 Replied by jmp909 on topic GameHash define
out of interest could you explain the specific purpose please?

are you intending to supply a single generic mod but with game specific functions included for multiple games?

thanks
j

Please Log in or Create an account to join the conversation.

  • crosire
More
9 years 3 weeks ago #6 by crosire Replied by crosire on topic GameHash define

jmp909 wrote: out of interest could you explain the specific purpose please?

CeeJay just pointed out a useful one to me: There are a bunch of games where the depthbuffer is flipped horizontally. This is something ReShade cannot fix, because the depthbuffer is bound directly to the shader and it's impossible to figure out its direction. Now with this new define one can create a list of games where this is the case and then simply flip the depthbuffer in the shader again.
The following user(s) said Thank You: SpinelessJelly, brussell, jmp909

Please Log in or Create an account to join the conversation.

  • Aelius Maximus
More
9 years 3 weeks ago #7 by Aelius Maximus Replied by Aelius Maximus on topic GameHash define
Hi, did you code the implementation for petkagta DOF, if so, thank you for all your work, it is fantastic

Please Log in or Create an account to join the conversation.

  • PetkaGtA
  • Topic Author
More
9 years 3 weeks ago #8 by PetkaGtA Replied by PetkaGtA on topic GameHash define
Yep, but I'm just rewrited martinsh DoF to HLSL with some little fixes. Anyway now with ReShade released I can start to work on implementing my old, and writing my new shaders.

Please Log in or Create an account to join the conversation.

  • SunBroDave
More
9 years 2 weeks ago #9 by SunBroDave Replied by SunBroDave on topic GameHash define
Since you're adding id's for each game, would it be possible to implement a pshash system like with gedosato for applying effects before the hud is rendered?

Please Log in or Create an account to join the conversation.

  • Aelius Maximus
More
9 years 2 weeks ago - 9 years 2 weeks ago #10 by Aelius Maximus Replied by Aelius Maximus on topic GameHash define

PetkaGtA wrote: Yep, but I'm just rewrited martinsh DoF to HLSL with some little fixes. Anyway now with ReShade released I can start to work on implementing my old, and writing my new shaders.


That sounds great, i think the "martinsh/petkagta DOF are the best, can i get that rewrite anywhere?
Last edit: 9 years 2 weeks ago by Aelius Maximus.

Please Log in or Create an account to join the conversation.

  • crosire
More
9 years 2 weeks ago #11 by crosire Replied by crosire on topic GameHash define
Added in 0.17.0.
The following user(s) said Thank You: PetkaGtA

Please Log in or Create an account to join the conversation.

We use cookies
We use cookies on our website. Some of them are essential for the operation of the forum. You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.