Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


opengl ingame gui

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
exohaxor
Expert Cheater
Reputation: 1

Joined: 02 Sep 2018
Posts: 101

PostPosted: Wed May 20, 2020 12:33 pm    Post subject: opengl ingame gui Reply with quote

i know cheat engine has d3dhook but can we do it with opengl and make a functioning gui?
_________________
hi
Back to top
View user's profile Send private message
mindoff
Advanced Cheater
Reputation: 0

Joined: 12 Jun 2016
Posts: 96

PostPosted: Sat Jun 06, 2020 4:26 am    Post subject: Reply with quote

I have asked this one year before,and DB says no, not now.

So I guess you have to learn some open source GPU tool like renderdoc.

And see how it inject graphic and draw string for opengl and vulkan app.

I'm always want to learn about this kind of thing,but pretty busy at everyday's shit work.
Back to top
View user's profile Send private message
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1667

PostPosted: Sat Jun 06, 2020 4:38 am    Post subject: Reply with quote

I think CE using DirectX not OpenGL
_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
mindoff
Advanced Cheater
Reputation: 0

Joined: 12 Jun 2016
Posts: 96

PostPosted: Wed Jun 10, 2020 4:16 pm    Post subject: Reply with quote

OK,search a little from Internet.

It seems you can write an inject dll and hook opengl's SwapBuffers function or name like this.

Then write you own RenderText function to render text on opengl context.

I saw this code from renderdoc source code and trace and I can debug and trigger this breakpoint,which can be sure the function is called.

Haven't test for more info and detail.

But I think you can try Detours which is a hook lib for common inject and example from internet to do the same.

Or just like me,trace more about renderdoc,see how it works

I did some search from github,there are lots of DX hack,but almost none opengl hack example,and if there is some,it is all about old version opengl hack like opengl 1 or 2 for counter strike

Hard to see a modern opengl hack example.

But I think renderdoc should work for modern opengl and vulkan.

So it seem a time job to write an Universal opengl rendertext lib by someone maybe.

I have to admit I can't do this because I don't fully understand those source code.


But I think the direction should be correct.Looking for more talented person who can do this
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites