1.12.4
Installation
- Download:
- Place the binary into the game folder e.g.
Portal 2
- Open developer console and enter
plugin_load sar
Changelog
Features:
sar_cm_rightwarp
, for preventing accidental CM wrongwarpsar_scrollspeed
, for visually indicating coop scroll speedsar_render_merge
, for merging sequential renders into one videosar_player_trace
, for drawing a trace of a player's position and velocity over timesar_on_flags
, for running commands when a level is finishedsar_challenge_autostop 2
, for automatically appending the final CM time to demo names after finishing recordingsar_expand
, for runningsar_function
-like expansionssar_hud_groundspeed
, for showing the horizontal speed you had upon jumpingsar_hud_demo 2
, for showing just the name (not directory) of the demo being recordedsar_show_entinp
, for showing entity inputssar_speedrun_autostop
, likesar_challenge_autostop
but for other speedrunssar_aim_point_hud
, for viewing the coordinates of an aimed-at pointsar_fix_reloaded_cheats
, for preventing Portal Reloaded affectingsv_cheats
whilst keeping glitches like PTH possiblesar_demo_overwrite_bak
, for backup up demos which would be overwritten by arecord
commandsar_hud_orange_only
, for only viewing the SAR HUD for Orange in fullscreen PIP situations (e.g. solo coop)sar_tick_debug
, for viewing debug info related to tickssar_hud_bg
, for rendering a simple background behind the SAR HUDsar_render_shutter_angle
, for setting the shutter angle for a rendersar_hud_velocity_precision
, for setting the precision specifically forsar_hud_velocity
sar_autorecord -1
, for disabling autorecording entirely- New TAS tools
- Improvements to
wait
- Store pause durations in demos
- Ghost sync UI
- Combine and fix
sar_seamshot_finder
andsar_seamshot_helper
- Improved
sar_speedrun_result
output format force
option forsar_update
- Game detection in
cond
, using e.g.cond "game=mel"
- ihud rewrite with more customisability
- Expand
$'
into double-quote insar_function
s - Rename SAR HUD cvars and commands (removing
default_
andpadding_
)
Fixes:
- Fix voidclipping not working when using sar_on_load
- Fix sar_render_remove_broken
- Make sar_update work on pre-releases
- Fix seq not timing correctly
- Fix possible bugs and crashes with sar_alias and sar_function
- Fix crash when loading saves using ghost_type 0
- Fix zone speedrun rules in demos
- Correct Aperture Tag and Portal Reloaded end timing rules
- Ignore
sar_record_at
andsar_pause_at
while session inactive - Clean up help strings
- Make SAR timer match CM timer exactly (not in demos sadly :( )
- Fix memory leak in
cond
- Stop SAR crashing on game exit
- Fix game detection for Speedrun Mod on Linux
- Only allow
sar_pause_at
>0 withsv_cheats 1
- Prevent divide-by-zero crashes in svar arithmetic
- Don't re-show hidden HUD text when changed
- Prevent vphys HUD crashing the game in demo playback
- Always apply
sar_force_fov
on load - Correct range of allowed values for
sar_force_fov
- Fix non-CM coop timing start when demo recording starts early
- Don't show HUD text line when set to empty string