Tutorial  Updated

Tutorials on making cheats with Breeze

Read these first

https://github.com/tomvita/Breeze-Beta/wiki/Customisation
https://github.com/tomvita/Breeze-Beta/wiki/Basics-of-Search

This post to collect the various tutorial I made
https://gbatemp.net/threads/beholga...e000-bid-0cc2f97f43dcaf48.620792/post-9977458
setup and use Breeze to make a HP bar hack, including in place hack and code cave hack. All you need is Breeze.

https://github.com/tomvita/MyNXCheats/tree/main/cheats/Miraculous Rise of the Sphinx
Moon Jump, orb multiplier, HP hack

https://gbatemp.net/threads/hacking-bayonetta-3-with-breeze.621041/
Hacking bar type qty starting with unknown search

https://github.com/tomvita/MyNXCheats/tree/main/cheats/Astronite
Hacking 101, hand holding search for a value and freezing it

https://gbatemp.net/threads/diy-hacking-on-fire-emblem-engage.624829/#post-10050053
Easy ASM DIY example

https://gbatemp.net/threads/squad-5...000-bid-dd4f8858bb96ea80.628788/post-10104702
Easy code cave example

https://gbatemp.net/threads/super-n...000-bid-14dbc890b79f8e4f.655787/post-10420126
Pointer code porting example

IMPORTANT NOTE:
Currently if gen2 is attached and you quite the game gen2 won't work without a GDB connection until you do a sleep cycle. ( Put Switch to sleep then wake it up )

Latest Breeze release:
https://github.com/tomvita/Breeze-Beta/releases/latest
Please note that a new gen2 fork has been added to the release if you visit before it was added.
 
Last edited by TomSwitch,
Sorry, I mean it for like i don't know what to do next than not working :huh:

First I use the start search to search the first value that I want to change 125

and then I went back into the game and spend BP from 125 to 75

after that I went to Breeze but I don't not how to filter that number :(
The basic is search, change, search, change ... until you know which address is effective to give you what you want.
 
  • Like
Reactions: SnowStormAkikaze
Thanks very much for that tutorials. I have one question I don't really understood, when trying to find the correct gen2 ASM position for creating a no damage cheat.

1 always only get 1 instruction, it's always the same. The count on it is always 1001. When I set a watch on the stxr or ldxr of the memory region that writes my heart value and execute watch, there are always more than 1 register appearing on value change.

I also messed around with this part of the instruction yesterday. Copied this instruction from beginning (ldxr) up to the stxr (and the following cnbz) created my off cheat. Copying the off cheat and set everything on nop made it stop damage. But I have the feeling that's the wrong way, even if it seems to work.
 
Thanks very much for that tutorials. I have one question I don't really understood, when trying to find the correct gen2 ASM position for creating a no damage cheat.

1 always only get 1 instruction, it's always the same. The count on it is always 1001. When I set a watch on the stxr or ldxr of the memory region that writes my heart value and execute watch, there are always more than 1 register appearing on value change.

I also messed around with this part of the instruction yesterday. Copied this instruction from beginning (ldxr) up to the stxr (and the following cnbz) created my off cheat. Copying the off cheat and set everything on nop made it stop damage. But I have the feeling that's the wrong way, even if it seems to work.
I have not try to hack stxr nor ldxr. Give me more details like what is the game and the instruction you are trying to hook plus a save to quickly get to able to trigger the instruction.
 
Hi,

it's The Legend of Zelda: Tears of the Kingdom.
Gameversion: 1.4.1
TID: 0100F2C0115B6000
BID: 965EAB9CEB8EB867

I attached you a savefile and a breeze cheat file so you could easily find the target.

It's the current heart value. Simply change it by getting one hit damage. Maybe dropping a log with a flint stone, hit it for a fire.
Then stay into it, until it hits once. That's how i most time do.
 

Attachments

Hi,

it's The Legend of Zelda: Tears of the Kingdom.
Gameversion: 1.4.1
TID: 0100F2C0115B6000
BID: 965EAB9CEB8EB867

I attached you a savefile and a breeze cheat file so you could easily find the target.

It's the current heart value. Simply change it by getting one hit damage. Maybe dropping a log with a flint stone, hit it for a fire.
Then stay into it, until it hits once. That's how i most time do.


Here is the cheats I made, you can take a look, I have no need to look at the game, been there already. I hooked a function that handles both friend and foe, need to find something to tell friend or foe.
https://github.com/tomvita/MyNXCheats/releases/tag/0100F2C0115B6000

for old version, normally it does not change in nature but specific value may change and address is sure to change.

[hp fill and maybe ohk]
[Main+R0+0x00006A3884] = 0xB940096B ldr w11, [x11, #8] <=hook
[Main+R0+0x00006A3884] = 0x1491D0B1 b #0x2b17b48
[Main+R0+0x0002B17B48] = 0x7940016C ldrh w12, [x11]
[Main+R0+0x0002B17B4C] = 0x52911F0D mov w13, #0x88f8
[Main+R0+0x0002B17B50] = 0x6B0D019F cmp w12, w13
[Main+R0+0x0002B17B54] = 0x54000081 b.ne #0x2b17b64 <= check friend or foe
[Main+R0+0x0002B17B58] = 0xB940096C ldr w12, [x11, #8]
[Main+R0+0x0002B17B5C] = 0xB81F816C stur w12, [x11, #-8]
[Main+R0+0x0002B17B60] = 0x14000003 b #0x2b17b6c
[Main+R0+0x0002B17B64] = 0x5280004C mov w12, #2
[Main+R0+0x0002B17B68] = 0xD503201F nop <= default do nothing to foe
[Main+R0+0x0002B17B6C] = 0xB940096B ldr w11, [x11, #8]
[Main+R0+0x0002B17B70] = 0x176E2F46 b #0x6a3888

[ohk]
[Main+R0+0x0002B17B68] = 0xB81F816C stur w12, [x11, #-8] <= change to ohk for foe

I don't remember that much, my gut feel is this game has nothing special concerning hp.

I don't have your version so can't really help to examine what that code you hook does.
 
Last edited by TomSwitch,

Site & Scene News

Popular threads in this forum