How to use Button-Combination to activate cheat?

Started by lindtec, July 26, 2008, 10:23:06 PM

Previous topic - Next topic

Sonarca

#45
The MarioKart's Cycle Through Items is funny, but it doesn't work as I expected. So I made this one (PAL-EU) :

48000000 809C22B0
DE000000 80008180
4A100000 FFFF9F5C
28348200 00000980
86300001 000000FF
94210001 00000004
30000004 00000000
86000000 00000001
86000001 00000001
E2000001 00000000
2A348201 00000980
80000001 00000000
E2000001 00000000
86300000 0000000F
94210000 00000000
14000004 00000001
E0000000 80008000

The difference is first you have an green shell. Push A+Y, then you'll have a red shell. Push A+Y again, then you got a banana, and so on. The item displayed can be used all the time. You can hold A+Y, items will not continue changing. See what I mean ?

Experts could probably optimize it. I dont have USBGecko, I just read the code type document to do this. And it works !

Also, I wanted to know. What are coderange for the GCN C-Stick ? Do it use the same addr as other buttons ?
My idea is to set some items to C-stick : C-up to have a star, C-down to have a bullet bill, or whatever. Could anybody help ?

biolizard89

Quote from: Sonarca on December 31, 2008, 02:01:35 PM
The MarioKart's Cycle Through Items is funny, but it doesn't work as I expected. So I made this one (PAL-EU) :

48000000 809C22B0
DE000000 80008180
4A100000 FFFF9F5C
28348200 00000980
86300001 000000FF
94210001 00000004
30000004 00000000
86000000 00000001
86000001 00000001
E2000001 00000000
2A348201 00000980
80000001 00000000
E2000001 00000000
86300000 0000000F
94210000 00000000
14000004 00000001
E0000000 80008000

The difference is first you have an green shell. Push A+Y, then you'll have a red shell. Push A+Y again, then you got a banana, and so on. The item displayed can be used all the time. You can hold A+Y, items will not continue changing. See what I mean ?

Experts could probably optimize it. I dont have USBGecko, I just read the code type document to do this. And it works !

Also, I wanted to know. What are coderange for the GCN C-Stick ? Do it use the same addr as other buttons ?
My idea is to set some items to C-stick : C-up to have a star, C-down to have a bullet bill, or whatever. Could anybody help ?
Since the C stick is analog, you wouldn't be comparing binary flags, you'd be doing LT/GT compares.  However, the C stick data should be right next to the button data.  I believe that the control stick and digital buttons are in one 32-bit value, and the 32-bit value after that contains the C stick and the L/R analogs.  The next 32-bits are frequently a value indicating whether the controller is plugged in.

Romaap

If the C-stick is the same as the nunchuck stick it would have a value that holds it X and Y position, like XXXXYYYY.

Sonarca

