Turning Off Cheat Engine Freezes Game

Posted on  by 

I've been attempting to use Cheat Engine 7.0 to assist in some modding (namely, to use DLL Injection to enable the ingame console for a game which doesn't otherwise allow it), but I've been having a fairly consistent crash when trying to attach it to the process in question. I'd been assuming that it just Wasn't Going To Work At All (and was prepared to admit defeat), but for some unknown-to-me reason yesterday, it started working without any obvious changes on my end, for a good hour or so, though multiple launches of the game in question. Even the DLL injection worked great. I then took a few hours' break to have dinner and run some other errands, though, and when I got back, it was back to the crashing behavior.


Cheat engine freeze valueFor some further details, the game itself was Borderlands 3 (via Epic Games Store), being run via a Protonified Wine install provided by Lutris. I'd been launching CE with the same environment vars that the game was using, including WINEPREFIX, which presumably works fine because it sees the proper processes and even worked perfectly for awhile yesterday. Rather than continuing to try launching the game constantly, I've taken to trying to attach CE to the EGS process itself, which is crashing CE in the same way, so at the moment I'm not even trying to attach to the game itself. I did try attaching it to some other processes running inside the same WINEPREFIX (such as a running 'winecfg' process) and that

This is a Trainer for Homeworld Remastered. In order to run this file (.CT or Cheat Table), you will have to get Cheat Engine. Cheat engine is a piece of software that allows you to either manually cheat in PC games or to use scripts as trainers. You should already be familiar with Cheat Engine, so if you can't reset time, follow LemonHaze's tutorial to learn how to search. Once done with that, follow these instructions. Start a new search for type Float. In game, walk to Martial Hall and trigger the 'Looks like I can practice horse stance here' scene.

did

Turning Off Cheat Engine Freezes Games

  • DO NOT WATCH THIS VIDEO!!! DO THE NEW ONE: this tutorial is going to show you the basics of how to mod any game using chea.
  • Find your games CRC # 2. Find your PCSX2 Cheat Directory 3. Make a.pnach file with your game's CRC # 4. Download OmniConvert v1.0.3 5. Use Omniconvert to convert your codes to a format the emulator can recognize 6. Add the code to the.pnach file using the format I show 7. Test your code to see if it works in game.
  • BUT again, it some times does NOT resets to normal values, and stays 999+ even with turned off script. So there is simple question, I don't know how to do this by my self. How to change code of 'newmew' to something, that just locks values and stays like that? Btw scanning is disabled, like i'm still not hooked cheatengine to the game.
work fine - CE attached properly and I was able to browse memory and the like. So clearly it's at least partially working, maybe related somehow to executable size or something? Though I'm still mystified as to why it started working for awhile without warning yesterday.
When CE crashes, the terminal where I've launched it gets a bunch of these:Turning off cheat engine freezes gameplayTurning off cheat engine freezes games
But possibly the more relevant error might be this one:

Code: Select all

One thing that I do still have in place is that I've done a 'setcap cap_sys_ptrace=eip wineserver' on the wineserver in question, which I've heard might be required in order to allow CE to peek into other processes' memory, so that's been set up for some time. I've also read about the possibility of setting /proc/sys/kernel/yama/ptrace_scope to a lower security level, though I wouldn't be fond of that as a long-term solution. I'd tried it out briefly anyway and it didn't seem to make a difference.

Turning Off Cheat Engine Freezes Gameplay


Cheat Engine Freeze Pointer

One potential culprit which was brought up in IRC when I asked there was that I could potentially be running into weirdness related to address randomization, which might certainly go a long way to explaining the oddity of having it work totally fine for awhile yesterday -- I'd be especially loath to turn that off, though.

Cheat Engine Freeze Value


I've also noted that CE's behavior otherwise isn't always 100% predictable - occasionally while testing this I'll start up CE but it'll not actually start properly, and sometimes rather than an outright crash it might freeze for a bit, leaving a non-updating window in its wake that I have to kill from the command line. So it's seemingly not entirely predictable overall. Anyway, if anyone else does have more experience running CE in Wine, I'm all ears. Thanks!

Coments are closed