Skip to content

Script to run commands inside proton prefixes of Steam games

License

Notifications You must be signed in to change notification settings

mkalinski/protonrun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

protonrun

Script to run commands inside proton prefixes of Steam games.

Protonrun will run a command in a WINE environment of the Proton prefix used by a selected Steam app.

The following variables are set: WINEPREFIX, WINESERVER, WINELOADER, WINEDLLPATH, PATH (the bin directory of Proton distribution is prepended), PROTON (the base directory of Proton distribution used by the Steam app).

Usage

To run winecfg for the prefix of Vampire: The Masquerade - Bloodlines:

$ protonrun winecfg
1) "Blasphemous"
2) "FINAL FANTASY VI"
3) "Vampire: The Masquerade - Bloodlines"
#? 3

To select the app without the selection prompt, set PROTONRUN_APP_ID:

$ env PROTONRUN_APP_ID=2600 protonrun winecfg

To see the IDs of installed apps, use:

$ protonrun --list

For more detailed usage:

$ protonrun --help

Requirements

protonrun should run on any system with bash and standard Unix utils.

For tests, git submodules need to be cloned with the repo.

Installation

Not required; just run the protonrun script directly, or put on PATH for convenience.

About

Script to run commands inside proton prefixes of Steam games

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages