Go Back   Hags-club forums PC Discussion Software

Notices

Reply
 
Thread Tools Display Modes
Old 02-07-2013, 01:54 AM   #1 (permalink)
Super Moderator
 
Mojoguy01's Avatar
Join Date: Oct 2012
Posts: 744
Thanks: 36
Thanked 88 Times in 47 Posts
Mojoguy01 is an unknown quantity at this point

Default D3D reading/hooking/drawing discussion!

Anyone know the current method for using D3D to draw things either ontop of the screen, or inside the game itself?

Having trouble using the known methods to draw anything with modern D3D games.





ps: Purpose of this thread is to increase general knowledge about DirectX gaming, and drawing stuff (such as chams/menus/labels/etc).
Mojoguy01 is offline Reply With Quote
Old 02-07-2013, 02:13 AM   #2 (permalink)
nubleng
 
dogmatt's Avatar
Join Date: Dec 2011
Posts: 3,478
Thanks: 40
Thanked 1,287 Times in 557 Posts
dogmatt has disabled reputation

Default

deepah hookenz gdi callbackx (for roflcopters: hooks in kernel mode)
deepah hookenz - swapchain::present

nub method: hook dx endscene
nubest method: hook Direct3DCreate9 and change dx interfaces vtable
dogmatt is offline Reply With Quote
Old 02-07-2013, 02:20 AM   #3 (permalink)
Super Moderator
 
Mojoguy01's Avatar
Join Date: Oct 2012
Posts: 744
Thanks: 36
Thanked 88 Times in 47 Posts
Mojoguy01 is an unknown quantity at this point

Default

Quote:
Originally Posted by dogmatt View Post
deepah hookenz gdi callbackx (for roflcopters: hooks in kernel mode)
deepah hookenz - swapchain::present

nub method: hook dx endscene
nubest method: hook Direct3DCreate9 and change dx interfaces vtable
Yea, I don't know how to do the first two, but I tried the "Nub Method" but the endscene told me to GTFO and would draw nothing.
Mojoguy01 is offline Reply With Quote
Old 02-07-2013, 12:28 PM   #4 (permalink)
nubcake.net
 
Hagzor's Avatar
Join Date: Dec 2011
Posts: 12,218
Thanks: 956
Thanked 2,072 Times in 1,483 Posts
Hagzor is a jewel in the roughHagzor is a jewel in the roughHagzor is a jewel in the rough

Default

Then nubest method is your lvl!
Hags-Club socials:

Facebook | Twitter | Google+| Вконтакте

Follow!11
All news and cookies!
Hagzor is offline Reply With Quote
Old 04-07-2013, 05:02 PM   #5 (permalink)
Junior Member
Join Date: Oct 2012
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
menc9re is on a distinguished road

Default

Quote:
Originally Posted by dogmatt View Post
deepah hookenz gdi callbackx (for roflcopters: hooks in kernel mode)
deepah hookenz - swapchain::present

nub method: hook dx endscene
nubest method: hook Direct3DCreate9 and change dx interfaces vtable
Hooking Present does the trick in some games.
Also you can make transparent overlay over any game (windowed mode only) by abusing DWM, you can then draw your shit with OGL, D3D9, 10, 11 or even GDI if you want for some reason.

EDIT: You mentioned Present already, my bad.
menc9re is offline Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off