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 


An OpenGL tutorial for hooked applications?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
mgostIH
Expert Cheater
Reputation: 3

Joined: 01 Jan 2016
Posts: 159

PostPosted: Wed Sep 28, 2016 11:58 am    Post subject: An OpenGL tutorial for hooked applications? Reply with quote

I am trying to get some OpenGL scene rendering on an external application, I can hook the wglSwapBuffers function and redirect it to my injected DLL, but unfortunately I have no experience on how to draw advanced stuff on the screen, something like those D3D menus a lot of people make for FPS games and such.

I've searched a lot thru google, but there's really few support for OpenGL menus and GUIs, I am using GLUT right now, where can I learn more about this, and possibly get some sample codes?

_________________
Do you need to ask me something? Feel free to join my discord server at: https://discord.gg/At4VZXA or ask me something in my YouTube channel: https://www.youtube.com/c/mgostIH
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Wed Sep 28, 2016 1:53 pm    Post subject: Reply with quote

Search for old Counter-Strike / Half-Life based game hack source code, most of them used OpenGL and have a fair amount of custom drawing and such in them that helps.

Also just google around for OpenGL tutorials and apply the drawing bits from them into the hook.

You can also look at open source frameworks for UI stuff. Some examples would be MyGUI, CrazyEddies, ImGui, GWEN, etc. All of which have OpenGL examples as well as rendering engines for them with source code included.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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