WiiRd forum

Wii & Gamecube Hacking => PAL Wii Cheat Codes => PAL Wii codes => Topic started by: Dr.Cleo on June 10, 2010, 06:23:31 PM

Title: Super Mario Galaxy 2 [SB4P01]
Post by: Dr.Cleo on June 10, 2010, 06:23:31 PM
Invincible
043CA24C 60000000

Infinite Lives
00E46558 00000063

Infinite Star Bits
02A7B3FA 000003E7

Infinite Coins
02A7B402 000003E7

Infinite Star Bits (Starship)
02E4655A 0000270F

Infinite Coins (Starship)
02E4655C 0000270F

Infinite Air
04400310 60000000
Title: Re: Super Mario Galaxy 2 [SB4P01]
Post by: Dr.Cleo on June 11, 2010, 03:20:38 PM
Added ''Infinite Air''.
Title: Re: Super Mario Galaxy 2 [SB4P01]
Post by: wiiztec on June 11, 2010, 03:27:54 PM
You know you don't really need to put that in code tags
Title: Re: Super Mario Galaxy 2 [SB4P01]
Post by: Thomas83Lin on June 11, 2010, 11:35:39 PM
It seems to me all the Ntsc Asm codes should work on Pal.
I noticed your Invincible code is exactly the same as the Ntsc Inf Health and Inf Air is the same also. it may be worth checking the rest of the codes before re-hacking all of them

edited: corrected info
Title: Re: Super Mario Galaxy 2 [SB4P01]
Post by: ardemii on June 12, 2010, 09:26:22 AM
NTSC-US size modifier doesn't work on PAL game :D.
Title: Re: Super Mario Galaxy 2 [SB4P01]
Post by: Deathwolf on June 12, 2010, 09:58:30 AM
because it's ntsc?lol
Title: Re: Super Mario Galaxy 2 [SB4P01]
Post by: ardemii on June 12, 2010, 06:37:59 PM
Increase/decrease starbits (Starship)
28B37FCA 00000200
00E4657A 00000063
E0000000 80008000
28B37FCA 00000100
02E4657A 00000000
E0000000 80008000
Press 1 for increase and 2 for decrease. ;D
Title: Re: Super Mario Galaxy 2 [SB4P01]
Post by: ardemii on June 12, 2010, 06:50:54 PM
Quote from: Deathwolf on June 12, 2010, 10:01:58 AM
Size Modifier
48000000 807ECF5C
DE000000 80008180
4A100000 0000002C
14000000 xxxx0000
14000004 xxxx0000
14000008 xxxx0000
E0000000 80008000

It's doesn't work... ;)
Title: Re: Super Mario Galaxy 2 [SB4P01]
Post by: Deathwolf on June 12, 2010, 07:04:39 PM
yes maybe pointers like this can't be porten. 8)

NTSC to PAL = +64
but not on pointers by 48 codetype :D
Title: Re: Super Mario Galaxy 2 [SB4P01]
Post by: wiiztec on June 12, 2010, 07:14:01 PM
Quote from: Deathwolf on June 12, 2010, 07:04:39 PM
yes maybe pointers like this can't be porten. 8)

NTSC to PAL = +64
but not on pointers by 48 codetype :D

Did you not even test it before posting it here?
Title: Re: Super Mario Galaxy 2 [SB4P01]
Post by: Deathwolf on June 12, 2010, 07:20:23 PM
no atm I can't test it.
Title: Re: Super Mario Galaxy 2 [SB4P01]
Post by: wiiztec on June 12, 2010, 07:26:59 PM
Then why did you post it outside of the testing area?
Title: Re: Super Mario Galaxy 2 [SB4P01]
Post by: ardemii on June 12, 2010, 09:31:11 PM
How to create jesus mode in SGM2
nes asm (super mario 64):

lui     $a0, 0x8034     
lh    $a0, 0xB1E6($a0)    ; Load water level
mtc1    $a0, $f6    ; Move it to cop1
nop       
cvt.s.w    $f4, $f6    ; Convert it to a floating point number
c.lt.s    $f18, $f4    
nop       
bc1f    end    ; if (waterlevel > ground_y)
nop       
mov.s    $f18, f4    ; ground_y = waterlevel
end:       
j    0x8038176C    
swc1    $f18, 0x0000($t8)    ; Taken from the break out location
j    0x8038176C    
swc1    $f18, 0x0000($t8)    ; Taken from the break out location

