Skip to content

Commit 91ab8fc

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents 6b2e9b9 + a9f1cb3 commit 91ab8fc

File tree

187 files changed

+23352
-3419
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

187 files changed

+23352
-3419
lines changed

.github/workflows/CD.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ jobs:
1717
- name: Checkout
1818
uses: actions/checkout@v4
1919
with: { fetch-depth: 0 }
20+
- name: Disable man-db triggers
21+
run: |
22+
echo "set man-db/auto-update false" | sudo debconf-communicate
23+
sudo dpkg-reconfigure man-db
2024
- name: Install Dependencies
2125
run: |
2226
sudo apt-get update
@@ -53,7 +57,7 @@ jobs:
5357
"https://dl.sar.portal2.jonesy.moe/api/v1/upload"
5458
build-win:
5559
name: Windows Build
56-
runs-on: windows-latest
60+
runs-on: windows-2022
5761
permissions:
5862
contents: write
5963
env:
@@ -64,17 +68,6 @@ jobs:
6468
with: { fetch-depth: 0 }
6569
- name: Setup MSBuild
6670
uses: microsoft/setup-msbuild@v2
67-
with:
68-
vs-version: '16.11'
69-
- name: Install VS2019 Build Tools and SDK
70-
shell: powershell
71-
run: |
72-
Invoke-WebRequest -Uri "https://aka.ms/vs/16/release/vs_buildtools.exe" -OutFile "vs_buildtools.exe"
73-
Start-Process -FilePath "vs_buildtools.exe" -ArgumentList `
74-
"--quiet", "--wait", "--norestart", "--nocache", `
75-
"--installPath", "C:\BuildTools", `
76-
"--add", "Microsoft.VisualStudio.Component.Windows10SDK.18362", `
77-
"--add", "Microsoft.VisualStudio.Component.VC.142.x86.x64" -Wait
7871
- name: Build
7972
env:
8073
RELEASE_BUILD: 1

