Hello Paul,
Thanks for sharing!
Search found 8 matches
- 23.03.2020, 00:56
- Forum: General Forum
- Topic: My GP2/GP3 Tools are now open source
- Replies: 12
- Views: 14812
- 18.10.2019, 11:08
- Forum: General Forum / Requests
- Topic: Non-championship races vs. championship difference
- Replies: 61
- Views: 63578
Re: Non-championship races vs. championship difference
With call I mean function call, which means usage of the RNG. Every time the game needs a random number it calls the RNG function. This happens constantly during a session.
- 09.10.2019, 14:33
- Forum: General Forum / Requests
- Topic: Non-championship races vs. championship difference
- Replies: 61
- Views: 63578
Re: Non-championship races vs. championship difference
The sequence is never changed, it's just the current position in the sequence that is changed (advanced by 1 with each call). The position it is at when a session starts determines its playthrough, until user input is involved. Except for replays, when recorded user input is being replayed and resul...
- 07.10.2019, 10:25
- Forum: General Forum / Requests
- Topic: Non-championship races vs. championship difference
- Replies: 61
- Views: 63578
Re: Non-championship races vs. championship difference
So it has to run all those XOR and Shifts operations and just assigning a random value to "N" wouldn't work, right? N is an iteration count based on the timer value, which is kind of really random, though with DosBox and automatic startup script you could start to see common occurrences, unless Dos...
- 06.10.2019, 12:40
- Forum: General Forum / Requests
- Topic: Non-championship races vs. championship difference
- Replies: 61
- Views: 63578
Re: Non-championship races vs. championship difference
A TSR is a Terminate and stay resident program . This is the way you'd hook into an executable in the background in DOS. I'm working on a new utility similar to GP2Lap/GPxPatch, but it's called GPTest for now. I'm also working on newer versions of GPLapTim, GPPerf, and CCPit (some of it has been rel...
- 06.10.2019, 12:33
- Forum: General Forum / Requests
- Topic: Non-championship races vs. championship difference
- Replies: 61
- Views: 63578
Re: Non-championship races vs. championship difference
When I say external timer I refer to a system/hardware timer outside of the game. For F1GP it's Intel 8253 . For GP2 this would be the same. For GP3 and GP4 it's a Windows API called QueryPerformanceCounter. All 5 bytes are processed using XORs and shifts on each call, resulting in a very long seque...
- 04.10.2019, 11:03
- Forum: General Forum / Requests
- Topic: Non-championship races vs. championship difference
- Replies: 61
- Views: 63578
Re: Non-championship races vs. championship difference
That's interesting. I'll have to look up if GP2 uses some different input for the seed. Do you already know if this also happens in real DOS?
PS: I'm a new member so my posts are being moderated before being published. It would be nice if the moderator can increase my clearance level already
PS: I'm a new member so my posts are being moderated before being published. It would be nice if the moderator can increase my clearance level already
- 03.10.2019, 23:38
- Forum: General Forum / Requests
- Topic: Non-championship races vs. championship difference
- Replies: 61
- Views: 63578
Re: Non-championship races vs. championship difference
Hi, The fact that your random numbers are different only when the quickrace is aborted is because the sequence for the next race will continue where the previous race left off. This is because there is no real random seed in the game. There's only a random number generator (RNG) state of 5 bytes. On...