Skip to content

mWalrus/reps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Reps

A Steam game launch wrapper which runs gpu-screen-recorder alongside your game.

Requirements

  • gpu-screen-recorder (available on the AUR as gpu-screen-recorder-git)
  • xbindkeys for, you guessed it, binding keys
  • xrandr to discover your primary monitor

Installation

  • Clone repo: git clone https://github.com/mWalrus/reps

Usage

Add this to your launch commands for any game: /path/to/reps/reps.sh %command%

Replay file location

Replays are saved to $HOME/Replays

What it does

Before the game launches:

  1. Bind Alt+R to save replays
  2. Bind Alt+K to kill the screen recorder
  3. Kill any previous instances of gpu-screen-recorder
  4. Run the gpu-screen-recorder (check the script for details and options)

After the game exits:

  1. Kill the gpu-screen-recorder instance

Wayland

Since this uses xbindkeys and xrandr, this little script will only work on systems running the X window server and therefore will not be executed under any other window server such as wayland.

BUT, gpu-screen-recorder will work under wayland so you can still use that on there. You can use the flags used in the script as reference.

If you want to contribute a wayland version of this script you can submit a pull request to the 'wayland' branch :)

About

A small wrapper script to launch gpu-screen-recorder alongside Steam games to save replays.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages