Repository navigation
Toy Story Racer Recompiled 0.3.0 (experimental: online play)
Pre-releaseExperimental release. The new online mode works and stays in sync, but it is young: expect rough edges. It also needs a reasonably fast PC on both sides (see below). If you only play locally, 0.2.2 remains the stable release.
Added
- Online play (experimental): two players on two PCs, each with a full-screen view of their own kart.
- On the main menu press SELECT: Square hosts (the game waits on the two-player character select), Circle joins: a window lists the games found on your PC's networks (LAN, Radmin VPN, Hamachi...) or takes an IP address and port. Then the usual two-player character and track select, with all the tracks.
- The host opens port 27450 (TCP and UDP) on the router, unless both players use a VPN such as Radmin VPN.
- Both PCs need the same disc version (e.g. both USA) and the same mod options that change the game (frame rate, CPU overclock, track detail, polygon pool, music change, widescreen, instant loading, instant memory card). Otherwise the connection is refused, naming the option that differs. Picture options (resolution, aspect, HUD size...) may differ.
- Buttons travel by UDP with the last 16 frames in every packet (plus a TCP copy), a few frames ahead; the margin adapts to the round trip and to lost packets. The game's memory is compared every two seconds to catch any split.
tsr_online.lognext to the game records, every 10 seconds, the round trip, the waits and each PC's time per frame.- The option Online play (Mods → Fixes) turns the mode off.
PC requirements for online
The two games advance together, so the slower PC sets the pace for both: if one PC cannot run a two-player race at full speed, both slow down, even if the other is fast. A two-player race at 60 fps (USA version with Frame rate in races = 50 fps (also 2 players)) needs a recent CPU; in our tests an i7-3770 (2012) drops to about 45 fps in the heavy parts. The graphics card matters little (lowering the internal resolution does not help). Setting Frame rate in races to 50 fps (1 player) on both PCs (two-player races at the game's original rate) roughly halves the load.
Changed
- About a third less CPU work per frame: the game's frame wait loop is now skipped by the runtime's idle skip instead of being run at the overclocked rate (same result, same on every PC).
- Another version's disc in the launcher: picking the disc of another version with Browse For Disc now starts that version (or opens the disc setup to add it) instead of reporting a failed verification.
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).