Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Some problem with CE5.2 int1 's GeneralHandler function

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
mousesex1
How do I cheat?
Reputation: 0

Joined: 21 May 2010
Posts: 3

PostPosted: Thu Oct 18, 2012 10:19 am    Post subject: Some problem with CE5.2 int1 's GeneralHandler function Reply with quote

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
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25832
Location: The netherlands

PostPosted: Thu Oct 18, 2012 11:51 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
mousesex1
How do I cheat?
Reputation: 0

Joined: 21 May 2010
Posts: 3

PostPosted: Thu Oct 18, 2012 12:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25832
Location: The netherlands

PostPosted: Thu Oct 18, 2012 1:07 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites