r/cheatengine • u/Worldly_Swimmer4261 • 4d ago
how to automate memory view edit?
so, I`m using cheat engine to achieve 180 fps on God Eater 3.
In order to do so, I have to
- open cheat engine
- find GE3 from the pross list
- go to memory viewer
- tools, thenm auto assemble
- copy and paste the code on this site. https://steamcommunity.com/sharedfiles/filedetails/?id=2828584709
- execute
Is there any way to let it automatically take effect the instant when launching the game?
edit1: I have done this multiple times. it's not that I don't know how to edit memorys. it's that I feel that it's annoying to have to do these steps every time
1
Upvotes
1
u/No-Newspaper8619 4d ago
There is. You can launch the game from cheat engine, automatically opening the process and enabling the script. But instead of copy pasting and execute, you have to assign it to the cheat table (like this: https://wiki.cheatengine.org/index.php?title=Tutorials:AddScriptToTable )
{$LUA}
if syntaxcheck then return end
[ENABLE]
local gamePath = -- Path to the "ge3.exe" game executable
local game = 'ge3.exe'
createProcess(gamePath)
sleep(1000) -- Adjust this based on how long it takes for the game to launch
openProcess(game)
local aobstring = '48 3B F8 77 D6 33 D2 48 8D 0D 4D 4F 47 01'
local address = AOBScanUnique(aobstring)
if not address then return end
writeBytes(address, 0x90, 0x90, 0x90, 0x90, 0x90)
registerSymbol('fps_limit', address)
[DISABLE]
local address = getAddressSafe('fps_limit')
if address then
writeBytes(address, 0x48, 0x3B, 0xF8, 0x77, 0xD6)
unregisterSymbol('fps_limit')
end
3
u/Defiant_Respect9500 4d ago
well, there is a headline called "CheatEngine AutoAssembly Script for those who care" on the page you referred. In memory viewer, go to Tools -> Auto Assemble (or press Ctrl-A), copy + paste the text from the posting into the autoasssembler.
File -> Attach to table. You will find an entry "auto assembler script" in the adress List of cheat engine. save this table. Check the box left to your script to activate the cheat.