Skip to content

Releases: p2sr/SourceAutoRecord

1.12.5-pre1

11 Sep 21:19
9921c20
Compare
Choose a tag to compare
1.12.5-pre1 Pre-release
Pre-release

CD

Installation

  • Download:
  • Place the binary into the game folder e.g. Portal 2
  • Open developer console and enter plugin_load sar

Changelog

Features:

  • Implement better HUD positioning system for ihud
  • Add sar_velocitygraph
  • Add workshop and menu conditions to cond

Fixes:

  • Prevent negative font index hack in ihud crashing the game
  • Don't add extra newlines in sar_speedrun_result output
  • Make TAS player run changelevel correctly
  • Allow fully quoted command for sar_expand
  • Improve player trace accuracy
  • Don't create directories for demos which won't record

1.12.4

15 Aug 22:46
fcc3705
Compare
Choose a tag to compare

CD

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 wrongwarp
  • sar_scrollspeed, for visually indicating coop scroll speed
  • sar_render_merge, for merging sequential renders into one video
  • sar_player_trace, for drawing a trace of a player's position and velocity over time
  • sar_on_flags, for running commands when a level is finished
  • sar_challenge_autostop 2, for automatically appending the final CM time to demo names after finishing recording
  • sar_expand, for running sar_function-like expansions
  • sar_hud_groundspeed, for showing the horizontal speed you had upon jumping
  • sar_hud_demo 2, for showing just the name (not directory) of the demo being recorded
  • sar_show_entinp, for showing entity inputs
  • sar_speedrun_autostop, like sar_challenge_autostop but for other speedruns
  • sar_aim_point_hud, for viewing the coordinates of an aimed-at point
  • sar_fix_reloaded_cheats, for preventing Portal Reloaded affecting sv_cheats whilst keeping glitches like PTH possible
  • sar_demo_overwrite_bak, for backup up demos which would be overwritten by a record command
  • sar_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 ticks
  • sar_hud_bg, for rendering a simple background behind the SAR HUD
  • sar_render_shutter_angle, for setting the shutter angle for a render
  • sar_hud_velocity_precision, for setting the precision specifically for sar_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 and sar_seamshot_helper
  • Improved sar_speedrun_result output format
  • force option for sar_update
  • Game detection in cond, using e.g. cond "game=mel"
  • ihud rewrite with more customisability
  • Expand $' into double-quote in sar_functions
  • Rename SAR HUD cvars and commands (removing default_ and padding_)

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 and sar_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 with sv_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

1.12.4-pre8

14 Aug 21:55
0cd53d5
Compare
Choose a tag to compare
1.12.4-pre8 Pre-release
Pre-release

CD

Installation

  • Download:
  • Place the binary into the game folder e.g. Portal 2
  • Open developer console and enter plugin_load sar

Changelog

Features:

  • sar_show_entinp
  • force option for sar_update
  • game detection in cond, using e.g. cond "game=mel"
  • sar_player_trace improvements (@RainbowwPhoenixx)
    • horizontal velocity shown while looking at line
    • colors for speedlocking and max turn
  • ihud rewrite with more customisation (@Krzyhau)
    • TAS ihud components
  • sar_speedrun_autostop, working similarly to sar_challenge_autostop
  • sar_stop, allowing for demos to be renamed after finishing recording them
  • sar_aim_point_hud, to get coordinates of aimed-at point
  • sar_fix_reloaded_cheats, to prevent Portal Reloaded changing sv_cheats whilst keeping glitches like PTH possible (@Krzyhau)
  • New TAS parser
  • sar_hud_tastick (@Krzyhau)

Fixes:

  • Prevent ihud buttons appearing the wrong color with transparency (@Krzyhau)
  • Prevent TAS player from outputting NaN values in tools (@Krzyhau)
  • Remove broken TAS frame advancing code (@Krzyhau)
  • Stop TAS playback when game not active (@Krzyhau)
  • Show directories correctly in sar_tas_play autocompletion (@Krzyhau)
  • Implement sar_aircontrol 1 on Linux (note: currently only works in base Portal 2)
  • Correctly increment speedrun completed/reset statistics
  • Make TAS tool execution order deterministic, dependent on order in script (@Krzyhau)
  • Fix TAS mouse deactivation (@Krzyhau)
  • Don't use net time for tick calculation in demo playback
  • Detect map names consistently across platforms and in demos
  • Fix Portal Reloaded speedrun end rule
  • Force-stop TAS playback when starting a new playback (@Krzyhau)

1.12.4-pre7

