WiiRd forum

Wii & Gamecube Hacking => Wii Game hacking help => Topic started by: g6flavor on June 22, 2009, 06:03:23 AM

Title: a different type of Serial code..is it possible?
Post by: g6flavor on June 22, 2009, 06:03:23 AM
I have a list of items and the list applies to all characters in the game. The difference between each character is 100hex
For Example:

Character 1
item 1
04444444 00000001
Item 2
04444448 00000002
item 3
0444444C 00000003

Character 2
item 1
04444544 00000001
Item 2
04444548 00000002
item 3
0444454C 00000003

To make the item codes short for character 1
10 items
08444444 00000001
20090004 00000001

To make the item codes short for character 2
10 items
08444544 00000001
20090004 00000001

If there are 50 Characters in the game, I'll have to do 50 codes separately

Is it possible to combine all 50 Characters codes together (2 x 50 = 100 lines of codes) and make a shorter code like 4 lines?
Title: Re: a different type of Serial code..is it possible?
Post by: Y.S. on June 22, 2009, 08:24:37 AM
It goes something like this;

4A000000 80444444  Set po to start address
60000031 00000000  Set repeat number to 49
18000000 00000001  Serial code 1/2
20090004 00000001  Serial code 2/2
5A100000 00000100  po += 0x00000100
62000000 00000000  Execute repeat
E0000000 80008000  Terminator
Title: Re: a different type of Serial code..is it possible?
Post by: g6flavor on June 23, 2009, 06:32:17 AM
Thanks, I'll give it a try.
Update: Working pefectly! ;D