juv / vibranceGUI

A Windows Utility that automates NVIDIAs Digitial Vibrance Control and AMDs Saturation for Games, e.g. Counter-Strike: Global Offensive

Home Page:http://vibrancegui.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inconsistent behaviour in Battlefield 2042

Shaydera opened this issue · comments

I've experienced inconsistent behaviour when using this tool for Battlefield 2042.
The vibrance change will only trigger around ~30% of the times when tabbing into the Game.

I have already tried to debug this and noticed that the Windows Event Hook sometimes just won't get called on bringing the game into foreground, in this cases it will be called on tabbing OUT of the game tho.

I did test this on a secondary machine too, so its not specific to my primary windows install.
Due to the fact that i have little knowledge of the Windows API, i don't know what can be done about this.
Also i need to add, that the Game is protected by "EasyAntiCheat", which may have something to do with this?

Greetings

commented

which version are you using?

VibranceGUI Version 2.3.1.1 on a NVIDIA 3080Ti with Driver Version 496.76
Windows 10 21H1 (Build 19043.1348, up2date)

I've debugged with the current master branch.

commented

Thanks for trying to debug it. We also had a few occurences when people had similar issues;
I tried to add one more Windows event type to be informed by the hook. See here:

#95 (comment)
#95 (comment)

Maybe EVENT_SYSTEM_SWITCHEND could also be of interest. It's not clear what exactly the overlaps of these events are, it's mostly trial and error :/

 
The user has released ALT+TAB. This event is sent by the system, never by servers. The hwnd parameter of the WinEventProc callback function identifies the window to which the user has switched.If only one application is running when the user presses ALT+TAB, the system sends this event without a corresponding EVENT_SYSTEM_SWITCHSTART event.