WiiRd forum

Wii & Gamecube Hacking => Wii Game hacking help => Topic started by: luigi on January 27, 2009, 04:02:07 AM

Title: Problem writing codes
Post by: luigi on January 27, 2009, 04:02:07 AM
     Let me first say that I have alot of experience hacking codes on other systems. I seem to be haveing alot of trouble writing my codes correctly for Wiird. I have read the document at http://www.usbgecko.com/codetypes.htm (http://www.usbgecko.com/codetypes.htm) Here is what I would like to know. If you find an address at 80224466 and want to write 32 bit constant write it would be 04224466 xxxxxxxx but what if the address is 81224466? then how do you write that as 32 bit constant write? With the old psx the prefix was only one digit and you changed the 8 in the address. On wii the prefix is two digits so how do you tell it that the address being written to is 81xxxxxx and not 80xxxxxx?

Here are my addresses

816CF038
816CF03c

How do I write 32 bit constant  to a value of 03e7?



Title: Re: Problem writing codes
Post by: Link on January 27, 2009, 07:13:02 AM
It's simple.. while 04 writes to 80 (considering the base address is 80000000) you might have recognized the next availible code type is not 05 but 06. This is because 05 still belongs to 04 - to write to 81XXXXXX you simply use 05XXXXXX - to write to 90000000+ you need to change the base address.
Title: Re: Problem writing codes
Post by: luigi on January 28, 2009, 07:00:02 PM
     Thanx, that would work. Now if I can get my value to stop constantly incrementing the address (maybe an if/then code) then I will have it.