View Single Post
Old 12th May 2016, 16:48   #37919  |  Link
Ver Greeneyes
Registered User
 
Join Date: May 2012
Posts: 447
Quote:
Originally Posted by fhoech View Post
If you're using SetDeviceGammaRamp, this may not be enough for fullscreen (D3D) games, because the APIs allow for different video card gamma tables in desktop/windowed mode and fullscreen (exclusive) mode where the latter can only be influenced from within the actual game process (or via DLL injection, there's a small utility called ColorClutch which uses this method).
Yes, thankfully I've only come across one game that used the D3D API to overwrite the gamma ramps (The Bard's Tale), and I was able to fix that using a hook I wrote myself (which also puts the game into windowed mode to fix the alt-tab crashes). Didn't know about Color Clutch though, I'll have to remember that if I run into another game that sets the gamma ramps.

Last edited by Ver Greeneyes; 12th May 2016 at 16:52.
Ver Greeneyes is offline   Reply With Quote