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 


CheatEngine speedhack functionality

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

Joined: 05 Jul 2018
Posts: 2

PostPosted: Thu Jul 05, 2018 1:00 pm    Post subject: CheatEngine speedhack functionality Reply with quote

Hi all,

I'm working on a tool for a game and I'm interested in the "speedhack" functionality of cheat engine, but im not really sure how cheat engine does it. The speedhack increases the speed at which certain timers increase in the game i'm modding and I want to use it for that. How does cheat engine get it to do that? I'm writing the application in C# and I want to do the same thing using visual studio. If anyone could let me know how I can do so, that'd be awesome Smile
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: Fri Jul 06, 2018 9:05 pm    Post subject: Reply with quote

Cheat Engine is open source, you can find the source here:
https://github.com/cheat-engine/cheat-engine

The speed hack source is here:
https://github.com/cheat-engine/cheat-engine/tree/master/Cheat%20Engine/speedhack

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Fonix
How do I cheat?
Reputation: 0

Joined: 05 Jul 2018
Posts: 2

PostPosted: Sun Jul 08, 2018 1:28 pm    Post subject: Reply with quote

how does that folder relate to the speedhack2.pas file in the cheat engine folder? are they related? im kind of a novice coder and im having a little difficulty reading a language i've never seen before. I see that it injects the speedhack dll,and its calculating the time of day to use as a base of reference when it speeds things up. i'm not sure what else is of importance if i want to use this in c#, can you like give me a rough summary of how the code works/ is linked together
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: Sun Jul 08, 2018 4:26 pm    Post subject: Reply with quote

speedhack2.pas is used as an IPC for the speed hack module.

It's used to load it, tell it what speed to set when you change the settings on the UI of CE etc. It uses the auto-assembler to create threads to invoke the speedhacks exports to set the speed like:
https://github.com/cheat-engine/cheat-engine/blob/master/Cheat%20Engine/speedhack2.pas#L290

Below this function you'll see the auto-assembler script that its building to execute as an example. It's calling the speedhacks set speed export etc.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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