Cheat Engine Linux and nearby memory allocation(SOLVED)
Posted: Wed Sep 11, 2024 3:43 am
I was trying to write a simple script for the Suyu emulator on linux and I have done this numerous times on windows with no issues. I get a nearby memory allocation error when I try to enable it and no matter what option I choose it prevents it from enabling the script. I was told in the past to remove ,tester1 from the line below, but I am still having the issue. Any help would be much appreciated and thanks in advance.
alloc(newmem,$1000,tester1)
EDIT:
I have resolved the issue and in case anyone else is having any issues injecting code into native linux applications under the network tab make sure these options are checked.
scan changed regions only
scan paged memory only
attach to access memory
attach to write memory
allocate memory without extension injection
alloc(newmem,$1000,tester1)
Code: Select all
[ENABLE]
aobscan(tester1,20 45 0F B7 54 05 00)
alloc(newmem,$1000)
alloc(cheats,4)
registersymbol(cheats)
label(code)
label(return)
newmem:
code:
mov [cheats],r13
add [cheats],rax
movzx r10d,word ptr [r13+rax+00]
jmp return
tester1+01:
jmp newmem
nop
return:
registersymbol(tester1)
[DISABLE]
tester1+01:
db 45 0F B7 54 05 00
unregistersymbol(tester1)
dealloc(newmem)
dealloc(cheats,4)
unregistersymbol(cheats)
I have resolved the issue and in case anyone else is having any issues injecting code into native linux applications under the network tab make sure these options are checked.
scan changed regions only
scan paged memory only
attach to access memory
attach to write memory
allocate memory without extension injection