Skip to content

Instantly share code, notes, and snippets.

@rokam
Created March 30, 2022 03:21
Show Gist options
  • Save rokam/3fb8b768606eef1ddd696cd0bc02e6df to your computer and use it in GitHub Desktop.
Save rokam/3fb8b768606eef1ddd696cd0bc02e6df to your computer and use it in GitHub Desktop.
Bash script to run the proton experimental fall guys fix
#!/bin/bash
STEAMAPPS_PATH=${1-~/.steam/steam/steamapps}
FALLGUYS_PATH=$STEAMAPPS_PATH/common/Fall\ Guys
if [ ! -d "$FALLGUYS_PATH" ]; then
echo Unable to find Fall Guys Path.
exit
fi
#Create symlink
ln -s "$FALLGUYS_PATH/EasyAntiCheat/easyanticheat_x64.so" "$FALLGUYS_PATH/FallGuys_client_game_Data/Plugins/x86_64/easyanticheat_x64.so"
#Edit ini file
sed -i.bak 's/TargetApplicationPath=.*/TargetApplicationPath=FallGuys_client_game.exe/' "$FALLGUYS_PATH/FallGuys_client.ini"
#Try to install Proton EAC Runtime
if which xdg-open > /dev/null
then
xdg-open steam://install/1826330 & > /dev/null
elif which gnome-open > /dev/null
then
gnome-open steam://install/1826330 & > /dev/null
fi
exit
@Pobega
Copy link

Pobega commented Apr 11, 2022

Flatpak STEAMAPPS_PATH is /.var/app/com.valvesoftware.Steam/data/Steam/steamapps

@raelgc
Copy link

raelgc commented Sep 14, 2022

For me, it works only if I really copy the easyanticheat file instead of symlink.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment