cheat-engine / cheat-engine

Cheat Engine. A development environment focused on modding
http://cheatengine.org
14.94k stars 2.23k forks source link

cheat engine 7.0 does not work correctly #962

Closed Atamg1994 closed 4 years ago

Atamg1994 commented 4 years ago

Instructions in 7.0 take up more space than expected as a result of overwriting other memory regions in detail everything in the screenshots Screenshot_16 Screenshot_17 Screenshot_18 Screenshot_19

but 6.8.3 version does not work search instructions that change the value at the address (veh debuger 64bit) therefore, writing cheat on two versions at once is not convenient waiting for fixing either hint how to fix it yourself

7.0 due to the fact that replaces other regions leads to crash

ps - use google translator

cheat-engine commented 4 years ago

provide the 3th alloc parameter for allocation preference e.g alloc(xxx,128,codevein-win64-shipping.exe)

that way the distance won't be bigger than 2GB, so it won't have to use 14 byte jmps

Atamg1994 commented 4 years ago

so the problem is ... such a script was automatically generated by the assembler

Atamg1994 commented 4 years ago

aobscanmodule(RegenHpn,CodeVein-Win64-Shipping.exe,F3 0F 10 81 58 01 00 00) // should be unique alloc(newmes,$1000,"CodeVein-Win64-Shipping.exe"+BEE31B0)

label(code) label(big) label(big1) label(original) label(return)

alloc(temp1NPC,$10) alloc(minregenNPC,$10) alloc(regenhpNPC,$10) alloc(proc2NPC,$10) alloc(xm14NPC,$10) alloc(xm15NPC,$10) registersymbol(temp1NPC) registersymbol(minregenNPC) registersymbol(regenhpNPC) registersymbol(proc2NPC) registersymbol(xm14NPC) registersymbol(xm15NPC)

Atamg1994 commented 4 years ago

I just wrote what I needed and now it works correctly in 6.8.3 and in 7.0 such problems

Atamg1994 commented 4 years ago

thank you UTB help removed this part + BEE31B0

alloc (newmes, $ 1000, "CodeVein-Win64-Shipping.exe")

and everything began to work as needed very grateful