User:Sherkel/RNG Notes: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
>Sherkel
(This is really just my own curiosity, isn't it?)
>Sherkel
mNo edit summary
 
Line 22: Line 22:
ID in FRLG is 0x04000104 (Timer1 -- https://www.cs.rit.edu/~tjh8300/CowBite/CowBiteSpec.htm#Memory-Mapped%20Hardware%20Registers ); SID is upper 16 of RNG state
ID in FRLG is 0x04000104 (Timer1 -- https://www.cs.rit.edu/~tjh8300/CowBite/CowBiteSpec.htm#Memory-Mapped%20Hardware%20Registers ); SID is upper 16 of RNG state


FRLG initial seed is Timer1 as well
"FRLG initial seed is Timer1 as well

The timer starts counting when the screen changes to the "Press Start"-Screen.
The timer starts counting when the screen changes to the "Press Start"-Screen.

This is initiated by the first button press or waiting till intro is finished.
This is initiated by the first button press or waiting till intro is finished.

Once it started counting, it will do so until the initial seed has been determinated.
Once it started counting, it will do so until the initial seed has been determinated.

A soft reset will have the same effect as if you switch off the GBA.
A soft reset will have the same effect as if you switch off the GBA. "

~ flovv
~ flovv


Line 65: Line 70:


Initial seeding:
Initial seeding:

Time is in (decimal)
"Time is in (decimal)

00SSMMHH
00SSMMHH

HH from 00-11 (12-11AM), 52-63 (12-11 PM).
HH from 00-11 (12-11AM), 52-63 (12-11 PM).

0XDDMMYY date
0XDDMMYY date

X=weekday, starting at 0
X=weekday, [starting at 0]"

~ Kaphotics
~ Kaphotics


Kazowar: OFFSETS BLACK (add 0x20 to offset for white)
Kazowar: OFFSETS BLACK (add 0x20 to offset for white)

02216084 = SEED
02216084 = SEED

0221608C = 0x5D588B656C078965
0221608C = 0x5D588B656C078965

02216094 = 0x0000000000269EC3
02216094 = 0x0000000000269EC3


SEED = (0x5D588B656C078965 * SEED) + 0x0000000000269EC3;
SEED = (0x5D588B656C078965 * SEED) + 0x0000000000269EC3;

== Generation VIII ==
Shiny generation: twitter.com/Kaphotics/status/1197027047224176640