Super Mario Galaxy 2 [SB4E01]

Started by wiiztec, May 21, 2010, 05:05:58 PM

Previous topic - Next topic

Deathwolf

lolz

dcx2

1ups never disappear
042780CC 7C802378

Someone should make it so 1ups don't move.  You can get close to a 1up in memory using this code.  It's patching the count-down part of the timer (subi r0,r4,1 with mr r0,r4).  So if you execute breakpoint on 802780CC, then r31 will have a pointer to the 1up.  Switch to auto-update in MemView and you'll see the 1up moving around...but I couldn't quite figure out how to stop it from moving.

Thomas83Lin

#107
Unlock Lugi on StarShip [Thomas83Lin]
42000000 90000000
01E0603A 000000AA
01E0701A 000000AA
01E07FFA 000000AA
E0000000 80008000
*Permanent Per Save Slot if Saved*

Zero Lives Lost on Save [Thomas83Lin]
42000000 90000000
03E0614C 00000000
03E0712C 00000000
03E0810C 00000000
E0000000 80008000
*Permanent Per Save Slot if Saved*

Unlock GrandMaster Galaxy [Thomas83Lin]
42000000 90000000
01E06042 00000080
01E07022 00000080
01E08002 00000080
E0000000 80008000
*Addon for All 242 Stars*
*Permanent Per Save Slot if Saved*

^^^I made this code, because if you had used the All 242 Stars code, its then impossible to set the flag to unlock the grandmaster galaxy. Therefore why this code is needed when that code is used.

Unlock All Green Stars [Thomas83lin]
42000000 90000000
01E0603E 000000D4
01E0701E 000000D4
01E07FFE 000000D4
01E05FFC 000000EA
01E06FDC 000000EA
01E07FBC 000000EA
E0000000 80008000
*Permanent Per Save Slot if Saved*

edit: Fixed the Unlock Green Stars code.  Required additional flag set.

Already Hacked Save Download, Also can be found on Wiisave.com
http://www.megaupload.com/?d=4S80FUFN

Slot 1: 0 Stars Character Lugi available on StarShip at very beginning. Green Stars Unlocked.
Slot2: At Very Beginning of game with All 242 Stars 0 Deaths



[spoiler]

[/spoiler]

edit: Some of my codes have been updated!! Use them instead, can be found on the code database

dcx2

Slow 1up movement
04276F90 3BC00000
It doesn't quite *stop* the 1ups, but they lose momentum very easily

I also found the 1up size modifier addresses, but I need to write a good hook and make sure it only affects 1ups.

[spoiler]





[/spoiler]

dcx2

#109
Mario Teleportation
C23880AC 0000000F
48000005 7FE802A6
3BFF005C 3FC08075
63DE0A02 A3DE0002
2C1E4200 40820020
80030000 901F0000
80030004 901F0004
80030008 901F0008
48000034 2C1E4100
4082002C 801F0000
90030000 801F0004
90030004 801F0008
90030008 48000010
00000000 00000000
00000000 80010034
60000000 00000000
Press C+up to store your current coordinates, C+down to teleport to the stored coordinates.


tehe, I used this to teleport on top of the final Star.  A Perfect Run in under 1/2 second!

[spoiler][/spoiler]


The next three codes work together

Publish Mario Coordinate Pointer to gr7
C23880A4 00000003
3884000C 3FE08000
63FF1824 909F0000
60000000 00000000

Teleport non-moving 1up/life-up mushrooms to Mario
C2277630 00000009
3D808000 618C1824
808C0000 3D808000
7C046040 41800028
3D808180 7C046040
4181001C 81840000
91830014 81840004
91830018 81840008
9183001C 7C7F1B78
60000000 00000000
Depends on the Mario Coordinate pointer being in gr7

Teleport disappearing 1up/life-up mushrooms to Mario
C22780C0 00000009
3D808000 618C1824
808C0000 3D808000
7C046040 41800028
3D808180 7C046040
4181001C 81840000
91830014 81840004
91830018 81840008
9183001C A87F00C0
60000000 00000000
Depends on the Mario Coordinates pointer being in gr7


