Shared Item Code [Guru]
#1
Shared Item Code [Guru]

Also known as Guru Code. It is essentially a semi-undetectable forced item code.

This code changes the item value that is written for the item that you will receive when you grab a box (after the item probabilities are calculated). The value is written before the 'handshakes' are done with other players (and the timer checks such as the 30 second required elapse for the shock to be available). Thus, if your item is not available, you get item value 0x14 (Mushroom) instead.

This code breaks certain item rules. Those are...
Allowing you to get a triple item (such as Trip reds) while trailing/circling a triple item.
Allowing you to get a Mega when in a Mega.

If your item is available and you don't break the listed rules, cheat detectors cannot detect this code.

NTSC-U
2834XXXX YYYYZZZZ
047ACE58 386000WW
E0000000 00000000
2834XXXX YYYYZZZZ
047ACE58 7F03C378
E0000000 80008000

PAL
2834XXXX YYYYZZZZ
047BB8B8 386000WW
E0000000 00000000
2834XXXX YYYYZZZZ
047BB8B8 7F03C378
E0000000 80008000

NTSC-J
2834XXXX YYYYZZZZ
047BAF24 386000WW
E0000000 00000000
2834XXXX YYYYZZZZ
047BAF24 7F03C378
E0000000 80008000

NTSC-K
2833XXXX YYYYZZZZ
047A9C78 386000WW
E0000000 00000000
2833XXXX YYYYZZZZ
047A9C78 7F03C378
E0000000 80008000

WW Item Values:
00 = Green Shell
01 = Red Shell
02 = Banana
03 = Fake Item Box
04 = Mushroom
05 = Triple Mushroom
06 = Bob-omb
07 = Blue Shell
08 = Lightning
09 = Star
0A = Golden Mushroom
0B = Mega Mushroom
0C = Blooper
0D = POW Block
0E = Cloud
0F = Bullet Bill
10 = Triple Green Shell
11 = Triple Red Shell
12 = Triple Banana
14 = Nothing

Source:
mr r3, r24 changed to li r3, 0xWW

And for those who want the 'OG version' for historical purposes, here it is...
Code:
NTSC-U
2834XXXX YYYYZZZZ
C27AB704 00000002
386000WW 90770020
60000000 00000000
E0000000 00000000
2834XXXX YYYYZZZZ
047AB704 90770020
E0000000 80008000

PAL
2834XXXX YYYYZZZZ
C27BA164 00000002
386000WW 90770020
60000000 00000000
E0000000 00000000
2834XXXX YYYYZZZZ
047BA164 90770020
E0000000 80008000

NTSC-J
2834XXXX YYYYZZZZ
C27B97D0 00000002
386000WW 90770020
60000000 00000000
E0000000 00000000
2834XXXX YYYYZZZZ
047B97D0 90770020
E0000000 80008000

NTSC-K
2833XXXX YYYYZZZZ
C27A8524 00000002
386000WW 90770020
60000000 00000000
E0000000 00000000
2833XXXX YYYYZZZZ
047A8524 90770020
E0000000 80008000

Source:
li r3, 0xWW
stw r3, 0x0020 (r23)

Code creator: Guru
Reply
#2
Recently I found out that in the case of asking for Triple Mushrooms, you get Triple Mushrooms if that item is not available. Thus, Triple Mushrooms is the only item which, if unavailable, results in Triple Mushrooms as no item available. In all other cases, it gives the normal single mushroom as 0x14 no item available.

Not only that, the branch of address 0x807BA488 (PAL) also ensures that in the case of 0x14 triple mushroom, the set item from the code "Replace Mushroom When no Item avaiable" is skipped. A new code prevents this "replacement" and always gives you the item you set in the "Replace Mushroom When no Item avaiable" code if no item is available.

I can post the new code if you want, but how should I call it?
Reply
#3
I have no decent ideas on a good name for your new code. Maybe just call it Shared Item Code Replace Item Patch?
Reply
#4
(12-14-2020, 11:05 AM)Unnamed Wrote: Recently I found out that in the case of asking for Triple Mushrooms, you get Triple Mushrooms if that item is not available. Thus, Triple Mushrooms is the only item which, if unavailable, results in Triple Mushrooms as no item available. In all other cases, it gives the normal single mushroom as 0x14 no item available.

Not only that, the branch of address 0x807BA488 (PAL) also ensures that in the case of 0x14 triple mushroom, the set item from the code "Replace Mushroom When no Item avaiable" is skipped. A new code prevents this "replacement" and always gives you the item you set in the "Replace Mushroom When no Item avaiable" code if no item is available.

I can post the new code if you want, but how should I call it?
Hmm maybe, "Advanced Replace Mushroom Item when No Item Available" or "Replace Mushroom Item When No Item Available v2"
~MarioKartWii.com #1~
Reply
#5
^Ye that would be the best code name imo. I can't think of anything catchy to call it, might as just stick to a 'standard' code name.
Reply
#6
(12-15-2020, 02:08 PM)Vega Wrote: ^Ye that would be the best code name imo. I can't think of anything catchy to call it, might as just stick to a 'standard' code name.
Would this replace the standard thread on the Replace Mushroom Item When No Item Is Available? Or will it be its own thing?
~MarioKartWii.com #1~
Reply
#7
If Unnamed posts his code, I will NOT move the other version(s) to Outdated. I like to keep certain OG stuff in the main code subforums (perfect example: this code/thread right here); unless the new code does the EXACT same thing as it's old counterpart.
Reply
#8
(12-15-2020, 02:16 PM)Vega Wrote: If Unnamed posts his code, I will NOT move the other version(s) to Outdated. I like to keep certain OG stuff in the main code subforums (perfect example: this code/thread right here)
Ah, Makes Sense. Then we would have to change the name of his thread to something like "Change Default Item When No Item Is Available" because users might get confused by which is better.
~MarioKartWii.com #1~
Reply
#9
Wait, the only thing the new code does is if triple mushroom is requested and it's not available, it still gives you the item that was specified in "Replace Mushroom if no Item avaiable" code.

I had also considered that maybe you don't need a new name, because it's really just an addition to the "Replace Mushroom if no Item avaiable" code. With this additional code it is ensured that if no item is available, you ALWAYS get the Item which is determined in the original code.

So it is definitely NOT a replace for the standard code what @TheNinjaKingOW thought. And maybe this was also the wrong thread and I should have posted this in the "Replace Mushroom if no Item avaiable" thread. I didn't mean to cause confusion...

The new code is simply nopping the branch right before the Adress used for the "Replace Mushroom if no Item avaiable" code.
Reply
#10
(12-15-2020, 04:12 PM)Unnamed Wrote: Wait, the only thing the new code does is if triple mushroom is requested and it's not available, it still gives you the item that was specified in "Replace Mushroom if no Item avaiable" code.

I had also considered that maybe you don't need a new name, because it's really just an addition to the "Replace Mushroom if no Item avaiable" code. With this additional code it is ensured that if no item is available, you ALWAYS get the Item which is determined in the original code.

So it is definitely NOT a replace for the standard code what @TheNinjaKingOW thought. And maybe this was also the wrong thread and I should have posted this in the "Replace Mushroom if no Item avaiable" thread. I didn't mean to cause confusion...

The new code is simply nopping the branch right before the Adress used for the "Replace Mushroom if no Item avaiable" code.
Oh, so this just modifies the branch that holds "Replace Requested Triple Shroom with New Item". I mean, I dont fully think it would need a new thread rather just update the current one.
~MarioKartWii.com #1~
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)