-
Notifications
You must be signed in to change notification settings - Fork 37
Custom scripts
Protontricks has a -c
command that allows shell commands to be executed in the installed game's directory. This can be useful for installing game-specific fixes not included with winetricks.
Only run commands you trust! Source code is provided for each script.
This script installs mfplat required by some games (eg. Resident Evil 2). To use, run:
protontricks -c "wget https://gist.githubusercontent.com/Matoking/2017eeffc1cee82f4797530c67707437/raw/install_mfplat.sh; chmod +x install_mfplat.sh; ./install_mfplat.sh <ARCH> <EXE_DIR>;" <APPID>
Replace <ARCH>
with either 32
or 64
depending on whether the game has a 32-bit or a 64-bit executable.
Replace <EXE_DIR>
with the relative path to the directory containing the game's executable. For example, if the game's executable is located in /mnt/SSD/SteamLibrary/steamapps/common/GameName/Binaries/GameName.exe
, you'd replace <EXE_DIR>
with Binaries
. If the EXE is located in the root of the game's installation directory, replace it with .
(a dot).
Script by @Matoking. Script source on GitHub Gist.