Next goal is a "Teleport Starbits to Mario".  And then a button-activated "Teleport coins to Mario" (because you don't always want them immediately..you might want to save them for when you get hurt).  I'd also like to try using p2's grab ability to provide Mario with teleportation coordinates.

dcx2

Multi-Teleporter
C23880AC 00000015
3FC08075 63DE0A02
A3DE0000 57C0056B
4182008C 57C0E007
41820084 48000005
7FE802A6 3BFF004C
7C000034 1C00000C
7FFF0214 57C004A5
41820010 7C6C1B78
7FFEFB78 4800000C
7FECFB78 7C7E1B78
800C0000 901E0000
800C0004 901E0004
800C0008 901E0008
48000034 00000000
00000000 00000000
00000000 00000000
00000000 00000000
00000000 00000000
00000000 00000000
00000000 80010034
60000000 00000000
There are four slots, corresponding to the up/down/left/right arrows.  To store Mario's coordinates in a slot, b+z+arrow.  To load Mario's coordinates from a slot, use b+arrow.

If someone wants more than four slots, the code is very easily extended up to 7 or even 10 slots, but each slot adds 1.5 lines to the code.  I figured 4 would be enough.

You can use these to warp between multiple points at will.  Set a warp point up near Yoshi, then get somewhere that Yoshi can't normally go, set another warp point, warp back to Yoshi, get him, warp forward.  Or set warp points near power-ups so you can warp to and from them easily.  Warp points can also get you back from launch stars.  They can be the ultimate checkpoint that is remembered even if you leave the level and come back.

dcx2

Extremely Large Yellow Yoshi Light (fixed)
042C4F0C 4800000C
C22C4EF4 00000002
3C00461C 90030008
38000000 00000000
It turns out you don't really need the infinite yellow Yoshi with this code.  The light bubble is so big that the whole level is revealed forever.  I'm staring at the star right now while writing this post and I still see everything that is all the way in the distance, after using only one Bulb Berry at the very beginning and making sure to get all the coins etc.

dcx2

#112
I found the p2 stuff I was looking for...here's a taste of what's to come.

p2freeze all enemies and obstacles
04362968 60000000
0436296C 38600001
it's like p2 is grabbing every enemy at the same time!  They're all frozen and can't hurt you.

[spoiler][/spoiler]

This will probably need a button activator...

BTW: the code does not require p2 to be active


EDIT:
p2freeze toggle with b+c+z
28750A02 00006400
04362968 4082000C
0436296C 38600000
CC000000 00000001
04362968 60000000
0436296C 38600001
E0000000 80008000

dcx2

Silence 1 health warning beep
043C3530 48000050
I HATE THAT SOUND SO GOOD RIDDANCE!!!!!!!!!!!!1111eleven

Dont pant or lean over when 1 health
043AE220 48000064

Enemies do 3 damage instead of 1
C23CA248 00000003
3803FFFD 2C000000
40800008 38000000
60000000 00000000
This way, if you get the big mushroom, you can take two hits instead of just one.  Note: This is not compatible with hetoan's 6 health code.

Initial health
044C9308 386000XX
XX = the health you want to start with.  Note: if you get a coin, it will "heal" you to your max health...

Initial max health
043B74E8 60000000
043B74EC 380000XX
XX = the max health you want to start with.  Note: If you fall below 4 health, your max health will reset to 3...

Initial max health equals initial health
043B74E8 60000000
043B74EC 7C601B78
Note: If you fall below 4 health, your max health will reset to 3...

Max health after getting hurt
043D9770 380000XX
043D9768 900301AC
043D976C 4E800020
Created to solve the problem noted in the previous two codes.  This code will trigger after you get hit, but it will not affect the initial max health.

Coins dont heal
0428D60C 38600000


Interesting thing to try...set your initial/hurt max health to 6, and your initial health to 3.  Then when you get some coins, it heals you a bit, but you start off normal.

wiiztec

#114
requested ZiT speed up code modified to accelerate up to half the speed of the original code
28750A02 FFFB0004
C23AEC9C 00000003
3D808000 818C2FFC
9181FFFC C001FFFC
D01D0278 00000000
26002FFC 40000000
86900002 3B449BA5
84200002 80002FFC
E2000002 00000000
2A750A02 FFFB0004
043AEC9C D01D0278
80000002 3F800000
84200002 80002FFC
E0000000 80008000
If there's any code at all that you want to be button activated, or even able to toggle on & off, and I have the game, just PM me and I'll make it happen

Deathwolf

#115
Moonjump [Deathwolf]
48000000 80E00DB4
DE000000 80008180
4A100000 0042F900
14000030 XXXXXXXX
E0000000 80008000

3F800000 = Default
lolz

Thomas83Lin

#116
done by request

Reset All Clear Times [Thomas83Lin]
044DCF88 48000004
*Permanent Per Save Slot if Saved*

Low Clear Times [Thomas83Lin]
044DCF88 48000004
044DCF8C 38000001
*Permanent Per Save Slot if Saved*

Max Mini Games High Score\Best Race Time [Thomas83Lin]
42000000 90000000
03E060F8 00000001
03E060F0 00000001
03E060FC 0000FFFF
03E06124 0000FFFF
03E06104 0000FFFF
03E0611C 0000FFFF
03E06114 0000FFFF
03E0610C 0000FFFF
E0000000 80008000
*Save Slot 1*

Max Mini Games High Score\Best Race Time [Thomas83Lin]
42000000 90000000
03E070D8 00000001
03E070D0 00000001
03E070DC 0000FFFF
03E070E4 0000FFFF
03E070EC 0000FFFF
03E070F4 0000FFFF
03E070FC 0000FFFF
03E07104 0000FFFF
E0000000 80008000
*Save Slot 2*

Max Mini Games High Score\Best Race Time [Thomas83Lin]
42000000 90000000
03E080B0 00000001
03E080B8 00000001
03E080BC 0000FFFF
03E080C4 0000FFFF
03E080CC 0000FFFF
03E080D4 0000FFFF
03E080DC 0000FFFF
03E080E4 0000FFFF
E0000000 80008000
*Save Slot 3*

Reset Mini Games High Score\Best Race Time [Thomas83Lin]
42000000 90000000
03E060F8 00000000
03E060F0 00000000
03E060FC 00000000
03E06124 00000000
03E06104 00000000
03E0611C 00000000
03E06114 00000000
03E0610C 00000000
E0000000 80008000
*Save Slot 1*

Reset Mini Games High Score\Best Race Time [Thomas83Lin]
42000000 90000000
03E070D8 00000000
03E070D0 00000000
03E070DC 00000000
03E070E4 00000000
03E070EC 00000000
03E070F4 00000000
03E070FC 00000000
03E07104 00000000
E0000000 80008000
*Save Slot 2*

Reset Mini Games High Score\Best Race Time [Thomas83Lin]
42000000 90000000
03E080B0 00000000
03E080B8 00000000
03E080BC 00000000
03E080C4 00000000
03E080CC 00000000
03E080D4 00000000
03E080DC 00000000
03E080E4 00000000
E0000000 80008000
*Save Slot 3*

[spoiler][/spoiler]


ardemii

 ;D
Second jump is third jump
48000000 807ECEF8
DE000000 80008180
10003E7F 00000001
E0000000 80008000
if you continue to jump,it's always third jump

brkirch

#118
Daredevil Run Mode
043B74FC 60000000
043C3554 4800002C
043C1CBC 60000000

Full Daredevil Run Mode
04024ED0 38600001
04024ED4 4E800020
043C1CBC 60000000
Coins will not appear.  Since coins are required in some galaxies to get all of the Power Stars, it is recommended that the other Daredevil Run mode code be used if the intention is to play through the entire game with a Daredevil Run mode code enabled.

I plan to also create a code for disabling checkpoint flags and perhaps a code for Cosmic Clones at the beginning of every level and a code for adding a time limit for every Power Star, if the Daredevil Run mode codes don't already add enough difficulty for you.  

dcx2

Long jump safely into walls [DCX2]
0439D580 48000218
Normally you would bounce off the wall, now you will wall slide

Wall kick after wall kick [DCX2]
04407830 38000000
043B074C 38000000
Kick off the same surface more than once!

Initial jump is second jump [DCX2]
04399EB4 38000001
No more weak first jump

Initial jump is third jump [DCX2]
04399EB4 38000002
May be overkill...

No momentum needed for third jump [DCX2]
04399F0C 4800000C
Now you can do the third jump while standing still