| View previous topic :: View next topic |
| Author |
Message |
mousesex1 How do I cheat?
Reputation: 0
Joined: 21 May 2010 Posts: 3
|
Posted: Thu Oct 18, 2012 10:19 am Post subject: Some problem with CE5.2 int1 's GeneralHandler function |
|
|
Hi db,
I use my own cheatengine modified from ce5.2 ,and it works well .
But now I use it in some game, the kernelmode debugger was useless.
When I set Global Debug routines,it works . But if we don't set Global Debug routines, "GeneralHandler function" of int1 don't launched.
Is there anyway to solve it ?
or how to find out the cause of int1 GeneralHandler function failure?
or what cause cpu registers interrupt 1 not fire on ?
if CE's interrupt1 GeneralHandler function blocked by other progam ?
thanks.
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25831 Location: The netherlands
|
Posted: Thu Oct 18, 2012 11:51 am Post subject: |
|
|
Are you sure you mean 5.2 and not 6.2?
If it only works with global debug then that means that setting of the debug registers in the target threads is being blocked. Either a hook on the usermode or kernelmode side of setthreadcontext is preventing the debugregisters from being set (Global debug does tasksurfing and thus is capable of setting the debug registers using the hardware instead of windows api's)
Also, if global debug works then what is the issue? (This function is there specifically for these cases)
if 6.2 and gd isn't used, an alternate reason could be that ce can't find a proper debug register to use. In that case either go to settings->debugger options, and tick "Override existing breakpoints", or go to the threadlist and clear the debug registers of individual threads
_________________
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 |
|
 |
mousesex1 How do I cheat?
Reputation: 0
Joined: 21 May 2010 Posts: 3
|
Posted: Thu Oct 18, 2012 12:20 pm Post subject: |
|
|
hi Db,
I'm sure I used CE5.2 .
Ce5.2 setthreadcontext in usermode. How to setthreadcontext in kernelmode ?
Is there anyway to set thread context in kernelmode without windows api's ?
Thanks.
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25831 Location: The netherlands
|
Posted: Thu Oct 18, 2012 1:07 pm Post subject: |
|
|
Without windows api you suspend the process and then manually adjust the kernelmode stackframes of the threads
Or use global debug and tasksurf till the cpu hits all the threads and during that time sets the debug registers
With windows api not sure. The system may need in a specific state to use the undocumented psSetThreadContext
_________________
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 |
|
 |
|