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 


d3d9 hook feature for cheatengine?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
ta_trainer
Advanced Cheater
Reputation: 0

Joined: 24 Dec 2006
Posts: 76

PostPosted: Tue Jan 31, 2012 5:00 am    Post subject: d3d9 hook feature for cheatengine? Reply with quote

Hi

I have recently learned to create a d3d9 hook in c++ and managed to display usefull data on the screen
(done for Dawn of War 2 Retripution, Maphack, RadarHack + resources on the screen... etc)

Cheatengine is great for injecting/modifying the code and finding usefull values in memory. but is there a way to hook DirectX from cheatengine and display those values on the screen?

is there such a plugin for cheatengine?

thank you
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25838
Location: The netherlands

PostPosted: Tue Jan 31, 2012 10:19 am    Post subject: Reply with quote

6.2 will have a directx hook specifically for rendering a gui and data
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
ta_trainer
Advanced Cheater
Reputation: 0

Joined: 24 Dec 2006
Posts: 76

PostPosted: Tue Jan 31, 2012 11:27 am    Post subject: Reply with quote

omg, cool
Can we have access to the Beta version plz?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25838
Location: The netherlands

PostPosted: Tue Jan 31, 2012 12:01 pm    Post subject: Reply with quote

You can download it in the beta section. Don't hesitate to ask questions, the api might be confusing (e.g rules about transparency)
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
hack0535
Cheater
Reputation: 2

Joined: 16 Oct 2011
Posts: 28

PostPosted: Wed Feb 01, 2012 12:19 am    Post subject: Reply with quote

Darkbyte Can you Give same tutorial for d3dhook??

Like Screenshots or Video
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25838
Location: The netherlands

PostPosted: Wed Feb 01, 2012 12:28 am    Post subject: Reply with quote

main.lua in the beta contains the functions

also, here is a fix for systems without the debug runtime of visual studio: http://cheatengine.org/temp/fixeddx9.rar

here is an example:
Code:

f=createForm()
i=createImage(f)


c=image_getCanvas(i)

pen=canvas_getPen(c)

pen_setColor(pen,0x00ff00)

canvas_setPenPosition(c,10,10)

canvas_lineTo(c,50,50)

h=d3dhook_initializeHook()
pict=image_getPicture(i)
oid=d3dhook_createOverlay(pict, -1,-1)


tip: Instead of creating a form you can also just create an image and render the text in there and then pass that off as an overlay

tip2: There's nothing stopping you making an overlay the exact size as the screen (updates might be a bit slower)

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
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