Provides a simple curses based user interface for setting up your proton environment and related variables by selecting a "compatdata" and a "proton" folder aimed to use in tandem with automated protontricks scripts
After the selection has been made the script sets the following variables for the passed command
- PROTON
- Path to root folder of Proton
- WINEPREFIX
- pfx folder of the selected wineprefix/compatdata folder
- PATHEXTRA
- path to the bin folder of Proton
- WINESERVER
- path to the wineserver binary
- WINELOADER
- path to the wineloader binary
- WINEDLLPATH
- path entry string containing lib/wine:lib64/wine
- APPID
- APPID of selected wineprefix/compatdata
Simply run ./install.sh
then you can use the ncps
command
ncps /path/to/script params
or ncps -c '/path/to/script params $envvar_as_param'
$ ncps ./cool_protontricks_script.sh -coolparams
... user interaction
$ hey i'm cool_protontricks_script.sh and received -coolparams and some PROTON env vars
$ ncps -c './cool_protontricks_script_that_needs_appid.sh -coolparams $APPID'
... user interaction, selects app having 123realAppid
$ hey i'm cool_proton_script_that_needs_appid.sh and received -coolparams and 123realAppid as parameters
or
$ ncps -c 'echo hello $PROTON'
... user interaction
$ hello /home/deck/Steam/compatibilitytools.d/ProtonGE5
- Prefix selector shows UNKNOWN for apps that are no longer installed, might use steamapi with caching to get app name
- PgUP/PgDn & Mouse support is missing
- Option to reuse last selected environment
This script is primarily created for the Steam Deck
The curses menu can be navigated using the DPAD making it significantly easier to execute protontricks scripts
However, it should Just Work on a standard computer running linux