Screen recorder for Steam deck in Game Mode, using a basic, quick and dirty bash script and the Recapture Plugin from Crankshaft project.
Big thanks to the Crankshaft project!
I had a week off work and wanted to record a game play on my Steam Deck in Game Mode. I looked for various options, but they were either too complicated to achieve what I wanted or just did not work in Game Mode. Installing Recapture plugin with the bash script locally does not require turning off the read-only filesystem on the Steam Deck, installing additional packages or distrobox etc. It is very primitive and has only an option to start and stop recording, however, I hope it will be useful for others as well.
You need to be in Desktop Mode.
Download Install_Recapture_CLI_Wrapper.desktop
using this link on your Steam Deck. Right click the link and save the file somewhere you can find it.
No need to make the file executable. Double-clicking the downloaded file will download the Recapture plugin, install a script and create a Desktop Icon.
You should add now the Recapture.desktop
file as Non-Steam Game. Recapture plugin records the screen only in Game Mode!
You can delete the Install_Recapture_CLI_Wrapper.desktop
file now.
Note: Executing (double-clicking) Recapture.desktop in Desktop Mode will not record the screen. Recording will fail, even though you will find a new mp4 video file (with size 0 B) in ~/Videos/recapture
.
Back in Game Mode, you should be able to find Recapture app/shortcut.
The function is very basic. You can only Start and Cancel the screen recording. All videos are saved as mp4 in ~/Videos/recapture directory
.
Note: To make selecting Cancel button easier, go to Recapture's Controller Settings and select "Web Browser" as Current Layout. Now you should be able to press on Cancel by using A button or use the mouse on Steam Deck. You can also Cancel recording by selecting Home, from the left Steam menu, selecting Recapture app and closing the app from there.
There has been no extensive testing! The script and the Recapture plugin has been working for me at the time of writing of this script. The script is provided as is. I make no promises and give no guarantees. I would not be responsible for any damages caused to your Steam Deck, house, pet etc. Use it at your own risk!
There might be mistakes in the scripts or more elegant ways of achieving those tasks, however, I do not write code for a living and my free time is limited.
https://git.sr.ht/~avery/recapture
https://steamcommunity.com/app/1675200/discussions/0/3387291961143576207/
There are probably more sources that I have used as reference and missed to mention.