Skip to content

Releases: p2sr/SourceAutoRecord

1.13.9

13 Oct 13:17
3a23608
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:

  • INFRA support - tracking at #279 (@ThisAMJ), many things are still missing/broken
  • export cvar flags as strings
  • sar_velocitygraph_show_line (@kipod8)
  • TAS SRF buttons (sprint, reload, flashlight) for INFRA (JDUZBOSRF)
  • Wait to apply changes to sar_speedrun_time_pauses until next pause/unpause
  • sar_on_stuck (requires sv_cheats) (@ontrigger)
  • TAS version 8 (@Krzyhau)
    • Better handling of strafing above 300ups, airlocking and pitchlocking
    • Better handling of autojump prediction
    • Target reaching system
  • TAS feet-in-water strafing
  • TAS unducked, unduck options for autojump tool
  • TAS blank rngmanip line to load from script folder (i.e. tas/thing.p2tas L3: rngmanip -> tas/thing.p2rng)
  • sar_rng_save and sar_rng_load default to the active script folder if no path is provided
  • sar_trace_compare and logging system

Fixes:

  • Hopefully crash less after game updates
  • Mel reset on Tram Ride
  • Fix demo playback with RhythmGame and scrollspeed huds
  • Mel CM flags event (@Jeremy-Vidaurri)
  • Use bordered windowed for sar_allow_resizing_window
  • Various typos and grammatical errors
  • Don't crash unsupported games (just fail to load)
  • Don't show huge split time on ghost race
  • Don't crash on game exit
  • sar_speedrun_get_mtriggers URL redirect
  • cond map is now case-insensitive
  • Dispose of TAS controller connections (disconnect then reconnect) (@Krzyhau)
  • Fixed TAS compatibility regression with sar_loads_uncap
  • Don't record sar_con_filter_* commands in demos
  • Only record button changes in raw TAS scripts (saves space)
  • Fix sar_trace_bbox_use_hover while sar_trace_draw_hover is disabled

Many various refactors thanks to @ThisAMJ, @kot9pa16lvl, and @Krzyhau

1.13.8

24 Aug 08:17
d061342
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_show_entinp in demo playback (@ThisAMJ)
  • sar_autoaim_point <x> <y> <z>
  • sar_fix_viewmodel_bug (thanks @hero622)
  • sar_rhythmgame (thanks @AlexAdvDev)
  • sar_scrollspeed rework (thanks @kot9pa16lvl)
  • sar_performance_hud

Fixes:

  • frametime after disconnect (timer going super speed)
  • various performance improvements
  • contribution documentation (@shaunroselt)
  • sar_force_fov range with cheats enabled

1.13.7

07 Aug 00:42
1d39f7c
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

The previous release had a regression in coop, so here we go again

Features:

  • sar_netmessage_debug (@ThisAMJ)
  • Records SAR cvars in demos

Fixes:

  • Don't break NetMessages after re-inviting
  • Default sar_hud_precision to 2 😈

1.13.6

06 Aug 08:59
8a30ff3
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:

  • Better human-looking SAR coop message if partner doesn't have SAR - "Hello! I have SourceAutoRecord, a plugin mainly used for speedrunning." This will only appear once per coop session, and only if the Orange player has SAR. Advisory: there are potential cases where NetMessages could break after this change. If things stop working, try restarting your game. (@ThisAMJ)
  • sar_auto_voidclip_pause <command> - requires cheats. e.g. sar_auto_voidclip_pause load quick
  • sar_vphys commands for P-body
  • sar_update restart option
  • More visible sar_update auto-exit warning
  • Exports whether or not a cvar is from SAR to cvars_all.json (sar_cvars_dump)

Fixes:

  • Hide portals in hidden traces
  • sar_pp_hud now uses custom colors from sar_portalcolor_*
  • _restart command now works properly
  • Echo SAR version immediately on load
  • Don't crash on early plugin loading failure
  • Fixed a number of typos and grammatical errors

1.13.5

21 Jul 06:41
f3c31f3
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:

  • Loading frametime distribution -- loading times halved! Your hardware may vary. (@ThisAMJ)
  • TAS protocol rework (@Krzyhau)
  • ghost_name_proximity_fade
  • sar_trace_hide/show
  • sar_trace_draw_hover
  • sar_timeline_splits
  • sar_cvars_dump now exports JSON
  • sar_cvars_dump_doc exports cvars.md directly

Fixes:

  • Fix loading SAR twice potentially crashing the game (@hero622)
  • Improve performance for long-running TAS scripts (@RainbowwPhoenixx)

1.13.4

30 Jun 17:03
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
Fixed support for mods, as well as Linux support. Windows has full support for Steam Game Recording (barring perhaps Speedrun Mod?), while Linux has the feature in Portal 2 only.
If your game is freezing on Linux on launch/starting recording, it is a potential issue with hardware acceleration, which can be disabled in the Game Recording settings.

If you want the deets, here they are:
We (mainly @hero622) added support for the new Steam Game Recording feature into SAR, allowing timelines to be marked on various SAR-defined events. At the time, only Portal 2 support on Windows was considered, causing a regression for other mods and Linux. Obviously this was a huge oversight, my (@ThisAMJ) bad!
Not only that, but the portal color feature wasn't safe-guarded correctly to fail gracefully on unsupported Linux mods, so I went through and added support for those too.

1.13.3

27 Jun 14:16
b2212d8
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

Advisory
This update accidentally broke support for mods like Portal Stories: Mel, Portal Reloaded, etc. This was fixed by the next update.


Changelog
Features:

  • improve coop invite menu loading time (credit @Nanoman2525)
  • jump mtrigger type (same arguments as zone) (suggested by zach, impl by @ThisAMJ)
  • add steam timeline integration (credit @hero622)
  • velocity check tool for tas (check vel {xyz} <vel> [velepsilon <epsilon>] - e.g. check vel xy 269.45 velepsilon 2 between 267.45 and 271.45 horizontal speed - default epsilon is 1) (credit @Ewan1165)
  • sar_portalcolor_* - change portal colors! Limited support in singleplayer, only crosshair and particles. Multiplayer has full support.

Fixes:

  • coop ghost sync (mostly, except for the lobby)
  • potential FCPS visualization crash
  • TAS generated content bleed-over (some cases where raw records invalid data)
  • format time for sar_speedrun_get_mtriggers output (suggested by @Jeremy-Vidaurri)
  • NetMessages now work while dead (mtriggers, run resets, etc)

1.13.2

05 Jun 11:10
6c743a9
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
Fixes:

  • Coop disassembler reset ping/taunt state
  • NetMessage functionality after game update

Contributors: @ThisAMJ

1.13.1

25 May 04:38
d3d979f
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

This release includes several Challenge Mode bugfixes for Portal Stories: Mel and adds support for autorender clients.

Features

  • 4689511 sar_on_renderer_start and sar_on_renderer_finish
  • c19d857 sar_unlocked_chapters

Bugfixes

  • f799002 Fix crash when playing challenge mode demo
  • 850f4b7 Fix missing challenge mode flags on Advanced Faith Plate
  • 253de9c Disable watermark during demo playback
  • 1009d0b Fix silent exit crash on Windows

Contributors: @hero622 @ThisAMJ @NeKzor

1.13.0

11 May 19:17
914a054
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

This release adds Challenge Mode to Portal Stories: Mel and introduces a new release channel for testing canary builds.

Features

Contributors: @hero622 @ThisAMJ @NeKzor