4 ms·
This video left me with a lot of unanswered questions, probably because I know nothing about reverse engineering console games. How did they figure out the RNG
by fingerlocks 6y ago
This video left me with a lot of unanswered questions, probably because I know nothing about reverse engineering console games.
How did they figure out the RNG method, and the initial seed values? And how were they able to count the number of RNG invocations while the game was running? This information was crucial for the rest of the setup, but not at all obvious how it was acquired.
- Jasper_ 6y agoNintendo left symbol maps for the game on the disk, so they likely found the random number generator function within that, which is named cM_rndF. To count invocations, you could patch the game to increment a counter on every RNG call, and try an example speedrun. Or you could do a brute force to find the rough invocation count from the internal state.