How the "Disable Write Protection" code was made?

Started by FL4SHK, September 28, 2010, 01:50:24 AM

Previous topic - Next topic

FL4SHK

Specifically, in Metroid:  Other M.  How could it be made if there's write protection?

dcx2

Honestly, I think this sort of discussion shouldn't be held in the public areas of the forum.  It is possible that Nintendo could be lurking and they may use this information to improve their protection.

FL4SHK

#2
Oh, sorry.  That's a good point.

Edit:  Well, then, should I send a P.M. to someone?

Dude

Very good point, dcx2.

I'd also love to know how the code was made, what it does, how it does it, etc!

Would be tricky to find out from those that know, though - would be a fair job for the people to reply to PMs, and how do you know that a nintendo rep isn't one of the ones requesting??

Info on this would be awesome to know  :cool:

FL4SHK

Dude... I don't work for Nintendo, nor do I have contact with anyone who works for Nintendo.  For one thing, I have a hacked 4.2 (not 4.3) Wii.  The main thing that I want to know is how to search for more complicated things than just the current (or max) values for things like health and missiles.  I was thinking that I could make better codes if someone could tell me how to find values.  Additionally, what can I do with a breakpoint?  In hindsight, I probably should have mentioned this from the start.

dcx2

I don't think anyone meant to imply that you, FLSHK specifically, are somehow related to Nintendo.  But these forums can be viewed by anyone, even those without accounts.

As far as making better codes...you need to use your imagination.  For instance, in Resident Evil 4, the sniper rifle zoom is stored as a float somewhere in memory.  Zooming in and out while doing less than/greater than searches helped me to find the zoom value.  Looking around the zoom value in Memory Viewer helped me find other things related to the sniper rifle, like the offset that makes the aim unsteady.  Using breakpoints, I could see who was reading and/or writing this unsteady aim offset.  Then I found the code that was reading the value and adding it to your current aim, so I patched the ASM so that it doesn't add the offset anymore.

In Okami, there are items that you can equip called artifacts.  I repeatedly equipped and unequipped an artifact while doing equal/notequal searches.  Eventually, you find the variable that indicates what artifact you have equipped in a particular slot.  I then used a read breakpoint to see who was asking "what artifact is in that slot?".  Once I found it, I was able to convince the game that the answer was "every artifact is in this slot".

I found it easiest to start with timers, though.  Find something that counts down (like the temporary invincibility after getting hit in Super Mario Galaxy), and do repeated less-than searches while pausing the game and stepping through it one frame at a time.  Eventually you may find a timer that's counting down.  Set a write breakpoint on it and try to find the code that is subtracting 1 from it.  Then you can patch subtraction out of the code, and you have permanent invincibility.

FL4SHK

Oh, okay.  Thanks for the tips.  I'll be sure to use them.

Skiller

Quote from: dcx2 on September 28, 2010, 03:06:32 AM
Honestly, I think this sort of discussion shouldn't be held in the public areas of the forum.  It is possible that Nintendo could be lurking and they may use this information to improve their protection.

its not always a bad thing :P its always fun finding new ways to do things but it is true that this kinda information should be Kept in the hackers section mainly do to the fact of u dont know whos goin to use this info and for what ..

Bully@Wiiplaza

#8
Quote from: Skiller on September 30, 2010, 05:52:31 PM
Quote from: dcx2 on September 28, 2010, 03:06:32 AM
Honestly, I think this sort of discussion shouldn't be held in the public areas of the forum.  It is possible that Nintendo could be lurking and they may use this information to improve their protection.

its not always a bad thing :P its always fun finding new ways to do things but it is true that this kinda information should be Kept in the hackers section mainly do to the fact of u dont know whos goin to use this info and for what ..
wait, how can you access the hacking part?
I can´t, but I need to make the hacker test, right? :D
If I get some time for it, I´ll pown this noobish test, I am a lot better now than all of this stuff, easy going ;)

And I also know how the write protection code was made, but not exactly...
My Wii hacking site...
http://bullywiihacks.com/

My youtube account with a lot of hacking videos...
http://www.youtube.com/user/BullyWiiPlaza

~Bully

matt123337


Romaap

Just PM one of the Mod's with a link to a couple of your codes and we'll grant you Hacker Status. :)

matt123337


Bully@Wiiplaza

Quote from: Romaap on October 07, 2010, 07:09:34 PM
Just PM one of the Mod's with a link to a couple of your codes and we'll grant you Hacker Status. :)
alright, I PM´ed it to you, there won´t be any doubts, I sent about 30 codes xD
My Wii hacking site...
http://bullywiihacks.com/

My youtube account with a lot of hacking videos...
http://www.youtube.com/user/BullyWiiPlaza

~Bully

Romaap

Quote from: Bully@Wiiplaza on October 11, 2010, 08:20:48 PM
Quote from: Romaap on October 07, 2010, 07:09:34 PM
Just PM one of the Mod's with a link to a couple of your codes and we'll grant you Hacker Status. :)
alright, I PM´ed it to you, there won´t be any doubts, I sent about 30 codes xD
Yep, congratulations with your brand new Hacker Status. ;)

benny3t3

hmm... can you bcc (i think it is bcc) me in to that PM?

It's just plain interesting