View previous topic :: View next topic |
Author |
Message |
hlzy Advanced Cheater
Reputation: 0
Joined: 13 Jun 2011 Posts: 56
|
Posted: Mon Feb 25, 2013 7:32 am Post subject: ask a question about directx9 hook. |
|
|
i have not test cheatengine source with direct9 hook
but i have test hook it with c++ builder program.
just hook dxdiag.exe(this is directx9 information tool)
hook Direct3DCreate9 it have no effect.
but in my own program it can work well.i do not know why.could you help me? |
|
Back to top |
|
 |
hlzy Advanced Cheater
Reputation: 0
Joined: 13 Jun 2011 Posts: 56
|
Posted: Thu Mar 14, 2013 3:22 am Post subject: |
|
|
no one knows? |
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25794 Location: The netherlands
|
Posted: Thu Mar 14, 2013 4:06 am Post subject: |
|
|
That's probably because no one understands your question
I'll assume you use Cheat Engine 6.1+
The direct3d 9 hook does not modify Direct3DCreate9 , which is why you do not see a modification
That is has no effect in the game might be because you haven't given proper render commands _________________
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 |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Fri Mar 15, 2013 3:23 pm Post subject: |
|
|
Keep in mind depending on your OS version as well, dxdiag does not use Direct3D9 to determine information. It will use the most recent version of Direct3D on your system for that.
Such as for Windows 7, you probably have Direct3D10 or 11, it will use those instead. So your hook for DX9 will do nothing. _________________
- Retired. |
|
Back to top |
|
 |
hlzy Advanced Cheater
Reputation: 0
Joined: 13 Jun 2011 Posts: 56
|
Posted: Fri Mar 15, 2013 11:27 pm Post subject: |
|
|
Wiccaan wrote: | Keep in mind depending on your OS version as well, dxdiag does not use Direct3D9 to determine information. It will use the most recent version of Direct3D on your system for that.
Such as for Windows 7, you probably have Direct3D10 or 11, it will use those instead. So your hook for DX9 will do nothing. |
i am sure my xp use the directx 9 version.
this problem is very strangely. |
|
Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Fri Mar 15, 2013 11:49 pm Post subject: |
|
|
hlzy wrote: | Wiccaan wrote: | Keep in mind depending on your OS version as well, dxdiag does not use Direct3D9 to determine information. It will use the most recent version of Direct3D on your system for that.
Such as for Windows 7, you probably have Direct3D10 or 11, it will use those instead. So your hook for DX9 will do nothing. |
i am sure my xp use the directx 9 version.
this problem is very strangely. |
I just looked at dxdiag on my Windows XP VM and it never loads d3d9.dll so it does not look like they ever create an actual device in the app to poll for data. If you need a Direct3D9 test application to work with, download one of the older Direct3D SDKs. There are a handful of example apps included with it. _________________
- Retired. |
|
Back to top |
|
 |
hlzy Advanced Cheater
Reputation: 0
Joined: 13 Jun 2011 Posts: 56
|
Posted: Sat Mar 16, 2013 9:35 pm Post subject: |
|
|
Wiccaan wrote: | hlzy wrote: | Wiccaan wrote: | Keep in mind depending on your OS version as well, dxdiag does not use Direct3D9 to determine information. It will use the most recent version of Direct3D on your system for that.
Such as for Windows 7, you probably have Direct3D10 or 11, it will use those instead. So your hook for DX9 will do nothing. |
i am sure my xp use the directx 9 version.
this problem is very strangely. |
I just looked at dxdiag on my Windows XP VM and it never loads d3d9.dll so it does not look like they ever create an actual device in the app to poll for data. If you need a Direct3D9 test application to work with, download one of the older Direct3D SDKs. There are a handful of example apps included with it. |
em,i think you are right.
but i have test some games which says it need directx 9 have the same problem.
is that like you said?or it use the directx 8?
or it never use Direct3DCreate9,Direct3DCreate8 anymore? |
|
Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Sun Mar 17, 2013 2:12 am Post subject: |
|
|
From the look of it dxdiag on Windows XP doesn't load either d3d8 or d3d9. It polls all the data other ways instead.
As for testing on games that use DirectX 9, it is possibly your hook failing then. Or you are injecting it too late. _________________
- Retired. |
|
Back to top |
|
 |
hlzy Advanced Cheater
Reputation: 0
Joined: 13 Jun 2011 Posts: 56
|
Posted: Sun Mar 17, 2013 3:11 am Post subject: |
|
|
Wiccaan wrote: | From the look of it dxdiag on Windows XP doesn't load either d3d8 or d3d9. It polls all the data other ways instead.
As for testing on games that use DirectX 9, it is possibly your hook failing then. Or you are injecting it too late. |
oh,it is bad to hear that.
but thank you very much.
if not use d3d8(d3d9) ,what dose it use? |
|
Back to top |
|
 |
|