WiiRd forum

Wii & Gamecube Hacking => Wii Game hacking help => Topic started by: toonlink444 on January 23, 2011, 10:56:46 PM

Title: How to know to use read, write, read/write, execute
Post by: toonlink444 on January 23, 2011, 10:56:46 PM
I read the latest ASM tutorial and I still don't know when to use them. So, how
Title: Re: How to know to use read, write, read/write, execute
Post by: -LeetGamer- on January 23, 2011, 11:06:18 PM
Quote from: toonlink444 on January 23, 2011, 10:56:46 PM
I read the latest ASM tutorial and I still don't know when to use them. So, how

When you say read do you mean load, like load word? When you say write do you mean store, like store word?
Title: Re: How to know to use read, write, read/write, execute
Post by: toonlink444 on January 23, 2011, 11:10:18 PM
No, those are breakpoint commands.
Title: Re: How to know to use read, write, read/write, execute
Post by: Romaap on January 23, 2011, 11:18:19 PM
Read breakpoint breaks the game when a command reads from the address specified.
Write breakpoint breaks the game when a command writes to the address specified.
Read/Write breakpoint is for the 2 things above.
Execute breakpoint breaks the game when the command at the address specified is executed.
Title: Re: How to know to use read, write, read/write, execute
Post by: toonlink444 on January 23, 2011, 11:28:42 PM
thanks I think I understand it better
Title: Re: How to know to use read, write, read/write, execute
Post by: Bully@Wiiplaza on January 23, 2011, 11:37:00 PM
Generally:
Read > Write

Since the game reads more often than write.
Sometimes, mutiple write adresses can be grabbed with one read.
But read may freeze more often when testing the adress...

Execute is useful to check, if an adress is executing like you want to inject your hook there.
Note that your ASM will only be used every time the adress executes.