Running Windows games via umu-run: Difference between revisions
From Pengwings
Created page with "Some Windows games require Steam runtime to work correctly with Proton. The version that comes with Proton only works with Steam. There is a modified version called umu which is designed for non-Steam games. This example runs "Raptor" which is a Game Maker 6 game. Raptor is not working with the normal Proton run script but does work with umu. ==== How to do it ==== Create proton prefix directory mkdir /opt/_pfx/gamemaker Put this run.sh script in the installation dir..." |
No edit summary |
||
| Line 22: | Line 22: | ||
umu-run "$SCRIPT_DIR/$PROGRAM_NAME" & disown | umu-run "$SCRIPT_DIR/$PROGRAM_NAME" & disown | ||
popd | popd | ||
Latest revision as of 23:10, 19 March 2026
Some Windows games require Steam runtime to work correctly with Proton. The version that comes with Proton only works with Steam. There is a modified version called umu which is designed for non-Steam games.
This example runs "Raptor" which is a Game Maker 6 game. Raptor is not working with the normal Proton run script but does work with umu.
How to do it
Create proton prefix directory
mkdir /opt/_pfx/gamemaker
Put this run.sh script in the installation directory of the game, setting configurable settings as needed. If you need to set extra environment variables then you can do that here
#!/bin/bash -x
#---------- CONFIGURABLE SETTINGS ----------
export WINEPREFIX="/opt/_pfx/gamemaker"
export GAMEID=umu-default
export STORE=none
TARGET_PROTON_VERSION=GE-Proton9-27
PROGRAM_NAME="Raptor.exe"
#---------- THE SCRIPT ----------
export STEAM_COMPAT_CLIENT_INSTALL_PATH=$HOME/.steam/steam
export PROTONPATH="$STEAM_COMPAT_CLIENT_INSTALL_PATH/compatibilitytools.d/$TARGET_PROTON_VERSION"
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
pushd "$SCRIPT_DIR"
umu-run "$SCRIPT_DIR/$PROGRAM_NAME" & disown
popd