Difference between revisions of "DBVM"

From Cheat Engine
Jump to navigation Jump to search
(Using DBVM)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
[[Category:Help]]
 
If interested in booting with DBVM, see [[DBVM Booting]]
 
If interested in booting with DBVM, see [[DBVM Booting]]
  
Line 23: Line 24:
 
DBVM may crash your system and asking if it's ok to continue.  When you click 'OK' or wait for the
 
DBVM may crash your system and asking if it's ok to continue.  When you click 'OK' or wait for the
 
message box to close, the driver will attempt to switch all of your cpu cores to running in the  
 
message box to close, the driver will attempt to switch all of your cpu cores to running in the  
VM.  If successful, the message will change to "Your system is running DBVM version X" and you are good to go.
+
VM.  If successful, the message will change to "Your system is running DBVM version X".
 +
 
 +
Finally, go to the "Edit" menu and pick "Settings".  Under "Debugger Options" you can select
 +
"Use kernelmode debugger":
 +
 
 +
[[File:UserKernelmodeDebugger.png]]
 +
 
 +
If the message is red and says that your system does not support DBVM, then you may have an old processor that lacks the new commands required.  You may also have some other virtualization enabled.  If you have Windows 7 or 8, open the control panel, click on "Programs" and click on "Turn Windows features on or off" under "Programs and Features".  Make sure that "Hyper-V" and it's components are all unchecked, which will require a reboot if you made changes.
 +
 
 +
[[File:Hyper-V.png]]
  
 
== CLOCK_WATCHDOG_TIMEOUT BSOD ==
 
== CLOCK_WATCHDOG_TIMEOUT BSOD ==
  
[http://forum.cheatengine.org/viewtopic.php?t=573311 According to Dark Byte]There is about a 1:5 chance for each core that when it is offloaded to the VM it will cause a CLOCK_WATCHDOG_TIMEOUT bluescreen of death.  This means with 1 core you have an 80% chance of being ok, with 2 a 64% chance, with 8 you only have a 16% chance of not crashing.  I believe this core count includes virtual cores for hyperthreading.  If you wish to avoid crashing when starting DBVM you can run 'msconfig', click on "Advanced options" in the boot tab and set the number of processors to use, then reboot:
+
[http://forum.cheatengine.org/viewtopic.php?t=573311 According to Dark Byte]There is about a 1:5 chance for each core that when it is offloaded to the VM it will cause a CLOCK_WATCHDOG_TIMEOUT bluescreen of death.  This means with 1 core you have an 80% chance of being ok, with 2 a 64% chance, with 8 you only have a 16% chance of not crashing.  I believe this core count includes virtual cores for hyperthreading.  If you wish to decrease your chances of crashing when starting DBVM you can run 'msconfig', click on "Advanced options" in the boot tab and lower the number of processors to use, then reboot:
  
 
[[File:CPUs.png]]
 
[[File:CPUs.png]]

Latest revision as of 14:11, 19 March 2017

If interested in booting with DBVM, see DBVM Booting

What is DBVM?[edit]

DBVM is a ultra-lightweight virtual machine host that makes Windows run in a virtual machine so that Cheat Engine can operate at a higher level than the OS using a device driver. Instead of virtualizing devices it generally passes on interrupts unaltered meaning it has a very small impact on performance.

Using DBVM[edit]

To see if your system supports DBVM, RIGHT-CLICK on the Cheat Engine icon in the top-right corner of the main Cheat Engine window to open the "About" screen:

AboutIcon.png

If the bottom of the window says in green "Your system supports DBVM", right-click on that message to load the kernel driver and attempt to switch to DBVM:

AboutWindow.png

You should see a flashing colored message that the driver loaded and a message box saying that DBVM may crash your system and asking if it's ok to continue. When you click 'OK' or wait for the message box to close, the driver will attempt to switch all of your cpu cores to running in the VM. If successful, the message will change to "Your system is running DBVM version X".

Finally, go to the "Edit" menu and pick "Settings". Under "Debugger Options" you can select "Use kernelmode debugger":

UserKernelmodeDebugger.png

If the message is red and says that your system does not support DBVM, then you may have an old processor that lacks the new commands required. You may also have some other virtualization enabled. If you have Windows 7 or 8, open the control panel, click on "Programs" and click on "Turn Windows features on or off" under "Programs and Features". Make sure that "Hyper-V" and it's components are all unchecked, which will require a reboot if you made changes.

Hyper-V.png

CLOCK_WATCHDOG_TIMEOUT BSOD[edit]

According to Dark ByteThere is about a 1:5 chance for each core that when it is offloaded to the VM it will cause a CLOCK_WATCHDOG_TIMEOUT bluescreen of death. This means with 1 core you have an 80% chance of being ok, with 2 a 64% chance, with 8 you only have a 16% chance of not crashing. I believe this core count includes virtual cores for hyperthreading. If you wish to decrease your chances of crashing when starting DBVM you can run 'msconfig', click on "Advanced options" in the boot tab and lower the number of processors to use, then reboot:

CPUs.png