Interesting case of ghost address (CE with Yuzu)

Anything Cheat Engine related, bugs, suggestions, helping others, etc..
Post Reply
makotech222
Expert Cheater
Expert Cheater
Posts: 194
Joined: Thu Mar 02, 2017 11:27 pm
Reputation: 114

Interesting case of ghost address (CE with Yuzu)

Post by makotech222 »

Reposting from cheatengine forum. Didn't get an answer there.



Context: Using Cheat engine 7.1 (and 6.7) on latest YUZU release on D(iablo) 3



I'm using CE to find and freeze character's mana pool. I'm encountering a very weird issue i've never seen before. It seems that the CE scan sometimes skips over the address I'm looking for.



When I run the scan and get lucky, Ill find the Mana address (float) at value 200. I can freeze it and everything works fine. However, if I scan for the value again, CE will not show it in the search list! It seems to be skipping it over for some reason. I can fiddle with the Start/Stop addresses and sometimes get it to work again, but, usually the address is missing. I've tried fiddling with multiple settings like Fast Scan, but nothing seems to be working.



Most of the time, CE can't find the address, which is a problem when I boot up the game for the first time. I'm not sure whats triggering or causing this, so I'm posting here to get some hints of whats going on and why CE would miss the address.

TimFun13
Expert Cheater
Expert Cheater
Posts: 1353
Joined: Fri Mar 03, 2017 12:31 am
Reputation: 7

Interesting case of ghost address (CE with Yuzu)

Post by TimFun13 »

It might just be that the address isn't allocated tell you do something to manipulate the mana value. You should just look in to code injection so you don't have to find the value every time you restart.

makotech222
Expert Cheater
Expert Cheater
Posts: 194
Joined: Thu Mar 02, 2017 11:27 pm
Reputation: 114

Interesting case of ghost address (CE with Yuzu)

Post by makotech222 »

Well, if i'm lucky, the first search shows the value I need. But most of the time, the search skips over it, even AFTER i've found it already and saved it.



I'm trying to work up to code injection, but having difficulties with AOB and finding the value makes it even more difficult.

User avatar
Dread_Pony_Roberts
Table Makers
Table Makers
Posts: 525
Joined: Sun Dec 09, 2018 8:46 am
Reputation: 388

Interesting case of ghost address (CE with Yuzu)

Post by Dread_Pony_Roberts »

You're not alone, in Halo MCC I've been dealing with the same issue of being unable to scan for a value even though my script has already found it. I plan to do much more thorough testing to confirm it and submit it in a bug report, but mainly wanted to let you know that you are not the only one to come across this.



Edit. I've got it repeatable and can confirm it, I'll even make a video on it.

Last edited by Dread_Pony_Roberts on Wed Jul 01, 2020 1:15 am, edited 3 times in total.

User avatar
SunBeam
Administration
Administration
Posts: 4932
Joined: Sun Feb 04, 2018 7:16 pm
Reputation: 4629

Interesting case of ghost address (CE with Yuzu)

Post by SunBeam »

Please confirm you have [B]MEM_MAPPED[/B] enabled under Scan Settings. If not, tick it and try scanning again. Worth mentioning, I guess :)

makotech222
Expert Cheater
Expert Cheater
Posts: 194
Joined: Thu Mar 02, 2017 11:27 pm
Reputation: 114

Interesting case of ghost address (CE with Yuzu)

Post by makotech222 »

Yeah i have MEM_MAPPED checked. Also tried with all 3 checked.

User avatar
Dread_Pony_Roberts
Table Makers
Table Makers
Posts: 525
Joined: Sun Dec 09, 2018 8:46 am
Reputation: 388

Interesting case of ghost address (CE with Yuzu)

Post by Dread_Pony_Roberts »

If the error is related to the one I reported, it has been addressed and you can download the patch now from the CE patreon page (you have to be a patron of course) or wait for the next official update.

makotech222
Expert Cheater
Expert Cheater
Posts: 194
Joined: Thu Mar 02, 2017 11:27 pm
Reputation: 114

Interesting case of ghost address (CE with Yuzu)

Post by makotech222 »

Thanks for the notification. Its possibly it may be relevant to my case, looks like it might be. I wonder what the bug was exactly.

User avatar
Dread_Pony_Roberts
Table Makers
Table Makers
Posts: 525
Joined: Sun Dec 09, 2018 8:46 am
Reputation: 388

Interesting case of ghost address (CE with Yuzu)

Post by Dread_Pony_Roberts »


There is a bug in CE's scan routine that causes it to fail on 2GB+ memoryregions when doing an unknown initial value scan. (Signed size variable)



Normally games don't allocate chunks of memory in that size, but some emulators, and ported games (that likely have an emulator built-in) do, in which case when you do an unknown initial value scan, it won't find the value
Last edited by Dread_Pony_Roberts on Wed Jul 01, 2020 1:15 am, edited 1 time in total.

makotech222
Expert Cheater
Expert Cheater
Posts: 194
Joined: Thu Mar 02, 2017 11:27 pm
Reputation: 114

Interesting case of ghost address (CE with Yuzu)

Post by makotech222 »

Hmm, might not be my case, then. I'm not doing unknown initial value scan :P

Karlos_007
Expert Cheater
Expert Cheater
Posts: 239
Joined: Thu Aug 22, 2019 3:31 pm
Reputation: 141

Re: Interesting case of ghost address (CE with Yuzu)

Post by Karlos_007 »

makotech222 wrote:
Fri Jun 19, 2020 12:30 am
Hmm, might not be my case, then. I'm not doing unknown initial value scan :P
Also happens with aob scans on the gui and inside scripts.
Specially on Yuzu emulator since it uses big chunks of memory.
That's why some of my tables don't work for other people.
Source: [Link]

Post Reply

Who is online

Users browsing this forum: No registered users