Skip to content

Toy Story Racer Recompiled 0.3.4 (experimental: rollback online play)

Pre-release
Pre-release

Choose a tag to compare

@IraFunesto IraFunesto released this 17 Nov 17:48
· 3 commits to master since this release

Experimental release. Online play is still young. If you only play locally, 0.2.2 remains the stable release. This release does not connect to 0.3.1 or older: both players need 0.3.4.

Added

  • Rollback netcode (experimental): Mods → Online: response to your buttons → Immediate (rollback, experimental), on both PCs (the connection is refused if they differ). Your buttons act on the very next frame instead of a few frames late; the other player's buttons are guessed until they arrive, and when a guess was wrong the game goes back the few frames since and replays them unseen. The default, Wait for the other player, keeps the tested lockstep mode.
    • Tested over the internet (about 60 ms round trip, an i7-4790K on the other side): 60 fps on both PCs, no noticeable input lag, rollbacks of 3–6 frames.
    • The two PCs keep their pace together (the one running ahead slows imperceptibly instead of stopping in jolts).
    • If the two games ever differ, each PC writes online_desync_<host|join>_<frame>.bin next to the game: sending both files (with both tsr_online.log) shows exactly what differed.

Changed

  • A much lighter game: about 35% less CPU work per frame than 0.3.0. The game's own code counts a flat cost per instruction instead of modelling the console's CPU pipeline (it already ran overclocked and paced on VBlank), the draw lists are consumed at once instead of the game polling the GPU while they are sent, the controller exchanges a byte 8x faster, and the native renderer reads the game's memory directly.
  • No vsync during online play (from 0.3.1): a frame that just missed the screen's refresh no longer costs a whole refresh on both PCs.

Fixed

  • Online: the console's devices and the sound chip are now saved exactly in step with its clock, so a restored game continues exactly as the original (a long-standing source of rare one-off "DESYNC" messages).

How to update

Extract the zip over your existing folder (or into a new one), run ToyStoryRacer_Recompiled.exe and follow Generate & rebuild (the rebuild is needed). Your tsr_data folders, settings and memory card are kept. If you set up more discs, set each one up again (Mods → Set up another disc → Play).