Wheel of Fortune [SFTE78]

Started by Welohabi, December 28, 2012, 09:28:00 AM

Previous topic - Next topic

Welohabi

I'm trying to shorten the following code I made for Wheel of Fortune.

All Answers = "Welohabi" [Welohabi]
06586B46 0000000C
57656C6F 68616269
00000000 00000000
06586BBA 0000000C
57656C6F 68616269
00000000 00000000
06586C2E 0000000C
57656C6F 68616269
00000000 00000000
06586CA2 0000000C
57656C6F 68616269
00000000 00000000
06586D16 0000000C
57656C6F 68616269
00000000 00000000
06586D8A 00000020
57656C6F 68616269
00000000 00000000
06586DFE 0000000C
57656C6F 68616269
00000000 00000000
06586E72 0000000C
57656C6F 68616269
00000000 00000000
06586EE6 0000000C
57656C6F 68616269
00000000 00000000
06586F5A 0000000C
57656C6F 68616269
00000000 00000000
06587042 0000000C
57656C6F 68616269
00000000 00000000
0658712A 0000000C
57656C6F 68616269
00000000 00000000
0658719E 0000000C
57656C6F 68616269
00000000 00000000
E0000000 80008000


I could shorten it using 08 codetype:
All Answers = "Welohabi" [Welohabi]
08586B46 57656C6F
200C0074 00000000
08586B4A 68616269
200C0074 00000000
08586B4A 00000000
000C0074 00000000
E0000000 80008000

I really wanted to try and set it up using the following ASM instructions.
li r10, 0
lis r12, 0x8058
LOOP:
lis r11, 0x5765
ori r11, r11, 0x6C6F
stw r11, 0x6B46 (r12)
lis r11, 0x6861
ori r11, r11, 0x6269
stw r11, 0x6B4A (r12)
stfs f22, 0x6B4E (r12)
addi r12, r12, 0x0074
addi r10, r10, 1
cmpwi r10, 13
ble- LOOP

The game freezes every time I run the C0 code. It also does not catch the exception in the breakpoint tab. Does anyone see any problem with the ASM?
The energy you give, you shall receive.

Bully@Wiiplaza

You don´t need a terminator after 06 or 08 codes.
My Wii hacking site...
http://bullywiihacks.com/

My youtube account with a lot of hacking videos...
http://www.youtube.com/user/BullyWiiPlaza

~Bully

Welohabi

Ah, I see, because those codetype actually designate when they will end in the codetypes instructions. Thanks Bully, I hope someone can find the issue with the ASM.
The energy you give, you shall receive.