3 ms·
I'm intrigued by this: > I hex-edited the binary and replaced the random number lookup table with static values If you have a look up table that you randomly
by zak_mc_kracken 11y ago
I'm intrigued by this:
> I hex-edited the binary and replaced the random number lookup table with static values
If you have a look up table that you randomly look up, doesn't that mean you already have a random source? In this case, why need a random look up table at all?
- JasuM 11y agoIt reads the next number in the list, it's not a random lookup. See https://github.com/id-Software/DOOM/blob/master/linuxdoom-1.10/m_random.c https://github.com/id-Software/DOOM/blob/master/linuxdoom-1....
- justsid 11y agoDoesn’t that already make it deterministic though? It’s always the same sequence of “random” numbers, even before replacing the lookup table it should’ve been deterministic.