.github/workflows/CI.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ jobs:
3131
- name: Checkout
3232
uses: actions/checkout@v4
3333
with: { fetch-depth: 0 }
34+
- name: Disable man-db triggers
35+
run: |
36+
echo "set man-db/auto-update false" | sudo debconf-communicate
37+
sudo dpkg-reconfigure man-db
3438
- name: Install Dependencies
3539
run: |
3640
sudo apt-get update
@@ -67,7 +71,7 @@ jobs:
6771
6872
build-win:
6973
name: Windows Build
70-
runs-on: windows-latest
74+
runs-on: windows-2022
7175
permissions:
7276
contents: write
7377
env:
@@ -78,17 +82,6 @@ jobs:
7882
with: { fetch-depth: 0 }
7983
- name: Setup MSBuild
8084
uses: microsoft/setup-msbuild@v2
81-
with:
82-
vs-version: '16.11'
83-
- name: Install VS2019 Build Tools and SDK
84-
shell: powershell
85-
run: |
86-
Invoke-WebRequest -Uri "https://aka.ms/vs/16/release/vs_buildtools.exe" -OutFile "vs_buildtools.exe"
87-
Start-Process -FilePath "vs_buildtools.exe" -ArgumentList `
88-
"--quiet", "--wait", "--norestart", "--nocache", `
89-
"--installPath", "C:\BuildTools", `
90-
"--add", "Microsoft.VisualStudio.Component.Windows10SDK.18362", `
91-
"--add", "Microsoft.VisualStudio.Component.VC.142.x86.x64" -Wait
9285
- name: Build
9386
env:
9487
DEMO_SIGN_PUBKEY: ${{ secrets.SAR_DEMO_SIGN_PUBKEY }}

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
[![CI](https://github.com/p2sr/SourceAutoRecord/workflows/CI/badge.svg)](https://github.com/p2sr/SourceAutoRecord/actions?query=workflow%3ACI+branch%3Amaster)
1212
[![CD](https://github.com/p2sr/SourceAutoRecord/workflows/CD/badge.svg)](https://github.com/p2sr/SourceAutoRecord/actions?query=workflow%3ACD+branch%3Amaster)
1313
[![Latest release](https://img.shields.io/github/v/release/p2sr/SourceAutoRecord?label=latest%20release)](https://github.com/p2sr/SourceAutoRecord/releases/latest)
14-
[![Latest prerelease](https://img.shields.io/github/v/release/p2sr/SourceAutoRecord?label=latest%20pre-release&include_prereleases)](https://github.com/p2sr/SourceAutoRecord/releases)
1514
[![License](https://img.shields.io/github/license/p2sr/SourceAutoRecord)](https://github.com/p2sr/SourceAutoRecord/blob/master/LICENSE)
1615

1716
</div>
@@ -43,6 +42,8 @@ For features and installation instructions, please visit [the website].
4342
| [INFRA](https://store.steampowered.com/app/251110) |||
4443
| [The Beginner's Guide](https://store.steampowered.com/app/303210) || ❌ (yet) |
4544
| [The Stanley Parable](https://store.steampowered.com/app/221910) || ❌ (yet) |
45+
| [The Cleaning Game](https://store.steampowered.com/app/3281900) |||
46+
| Divinity Chapter 2 *(closed beta)* |||
4647

4748
If you're playing a game with no Linux support, you can use Proton to run it.
4849

docs/cvars.md

Lines changed: 34 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,11 @@
4343
|-ghost_list|cmd|-ghost_list - disable the ghost list HUD|
4444
|ghost_list|cmd|ghost_list - list all players in the current ghost server|
4545
|ghost_list_font|0|Font index for ghost list HUD.|
46-
|ghost_list_mode|0|Mode for ghost list HUD. 0 = all players, 1 = current map|
46+
|ghost_list_mode|0|Mode for ghost list HUD. 0 = all players, 1 = current map, 2 = dip|
4747
|ghost_list_show_map|0|Show the map name in the ghost list HUD.|
4848
|ghost_list_x|2|X position of ghost list HUD.|
4949
|ghost_list_y|-2|Y position of ghost list HUD.|
50+
|ghost_locator|cmd|ghost_locator - Sends a coop-like ping to other ghosts|
5051
|ghost_message|cmd|ghost_message - send message to other players|
5152
|ghost_name|cmd|ghost_name - change your online name|
5253
|ghost_name_font_size|5.0|The size to render ghost names at.|
@@ -77,10 +78,14 @@
7778
|ghost_start|cmd|ghost_start - start ghosts|
7879
|ghost_sync|0|When loading a new level, pauses the game until other players load it.|
7980
|ghost_sync_countdown|3|The number of seconds of countdown to show at the start of every synced map. 0 to disable.|
81+
|ghost_taunt|cmd|ghost_taunt \<animation_name> - Plays a taunt animation|
8082
|ghost_TCP_only|0|Uses only TCP for ghost servers. For people with unreliable internet.|
8183
|ghost_text_offset|7|Offset of the name over the ghosts.|
8284
|ghost_type|cmd|ghost_type \<0/1/2/3/4>:<br>0: Colored circle<br>1: Colored pyramid<br>2: Colored pyramid with portal gun (RECORDED IN DEMOS)<br>3: Prop model (RECORDED IN DEMOS)<br>4: Bendy|
8385
|ghost_update_rate|50|Milliseconds between ghost updates. For people with slow/metered internet.|
86+
|+ghost_voice|cmd|+ghost_voice - push to talk in voice chat|
87+
|-ghost_voice|cmd|-ghost_voice - push to talk in voice chat|
88+
|ghost_volume|1.0|Voice chat volume multiplier.|
8489
|hwait|cmd|hwait \<tick> \<command> [args...] - run a command after the given number of host ticks|
8590
|nop|cmd|nop [args]... - nop ignores all its arguments and does nothing|
8691
|sar_about|cmd|sar_about - prints info about SAR plugin|
@@ -107,7 +112,9 @@
107112
|sar_avg_stop|cmd|sar_avg_stop - stops average calculation|
108113
|sar_bink_respect_host_time|1|Make BINK video playback respect host time.|
109114
|sar_cam_control|0|sar_cam_control \<type>: Change type of camera control.<br>0 = Default (camera is controlled by game engine),<br>1 = Drive mode (camera is separated and can be controlled by user input),<br>2 = Cinematic mode (camera is controlled by predefined path).<br>3 = Follow mode (Camera is following the player but not rotating, useful when strafing on gel).|
110-
|sar_cam_drive|1|Enables or disables camera drive mode in-game (turning it on is not required for demo player)|
115+
|sar_cam_drive|2|Enables or disables camera drive mode in-game (turning it on is not required for demo player)<br>1 = enabled when LMB is held<br>2 = always enabled|
116+
|sar_cam_drive_base_speed|175|Base speed of camera drive mode, in units per seconds.|
117+
|sar_cam_drive_buildup_scale|0.5|Defines how much to increase multiplier of drive speed over time of movement every second.|
111118
|sar_cam_force_eye_pos|0|Forces camera to be placed exactly on the player's eye position|
112119
|sar_cam_ortho|0|Enables or disables camera orthographic projection.|
113120
|sar_cam_ortho_nearz|1|Changes the near Z plane of orthographic projection.|
@@ -121,6 +128,8 @@
121128
|sar_cam_path_remkfs|cmd|sar_cam_path_remkfs - removes all camera path keyframes|
122129
|sar_cam_path_setkf|cmd|sar_cam_path_setkf [frame] [x] [y] [z] [pitch] [yaw] [roll] [fov] - sets the camera path keyframe|
123130
|sar_cam_path_showkf|cmd|sar_cam_path_showkf \<frame> - display information about camera path keyframe at specified frame|
131+
|sar_cam_path_start|cmd|sar_cam_path_start - starts playback of predefined camera path. (requires camera Cinematic Mode)|
132+
|sar_cam_path_sync_to_demo|1|If enabled, path will be synchronized to demo in cinematic mode.|
124133
|sar_cam_reset|cmd|sar_cam_reset - resets camera to its default position|
125134
|sar_cam_setang|cmd|sar_cam_setang \<pitch> \<yaw> [roll] - sets camera angle (requires camera Drive Mode)|
126135
|sar_cam_setfov|cmd|sar_cam_setfov \<fov> - sets camera field of view (requires camera Drive Mode)|
@@ -165,6 +174,7 @@
165174
|sar_demo_portal_interp_fix|1|Fix eye interpolation through portals in demo playback.|
166175
|sar_demo_remove_broken|1|Whether to remove broken frames from demo playback|
167176
|sar_demo_replay|cmd|sar_demo_replay - play the last recorded or played demo|
177+
|sar_disable_autograb|0|Disables the auto-grab in coop. Requires host to enable it for everyone that also enables it.|
168178
|<i title="Portal 2">sar_disable_challenge_stats_hud</i>|0|Disables opening the challenge mode stats HUD. Greater than 1 specifies a custom amount of ticks to leave leaderboard open. -1 closes instantly.|
169179
|<i title="Portal 2">sar_disable_challenge_stats_hud_partner</i>|1|Closes the challenge mode stats HUD after your coop partner does.|
170180
|sar_disable_coop_score_hud|0|Disables the coop score HUD which appears in demo playback.|
@@ -236,6 +246,7 @@
236246
|sar_give_fly|cmd|sar_give_fly [n] - gives the player in slot n (0 by default) preserved crouchfly.|
237247
|sar_groundframes_reset|cmd|sar_groundframes_reset - reset recorded groundframe statistics.|
238248
|sar_groundframes_total|cmd|sar_groundframes_total [slot] - output a summary of groundframe counts for the given player slot.|
249+
|sar_hud_align|0|Alignment of HUD. (0 = left, 1 = center, 2 = right).|
239250
|sar_hud_angles|0|Draws absolute view angles of the client.<br>0 = Default,<br>1 = XY,<br>2 = XYZ,<br>3 = X,<br>4 = Y.|
240251
|sar_hud_avg|0|Draws calculated average of timer.|
241252
|sar_hud_bg|0|Enable the SAR HUD background.|
@@ -251,7 +262,7 @@
251262
|sar_hud_ghost_spec|0|Show the name of the ghost you're currently spectating.|
252263
|sar_hud_grounded|0|Draws the state of player being on ground.|
253264
|sar_hud_groundframes|0|Draws the number of ground frames since last landing. Setting it to 2 preserves the value.|
254-
|sar_hud_groundspeed|0|Draw the speed of the player upon leaving the ground.|
265+
|sar_hud_groundspeed|0|Draw the speed of the player upon leaving the ground.<br>0 = Default,<br>1 = Groundspeed,<br>2 = Groundspeed (Gain)|
255266
|sar_hud_hide_text|cmd|sar_hud_hide_text \<id\|all> - hides the nth text value in the HUD|
256267
|sar_hud_inspection|0|Draws entity inspection data.|
257268
|sar_hud_jump|0|Draws current jump distance.|
@@ -351,61 +362,61 @@
351362
|sar_netmessage_enable|1|Enable sending NetMessages. Disabling this can break other features.|
352363
|sar_nextdemo|cmd|sar_nextdemo - plays the next demo in demo queue|
353364
|sar_on_cfg_message|cmd|sar_on_cfg_message \<command> [args]... - registers a command to be run when partner sends a custom message (_sar_cfg_message svar)|
354-
|sar_on_cfg_message_clear|cmd|sar_on_cfg_message_clear - clears commands registered on event "cfg_message"|
365+
|sar_on_cfg_message_clear|cmd|sar_on_cfg_message_clear [id] - clears command(s) registered on event "cfg_message"|
355366
|sar_on_cfg_message_list|cmd|sar_on_cfg_message_list - lists commands registered on event "cfg_message"|
356367
|sar_on_config_exec|cmd|sar_on_config_exec \<command> [args]... - registers a command to be run on config.cfg exec|
357-
|sar_on_config_exec_clear|cmd|sar_on_config_exec_clear - clears commands registered on event "config_exec"|
368+
|sar_on_config_exec_clear|cmd|sar_on_config_exec_clear [id] - clears command(s) registered on event "config_exec"|
358369
|sar_on_config_exec_list|cmd|sar_on_config_exec_list - lists commands registered on event "config_exec"|
359370
|sar_on_coop_reset_done|cmd|sar_on_coop_reset_done \<command> [args]... - registers a command to be run when coop reset is completed|
360-
|sar_on_coop_reset_done_clear|cmd|sar_on_coop_reset_done_clear - clears commands registered on event "coop_reset_done"|
371+
|sar_on_coop_reset_done_clear|cmd|sar_on_coop_reset_done_clear [id] - clears command(s) registered on event "coop_reset_done"|
361372
|sar_on_coop_reset_done_list|cmd|sar_on_coop_reset_done_list - lists commands registered on event "coop_reset_done"|
362373
|sar_on_coop_reset_remote|cmd|sar_on_coop_reset_remote \<command> [args]... - registers a command to be run when coop reset run remotely|
363-
|sar_on_coop_reset_remote_clear|cmd|sar_on_coop_reset_remote_clear - clears commands registered on event "coop_reset_remote"|
374+
|sar_on_coop_reset_remote_clear|cmd|sar_on_coop_reset_remote_clear [id] - clears command(s) registered on event "coop_reset_remote"|
364375
|sar_on_coop_reset_remote_list|cmd|sar_on_coop_reset_remote_list - lists commands registered on event "coop_reset_remote"|
365376
|sar_on_coop_spawn|cmd|sar_on_coop_spawn \<command> [args]... - registers a command to be run on coop spawn|
366-
|sar_on_coop_spawn_clear|cmd|sar_on_coop_spawn_clear - clears commands registered on event "coop_spawn"|
377+
|sar_on_coop_spawn_clear|cmd|sar_on_coop_spawn_clear [id] - clears command(s) registered on event "coop_spawn"|
367378
|sar_on_coop_spawn_list|cmd|sar_on_coop_spawn_list - lists commands registered on event "coop_spawn"|
368379
|sar_on_demo_start|cmd|sar_on_demo_start \<command> [args]... - registers a command to be run when demo playback starts|
369-
|sar_on_demo_start_clear|cmd|sar_on_demo_start_clear - clears commands registered on event "demo_start"|
380+
|sar_on_demo_start_clear|cmd|sar_on_demo_start_clear [id] - clears command(s) registered on event "demo_start"|
370381
|sar_on_demo_start_list|cmd|sar_on_demo_start_list - lists commands registered on event "demo_start"|
371382
|sar_on_demo_stop|cmd|sar_on_demo_stop \<command> [args]... - registers a command to be run when demo playback stops|
372-
|sar_on_demo_stop_clear|cmd|sar_on_demo_stop_clear - clears commands registered on event "demo_stop"|
383+
|sar_on_demo_stop_clear|cmd|sar_on_demo_stop_clear [id] - clears command(s) registered on event "demo_stop"|
373384
|sar_on_demo_stop_list|cmd|sar_on_demo_stop_list - lists commands registered on event "demo_stop"|
374385
|sar_on_exit|cmd|sar_on_exit \<command> [args]... - registers a command to be run on game exit|
375-
|sar_on_exit_clear|cmd|sar_on_exit_clear - clears commands registered on event "exit"|
386+
|sar_on_exit_clear|cmd|sar_on_exit_clear [id] - clears command(s) registered on event "exit"|
376387
|sar_on_exit_list|cmd|sar_on_exit_list - lists commands registered on event "exit"|
377388
|sar_on_flags|cmd|sar_on_flags \<command> [args]... - registers a command to be run when CM flags are hit|
378-
|sar_on_flags_clear|cmd|sar_on_flags_clear - clears commands registered on event "flags"|
389+
|sar_on_flags_clear|cmd|sar_on_flags_clear [id] - clears command(s) registered on event "flags"|
379390
|sar_on_flags_list|cmd|sar_on_flags_list - lists commands registered on event "flags"|
380391
|sar_on_load|cmd|sar_on_load \<command> [args]... - registers a command to be run on session start|
381-
|sar_on_load_clear|cmd|sar_on_load_clear - clears commands registered on event "load"|
392+
|sar_on_load_clear|cmd|sar_on_load_clear [id] - clears command(s) registered on event "load"|
382393
|sar_on_load_list|cmd|sar_on_load_list - lists commands registered on event "load"|
383394
|sar_on_not_pb|cmd|sar_on_not_pb \<command> [args]... - registers a command to be run when auto-submitter detects not PB|
384-
|sar_on_not_pb_clear|cmd|sar_on_not_pb_clear - clears commands registered on event "not_pb"|
395+
|sar_on_not_pb_clear|cmd|sar_on_not_pb_clear [id] - clears command(s) registered on event "not_pb"|
385396
|sar_on_not_pb_list|cmd|sar_on_not_pb_list - lists commands registered on event "not_pb"|
386397
|sar_on_pb|cmd|sar_on_pb \<command> [args]... - registers a command to be run when auto-submitter detects PB|
387-
|sar_on_pb_clear|cmd|sar_on_pb_clear - clears commands registered on event "pb"|
398+
|sar_on_pb_clear|cmd|sar_on_pb_clear [id] - clears command(s) registered on event "pb"|
388399
|sar_on_pb_list|cmd|sar_on_pb_list - lists commands registered on event "pb"|
389400
|sar_on_renderer_finish|cmd|sar_on_renderer_finish \<command> [args]... - registers a command to be run when renderer finishes|
390-
|sar_on_renderer_finish_clear|cmd|sar_on_renderer_finish_clear - clears commands registered on event "renderer_finish"|
401+
|sar_on_renderer_finish_clear|cmd|sar_on_renderer_finish_clear [id] - clears command(s) registered on event "renderer_finish"|
391402
|sar_on_renderer_finish_list|cmd|sar_on_renderer_finish_list - lists commands registered on event "renderer_finish"|
392403
|sar_on_renderer_start|cmd|sar_on_renderer_start \<command> [args]... - registers a command to be run when renderer starts|
393-
|sar_on_renderer_start_clear|cmd|sar_on_renderer_start_clear - clears commands registered on event "renderer_start"|
404+
|sar_on_renderer_start_clear|cmd|sar_on_renderer_start_clear [id] - clears command(s) registered on event "renderer_start"|
394405
|sar_on_renderer_start_list|cmd|sar_on_renderer_start_list - lists commands registered on event "renderer_start"|
395406
|sar_on_session_end|cmd|sar_on_session_end \<command> [args]... - registers a command to be run on session end|
396-
|sar_on_session_end_clear|cmd|sar_on_session_end_clear - clears commands registered on event "session_end"|
407+
|sar_on_session_end_clear|cmd|sar_on_session_end_clear [id] - clears command(s) registered on event "session_end"|
397408
|sar_on_session_end_list|cmd|sar_on_session_end_list - lists commands registered on event "session_end"|
398409
|sar_on_speedrun_finish|cmd|sar_on_speedrun_finish \<command> [args]... - registers a command to be run when a speedrun finishes|
399-
|sar_on_speedrun_finish_clear|cmd|sar_on_speedrun_finish_clear - clears commands registered on event "speedrun_finish"|
410+
|sar_on_speedrun_finish_clear|cmd|sar_on_speedrun_finish_clear [id] - clears command(s) registered on event "speedrun_finish"|
400411
|sar_on_speedrun_finish_list|cmd|sar_on_speedrun_finish_list - lists commands registered on event "speedrun_finish"|
401412
|sar_on_stuck|cmd|sar_on_stuck \<command> [args]... - registers a command to be run when the player gets stuck (singleplayer) (requires cheats)|
402-
|sar_on_stuck_clear|cmd|sar_on_stuck_clear - clears commands registered on event "stuck"|
413+
|sar_on_stuck_clear|cmd|sar_on_stuck_clear [id] - clears command(s) registered on event "stuck"|
403414
|sar_on_stuck_list|cmd|sar_on_stuck_list - lists commands registered on event "stuck"|
404415
|sar_on_tas_end|cmd|sar_on_tas_end \<command> [args]... - registers a command to be run when TAS script playback ends|
405-
|sar_on_tas_end_clear|cmd|sar_on_tas_end_clear - clears commands registered on event "tas_end"|
416+
|sar_on_tas_end_clear|cmd|sar_on_tas_end_clear [id] - clears command(s) registered on event "tas_end"|
406417
|sar_on_tas_end_list|cmd|sar_on_tas_end_list - lists commands registered on event "tas_end"|
407418
|sar_on_tas_start|cmd|sar_on_tas_start \<command> [args]... - registers a command to be run when TAS script playback starts|
408-
|sar_on_tas_start_clear|cmd|sar_on_tas_start_clear - clears commands registered on event "tas_start"|
419+
|sar_on_tas_start_clear|cmd|sar_on_tas_start_clear [id] - clears command(s) registered on event "tas_start"|
409420
|sar_on_tas_start_list|cmd|sar_on_tas_start_list - lists commands registered on event "tas_start"|
410421
|sar_paint_reseed|cmd|sar_paint_reseed \<seed> - re-seed all paint sprayers in the map to the given value (-9999 to 9999 inclusive)|
411422
|sar_patch_bhop|0|Patches bhop by limiting wish direction if your velocity is too high.|
@@ -673,7 +684,7 @@
673684
|sar_transition_timer|0|Output how slow your dialogue fade was.|
674685
|sar_twitch_chat_channel||The Twitch channel to connect to.|
675686
|sar_twitch_chat_color|255 255 255|The color of the Twitch chat messages.|
676-
|sar_twitch_chat_enabled|0|Enables Twitch chat integration.|
687+
|sar_twitch_chat_enabled|0|Enables Twitch chat integration. 2 enables spectator command !spec|
677688
|sar_unlocked_chapters|-1|Max unlocked chapter.|
678689
|sar_update|cmd|sar_update [release\|pre\|canary] [exit\|restart] [force] - update SAR to the latest version. If exit is given, exit the game upon successful update; if force is given, always re-install, even if it may be a downgrade|
679690
|sar_velocitygraph|0|Shows velocity graph.|

0 commit comments

Comments
 (0)