Hey guys,
I'm new to hacking and i was trying to turn this code:
Tiny Mario [Brkirch]
F6000001 80208030
C03E0024 7C7D1B78
F4000000 04A77303
3FA03F00 93BE0024
93BE0028 93BE002C
C03E0024 00000000
E0000000 80008000
Into This code:
Tiny Mario (A+B to toggle)
I tried, but when i started the game up, i was already Tiny. When i pressed A+B nothing happened. Here's the code.
Tiny Mario (A+B to toggle)
2861D342 00000C00
F6000001 80208030
C03E0024 7C7D1B78
F4000000 04A77303
3FA03F00 93BE0024
93BE0028 93BE002C
C03E0024 00000000
E0000000 80008000
Anyone Know what is wrong? :/
Thanks in advance-
Wiimaster86
It will be pretty hard to turn that into a toggle code. You'd need to use a 4E code type, and the CC code type too.
It would probably be a good idea to run the F4 code through an ASM converter to see what it's doing...and also it would be a good idea to take a peek at the code in Memory Viewer after the F6 search runs to see where it's pointing the F4 code at.
BTW, the F4 code translates to this
lis r29,0x3F00 # load 3F000000 into r29 (= 0.5 float)
stw r29,36(r30) # store to x/y/z size addresses
stw r29,40(r30)
stw r29,44(r30)
lfs f1,36(r30) # replaced instruction
This code constantly replaces Mario's size with 0.5. Even if you turn the code off, nothing will make Mario's size 1.0 again.
You could modify this code (in particular, the lis r29) so that it reads the float from somewhere else. Perhaps a Gecko Register, or a small data area at the end of the F4 code. (The Gecko Register would be easier). But I think it might actually be easier to use 4E to point at the assembled lis r29 instruction and overwrite it with lis r29,0x3F80 or lis r29,0x3F00 depending on the CC'd button activator.
I'll do you a favor, because I like to work with F6 codes for some odd reason...I think this code should work.
4E000040 00000000
2861D342 00000C00
14000000 3FA03F00
CC000000 00000000
14000000 3FA03F80
E0000000 80008000
F6000001 80208030
C03E0024 7C7D1B78
F4000000 04A77303
3FA03F00 93BE0024
93BE0028 93BE002C
C03E0024 00000000
E0000000 80008000
WiiMaster, you don't get credit for a code by changing a value on another hacker's code. Especially when the hacker instructed where to change it.
Dcx2- thanks for the tips + the code, I will test it out when I get the chance.
James- I know I can't take credit for it and I wasn't going to. I just was going to use this for myself, and to start understanding codes better.
Whoa there, you actually did try to take credit for it. You posted that code with your name in the brackets. You even submitted it to the Code Database!
In the future, be careful about properly crediting hackers. Making minor changes to someone else's code doesn't give you the right to call it yours. Even adding a button activator is usually not enough to call it yours; I never take credit for simply button-activating someone else's code. I wouldn't even take credit for the size toggler, because it's actually pretty simple.
You need to do some work to make it yours, and even then you should still credit the hacker who you based your code off of. For instance, I made a code which modifies the surface Mario is standing on. wiiztec modified it so you can change the ground on-the-fly with a button modifier. That was a substantial change to my code that involved a lot of work, but he still acknowledged my original surface hack.
Oh, i see what your saying. The person who "made" that code isn't me. That is a different wiimaster. we just happen to have similar names. Sorry for the misunderstanding. (I can't even access the code database)
The person who made that code is brkirch.
Yes i know, that is why i used quotation marks. What i'm saying is the person who took credit for it and posted it in the code database is not me. it is another user whose name happens to be similar to mine. When i first posted this i just copied that code from the code database and it was credited to WiiMaster (NOT ME). Now in the code database it says Bkirch made it. Obviously James or you corrected it.
BTW- the code worked thanks so much
lol Sorry for the bit of confusion then.
Glad you got what you wanted. :P
No problem. Thanks. :cool:
Wow, this situation was quite confusing...but I'm glad to hear the code worked. ^_^
I'm considering making a "size roller" so you can make Mario a variety of sizes instead of just two.
Oooh that would be pretty cool
FYI, I got the Size Roller to work.
http://wiird.l0nk.org/forum/index.php/topic,39.msg54806.html#msg54806
You can go from 0.1 -> 1.0 in 0.1 increments, and then 1.0 -> 20.0 in 1.0 increments.