Recording demos with the P-REC plugin

P-REC is a TF2 plugin for Windows operating systems created by Ukraine Orange that records demos, takes screenshots and logs your killstreaks automatically.
This guide will explain how to install and configure P-REC. All you need is the P-REC files and Team Fortress 2 installed.


Download the latest version of P-REC here (v2.0.5)

Open your TF2 custom file directory located at: …/Steam/steamapps/common/Team Fortress 2/tf/custom and extract the content of the archive here. Your custom folder should now look like the following image.

(Click on the image to enlarge)

The folder tree from …/Steam/steamapps/common/Team Fortress 2 should look like this:

├───Team Fortress 2
│ ├───bin
│ └───tf
│ ├───custom
│ │ ├───prec (actually any folder name)
│ │ │ └───addons

If you want you can edit P-REC.cfg to change plugin’s sounds, phrase and settings by opening it with wordpad.


Launch your Team Fortress 2. Check if P-REC loaded correctly by opening the console.

(Click on the image to enlarge)
If you don’t know how to enable the console have a look here.

(Click on the image to enlarge)

Now you can configure your P-REC by typing in prec_ in console. You can easily browse all available P-REC commands by using the up and down arrow keys or check the “readme prec.txt” contained in the archive you downloaded.

(Click on the image to enlarge)


The important commands you need to use are the following:

prec_mode 2
This will record all matches played with tournament mode enabled.
prec_screens 1
This captures status screenshots whenever a tournament mode match completes. Note that it will not capture the score screenshot if the map is changed before tournament mode finishes.

You can get a full list of commands supported by P-REC by typing “prec_info” into console.

If you have any questions regarding P-REC or experience issues, check this ETF2L forum thread. ETF2L is not responsible for any problems that may arise as a result of using this plugin. Also, you are still responsible to take screenshots yourself. “P-REC failed” is not a valid excuse for not uploading a status screenshot or demo for your match.