Author Topic: RNG seeding and manipulation  (Read 25739 times)

Offline Greenmittenz

  • A Member group
  • Posts: 101
    • View Profile
RNG seeding and manipulation
« on: May 19, 2015, 05:39:18 AM »
I have been trying to figure this out myself though admittedly it is beyond me. Has anyone (maybe through looking at translation stuff) found how RNG is determined or seeded?

I am assuming RNG works like it does in most games where it just runs on a loop that counts up per frame so manipulation of RNG is just a matter of counting frames and pressing inputs on specific frames but worth asking if it runs differently or through a combination of methods as that does seem to happen on occasion.

The part I am really curious about is if anyone has any idea how RNG is seeded. My first assumption would be that it is seeded as soon as you start the game however as the first thing that happens before you have any control is the loading screen which shows a random puppet, this would suggest that the seed is based on something such as your computers internal clock or something.

If anyone has happened across information on this topic or is more knowledgeable then I am to be able to do some research I would love to hear about it. Most of my interest is from the perspective of speedrunning but it could have uses for making competitive teams or finding rarer encounters without "cheating" by changing the data to give you want you want.
Puppet Dance Performance Any% speedrun in 1:42:38 (WR) http://www.twitch.tv/greenmittenz/v/17460931

Offline Elyk

  • Moderator
  • A Member group
  • *****
  • Posts: 66
    • View Profile
Re: RNG seeding and manipulation
« Reply #1 on: May 25, 2015, 09:58:57 PM »
Seeing as this is a PC game my guess is that he seeds random() using your system clock. That is the most common method.