Emulation [CHEAT] CE Table for Wind Waker HD

  • Thread starter Thread starter toto621
  • Start date Start date
  • Views Views 68,047
  • Replies Replies 156
  • Likes Likes 7
The Cheat Table isn't working for me. I'm getting an Error of "INFO: AOB not found. Has the game function be initiated?"

Cheat Engine Version : 7.5
CEMU Version: 2.0-73
 
The Cheat Table isn't working for me. I'm getting an Error of "INFO: AOB not found. Has the game function be initiated?"

Cheat Engine Version : 7.5
CEMU Version: 2.0-73
What script are you trying to activate? Is it the "Activate" one?
 
Yes. When the save is loaded.

CPU: AMD FX 8350
TLDR; Your CPU does not support a key CPU instruction which causes the activate script to not be able to find the AOB. I'll try to fix it at some point so you can at least activate the trainer.



Technical Version:

So I did some digging into some CPU dumps of your processor and it looks to me like your CPU doesn't support the MOVBE opcode. I use pattern scanning to identify key memory locations, but since your CPU doesn't support the instruction, CEMU needs to compile the code in a way that will let your CPU run it without MOVBE. As you may be able to guess, this will mess with the pattern scanning as the AOB is not what it supposed to be. This is why a lot of scripts will not work for you, including the activate script.

Having said that, I could patch it for you so that you can at least activate the table and modify some values. However, the scripts will not work as I would have to rewrite them completely.
 
Last edited by n0ted,
TLDR; Your CPU does not support a key CPU instruction which causes the activate script to not be able to find the AOB. I can it at some point so you can at least activate the trainer.



Technical Version:

So I did some digging into some CPU dumps of your processor and it looks to me like your CPU doesn't support the MOVBE opcode. I use pattern scanning to identify key memory locations, but since your CPU doesn't support the instruction, CEMU needs to compile the code in a way that will let your CPU run it without MOVBE. As you may be able to guess, this will mess with the pattern scanning as the AOB is not what it supposed to be. This is why a lot of scripts will not work/ for you, including the activate script.

Having said that, I could patch it for you so that you can at least activate the table and modify some values. However, the scripts will not work as I would have to rewrite them completely.
I've used Cheat Engine scripts a load of times for other games. Not with CEMU. This would be a first trying to use it with CEMU. But other Games and emulators all work fine with scripts and everything. This is the only time I've come across this issue.

Honestly. The only thing I wanted to use this for was the Nintendo Gallery. I missed taking a picture of one of the boss monsters. And decided I'd rather cheat the gallery to completion than have that space sit empty. x.x;
 
Hey n0ted, can't send you a PM cause I'm too new here, but can your table be used to quickly advance though the story & have items & such flagged by the game properly if you just want to be at a certain point in the game with both important & optional items you can acquire at that point without breaking anything or glitching the game out?
 
Last edited by WLB27,
Hey n0ted, can't send you a PM cause I'm too new here, but can your table be used to quickly advice though the story & have items & such flagged by the game properly if you just want to be at a certain point in the game with both important & optional items you can acquire at that point without breaking anything or glitching the game out
With the current state of the table, I'm not quite sure as I've never tried. But as you've already alluded to, just giving yourself items does not trigger flags associated with item that should be triggered when acquired. Having said that some of the events use items as flags. As for which ones these are, I do not know. I haven't touched this game in a while so I'm not as fresh as I used to be. If you really want to the know, the speed running community would know all about this.

As for flags and event flags, I do know where the game saves and loads the flags for each area. The only problem is I don't know what each flag does what, as often they are binary flags. Figuring that out would take a long time (and to document too).
 
With the current state of the table, I'm not quite sure as I've never tried. But as you've already alluded to, just giving yourself items does not trigger flags associated with item that should be triggered when acquired. Having said that some of the events use items as flags. As for which ones these are, I do not know. I haven't touched this game in a while so I'm not as fresh as I used to be. If you really want to the know, the speed running community would know all about this.

As for flags and event flags, I do know where the game saves and loads the flags for each area. The only problem is I don't know what each flag does what, as often they are binary flags. Figuring that out would take a long time (and to document too).
Do you know if any save editors or an easy way to mod the game exists for the HD version?
 
Do you know if any save editors or an easy way to mod the game exists for the HD version?
I do not, sorry.

