Welcome, Guest.
Username: Password: Remember me

TOPIC: Injecting a games HUD (Pixel shader) after effects

Injecting a games HUD (Pixel shader) after effects 1 year 1 month ago #1

Ok so I cave,

While I wait for a response from corsair on HUD exclusion, I'm going to throw this out there in case anyone can help.

I'm trying to figure out how to draw a particular PS hash from the game and inject it as the last draw in the pipeline, this is a feature of GeDoSaTo and it's the one thing I'm missing from ReShade. I'm sure this can somehow be done as a custom shader but I'm struggling cause I have very limited experience with coding.

I know we'll hear from a developer soon, I just thought I'd throw this out there.

Cheers.
The administrator has disabled public write access.

Injecting a games HUD (Pixel shader) after effects 1 year 1 month ago #2

  • Ganossa
  • Ganossa's Avatar
  • Offline
  • 최정장군
  • Posts: 790
  • Thank you received: 838
A solution/workaround you think of would be more complex than that. A hud is usually not drawn all in only one draw. You also need to control when your binaries are hooked and that might be something useful before and after ReShade. Hooking before would mean ReShade is overlaying your draw anyway and hooking after would need you to identify not only the first hud ps but also the last.

If you still want to do that you need to build a library that fits the render API of your game (e.g. d3d9), do all the usual injector/hooking stuff and in addition to that detour all possible draw function of the API library. GeDoSaTo is dumping each draw on disk with the hash code of the previous ps (not sure about its retrieval in d3d9). While he is injecting his code after that hash comes up, you need to get all the UI draws on a rendertarget which you later use in your own shader which is applied AFTER ReShade as a texture to read from.
The administrator has disabled public write access.
The following user(s) said Thank You: louiscarter88

Injecting a games HUD (Pixel shader) after effects 1 year 1 month ago #3

So the shader I use is actually a VSHash (vertex shader?) - I point GeDoSaTo to . . .
injectVSHash aa88523e

And the ALL the HUD elements are magically skipped.

So where would I start building this library? :s Sorry for coming off so clueless it's just alot of Gw2 players have been wanting this and I went through the tedious process of isolating that hash code the hard way. So thanks in advance.
The administrator has disabled public write access.

Injecting a games HUD (Pixel shader) after effects 9 months 11 hours ago #4

Going to BUMP this thread in light of the 2.0 update (I brought it up in the release thread but it got overlooked)

Any news on HUD exclusion / injection? Would love to hear from you guys (good work on 2.0 btw :) )
The administrator has disabled public write access.