CLEO Help Hiding GUIs and stuff from video capture.

CLEO related
Status
Not open for further replies.

Zin

Expert
Joined
Aug 1, 2013
Messages
1,719
Solutions
1
Reaction score
111
Couple of posts about this but none of them really explain how to hide menus and stuff from recording software. Glance_m0d has this known as "stealth renderer" apparently it hooks deep into DirectX or something in order to that but how exactly does that work. Are there any sort of windows libary funcs that can be used to achieve the same effect. In particular I'm talking about "render" graphics from sampfuncs maybe there is some alternative.
 

Zin

Expert
Joined
Aug 1, 2013
Messages
1,719
Solutions
1
Reaction score
111
So there's this program called OBS and I'm pretty sure people add scripts to it as it's "open source" to hide hacks, now I only know CLEO so I'm wondering if there's maybe a simple way to maybe a way to let CLEO know when a frame is being rendered maybe through windows libary funcs or vars or such as CLEO can read interact with libaries to some extent.
 

monday

Expert
Joined
Jun 23, 2014
Messages
1,127
Solutions
1
Reaction score
158
no idea if it's helpful in general, but for specific cases you can apply specific solutions.

For example, IMRP launcher uses directx based function (can't remember the name of it at the moment) to capture the screenshot of gta_sa window. You could possibly patch that function to set your own flag (e.
g. set ini file variable "babajaga_patrzy" to true), and then in cleo mods make conditional check to disable any drawing if "babajaga_patrzy" is true.

Not optimal or universal but it could work, the patched function would also include a short (around 50ms) delay to allow cleos recognise the the "babajaga_patrzy" state and act upon it before the screenshot is made (hoping the delay won't crash the app, which may be the case)

just some thoughts about it..

Edit:
The function that was responsible for saving the screenshot was: D3DXSaveSurfaceToFileInMemory
And it can be seen/analysed by opening C:\Users\michal\AppData\Roaming\.im-rp\imrp.dll with Ghidra program.
 

Attachments

  • abc.png
    abc.png
    69.5 KB · Views: 31
Last edited:

_Safa

Well-known member
Joined
Sep 22, 2019
Messages
295
Reaction score
100
Location
UGBASE
I also had my ESP coded in CLEO done like a month ago and I was also at the point wondering if there is an way to actually stealth render with SAMPFUNCS. I doubt that there is an possibility but maybe some more experienced dudes here can tell something
 
Status
Not open for further replies.
Top