Go Back   UnKnoWnCheaTs - Multiplayer Game Hacks and Cheats > Anti-Cheat Software & Programming > Direct3D

- Sponsored Advertisement -
http://www.myfpscheats.com/

Welcome to the UnKnoWnCheaTs - Multiplayer Game Hacks and Cheats.
You have to register before you can post and see and access any of the advanced forum features, please click the register link to proceed to the registration form. To start viewing threads or posts, select a forum that you want to visit from the selection below.
Direct3D
hacking programming reversing
You are Unregistered, please register to gain Full access.    
Reply
 
Thread Tools

Direct3D Gdi func
Old 08-14-2010, 07:08 AM   #1
SEGnosis
Guest

Posts: n/a
Direct3D Gdi func

What does Direct3D use or how does it paint onto a game window because its pretty smooth and Its not using BitBlt or StretchBlt to double buffer.

Edit: I tried detouring them and I also detoured Dispatch message, but it only gets WM_PAINT when its painting back invalidated areas.

Last edited by SEGnosis; 08-14-2010 at 08:34 AM.

Reply With Quote


Old 08-14-2010, 03:24 PM   #2


TimothyTimbers's Avatar

Join Date: Feb 2009
Location: i a mgone
Posts: 126
Reputation: -2339
Rep Power: 0
TimothyTimbers is infamous around these partsTimothyTimbers is infamous around these partsTimothyTimbers is infamous around these partsTimothyTimbers is infamous around these partsTimothyTimbers is infamous around these partsTimothyTimbers is infamous around these partsTimothyTimbers is infamous around these partsTimothyTimbers is infamous around these partsTimothyTimbers is infamous around these partsTimothyTimbers is infamous around these partsTimothyTimbers is infamous around these parts
GDI uses CPU. Direct3D can do Software Rendering and Hardware however. DirectDraw... well she is a whole notha woman

You may find some answers by checkout the GetDC() function. Surfaces and some texture you can get the device context and then use GDI functions.
TimothyTimbers is offline

Reply With Quote

Old 08-14-2010, 03:26 PM   #3
SEGnosis
Guest

Posts: n/a
I think that yea it doesnt use any of the regular GDI api's to paint but it is similar to bitblt.
In DirectDraw.

Reply With Quote

Old 08-14-2010, 04:51 PM   #4
Member

CND_'s Avatar

Join Date: Apr 2010
Location: Germany
Posts: 68
Reputation: 4012
Rep Power: 64
CND_ is a legend in the cheating communityCND_ is a legend in the cheating communityCND_ is a legend in the cheating communityCND_ is a legend in the cheating communityCND_ is a legend in the cheating communityCND_ is a legend in the cheating communityCND_ is a legend in the cheating communityCND_ is a legend in the cheating communityCND_ is a legend in the cheating communityCND_ is a legend in the cheating communityCND_ is a legend in the cheating community
Points: 3,523, Level: 5
Points: 3,523, Level: 5 Points: 3,523, Level: 5 Points: 3,523, Level: 5
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Last Achievements
It's probably a lame way, but you can draw on DirectDraw games like this:
Code:
    HWND window = NULL;
    while(window == NULL)
    {
                  Sleep(100);
                  window = FindWindow("whatever", "whatever");
    }
    COLORREF color = RGB(255,0,0);
    HDC hdc = GetDC(window);
    SetPixel(hdc, 105,105,red);
    ReleaseDC(window, hdc);
I only tryed it on old games but there it worked even in fullscreen.
CND_ is offline

Reply With Quote

Old 08-14-2010, 04:54 PM   #5
SEGnosis
Guest

Posts: n/a
>_> the point is to do it efficiently, as in detouring the drawing function and overlaying there instead of slow flickering queue stuffing.

Reply With Quote

Old 08-15-2010, 04:36 PM   #6
SEGnosis
Guest

Posts: n/a
Changing Subject
Does anyone know any game recorders that detour the first 5 bytes of endscene and record from that?

Reply With Quote

Old 08-16-2010, 07:04 AM   #7
Level 3

fatboy88's Avatar

