Question / Help From a developer's perspective, what does anti-cheat compatibility hook do?

MrEsportz

New Member
I know it makes some games that have aggressive anti-cheat work with OBS. But how does it do that from a technical level? Does it do some dll wizardry? Is there documentation on it somewhere that I just couldn't find? Any info would be helpful.
 

MrEsportz

New Member
Thank you so much for the response Suslik.
Can you explain what the helper object does further?
I tried to google it and it I wasn't able to figure out what that means.
I know cheating is often done with dll injection and recording with fraps and game capture is dll injection as well I think.
Does the helper object bypass that?
 

Suslik V

Active Member
No bypass. More like intermediate. If you what to use it to make a new cheat, then it useless (I think).

https://github.com/jp9000/obs-studio/blob/master/plugins/win-capture/game-capture.c

look for hook_direct, create_inject_process and inject_hook

You may be interested in info part of these commits:
https://github.com/jp9000/obs-studio/commit/bcdb3dccb95da27ea2134ef1a114796a6820ed0a
https://github.com/jp9000/obs-studio/commit/f4d0da4e04d673f0e011d6508a563a0e70fcf5aa
https://github.com/jp9000/obs-studio/commit/56899df08f4af1d768a3381850fc9e94d5253d8e

The method is default for the OBS Studio. Maybe you can perceive it as some kind of graphics mod or so.

Edit: probably you are interested only in this: Can I get VAC banned?
 
Last edited:
Top