Welcome, Guest.
Username: Password: Remember me

TOPIC: GameHash define

GameHash define 1 year 8 months ago #1

  • PetkaGtA
  • PetkaGtA's Avatar
  • Offline
  • Posts: 13
  • Thank you received: 21
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. :)
The administrator has disabled public write access.

GameHash define 1 year 8 months ago #2

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2446
  • Thank you received: 1388
Nice idea =).
Any naming suggestions/wishes? Something like one of these for instance:
  • __GAME__
  • __EXECUTABLE__
  • __APPLICATION__
Cheers, crosire =)
The administrator has disabled public write access.

GameHash define 1 year 8 months ago #3

  • PetkaGtA
  • PetkaGtA's Avatar
  • Offline
  • Posts: 13
  • Thank you received: 21
I think __APPLICATION__ would be nice. Keep up the good work btw. :)
The administrator has disabled public write access.
The following user(s) said Thank You: crosire

GameHash define 1 year 8 months ago #4

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2446
  • Thank you received: 1388
Alright then (and thanks =) ). Available with the next update. Also added a field to the statistics overlay (#pragma reshade showstatistics) displaying its value.
Cheers, crosire =)
The administrator has disabled public write access.

GameHash define 1 year 8 months ago #5

  • jmp909
  • jmp909's Avatar
  • Offline
  • Posts: 135
  • Thank you received: 48
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
The administrator has disabled public write access.

GameHash define 1 year 8 months ago #6

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2446
  • Thank you received: 1388
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.
Cheers, crosire =)
The administrator has disabled public write access.
The following user(s) said Thank You: SpinelessJelly, brussell, jmp909

GameHash define 1 year 8 months ago #7

Hi, did you code the implementation for petkagta DOF, if so, thank you for all your work, it is fantastic
The administrator has disabled public write access.

GameHash define 1 year 8 months ago #8

  • PetkaGtA
  • PetkaGtA's Avatar
  • Offline
  • Posts: 13
  • Thank you received: 21
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.
The administrator has disabled public write access.

GameHash define 1 year 8 months ago #9

  • SunBroDave
  • SunBroDave's Avatar
  • Offline
  • Posts: 202
  • Thank you received: 174
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?
The administrator has disabled public write access.

GameHash define 1 year 8 months ago #10

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: 1 year 8 months ago by Aelius Maximus.
The administrator has disabled public write access.

GameHash define 1 year 8 months ago #11

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2446
  • Thank you received: 1388
Added in 0.17.0.
Cheers, crosire =)
The administrator has disabled public write access.
The following user(s) said Thank You: PetkaGtA