Rebasing cheat with Breeze using AOB feature

Breeze now has a AOB feature to facilitate rebasing of ASM cheats.
Here is a tutorial using this feature to rebase a cheat for Atelier Ryza 3
https://gbatemp.net/threads/atelier-ryza-3.629458/post-10126002

There are three steps.
Make AOB to capture 8 instructions of the game code of interest.
Load AOB on different version of the game code to search for the game code of interest.
Load the source. Assemble the code for this different version.

From here on I will made AOB and release the source for all cheats that I release so others can easily rebase it
 
Last edited by TomSwitch,

diam1982

Member
Newcomer
Joined
Nov 16, 2022
Messages
14
Trophies
0
Age
41
XP
106
Country
France
hello i am trying to update blade of time cheats.i try to follow ryza's tutorial.but when i want to make an aob with make aob.i get an empty file.i activated the cheat in the basic version of the game. i am atmo 1.5.4 and firmware 16.0.3. Thank you in advance for your help.
 

TomSwitch

Well-Known Member
OP
Member
Joined
Jan 10, 2019
Messages
4,532
Trophies
1
Age
44
XP
14,681
Country
United States
hello i am trying to update blade of time cheats.i try to follow ryza's tutorial.but when i want to make an aob with make aob.i get an empty file.i activated the cheat in the basic version of the game. i am atmo 1.5.4 and firmware 16.0.3. Thank you in advance for your help.
Make AOB looks for cheats that has the first two line writing the same address.
For cheats that wasn't made by me you might not have that. What you need is first find out which line is hacking the game code then make duplicate of the line at the top.

[Example]
04000000 009A93DC F9000661
04000000 009A93DC 14E3C969
04000000 0429B980 A9376BF9
04000000 0429B984 A93873FB
04000000 0429B988 A9397BFD
04000000 0429B98C 91002279
04000000 0429B990 F940033A
04000000 0429B994 D28019FD
04000000 0429B998 B0029A9B
04000000 0429B99C 910C237B
04000000 0429B9A0 94000006

First two lines have the same address 009A93DC and notice that is is smaller than the rest of the address which starts at 0429B980. For cheats that is made by others the game code hack may not be the first line but the address will always be smaller than the rest.
 

diam1982

Member
Newcomer
Joined
Nov 16, 2022
Messages
14
Trophies
0
Age
41
XP
106
Country
France
Make AOB looks for cheats that has the first two line writing the same address.
For cheats that wasn't made by me you might not have that. What you need is first find out which line is hacking the game code then make duplicate of the line at the top.

[Example]
04000000 009A93DC F9000661
04000000 009A93DC 14E3C969
04000000 0429B980 A9376BF9
04000000 0429B984 A93873FB
04000000 0429B988 A9397BFD
04000000 0429B98C 91002279
04000000 0429B990 F940033A
04000000 0429B994 D28019FD
04000000 0429B998 B0029A9B
04000000 0429B99C 910C237B
04000000 0429B9A0 94000006

First two lines have the same address 009A93DC and notice that is is smaller than the rest of the address which starts at 0429B980. For cheats that is made by others the game code hack may not be the first line but the address will always be smaller than the rest.
Thank you for your reply. My code is only one line long. when I do load aob , I get candidates, I try to freeze them. and I go back to the game but nothing happens. I save them as cheats either. As you can see, this code has only a small change. I think that it's offset address.
 

Attachments

  • IMG_20230807_133133.jpg
    IMG_20230807_133133.jpg
    8.2 MB · Views: 41

TomSwitch

Well-Known Member
OP
Member
Joined
Jan 10, 2019
Messages
4,532
Trophies
1
Age
44
XP
14,681
Country
United States
Thank you for your reply. My code is only one line long. when I do load aob , I get candidates, I try to freeze them. and I go back to the game but nothing happens. I save them as cheats either. As you can see, this code has only a small change. I think that it's offset address.
You don't freeze game code, they don't normally change except when a cheat code hack them, you can watch what the code access to know if that is the one you are looking for.
 

diam1982

Member
Newcomer
Joined
Nov 16, 2022
Messages
14
Trophies
0
Age
41
XP
106
Country
France
I thank for everything. your advice helped me find it. with the second code the one that disables the cheat I got a unique result and I put the last value of the enable code and it worked. I will share it with the community.
You don't freeze game code, they don't normally change except when a cheat code hack them, you can watch what the code access to know if that is the one you are looking for.
Thanks to your advice, I succeeded.
I did the search with the disable cheat. and I got a single offset. candidate. then I gave it the value of the activate code. I will share my discovery with the community.

[Breeze beta79a Blades of Time 1.2.200127 TID: 0100CFA00CC74000 BID: 679B5FC4F46F5DB7]

[GOD Mode - Disabled]
04000000 0005B9B8 39404100

[GOD Mode - enabled]
04000000 0005B9B8 52800020
 
  • Like
Reactions: TomSwitch

kimmyso

