Welcome, Guest.
Username: Password: Remember me

TOPIC: [WIP] Control reshade from within the game!

[WIP] Control reshade from within the game! 5 months 3 weeks ago #1

  • TaroNuke
  • TaroNuke's Avatar
  • Offline
  • Posts: 5
  • Thank you received: 2
So with a bit of help from Crosire, I managed to get the explosion shader to react based on how much time is left on the timer-type shader. Since then, I have been making "impulse" variants of many different shaders, with a bunch of different controllable parameters.

By creative a static variable in my fork of the music game "OpenITG", I was able to get a patch of data (that I could locate through Cheat Engine) that was readable via an external program with the ability to press keys. The program checks for changes in this value and sends that value to windows as a key press. The key presses, naturally, being linked to reshade's shaders.

This is a test video:


And here's how it'd be used in an actually challenging stage:
Warning: Spoiler! [ Click to expand ]


Just thought people may be interested in my journey.
Last Edit: 5 months 3 weeks ago by TaroNuke.
The administrator has disabled public write access.
The following user(s) said Thank You: crosire

[WIP] Control reshade from within the game! 5 months 3 weeks ago #2

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2453
  • Thank you received: 1393
This is amazing! Using programmed key presses to send data to ReShade is really creative. =)
Cheers, crosire =)
The administrator has disabled public write access.
The following user(s) said Thank You: TaroNuke

[WIP] Control reshade from within the game! 5 months 3 weeks ago #3

  • Marty McFly
  • Marty McFly's Avatar
  • Offline
  • We've tried nothing and we're all out of ideas!
  • Posts: 610
  • Thank you received: 720
This is fantastic! More of a technical question, is it possible to pass such data as "key presses" to unassigned keys like 0x07?
The administrator has disabled public write access.

[WIP] Control reshade from within the game! 2 months 3 weeks ago #4

  • Sh1nRa358
  • Sh1nRa358's Avatar
  • Offline
  • Posts: 113
  • Thank you received: 9
I proposed something similar before but it was to name a texture to a txt file when it was displayed in-game and when it wasnt displayed, the txt file would disappear and I had made the ahk script to read if that txt file was there for it (and change respective settings in reshade along with it) but no one wanted to make reshade dump the user defined shader name to the txt file, tsk tsk tsk. So I did it with getpixelcolor etc with ahk but it isn't as accurate as getting that texture name would be :P

It can also be done with ahk by reading memory addresses of things in-game which is even more accurate but requires way more work. So the above would be easiest for me at least.
Last Edit: 2 months 3 weeks ago by Sh1nRa358.
The administrator has disabled public write access.