View previous topic :: View next topic |
Author |
Message |
jackendra How do I cheat? Reputation: 0
Joined: 11 Mar 2014 Posts: 8
|
Posted: Thu Jun 11, 2015 9:43 am Post subject: Can I load DBVM in my own code? |
|
|
I'm wanting to do some memory editing on a game, but the game will crash on WriteProcessMemory, unless I load DBVM.
Is there a way I can load DBVM from my own code like CE would?
~ And maybe where in the source I could find this?
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 465
Joined: 09 May 2003 Posts: 25570 Location: The netherlands
|
Posted: Thu Jun 11, 2015 12:08 pm Post subject: |
|
|
i take it you mean dbk32/64 instead of dbvm
the sourcecode for that is at https://github.com/cheat-engine/cheat-engine/tree/master/DBKKernel and you can compile it with tge windows ddk (6700. 16xxx or something)
_________________
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 |
|
|
jackendra How do I cheat? Reputation: 0
Joined: 11 Mar 2014 Posts: 8
|
Posted: Thu Jun 11, 2015 12:14 pm Post subject: |
|
|
Dark Byte wrote: | i take it you mean dbk32/64 instead of dbvm
the sourcecode for that is at cheat-engine/cheat-engine/tree/master/DBKKernel and you can compile it with tge windows ddk (6700. 16xxx or something) |
I assume I did mean that.
Thank you, I'll check out the link.
Also, what resources should I check out for actually loading the driver? or is it all inside the github link?
Again thanks.
Edit: One question, did you sign the driver?
I wasn't sure, I assume thats how it loads on Vista x64 and up. (or is it XP+?)
But arent the certificates at least somewhat costly?
Nevermind, it is signed with a cert
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 465
Joined: 09 May 2003 Posts: 25570 Location: The netherlands
|
Posted: Thu Jun 11, 2015 3:43 pm Post subject: |
|
|
the dbkfunctions.pas contains code to load and access the driver from usermode
now for the signed part: you MUST compile and optionally sign the driver yourself if you wish to use it.
The release build of the driver, which is signed, will only accept commands from exe's that have a valid .sig file, which is a hash of the .exe. (it's a precaution to make sure no malware uses it)
_________________
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 |
|
|
jackendra How do I cheat? Reputation: 0
Joined: 11 Mar 2014 Posts: 8
|
Posted: Thu Jun 11, 2015 3:45 pm Post subject: |
|
|
Dark Byte wrote: | the dbkfunctions.pas contains code to load and access the driver from usermode
now for the signed part: you MUST compile and optionally sign the driver yourself if you wish to use it.
The release build of the driver, which is signed, will only accept commands from exe's that have a valid .sig file, which is a hash of the .exe. (it's a precaution to make sure no malware uses it) |
I see.
Thank you for the help.
|
|
Back to top |
|
|
jackendra How do I cheat? Reputation: 0
Joined: 11 Mar 2014 Posts: 8
|
Posted: Fri Jun 12, 2015 11:18 am Post subject: |
|
|
i'm getting a lot of errors simlilar to:
A2006: undefined symbol : rcx
This is building with MSVS though, should I do it within my win2k VM? Or is it possible to do it in VS
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 465
Joined: 09 May 2003 Posts: 25570 Location: The netherlands
|
Posted: Fri Jun 12, 2015 12:41 pm Post subject: |
|
|
it's not possible to do it with VS (I use it for editor, but not compile)
You must use the win xp or win 7 build environment that the windows ddk installs
_________________
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 |
|
|
jackendra How do I cheat? Reputation: 0
Joined: 11 Mar 2014 Posts: 8
|
Posted: Fri Jun 12, 2015 2:09 pm Post subject: |
|
|
Dark Byte wrote: | it's not possible to do it with VS (I use it for editor, but not compile)
You must use the win xp or win 7 build environment that the windows ddk installs |
I'm downloading the ISO file for DDK 7.1.x
Ill see if it had the build environments. (Apparently 8.x+ does not)
Edit: I edited my post just a little too late.
All this time I was trying to do it with a newer version, but as I mentioned above I have now downloading GRMWDK_7600
Last edited by jackendra on Fri Jun 12, 2015 2:15 pm; edited 2 times in total |
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 465
Joined: 09 May 2003 Posts: 25570 Location: The netherlands
|
Posted: Fri Jun 12, 2015 2:12 pm Post subject: |
|
|
use DDK 7600.16385.1 if you can
after instalation you'll have a start->windows driver kits->wdk 76000.16385.1->Build environments
In there is the win 7 64-bit free build environment.
Use that, go to the folder where dbkkernel is and execute ce.bat
_________________
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 |
|
|
jackendra How do I cheat? Reputation: 0
Joined: 11 Mar 2014 Posts: 8
|
Posted: Fri Jun 12, 2015 3:46 pm Post subject: |
|
|
Alright! I have successively built both a 32 and 64 bit driver.
I'm about to (although inadvisable) turn off forced driver signing to test it.
|
|
Back to top |
|
|
tejinaji How do I cheat? Reputation: 0
Joined: 08 Jun 2024 Posts: 7
|
Posted: Wed Jul 17, 2024 9:31 am Post subject: |
|
|
Dark Byte wrote: | i take it you mean dbk32/64 instead of dbvm |
Thank you for you work <3
But what about DBVM is it possible to run with C++ code I mean if I want to work with it do break and read registers when it reached?
Dark Byte wrote: | the dbkfunctions.pas contains code to load and access the driver from usermode |
but this file does not exist anymore, is it still available?
I've found DBK32Function.pas is it that? It contains vmdisk.img string
|
|
Back to top |
|
|
|