Join Date: May 2005
Posts: 1,103
Reputation: 38964
Rep Power: 494
fatboy88 has a huge epeen!fatboy88 has a huge epeen!fatboy88 has a huge epeen!fatboy88 has a huge epeen!fatboy88 has a huge epeen!fatboy88 has a huge epeen!fatboy88 has a huge epeen!fatboy88 has a huge epeen!fatboy88 has a huge epeen!fatboy88 has a huge epeen!fatboy88 has a huge epeen!
Recognitions:
The UC Member of the Month award is a prestigious award given to a single community member on a monthly basis. Based on a vote by UnKnoWnCheaTs staff, the award is given to the forum member that has shown exemplary achievement and potential in the UnKnoWnCheaTs community, and has shown great commitment to upholding the principles upon which UnKnoWnCheaTs stands for. A member who has been awarded the Member of the Month award has been distinguished as an asset to the UnKnoWnCheaTs community. Member of the Month
Points: 27,267, Level: 24
Points: 27,267, Level: 24 Points: 27,267, Level: 24 Points: 27,267, Level: 24
Activity: 9.9%
Activity: 9.9% Activity: 9.9% Activity: 9.9%
Last Achievements
Quote:
Originally Posted by SEGnosis View Post
Changing Subject
Does anyone know any game recorders that detour the first 5 bytes of endscene and record from that?

Browse Taksi Files on SourceForge.net
__________________


My greatest fear is a Windows Vista Update! D:

ȜǷ-ɲآɳᶨ4 Hack:http://img42.imageshack.us/img42/473/20090203132330.png
fatboy88 is online now

Reply With Quote

Old 08-16-2010, 09:47 AM   #8
SEGnosis
Guest

Posts: n/a
I checked out 5 version neither detour endscene like that

Reply With Quote

Old 08-16-2010, 10:06 AM   #9
Level 3

fatboy88's Avatar

Join Date: May 2005
Posts: 1,103
Reputation: 38964
Rep Power: 494
fatboy88 has a huge epeen!fatboy88 has a huge epeen!fatboy88 has a huge epeen!fatboy88 has a huge epeen!fatboy88 has a huge epeen!fatboy88 has a huge epeen!fatboy88 has a huge epeen!fatboy88 has a huge epeen!fatboy88 has a huge epeen!fatboy88 has a huge epeen!fatboy88 has a huge epeen!
Recognitions:
The UC Member of the Month award is a prestigious award given to a single community member on a monthly basis. Based on a vote by UnKnoWnCheaTs staff, the award is given to the forum member that has shown exemplary achievement and potential in the UnKnoWnCheaTs community, and has shown great commitment to upholding the principles upon which UnKnoWnCheaTs stands for. A member who has been awarded the Member of the Month award has been distinguished as an asset to the UnKnoWnCheaTs community. Member of the Month
Points: 27,267, Level: 24
Points: 27,267, Level: 24 Points: 27,267, Level: 24 Points: 27,267, Level: 24
Activity: 9.9%
Activity: 9.9% Activity: 9.9% Activity: 9.9%
Last Achievements
Quote:
Originally Posted by SEGnosis View Post
I checked out 5 version neither detour endscene like that
it hooks present......and its a recorder.

why the fuck would you need help detouring or need an endscene only recorder 0_o .Most hook present , swap present , internal . I think cuz thats the time that the backbuffer is flipped to the front(maybe record the back right before its flipped???? IDK and swap chain has all the useful func for this). I didnt look thru the src i just knew it was opensourced recorder.

[Auto Merged - 22:33:58 Europe/Moscow]

Quote:
Originally Posted by SEGnosis View Post
I checked out 5 version neither detour endscene like that

also why give me negative rep? I gave you opensourced link and I explained the reasoning to it so ..............................................
__________________


My greatest fear is a Windows Vista Update! D:

ȜǷ-ɲآɳᶨ4 Hack:http://img42.imageshack.us/img42/473/20090203132330.png

Last edited by fatboy88; 08-16-2010 at 07:35 PM.
fatboy88 is online now

Reply With Quote

Old 08-16-2010, 09:06 PM   #10
SEGnosis
Guest

Posts: n/a
Because u used sum foul language when it was not needed.
Quote:
why the fuck would you need help detouring or need an endscene only recorder 0_o .

Reply With Quote
Reply  

  • Submit Thread to Digg
  • Submit Thread to del.icio.us
  • Submit Thread to StumbleUpon
  • Submit Thread to Google
  • Submit Thread to Facebook
  • Submit Thread to My Yahoo!
  • Submit Thread to MySpace
  • Submit Thread to Twitter
  • Submit Thread to Reddit



Tags
direct3d, func, gdi
Thread Tools

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 Off
Pingbacks are Off
Refbacks are Off



All times are GMT +1. The time now is 07:14 AM.