Can these cheats be made to work on Wii U?
As of the way they are now, no. But they technically can be converted to WiiU codes. However, they will require you to know how the Cafe codetypes and memory work. That is to say, I am not going to convert these as I have moved on from this game and I prefer to emulate games.
 
I do not, sorry.


As of the way they are now, no. But they technically can be converted to WiiU codes. However, they will require you to know how the Cafe codetypes and memory work. That is to say, I am not going to convert these as I have moved on from this game and I prefer to emulate games.


Ah so all this hassle just for it being emulation?
 
Hi N0ted! I'm having an issue with the one of the scripts of the cheat engine table. For some reason, the freecam script is refusing to work for me. It gives the following error every frame:
Error:[string "local syntaxcheck, memrec=... ..."]:48: attempt to perform arithmetic on a string value (local 'frameNow')

Some of the scripts, such as the moon jumps work perfectly. The teleport seems to only like moving the boat and not link. Then there are the scripts like the Always Hurricane Spin, which has the INFO: AOB not found error. Could it be that the MOVBE opcode?

There is also a Code list/Pause that appears every time that I open the table through CE with some addresses and only the okay button:
Code list:
Address Name
177F7733E91 Change of mov [r13+rdx+00000089],bpl
177F77F5A5C Change of mov [r13+rdx+00000089],bpl

Here are my specs:
CPU: AMD Ryzen 5 5600x
CE: 7.4.0.7301
CEMU: 2.0.88.0
WWHD: USA version
 
Hi N0ted! I'm having an issue with the one of the scripts of the cheat engine table. For some reason, the freecam script is refusing to work for me. It gives the following error every frame:
Error:[string "local syntaxcheck, memrec=... ..."]:48: attempt to perform arithmetic on a string value (local 'frameNow')

Some of the scripts, such as the moon jumps work perfectly. The teleport seems to only like moving the boat and not link. Then there are the scripts like the Always Hurricane Spin, which has the INFO: AOB not found error. Could it be that the MOVBE opcode?

There is also a Code list/Pause that appears every time that I open the table through CE with some addresses and only the okay button:
Code list:
Address Name
177F7733E91 Change of mov [r13+rdx+00000089],bpl
177F77F5A5C Change of mov [r13+rdx+00000089],bpl

Here are my specs:
CPU: AMD Ryzen 5 5600x
CE: 7.4.0.7301
CEMU: 2.0.88.0
WWHD: USA version
The MOVBE instruction would not be the problem here as you have a recent CPU. It only applies to people with old processors, and only affects the scripts.

From what you said, I think I know what your problem is. You said that the teleporting isn't working for Link which means the pointers for Links X,Y,Z may not be working. Teleporting utilizes this as well as the free cam, so if they are not working properly errors can occur. Can check if Link's X,Y,Z are working when the script is loaded? That could narrow it down for me to help you further.

To do this, right-click 'Teleports' -> Group Info -> and uncheck always hide children. You should see "coordinate stuff". Just keep clicking the boxes until you find link x,y,z. You will know the x,y,z is working if the values change only when you move.
 
Last edited by n0ted,
It appears that it is not displaying the values, since not even the boat had any change while I was moving it around to test. It just showed the address. It is possible that there is a setting that is not what it should be on my end, or that I do not know where to look to see the value it is getting.

1721572872680.png
 
It appears that it is not displaying the values, since not even the boat had any change while I was moving it around to test. It just showed the address. It is possible that there is a setting that is not what it should be on my end, or that I do not know where to look to see the value it is getting.

View attachment 448462

Yeah the whole value tab is blank. That's what is messing it up. I think this normally happens when you don't enabled the custom value types in cheat engine settings. Can you verify that you have done so by going to cheat engine settings -> custom value types and making sure all check boxes are toggled?
 
I did not see a custom value types tab, but I did make sure the all types were checked. Since the value tab is still empty, I'm guessing that was not it. Sorry about all the issues.

1721577712098.png
 
I did not see a custom value types tab, but I did make sure the all types were checked. Since the value tab is still empty, I'm guessing that was not it. Sorry about all the issues.

View attachment 448476

That check box just tells cheat engine to show all custom types when searching for values. I don't know why you don't have it, but you might need to update your cheat engine and then enable the settings I mentioned.
 
That check box just tells cheat engine to show all custom types when searching for values. I don't know why you don't have it, but you might need to update your cheat engine and then enable the settings I mentioned.
It's now working perfectly!! Thank you so much for your help!!
 

Site & Scene News

Popular threads in this forum