Thanks. All I wanted to know is where the values were located. Analogic is not a problem, I used to hack stick of N64 pad years ago... that seems so far to me now. :-[

Another question yet. Instead of choosing an item by pressing a button and use it by another, I think it could be interresting to directly use the item. I made another code that set star on D-pad left, bulletbill on D-Pad down, and others. It works fine. Then I tried to simulate R-push by adding its value to the current buttons pushed, but no surprise, didnt work. Maybe we have to found how the "item launch" is triggered. Any idea ?

matt123337

try making it just d-pad activator and then on the next line repeat but change the 20 at the beginig of the code to 80 then on change the D-pad activator to R button (second line) :D hope this helps!

ps: if this makes no sence simply post the code you made and I will try :D

Sonarca

I'll ask simplier. How can I use the current item stored by using another button than L ?

TurtleXTreme

28348200 YYYYXXXX PAL-EU
28343E80 YYYYXXXX NTSC-US
28347B80 YYYYXXXX NTSC-JP

Y = FFFF - XXXX = YYYY
Ex: FFFF - 1881 = E77E = Y + Start + Left + 0080 = 2834¿?¿? E77E1881
http://www.motionnet.com/calculator/
Switch to HEX, FFFF '-' the result + 0080 = YYYY

Quote from: Volderbeek
Z Values - GCN Controller
0001 = Left
0002 = Right
0004 = Down
0008 = Up
0010 = Z
0020 = R
0040 = L
0100 = A
0200 = B
0400 = X
0800 = Y
1000 = Start
--> ADD 0080 IN HEX TO THE RESULT !!! <--

Special Thanks to Volderbeek (US + international button), mdmwii (PAL) and ARM9 (JP)

TreizeKnight

I'm lost here, so say for Fire Emblem: Radiant Dawn [NTSC-US] code

Everyone is Player Controlled
08884E04 8066B830
20FD03F0 00000000

Would I imput the code using this?
Quote28343E80 YYYYXXXX NTSC-US
I'm so confused...  :confused:

TurtleXTreme

#53
Quote from: TreizeKnight on January 18, 2009, 05:13:09 AM
I'm lost here, so say for Fire Emblem: Radiant Dawn [NTSC-US] code

Everyone is Player Controlled [????]
28343E80 YYYYXXXX
08884E04 8066B830
20FD03F0 00000000
E0000000 00000000

I think, It's only for a normal GCN controller (≠WaveBird)
Don't work ? try the version from Link :)

TreizeKnight

I meant, I don't know how to put the on/off button command on.

TurtleXTreme

Everyone Player is controlled [??]
22884E04 8066B830
20FD03F0 00000000
E0000000 00000000
8221000C 00884E04 <- I think this line is wrong
28348201 FF7E0081
08884E04 8066B830
20FD03F0 00000000
E0000000 00000000
28348201 FF7d0082
8421000C 00884E04 <- I think this line is Wrong
E0000000 80008000

This code is based on the No Clipping Switch by mdmwii

TreizeKnight

#56
Disregard question, solved

Yerger

Ok, so I'm kinda new at the WiiRD and stuff, but bear with me....

I'm trying to make a activator for the following code for The Legend of Zelda Majora's Mask for US. 

Time Freezer [hetoan2]:
- insert activator for freezing here -
04B2F6B0 60000000
- insert activator for unfreezing here -
04B2F6B0 A3470032
E0000000 80008000

I am trying to use the ZL button on the classic controller to freeze it, and ZR to unfreeze it, so i tried this

Time Freezer [hetoan2]
281BCB8A 00000080
04B2F6B0 60000000
281BCB8A 00000004
04B2F6B0 A3470032
E0000000 80008000

But it doesn't seem to work. ???  I don't really know what I'm doing,  so any help would be good.  Thanks!

codename:

ok I've been reading every post in this thread and done my own button activators.. but i need a little help with this code:

*TEST* Cycle trough items #1
2881E500 00001000
A8000008 FFFB0004
265524F4 E9000000
82200000 805524F4
86000000 01000000
84200000 805524F4
E0000000 80008000
2881E500 88E00800
A8000008 FFFB0004
245524F4 01000000
82200000 805524F4
86000000 FEFFFFFF
84200000 805524F4
E0000000 80008000

now, that's just for slot #1 it uses buttons -(minus) & A
And I thought I could do it with every other slot but then i realize... well, they're just too many button convinations  :o
& so i think it would be better if i could cycle ALSO trough slots, it would be great
How can I cycle trough adresses?

0x805524F4 press B then 0x80552500

please help :'(
If only everybody could understand Hexadecimal... (sigh)

Mal1t1a

Hi, I was just wondering. For the Wiimote, A= 0800, and Minus = 1000 and 1 = 0200 then.
How would I get A+1? Logically, it would be 1000. But then, That's Minus. So what would I do? Thanks.
Hacking is not always about ruining the game for others, its about making the game funner and seeing what is possible and what is not.