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 questions about CE 6.0 and UCE

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

Joined: 15 Feb 2011
Posts: 9

PostPosted: Tue Feb 15, 2011 12:37 am    Post subject: Some questions about CE 6.0 and UCE Reply with quote

1. Why does the CE use the "deviceiocontrol" function? instead of those functions in "kernel32.dll"?

2. I cannot find "drivers.dat" file in CE source 6.0. Is it deprecated in version 6.0?

3. It is said that dbk32.dll file is not used any more. But the file name "dbk32.dll" is still found in the source code (ex. const dbkdll='DBK32.dll'; in NewKernalHandler) Is it used still or just a mistake?

4. I want to use CE core routines in my own application. I think it is possible by using interfaces in NewKernelHandler and DBK32functions. Is is right?

5. Unfortunatelly, I usually write programs in C++ or C#, not in Pascal. Is there any DLLs or codes of interfaces which is written in C++ or C#? or Is there any other way to use interface functions in other languages?

6. When I tried to open a process, which is protected by some anti-hacking solution, It shows a message "Error while opening this process". Is it because some strings of CE being detected?

7. Is there any other way to identify strings which are being detected? I mean, better than the comment/uncomment method.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Tue Feb 15, 2011 10:30 am    Post subject: Reply with quote

5. CE has a plugin interface, look in the plugins folder after you have installed CE for some examples.

6. Detection can be based on any number of things, not just detected strings. That's up to you to find out.

7. If it even is strings that are being detected, debugging will be your only other method.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Tue Feb 15, 2011 6:04 pm    Post subject: Reply with quote

1: It only uses deviceiocontrol for the self designed kernelmode apis that skip all security checks (and only used when the kernelmode options are used in settings->extra)

2: In the absence of that file it will use the default names, so it's not required to come with ce. It's just an added feature you might want to use

3: It's just a contant define but not used anymore. the loadlibrary command has been commented out

4: yes

5: freepascal generates .o files during compile time , you should be able to just link to the dbk32functions.o file (and some other needed object files for some fcl code)
Alternatively you can easily rewrite it to a dll but remember that freepascal dll's suck in 64-bit. They do not handle exceptions (which is what dbvm relies on)

Newkernelhandler is just a unit that overrides the default window api calls with pointer which points to the function you actually want.
You can do something similar with header files after including windows so they override the known apis (use desfines)
Or instead of using this excessive method just call the functions in dbk32functions yourself.
I just use newkernelhandler so I don't have to rewrite the code that uses those apis but just have to write the stub when I add a new api

6: No, the process just blocked the usermode openprocess call. Try enabling kernelmode openprocess before attaching. That will NEVER fail. It has no fail code implemented

7: find out at least one string that is detected. Then while the game is running do a memory dump of the whole system and scan that for that string. With luck the other strings are nearby. (Also remember that strings also includes pure code)

_________________
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
Moon
How do I cheat?
Reputation: 0

Joined: 15 Feb 2011
Posts: 9

PostPosted: Tue Feb 15, 2011 6:50 pm    Post subject: Reply with quote

Thank you. DB and Wiccaan.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source 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