Skip to content

onlinekid/cheat-engine-windows-server

 
 

Repository files navigation

Cheat engine windows server

A port of the linux/android cheat engine server to Windows utilizing C# ported from the official Cheat Engine repositotry. The initial reason this project was created was to 'bypass' some applications that block Cheat Engine when running in the same machine or just refuse to run when Cheat Engine is running as well. With this you can run Cheat Engine in a separate environment and connect to the target machine.

Example usage

If you just want to run the serve as is there is a console project named CEServerApplicaiton that takes advantage of the generated library which is an assembly with the following code:

            CheatEngineServer server = new CheatEngineServer();
            server.StartAsync().Wait();

If you wish to handle a specific command from cheat engine differently or register a new one you can do this by either extending one of the defined Commands in CEServerWindows.CheatEnginePackets.S2C or by implementing the ICheatEngineResponse interface although it is recommended to extend the base class CheatEngineCommand

For example you could override the Process method of ReadProcessorMemoryCommand to utilize a different way of reading the memory of the target process such as communication with a kernel module/driver.

What doesn't work

Even though the official cheat engine server 'ports' a few of Windows API calls some code is specific to linux and are not easily brought back to windows

  • WriteProcessMemory: This method was not implemented as I did not have a need for it but it might be implemented in the future
  • Debugging: No debugging features are implemented, this might be able to be ported.
  • Compression: The current implementation of the command ReadProcessMemory does not implement compression, this is disabled by default in Cheat Engine (Network >> Compression)
  • Thread Handling: It is not possible, currently, to suspend resume, get or set the thread context
  • CMD_GETREGIONINFO: Not sure how to implement this in Windows
  • Debug symbols: Symbols are not loaded as we believe that cheat engine expects debug symbols for elf binaries
  • Speed hack: Not implemented
  • Alloc/Free: Not implemented

About

A C# implementation of the Cheat Engine Server for Windows

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%