ThePhotoshop on 4/2/2024 at 10:56
Figured you folks might like this.
I made the brightness and colour of the PS4 controller's light bar synchronise with the state of Thief's light gem.
See it in action here: (
https://twitter.com/dhindes/status/1753016924089524408)
Currently it reacts to three states: fully hidden; yellow; and red. I'm thinking of expanding it to try and synchronise with each analogue level of the light gem. Anyone know how many different sprites it has in total?
Here's how I did it:
* OpenRGB + HTTPHook plugin
* Set up separate profiles with each colour
* Set up separate hooks with a local GET URL that trigger profile swap
* Write an AutoHotKey script that detects the black/yellow/red pixel colour on the light gem and sends a HTTP request to the relevant hook URL
elymmit on 4/2/2024 at 12:09
Yeah, that's cool, but it's not the sort of game I can play with a controller. To each their own.
However, my wife has RGB keyboard and mouse, I wonder if syncing those to the light gem would be possible.
Sent from my SM-G986B using Tapatalk
ThePhotoshop on 4/2/2024 at 12:13
Absolutely it would be possible, using the same steps. As long as OpenRGB detects your keyboard and mouse, you'd just apply it to those devices instead
R Soul on 5/2/2024 at 22:11
Quote Posted by ThePhotoshop
Currently it reacts to three states: fully hidden; yellow; and red. I'm thinking of expanding it to try and synchronise with each analogue level of the light gem. Anyone know how many different sprites it has in total?
There are 16. Each is an object with a couple of textures - the frame and the gem.
You can examine the textures by opening up the Thief\RES\obj.crf (renamed zip file).
They are in the 'txt' folder. The objects themselves are in the root folder (UICRY01.BIN - UICRY16.BIN [from light to dark]). Any text or hex editor will allow you to see exactly which pair of textures belong on each stage player visibility.
Frame textures are SURCRYRR.gif (red), SURCRYYR.gif (yellow), and SURCRYGR.gif (black)
Gem textures are (from light to dark): CRYTEX01.gif to CRYTEX16.gif.
ThePhotoshop on 5/2/2024 at 23:27
Thank you very much!