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 


D3D Overlay
Goto page 1, 2, 3  Next
 
Post new topic   This topic is locked: you cannot edit posts or make replies.    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Tue Nov 11, 2008 8:44 pm    Post subject: D3D Overlay Reply with quote

I wanted to get into D3D Overlay so I can make in-game hack menus.. I was wondering if there were tutorials that you guys knew that you could link me to? I'm googling right now for some. Thanks in advance.
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
tombana
Master Cheater
Reputation: 2

Joined: 14 Jun 2007
Posts: 456
Location: The Netherlands

PostPosted: Wed Nov 12, 2008 11:52 am    Post subject: Reply with quote

For what version of directx?
There are two possibilities:
- hook the direct3d interfaces (depends on the version of direct3d that is used)
- use a directDraw overlay (will draw over ANYTHING)

I tried both, and in my opinion, a directdraw overlay is much easier, and no hooking or bypassing whatsoever is needed. What you do is just create a directdraw object, just like a 2d game would. Then you set it to 'overlay'. That just means that it'll be drawn over everything else on the screen. Then you can just draw to it as you want. The only negative part about directdraw overlays is, that you can't capture them on screenshots or movies. But I don't think that's a problem for in-game hack menus.
Back to top
View user's profile Send private message  
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Wed Nov 12, 2008 6:33 pm    Post subject: Reply with quote

I made a delphi directx overlay in delphi. If you really want It will give it to you...

If you want to work it out Ill give u a tutorial.
Back to top
View user's profile Send private message  
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Wed Nov 12, 2008 11:42 pm    Post subject: Reply with quote

tombana wrote:
For what version of directx?
There are two possibilities:
- hook the direct3d interfaces (depends on the version of direct3d that is used)
- use a directDraw overlay (will draw over ANYTHING)

I tried both, and in my opinion, a directdraw overlay is much easier, and no hooking or bypassing whatsoever is needed. What you do is just create a directdraw object, just like a 2d game would. Then you set it to 'overlay'. That just means that it'll be drawn over everything else on the screen. Then you can just draw to it as you want. The only negative part about directdraw overlays is, that you can't capture them on screenshots or movies. But I don't think that's a problem for in-game hack menus.


Drawing to the screen would be easy for things like menus, but some of the things I want to do requires the hooking the d3d interfaces. And I'm going to be doing this on D3D9.

@dnsi0

If you could give me the source that would be great. I know some delphi so I'll probably get the gist of it.

_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
tombana
Master Cheater
Reputation: 2

Joined: 14 Jun 2007
Posts: 456
Location: The Netherlands

PostPosted: Thu Nov 13, 2008 9:39 am    Post subject: Reply with quote

Well I did the same as dnsi0 but in C++, for D3D9. I can send you the source if you want to.
So what exactly requires hooking the d3d interface? The only thing I can imagine is some sort of 3D menu.
Back to top
View user's profile Send private message  
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Thu Nov 13, 2008 2:50 pm    Post subject: Reply with quote

I would greatly appreciate the source, tombana. And yes the menu would require some hooking I suppose. But it was more for creating chams. Unless that doesn't require D3D hooking?
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
GMZorita
Grandmaster Cheater Supreme
Reputation: 0

Joined: 21 Mar 2007
Posts: 1361

PostPosted: Thu Nov 13, 2008 3:17 pm    Post subject: Reply with quote

tombana wrote:
Well I did the same as dnsi0 but in C++, for D3D9. I can send you the source if you want to.
So what exactly requires hooking the d3d interface? The only thing I can imagine is some sort of 3D menu.

Can you post it here or send me to?
I'm also interested about it, thanks.

_________________
Gone
Back to top
View user's profile Send private message  
Wintermoot
Expert Cheater
Reputation: 0

Joined: 08 Nov 2007
Posts: 198

PostPosted: Fri Nov 14, 2008 2:12 am    Post subject: Reply with quote

oib111 wrote:
I would greatly appreciate the source, tombana. And yes the menu would require some hooking I suppose. But it was more for creating chams. Unless that doesn't require D3D hooking?


1. Search for some popular FPS hacking forums
2. Look at the released sources (avoid steam games because they have a SDK which will complicate matters unless you wanted to make a hack for a steam game)
3. Learn
4. ???
5. PROFIT!
Back to top
View user's profile Send private message  
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Fri Nov 14, 2008 2:44 am    Post subject: Reply with quote

The SDK is what makes matters easier, as it basically gives you the function names.

An easier method than hooking the renderer may be to use already existing functions, like an in game message box, or outputing to the console...
Back to top
View user's profile Send private message  
Wintermoot
Expert Cheater
Reputation: 0

Joined: 08 Nov 2007
Posts: 198

PostPosted: Fri Nov 14, 2008 2:53 am    Post subject: Reply with quote

slovach wrote:
The SDK is what makes matters easier, as it basically gives you the function names.

An easier method than hooking the renderer may be to use already existing functions, like an in game message box, or outputing to the console...


If you bothered to read, you would know that I was saying that the SDK complicates things of you are making it for a game that does not support it...

It's not that hard to make a UI when hooking... Draw a box, draw text in the box...
Back to top
View user's profile Send private message  
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Fri Nov 14, 2008 3:04 am    Post subject: Reply with quote

HawwwaH wrote:
slovach wrote:
The SDK is what makes matters easier, as it basically gives you the function names.

An easier method than hooking the renderer may be to use already existing functions, like an in game message box, or outputing to the console...


If you bothered to read, you would know that I was saying that the SDK complicates things of you are making it for a game that does not support it...

It's not that hard to make a UI when hooking... Draw a box, draw text in the box...


How would it complicate things? Instead of getting an easy cheat sheet, you get to do it yourself like usual.
Back to top
View user's profile Send private message  
blackmorpheus
Expert Cheater
Reputation: 0

Joined: 05 Apr 2008
Posts: 159

PostPosted: Sat Nov 15, 2008 4:49 am    Post subject: Reply with quote

Look for d3d starterkit, browse gamedeception.
Learn c++, and start writing ur own hacks.
Back to top
View user's profile Send private message  
Wintermoot
Expert Cheater
Reputation: 0

Joined: 08 Nov 2007
Posts: 198

PostPosted: Sat Nov 15, 2008 5:11 am    Post subject: Reply with quote

slovach wrote:
HawwwaH wrote:
slovach wrote:
The SDK is what makes matters easier, as it basically gives you the function names.

An easier method than hooking the renderer may be to use already existing functions, like an in game message box, or outputing to the console...


If you bothered to read, you would know that I was saying that the SDK complicates things of you are making it for a game that does not support it...

It's not that hard to make a UI when hooking... Draw a box, draw text in the box...


How would it complicate things? Instead of getting an easy cheat sheet, you get to do it yourself like usual.


So, you're saying he sould go out and download an extra half mb of useless crap that he isn't going to use? I'm sure that will make things less complicated... /sarcasm

Also, yes, a cheat that uses the source development kit would have the normal hacks he wishes but, it would also have a lot of useless and confusing crap.

Think before replying next time, please.
Back to top
View user's profile Send private message  
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Sat Nov 15, 2008 12:40 pm    Post subject: Reply with quote

What.

Please tell me how it would have anything other than what you wanted in it?

You're confused.
Back to top
View user's profile Send private message  
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Tue Nov 18, 2008 1:35 pm    Post subject: Reply with quote

Tombana, do you mind if I could have the source for the one you wrote?
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Goto page 1, 2, 3  Next
Page 1 of 3

 
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