(http://doc.kodewerx.org/images/hacking_n64/mario64_jesus_mode.png)

http://doc.kodewerx.org/hacking_n64.html#asm_jesus_mode (http://doc.kodewerx.org/hacking_n64.html#asm_jesus_mode)
Title: Re: Super Mario Galaxy 2 [SB4P01]
Post by: wiiztec on June 12, 2010, 11:10:33 PM
I think the best way to make a walk on water code would be to look into how dash pepper yoshi does it
Title: Re: Super Mario Galaxy 2 [SB4P01]
Post by: ardemii on June 13, 2010, 08:49:55 AM
I thinks is it for wii

lis r0, 0x8034    
lwz  r0, 0xB1E6(r0)    ; Load water level
mtc1 r0, f6    ; Move it to cop1
nop      
cvt.s.w   f4, f6    ; Convert it to a floating point number
c.lt.s    f18, f4    
nop      
blt   end    ; if (waterlevel > ground_y)
nop      
mov.s    f18, f4    ; ground_y = waterlevel
end:      
j    0x8038176C    
swc1    f18, 0x0000(t8)    ; Taken from the break out location
j    0x8038176C    
swc1    f18, 0x0000(t8)    ; Taken from the break out location
Title: Re: Super Mario Galaxy 2 [SB4P01]
Post by: ardemii on June 13, 2010, 04:33:21 PM
Infinite Fire Mario:
043CBC9C 60000000
 :cool:
Title: Re: Super Mario Galaxy 2 [SB4P01]
Post by: ardemii on June 13, 2010, 05:22:03 PM
Infinite Rainbow Mario
04527F3C 60000000
Title: Re: Super Mario Galaxy 2 [SB4P01]
Post by: ardemii on June 28, 2010, 08:40:10 PM
Moon Jump
C23A2FE0 00000007
48000005 7C8802A6
807F02D4 90640024
807F02D8 90640028
807F02DC 9064002C
3C80806C 48000010
00000000 00000000
00000000 00000000
C2388E44 00000007
3C808075 80846100
54840529 41820024
48000005 7C8802A6
8064FFD4 907F02D4
8064FFD8 907F02D8
8064FFDC 907F02DC
7FE3FB78 00000000
Original by bkirch, ported by ardemii
Title: Re: Super Mario Galaxy 2 [SB4P01]
Post by: ardemii on July 02, 2010, 09:09:12 PM
If button is pressed Increase/decrease coins [ardemii]
28756102 00000200
00A7B402 00000063
E0000000 80008000
28756102 00000100
02A7B402 00000000
E0000000 80008000
Press 1 for increase and 2 for decrease.

If button is pressed Increase/decrease starbits [ardemii]
28756102 00000200
00A7B3FA 00000063
E0000000 80008000
28756102 00000100
02A7B3FA 00000000
E0000000 80008000
Press 1 for increase and 2 for decrease.

If button is pressed Increase/decrease starbits (Starship) [ardemii]
28756102 00000200
00E4655A 00000063
E0000000 80008000
28756102 00000100
02E4655A 00000000
E0000000 80008000
Press 1 for increase and 2 for decrease.

If button is pressed Increase/decrease coins (Starship) [ardemii]
28756102 00000200
00E4655C 00000063
E0000000 80008000
28756102 00000100
02E4655C 00000000
E0000000 80008000
Press 1 for increase and 2 for decrease.

If button is pressed Increase/decrease lives [ardemii]
28756102 00000200
00E46558 00000063
E0000000 80008000
28756102 00000100
02E46558 00000000
E0000000 80008000
Press 1 for increase and 2 for decrease.

cloud mario/luigi starts with 16 clouds instead of 3 toggle A+B+Z [ardemii]
28756102 00002C00
0430B0FC 4180FF90
CC000000 00000001
0430B0FC 4BFFFF90
E0000000 80008000
off by default
All credits goes to wiiztec

invisible mario/luigi toggle ++- A+B+C [ardemii]
28756102 00004C00
04384DC4 8005000C
CC000000 00000001
04384DC4 38000001
E0000000 80008000
off by default
ALL credits goes to wiiztec

Speed up (press Down) [ardemii]
28756102 FFFB0004
C23AEC9C 00000003
3D808000 818C2FFC
9181FFFC C001FFFC
D01D0278 00000000
26002FFC 40000000
86900002 3B449BA5
84200002 80002FFC
E2000002 00000000
2A756102 FFFB0004
043AEC9C D01D0278
80000002 3F800000
84200002 80002FFC
E0000000 80008000
Credit goes to Zit and wiiztec

Moon Jump [ardemii]
C23A2FE0 00000007
48000005 7C8802A6
807F02D4 90640024
807F02D8 90640028
807F02DC 9064002C
3C80806C 48000010
00000000 00000000
00000000 00000000
C2388E44 00000007
3C808075 80846100
54840529 41820024
48000005 7C8802A6
8064FFD4 907F02D4
8064FFD8 907F02D8
8064FFDC 907F02DC
7FE3FB78 00000000
Credit goes to bkirch

boulder mario/luigi rolls until he hits something [ardemii]
0443F018 60000000
28756102 00004004
0443F018 386000B3
E0000000 80008000
press C+down to stop rolling if you can't hit anything
All credits goes to wiiztec

no spin recharge time [ardemii]
48000000 807F2608
DE000000 80008180
10000E3F 00000000
E0000000 80008000
Original by wiiztec, ported by ardemii

Switch between spinn and fly V2 [ardemii]
48000000 807F2608
DE000000 80008180
10000E3F 00000000
E0000000 80008000
28756102 00000100
043EE754 A06306F8
CC000000 00000001
043EE754 38600007
E0000000 80008000
Press 2 button
Code based on port of bkirch fly when spin used and wiiztec no spin recharge time.Thanks to Bamsen

Switch between spinn and fly V3 [ardemii]
48000000 807F2608
DE000000 80008180
10000E3F 00000000
E0000000 80008000
28756102 00000100
043EE754 A06306F8
CC000000 00000001
043EE754 38600007
C23EB034 00000002
3FC08000 C03E2FF4
60000000 00000000
28756102 FFFB0004
86900009 3CF5C28F
84200009 80002FF4
28756103 FFFB0000
24002FF4 40200000
26002FF4 A0000000
86900009 BCF5C28F
84200009 80002FF4
E2000003 00000000
28756102 F7FF0800
80000009 40200000
84200009 80002FF4
E0000000 80008000
Press 2 button for switch
hold down to accelerate while flying
Code based on port of bkirch fly when spin used and wiiztec no spin recharge time and default flying speed is 2.5 times faster + hold down to accelerate while flying.Thanks to Bamsen

default flying speed is 2.5 times faster + hold down to accelerate while flying [ardemii]
C23EB034 00000002
3FC08000 C03E2FF4
60000000 00000000
28756102 FFFB0004
86900009 3CF5C28F
84200009 80002FF4
28756103 FFFB0000
24002FF4 40200000
26002FF4 A0000000
86900009 BCF5C28F
84200009 80002FF4
E2000003 00000000
28756102 F7FF0800
80000009 40200000
84200009 80002FF4
E0000000 80008000
default flying speed is 40200000 (2.5 times normal)if you want to change it use this site http://babbage.cs.qc.edu/IEEE-754/Decimal.html (change both)
All credits goes to wiiztec

Mario Size [ardemii]
28756102 00000200
48000000 807F2608
DE000000 80008180
4A100000 0000002C
14000000 xxxx0000
14000004 xxxx0000
14000008 xxxx0000
E0000000 80008000
Original by Zit, ported by ardemii
press 1
-Size=xxxx
-3E80=:4
-3F00=:2
-3F80=Normal
-3FC0=x1.5
-4000=x2
-4020=x2.5
-4040=x3
-4060=x3.5
-4080=x4
-40A0=x5
-40C0=x6
-4100=x8
-4120=x10
-4180=x16
-41A0=x20
-4200=x32
-4234=x45
-4280=x64
-42B4=x90
-4307=x135
-4334=x180
-4361=x225
-4387=x270
-43B4=x360

Second jump is third jump [ardemii]
48000000 807F2608
DE000000 80008180
10003E7F 00000001
E0000000 80008000
if you continue to jump,it's always third jump

Switch between spinn and fly V4 [ardemii]
48000000 807F2608
DE000000 80008180
10000E3F 00000000
10003E7F 00000001
E0000000 80008000
28756102 00000100
043EE754 A06306F8
CC000000 00000001
043EE754 38600007
C23EB034 00000002
3FC08000 C03E2FF4
60000000 00000000
28756102 FFFB0004
86900009 3CF5C28F
84200009 80002FF4
28756103 FFFB0000
24002FF4 40200000
26002FF4 A0000000
86900009 BCF5C28F
84200009 80002FF4
E2000003 00000000
28756102 F7FF0800
80000009 40200000
84200009 80002FF4
E0000000 80008000
Press 2 button for switch
hold down to accelerate while flying
No spin time recharge
Second jump is third jump
Code based on port of bkirch fly when spin used and wiiztec no spin recharge time and default flying speed is 2.5 times faster + hold down to accelerate while flying and ardemii Second jump is third jump.Thanks to Bamsen
Title: Re: Super Mario Galaxy 2 [SB4P01]
Post by: Deathwolf on November 26, 2012, 06:22:36 PM
Low Gravity After Shakejump [Deathwolf]
0439A53C 38030003
0439A540 4C00012C
0439A544 60000000

/Float/ Speed Modifier [Deathwolf]
C23ACB60 00000009
7FE4042E 3B200001
3A0000FF 2C00001C
28170000 4082002C
3EA0XXXX 62B50000
92A4001C EE62982A
EF5B06B2 EF9DE028
EC420472 EC210472
EC000472 EC840172
60000000 00000000

XXXX Values:

3F80 - Default