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?
|
Posted: Tue Nov 11, 2008 8:44 pm Post subject: D3D Overlay |
|
|
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 |
|
 |
tombana Master Cheater
Reputation: 2
Joined: 14 Jun 2007 Posts: 456 Location: The Netherlands
|
Posted: Wed Nov 12, 2008 11:52 am Post subject: |
|
|
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 |
|
 |
dnsi0 I post too much
Reputation: 0
Joined: 04 Jan 2007 Posts: 2674
|
Posted: Wed Nov 12, 2008 6:33 pm Post subject: |
|
|
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 |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Wed Nov 12, 2008 11:42 pm Post subject: |
|
|
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 |
|
 |
tombana Master Cheater
Reputation: 2
Joined: 14 Jun 2007 Posts: 456 Location: The Netherlands
|
Posted: Thu Nov 13, 2008 9:39 am Post subject: |
|
|
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 |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Thu Nov 13, 2008 2:50 pm Post subject: |
|
|
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 |
|
 |
GMZorita Grandmaster Cheater Supreme
Reputation: 0
Joined: 21 Mar 2007 Posts: 1361
|
Posted: Thu Nov 13, 2008 3:17 pm Post subject: |
|
|
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 |
|
 |
Wintermoot Expert Cheater
Reputation: 0
Joined: 08 Nov 2007 Posts: 198
|
Posted: Fri Nov 14, 2008 2:12 am Post subject: |
|
|
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 |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Fri Nov 14, 2008 2:44 am Post subject: |
|
|
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 |
|
 |
Wintermoot Expert Cheater
Reputation: 0
Joined: 08 Nov 2007 Posts: 198
|
Posted: Fri Nov 14, 2008 2:53 am Post subject: |
|
|
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 |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Fri Nov 14, 2008 3:04 am Post subject: |
|
|
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 |
|
 |
blackmorpheus Expert Cheater
Reputation: 0
Joined: 05 Apr 2008 Posts: 159
|
Posted: Sat Nov 15, 2008 4:49 am Post subject: |
|
|
Look for d3d starterkit, browse gamedeception.
Learn c++, and start writing ur own hacks.
|
|
Back to top |
|
 |
Wintermoot Expert Cheater
Reputation: 0
Joined: 08 Nov 2007 Posts: 198
|
Posted: Sat Nov 15, 2008 5:11 am Post subject: |
|
|
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 |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Sat Nov 15, 2008 12:40 pm Post subject: |
|
|
What.
Please tell me how it would have anything other than what you wanted in it?
You're confused.
|
|
Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Tue Nov 18, 2008 1:35 pm Post subject: |
|
|
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 |
|
 |
|