World Championship 2025
Original Post
[REL] Replaymaking Toolkit

(Made for Toribash 5.7x)

RTK: Replaymaking Toolkit v1.3


Ever wanted to just go back a turn and change one joint to perfectly align your center of gravity without having to press R and wait 420 frames (7 secs)? Or go slow-mo without having to sit through 1500 frames (25 secs)? Unless you love secs, this is the script for you!

Commands:
/skip : cache the replay and rewind for time controls
/ff [number] : fast forward to the specified frame
/qe : quick edit goes back 100 frames
/fov [number] : change FOV cuz why not

Binds:
shift + R : /skip
N : /ff (last number)
shift + N : Go back a turn (your set tf)
ctrl/alt + Q : /qe

Showcase:

"shift + N" (goes back a turn)


"N" (/ff 1350)

How it works:
Basically it does a for loop and spams Shift + P to blast through the replay. The downsides to this method of course is some lag and crazy hair physics making them turn into lasers but that's normally how hair works anyway (Toribash 5.76 fixed laser hair and cache being cleared in edit mode. If you're on 5.75 or older, use RTK 1.2 instead!)
Attached Files
rtk.lua (4.0 KB, 6 views)
Last edited by miso903; Oct 4, 2025 at 07:57 PM. Reason: Update 1.3: remove extra rewind
Amazing to see new stuff being posted, great job!!!!!!!!!!!
Fair for a Szaszu made relaxed for DQ'ing - MC Szas
nice, that's a clever use of toggle_game_pause()

you probably don't want to rewind replay in skipReplay() while in edit mode though, current way both skips any pending joint state input and prevents physics engine from generating dismember/fracture events if they were supposed to happen after the frame you're at
doesn't seem like shift + N works in edit mode either, should be an easy fix
Originally Posted by sir View Post
nice, that's a clever use of toggle_game_pause()

you probably don't want to rewind replay in skipReplay() while in edit mode though, current way both skips any pending joint state input and prevents physics engine from generating dismember/fracture events if they were supposed to happen after the frame you're at
doesn't seem like shift + N works in edit mode either, should be an easy fix

tyty
but if skipReplay() doesn't rewind, the replay won't get cached or is there something i'm missing? Also shift + N should work in edit mode, seems to be no issue there for me as shown in the 2nd gif
If replay cache is enabled and available, replay is already cached after you finish stepping in edit mode so rewinding shouldn't be needed.
replay_rewind() generally doesn't cache anything on its own, its behavior is essentially the same as pressing R hotkey. In your case the part that is actually doing the trick are the toggle_game_pause() calls that'd step the replay until the end.
My test: remove rewind_replay() at line 38, press E then shift + R, replay controls won't be available. Is it not supposed to be like that?