29 Jul 22:04
96d2971
Compare
Choose a tag to compare
1.12.4-pre7 Pre-release
Pre-release

CD

Installation

  • Download:
  • Place the binary into the game folder e.g. Portal 2
  • Open developer console and enter plugin_load sar

Changelog

Features:

  • improve sar_challenge_autostop 2 time format
  • improve sar_speedrun_result output format
  • add sar_hud_groundspeed
  • add sar_hud_demo 2

Fixes:

  • prevent divide-by-zero crashes in svar arithmetic
  • correctly handle angle wraparound in setang TAS tool
  • enforce strict ordering of framebulks in TAS scripts
  • make TAS tools enable sv_cheats in all gamemodes
  • don't re-show hidden HUD text when changed
  • prevent vphys HUD crashing in demo playback
  • fix TAS autostrafer "wobbliness"
  • fix setang and autoaim TAS tools not being included in Windows build
  • fix format of TAS command help strings

1.12.4-pre6

25 Jul 22:59
a2c1789
Compare
Choose a tag to compare
1.12.4-pre6 Pre-release
Pre-release

CD

Installation

  • Download:
  • Place the binary into the game folder e.g. Portal 2
  • Open developer console and enter plugin_load sar

Changelog

Features:

  • new TAS tools
  • sar_expand
  • combine and fix sar_seamshot_finder and sar_seamshot_helper
  • major improvements to sar_player_trace

Fixes:

  • stop SAR crashing on game exit
  • fix game detection for Portal 2 Speedrun Mod on Linux (Coming Soon ™️)
  • only allow sar_pause_at >0 with sv_cheats 1

1.12.4-pre5

14 Jul 13:42
683e7a9
Compare
Choose a tag to compare
1.12.4-pre5 Pre-release
Pre-release

CD

Installation

  • Download:
  • Place the binary into the game folder e.g. Portal 2
  • Open developer console and enter plugin_load sar

Changelog

Features:

  • sar_scrollspeed
  • sar_render_merge
  • sar_player_trace
  • sar_on_flags
  • sar_challenge_autostop 2

Fixes:

  • SAR timer now exactly matches CM timer (note: demo playback does not currently match)
  • fix zone speedrun rules in demos
  • improve sar_render_remove_broken
  • fix memory leak in 'cond'

Note: when playing coop as orange, sar_challenge_autostop (including sar_challenge_autostop 1) will currently only work if your partner is also using this pre-release

1.12.4-pre4

28 Jun 21:14
6e6a6e0
Compare
Choose a tag to compare
1.12.4-pre4 Pre-release
Pre-release

CD

Installation

  • Download:
  • Place the binary into the game folder e.g. Portal 2
  • Open developer console and enter plugin_load sar

Changelog

Fixes:

  • Prevent possible crash during level loads
  • Display sar_hud_bg as orange
  • Possibly fix strange Unicode output in Windows crash reports

1.12.4-pre3

28 Jun 16:53
e943d30
Compare
Choose a tag to compare
1.12.4-pre3 Pre-release
Pre-release

CD

Installation

  • Download:
  • Place the binary into the game folder e.g. Portal 2
  • Open developer console and enter plugin_load sar

Changelog

Features:

  • add sar_cm_rightwarp

Fixes:

  • fix zone speedrun rules in demos
  • don't show ghost sync HUD in-game
  • remove leftover debug code
  • fix Aperture Tag timing end rule
  • ignore sar_record_at and sar_pause_at while session inactive
  • prevent 0 tick long pause being recorded on every load
  • clean up help/usage strings (huge thanks to @RainbowwPhoenixx for their help with this!)

1.12.4-pre2

19 Jun 18:36
707e2d7
Compare
Choose a tag to compare
1.12.4-pre2 Pre-release
Pre-release

CD

Installation

  • Download:
  • Place the binary into the game folder e.g. Portal 2
  • Open developer console and enter plugin_load sar

Changelog
TODO

1.12.4-pre1

16 Jun 22:14
4764920
Compare
Choose a tag to compare
1.12.4-pre1 Pre-release
Pre-release

CD

Installation

  • Download:
  • Place the binary into the game folder e.g. Portal 2
  • Open developer console and enter plugin_load sar

Changelog

Features:

  • Add sar_tick_debug
  • Add sar_hud_bg
  • Add sar_render_shutter_angle
  • Add sar_hud_velocity_precision

Fixes:

  • Fix voidclipping not working when using sar_on_load
  • Fix sar_render_remove_broken
  • Fix sar_update not working on pre-releases
  • Fix seq not timing correctly
  • Fix possible bugs and crashes with sar_alias and sar_function