WiiRd forum

Wii & Gamecube Hacking => Wii Game hacking help => Topic started by: Bully@Wiiplaza on January 15, 2012, 09:28:34 AM

Title: Rainbow Cycler
Post by: Bully@Wiiplaza on January 15, 2012, 09:28:34 AM
So I´ve found an address which changes a colour.
It´s value looks like this -> RRGGBBFF.
I want to make a code that automatically cycles through all rainbow hex colours.
Can someone help? I know that we´ll need the A8 delay codetype.

Here´s a chart for it:
http://www.computerhope.com/htmcolor.htm
Title: Re: Rainbow Cycler
Post by: Y.S. on January 15, 2012, 10:32:22 AM
Color cycler assembly: http://wiird.l0nk.org/forum/index.php/topic,7879.0.html
Title: Re: Rainbow Cycler
Post by: Bully@Wiiplaza on January 15, 2012, 12:08:38 PM
Quote from: Y.S. on January 15, 2012, 10:32:22 AM
Color cycler assembly: http://wiird.l0nk.org/forum/index.php/topic,7879.0.html
cool ;D
but I can´t find a good hook for my address.
WiiRd code style would be perfectly fine aswell.
It shouldn´t be such a long code though. :)
Title: Re: Rainbow Cycler
Post by: dcx2 on January 15, 2012, 05:38:34 PM
Y.S. rainbow code uses HSL values.  I made a C0 code some time ago that can rainbow through RGB values.  It's fairly extensible, though it's not as cool as Y.S. code.

http://wiird.l0nk.org/forum/index.php/topic,6626.0.html
Title: Re: Rainbow Cycler
Post by: hetoan2 on January 15, 2012, 08:36:29 PM
HSL is the correct way, else you'd have to do just a look up table. IIRC, Y.S.'s code can be applied at any address.