Forked from AnonymerNiklasistanonym/mf_install_helper.sh
Last active
October 22, 2023 11:58
-
-
Save scottlinux/930238ed1ecbccd6f6b06bb2cea36ca6 to your computer and use it in GitHub Desktop.
Helping script that automatically installs the Media Foundation workaround for Wine (https://github.com/z0z0z/mf-install) to the latest Proton Version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
rm -rf mf-install | |
git clone --depth=1 https://github.com/z0z0z/mf-install.git | |
cd mf-install | |
GRIS_STEAM_ID=683320 | |
PUMMEL_PARTY_STEAM_ID=880940 | |
# Select which game should be updated | |
STEAM_ID=$GRIS_STEAM_ID | |
STEAM_APPS_DIRECTORY="$HOME/.steam/steam/steamapps/common" | |
STEAM_APPS_DIRECTORY_COMMON="$STEAM_APPS_DIRECTORY/common" | |
LATEST_PROTON_DIR="" | |
for i in $STEAM_APPS_DIRECTORY_COMMON/Proton*; do | |
LATEST_PROTON_DIR="$i" | |
done | |
export WINEPREFIX="$STEAM_APPS_DIRECTORY/compatdata/$STEAM_ID/pfx" | |
export PROTON="$LATEST_PROTON_DIR" | |
echo "WINEPREFIX:" | |
echo $WINEPREFIX | |
echo "PROTON:" | |
echo $PROTON | |
./mf-install.sh -proton | |
cd .. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For anyone trying to use this and having issues, i had to change
STEAM_APPS_DIRECTORY="$HOME/.steam/steam/steamapps/common"
to
STEAM_APPS_DIRECTORY="$HOME/.steam/steam/steamapps"