WiiRd forum

Wii & Gamecube Hacking => Wii Game hacking help => Topic started by: ssbbdude on May 31, 2009, 10:26:20 PM

Title: MoonJump Code
Post by: ssbbdude on May 31, 2009, 10:26:20 PM
I need help on a MoonJump code for Super Mario 64 I got the correct addresses with a button activator but I have only managed so Mario when a Button is Pressed goes to a certain hight so he wont carry on he locks at a certain value I break pointed it and what do I do from there? Please help :)

Heres The Code, and the Breakpoints:


Breakpoints:

CR  : 28000088  XER : 00000000  CTR : 80037670  DSIS: 00400000
DAR : 81174010  SRR0: 81295CDC  SRR1: 0000A032  LR  : 80AE7798
r0  : 81294698  r1  : 8026DCE0  r2  : 80264B40  r3  : 809F5984
r4  : 00000C87  r5  : 00309470  r6  : 80E521EC  r7  : 80E6ABA0
r8  : 00E6ABA0  r9  : 809F68E4  r10 : 00000000  r11 : 42480000
r12 : 80309250  r13 : 802634C0  r14 : 00000036  r15 : 80201E80
r16 : 80309470  r17 : 80309474  r18 : 42700000  r19 : 00000100
r20 : 00000000  r21 : 00000000  r22 : FFFFE4EF  r23 : 00000000
r24 : 00000000  r25 : 00000000  r26 : 00000000  r27 : 00000037
r28 : 00000000  r29 : 80308D40  r30 : 00000000  r31 : 80201E60

f0  : 00000000  f1  : 43640000  f2  : FFC00000  f3  : 4F800000
f4  : 4F000000  f5  : 3910E643  f6  : 3C800000  f7  : 43A00000
f8  : 00000000  f9  : 4B800000  f10 : 00000000  f11 : BB891AC7
f12 : 4B47C4A8  f13 : 00000000  f14 : 80000000  f15 : 00000000
f16 : 3F000000  f17 : 00000000  f18 : 00000000  f19 : 00000000
f20 : 00000000  f21 : 00000000  f22 : 3EFAFEF7  f23 : 00000000
f24 : BF52E154  f25 : 00000000  f26 : 3F5F20DA  f27 : 00000000
f28 : BE2407F6  f29 : 00000000  f30 : 3EED37D5  f31 : 00000000


81295CDC:  7CA5382E   lwzx   r5,r5,r7
81295CE0:  4E800020   blr   
81295CE4:  00000000   .word   0x00000000
81295CE8:  00000000   .word   0x00000000
81295CEC:  00000000   .word   0x00000000
81295CF0:  00000000   .word   0x00000000
81295CF4:  00000000   .word   0x00000000
81295CF8:  46000011   .word   0x46000011
81295CFC:  1234ABCD   .word   0x1234abcd
81295D00:  54C6103A   rlwinm   r6,r6,2,0,29
81295D04:  38E30B60   addi   r7,r3,2912
81295D08:  7CC6382E   lwzx   r6,r6,r7
81295D0C:  80E60008   lwz   r7,8(r6)
81295D10:  7CA53A14   add   r5,r5,r7
81295D14:  80E60004   lwz   r7,4(r6)
81295D18:  80E70004   lwz   r7,4(r7)


Code:

289F42D8 00008000 < Activator
05174010 44444444 < Value Mario Locks at

Thanks in advance ;)


Title: Re: MoonJump Code
Post by: Bonzai7 on May 31, 2009, 10:31:37 PM
http://wiird.l0nk.org/forum/index.php/topic,1454.0.html (http://wiird.l0nk.org/forum/index.php/topic,1454.0.html)  ;)
Title: Re: MoonJump Code
Post by: ssbbdude on May 31, 2009, 10:42:27 PM
oh thanks now i need the program :P
Title: Re: MoonJump Code
Post by: Romaap on May 31, 2009, 10:44:55 PM
is it even possible to have an opcode at 81295CDC?
Title: Re: MoonJump Code
Post by: Y.S. on June 01, 2009, 12:10:22 AM
Quoteis it even possible to have an opcode at 81295CDC?

VC game is actually an emulator & ROM bundled together. The emulator interprets the instructions in game's ROM, and stores the result at 0x81000000~ memory to execute.
What is problematic here is that the memory allocated for interpreted instructions is dynamically allocated. I haven't succeeded in making ASM code for VC games for this reason...  :-[
Title: Re: MoonJump Code
Post by: Romaap on June 01, 2009, 12:15:50 AM
It is possible to use the PO for ASM codes right?
Title: Re: MoonJump Code
Post by: ssbbdude on June 01, 2009, 04:27:17 PM
the program didnt work any other ideas?