Member
Newcomer
Joined
Oct 21, 2021
Messages
21
Trophies
0
Age
29
XP
213
Country
United States
I thank for everything. your advice helped me find it. with the second code the one that disables the cheat I got a unique result and I put the last value of the enable code and it worked. I will share it with the community.

Thanks to your advice, I succeeded.
I did the search with the disable cheat. and I got a single offset. candidate. then I gave it the value of the activate code. I will share my discovery with the community.

[Breeze beta79a Blades of Time 1.2.200127 TID: 0100CFA00CC74000 BID: 679B5FC4F46F5DB7]

[GOD Mode - Disabled]
04000000 0005B9B8 39404100

[GOD Mode - enabled]
04000000 0005B9B8 52800020
This is exactly what I’m trying to achieve. You mind showing me how you did it?
 

diam1982

Member
Newcomer
Joined
Nov 16, 2022
Messages
14
Trophies
0
Age
41
XP
106
Country
France
This is exactly what I’m trying to achieve. You mind showing me how you did it?
I more difficult and doesn't work always. If you have old codes begin by 04XXXXXX only, you can convert with "Code Updater for Nintendo Switch v1.0.2" tool on gitub. this tool convert with comparisons between the "main" files . the old "main" file of game version with cheats codes and the "main" file of new game version. this files can extract with DBI file explorer on switch. installed games menu , choose your game, press "a",highlight/choose the update location then "cross". choose "expose to mtp" (computer).
reinstall old update if necessary get his "main" file. reinstall new update get his "main" file.
next, "code updater" win tool is easily to use.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Sicklyboy @ Sicklyboy:
    I'm planning to start building it back up though. Plus, Usenet automation around music downloading has gotten so much better since then
  • Psionic Roshambo @ Psionic Roshambo:
    I used to use high end headphones and speakers JBL back when they made good speakers lol X-Fi Fatality edition sound card on PCI with XP back when Windows had good sound....
  • SylverReZ @ SylverReZ:
    @Sicklyboy, Using a Fiio DAC and Betron headphones.
    +1
  • Sicklyboy @ Sicklyboy:
    I use AKG K7XX headphones for daily use, but Meze 99 Classics when I want to *enjoy* the music
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I mean built in sound on mobo's has gotten way better but still XP handled sound better and X-Fi was still better than onboard audio even to this day
  • Psionic Roshambo @ Psionic Roshambo:
    Hell not sure what was going on but for like a few weeks MP3's sounded muffled, some driver or Windows update fixed it. Thank god lol
  • Sicklyboy @ Sicklyboy:
    Oh boy Massdrop has $1100 IEMs. Want, but not at that price lmao. https://drop.com/buy/campfire-audio-andromeda-emerald-sea-iem
  • Sicklyboy @ Sicklyboy:
    I'd sooner buy the Meze 109 Pro if I was dropping that much on headphones. I don't even like buds/IEMs
  • Sicklyboy @ Sicklyboy:
    I got the Google Pixel Pro buds, they're good enough for when I need portable audio. And some really cheap IEMs that Dankpods recommends, I think the KZ ZSN Pro
    +1
  • K3Nv2 @ K3Nv2:
    I'd stick with cheapo Chinese $10 ones quality is actually becoming on pair with name brand since name Brand usually quads the price up anyway loose one bud that's another $200
  • Sicklyboy @ Sicklyboy:
    My Pixel Pro buds shit the bed a month or two ago. My wireless charger (which they do support Qi charging) absolutely COOKED them. Caused some problem that caused the case to heat up to 180F+
  • Sicklyboy @ Sicklyboy:
    They were like 9 months out of warranty but I hit up Google support anyway and told them how hot they were getting and they replaced them with new ones because they wanted these for failure analysis lol
  • Psionic Roshambo @ Psionic Roshambo:
    lol wireless charging
  • K3Nv2 @ K3Nv2:
    Yeah that's why I can't bring myself to even spend $100 on wireless earbuds
  • Psionic Roshambo @ Psionic Roshambo:
    I think it's a cool idea but damn
  • Sicklyboy @ Sicklyboy:
    Apparently the case has a problem with >15W wireless chargers. Google design fault, that one.
  • K3Nv2 @ K3Nv2:
    I could live with wireless charging if the damn standard case doesn't block connection
  • Xdqwerty @ Xdqwerty:
    how is wireless charging possible?
  • K3Nv2 @ K3Nv2:
    Dbz said everyone has raging energy senses
    +1
  • cearp @ cearp:
    you mean generally, how does the concept work?
    +1
  • K3Nv2 @ K3Nv2:
    Copper conducting electricity or something
  • Sicklyboy @ Sicklyboy:
    @Xdqwerty, power through a coil of wire causes an electromagnetic field to be generated. Another coil of wire can be set up to harness the power from that electromagnetic field and turn it into usable energy for charging a device
    Xdqwerty @ Xdqwerty: @Sicklyboy, 1) ohkay 2) https://www.youtube.com/watch?v=n5K3jc6Q3HU