User:Sherkel/RNG Notes: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
>Sherkel No edit summary |
>Sherkel No edit summary |
||
Line 18: | Line 18: | ||
XD LCG: increment 269EC3, multiplier 343FD |
XD LCG: increment 269EC3, multiplier 343FD |
||
Method H determines nature first (to account for Synchronize |
Method H determines nature first (to account for Synchronize [https://github.com/Admiral-Fish/RNGReporter/blob/3afa1c6cdb14702b6de842b2766cf9e1b2e767eb/RNGReporter/Objects/FrameGenerator.cs#L3164 and the routine described here]), then conducts a "hunt" for a PID that matches it in the possible ones for the numbered method, then generates the two IV halfwords based on above |
||
blocks of three 31s (0b11111 11111 11111) are bold |
blocks of three 31s (0b11111 11111 11111) are bold |
Revision as of 10:58, 12 November 2019
Well well well, how the turntables...
Method | PID1 | PID2 | IV1 | IV2 |
---|---|---|---|---|
1 | 1 | 2 | 3 | 4 |
2 | 1 | 2 | 4 | 5 |
4 | 1 | 2 | 3 | 5 |
Colo/XD | 4 | 5 | 1 | 2 |
Reason for Method 4: VBlank takes priority when it occurs; Box probably doesn't emulate VCount properly
XD LCG: increment 269EC3, multiplier 343FD
Method H determines nature first (to account for Synchronize and the routine described here), then conducts a "hunt" for a PID that matches it in the possible ones for the numbered method, then generates the two IV halfwords based on above
blocks of three 31s (0b11111 11111 11111) are bold
Frame | 32bit | 16bit high | Method 1 PID | Method 1 IVs | Method 1 IVs (IV1, IV2) | Method 2 IVs | Method H-2 PID | Method H-2 IVs |
---|---|---|---|---|---|---|---|---|
-1 | 35CC77B9 | 35CC | EF72C69F | 04AF7FFF | ? | 3FFFFFFF | ||
0 | C69FB838 | C69F | 7942EF72 | 3FFFFFFF | FFFFFFFF | 3FFFA899 | E1695F0A(*) | 34AC44F6 |
1 | EF72E04B | EF72 | FFFF7942 | 3FFFA899 | FFFFA899 | 30A27E81 | ||
2 | 7942BA62 | 7942 | FFFFFFFF | |||||
3 | FFFF982D | FFFF | 1158FFFF | |||||
4 | FFFFE19C | FFFF | D3E11158 | |||||
5 | 1158F7DF | 1158 | 6536D3E1 |
(*) E1695F0A is Timid and a nearby frame (48), but not the first Timid frame after 1 (25)...