mirror of
https://github.com/Dingo-Shenanigans/ReSkate.git
synced 2026-10-18 00:27:06 +02:00
Replay drafts: the replay editor saves a draft as a pin on the recording and a thumbnail in the game's media catalogue, which the Drafts screen lists from. The game only makes that catalogue for a user signed in to its backend, so under ReSkate a saved draft had nowhere to be listed. ReSkate now registers the catalogue service and signs in a local user, both with the game's own functions, so the game's Drafts screen works as it was built: save, list, open and delete within a session. A draft's footage stays in the recorder's memory, as it does in the game, and does not outlive the session. Thumbnails of earlier sessions' drafts are removed from the catalogue folder at startup; only folders whose manifest is a replay draft's are touched. Profiler: `perf sample` on the client thread now reports the slowest client frames ahead of the function table, each with what it spent its time in. An average over thirty seconds hides a single long frame.