Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

erfg1234

macrumors newbie
Original poster
Sep 25, 2017
3
0
I made a dylib project for making game trainers for MacOS. The whole thing is written in Objective-C and contains functions to read, write to address structures like "module+address,offsets". I also built an AoB scan function, but it is currently untested and may need to be debugged. It will scan through memory pages much like my C# memory.dll project, however lacks any sort of multi-threading.

The Wiki documentation will show how to elevate privileges and import a dylib file in to your MacOS app. The compiled sample app is for Grand Theft Auto III on Steam. The trainer will go through an async task while loop looking for the process name. When it finds it, it will report the pid in the form, open the process for reading/writing privileges and you can check any cheat code in the form you want to enable like infinite HP or infinite ammo.

I recommend using Bit Slicer to find your addresses as the current Cheat Engine for MacOS still has issues finding some addresses.

dylib source code - https://github.com/erfg12/memory-dylib
Sample game trainer code - https://github.com/erfg12/Objective-C-Game-Trainers
Wiki docs - https://github.com/erfg12/memory-dylib/wiki
Compiled sample trainer app - https://github.com/erfg12/Objective-C-Game-Trainers/releases

If anyone who is more knowledgeable of Objective-C wants to help, you can fork the source and send a pull request.
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.