#linux #demo #tf2 #p-rec #prec

app rust-prec

P-REC-like program for linux users. Runs in the background and records demos.

1 stable release

1.0.4 Aug 25, 2023
1.0.3 Jun 21, 2023
0.8.0 Jun 16, 2023

#6 in #tf2

Custom license

20KB
59 lines

Long awaited "P-REC" for linux users.

Credit for the idea of using a local RCON goes to @Bash-09.

Thanks to @icewind1991 for help.

Usage

Add these lines to your tf/cfg/autoexec.cfg or tf/cfg/overrides/autoexec.cfg in case of mastercomfig.

ip 0.0.0.0
rcon_password prec
net_start

Add this to your TF2 launch options:

-condebug -conclearlog -usercon

Run sudo ./install.sh

Building

This project is build using rust and requires cargo and friends, see the rust website for how to get started.

Once rust is setup building is as simple as

cargo build --release

which will place the binary at target/release/rust-prec

Dependencies

~8–22MB
~250K SLoC