I intend to use the Mersenne twister to generate a level using a seed , but I also want to make fixed levels, so for now I'm using XML to store data of the level (~40 numbers).
However, it would be awesome if I could get the seed of a specific level by reversing the process.
I guess if I used my own pseudo-random number generator I possibly could do it, but my question is can I do it with the Mersenne twister?
Here is an example of what I want to do:
If the seed 1234
gives output 25 65 78 01
, can I get the seed 1234 knowing only the generated output?
Thanks in advance! (For those who wonder why I'd want to do this; my XML parsing is a lot slower than generating a level, plus XML files are bigger than seed numbers.)