 |
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
Arcansel Cheater
Reputation: 0
Joined: 04 Jun 2022 Posts: 28
|
Posted: Fri Aug 19, 2022 12:14 am Post subject: Help with JIT Compilation, (Cemu) |
|
|
I can't activate my script until until the instruction is called because of jit compilation in Cemu, so, my question is if there is any workaround it, i have searched the forum for info and couldn't find a solution to this specific problem, I was thinking if it is possible to make the script wait until the instruction exists and then injects the code, in AA if possible but if not in Lua then. Would have tried it myself but my knowledge in asm is a bit limited, sucks to know algorithmy but lacking the know how to apply it in diferent languages.
I almost forgot, when i scan for the instruction via array of byte, it shows 2 or even 3 adresses for some reason, if i exit the inventory and enter it again, the other adresses change leaving 1 adress with the right instruction. These addresses have a whole memory region exactly the same as the real one. I need to be able to inject it when there is only 1 instruction, another condition to be made in the script it seems.
|
|
Back to top |
|
 |
sbryzl Master Cheater
Reputation: 6
Joined: 25 Jul 2016 Posts: 252
|
Posted: Fri Aug 19, 2022 2:34 pm Post subject: |
|
|
Sounds like a strange situation but if I had to do this I would probably create a thread on a timer to scan the memory or pointers for the expected changes and implement the cheat whenever they appear. It wouldn't be instant but you could tighten the timer up to milliseconds if you really wanted.
|
|
Back to top |
|
 |
Arcansel Cheater
Reputation: 0
Joined: 04 Jun 2022 Posts: 28
|
Posted: Sat Aug 20, 2022 9:08 pm Post subject: |
|
|
Thanks for the response, yea i understand what you mean, but i want it to keep searching for the bytes until it finds, at all times, so it isnt a timer i need here, basically scanning for the bytes at every frame and when it finds the cloned ones to keep checking for them until it only finds one set of bytes, only then it can be allowed to inject the code. I m just worried if the scanning slows down the game enough to be noticeable and annoying. If it is possible to do this that is. I am not sure how to do this on AA or Lua, Lua even less. So i m left with my pseudocode in my head.
|
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|