WiiRd forum

Wii & Gamecube Hacking => Wii Game hacking help => Topic started by: γRB on July 09, 2013, 10:32:51 PM

Title: "Random" numbers generator
Post by: γRB on July 09, 2013, 10:32:51 PM
Anyone?  ;D
Title: Re: "Random" numbers generator
Post by: γRB on July 09, 2013, 10:37:58 PM
I wanted to go ahead and try, but..in case someone's already done it, I opened this topic.
Title: Re: "Random" numbers generator
Post by: dcx2 on July 10, 2013, 07:42:40 PM
You need a pseudo-random number generator.  In embedded systems a PRNG is usually made with a Linear Feedback Shift Register (LFSR).  You can probably find pre-canned LFSR code on the 'net and the operations are straightforward, so porting it to PPC ASM is left as an exercise for the reader.