Quote from: Friker on March 03, 2016, 04:57:26 PM
this game has SLOW and FAST simulation options!! I do not know differences and impact on replays. I guess everyone has set up a fast simulation option. Gutix's replay ran OK with both options.
The game runs some relatively heavy code during startup and measures how much time it takes. Based on the amount of time, the game runs in either 10 FPS or 20 FPS IIRC. DosBox' emulation flags obviously affect the timing code. Also the FPS is saved in replays, which affects how the replay is played back on other slower/faster machines as well.
The measurement code has been ported and can be seen here (near the comment "// Timing measures.")
I think almost all bugs in Stunts has something with over/uderflow of registers/variables. If I understand correctly game_pc.exe is a re-compiled executable. Are you there are registers/variables exactly the same size as in the original game?
The stunts code that has been ported to C so far has been written carefully to retain any important weirdness, so indeed the registers/variables should be exactly the same size as in the original game.
Looks like its been almost a year since anybody last worked on this. The source can be browsed in its entirety online here: