Created
December 15, 2025 14:40
-
-
Save apocalyptech/2e231f46ec8f041418b7e73ccd216c02 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| #!/bin/bash | |
| # vim: set expandtab tabstop=4 shiftwidth=4: | |
| # NOTE: This really only has to be run once; it patches a game DLL and | |
| # sets up the necessary mod structure. From that point on, you should | |
| # be able to just dump mods into the SRML/Mods dir. | |
| # | |
| # Running it again should trigger an uninstall. | |
| # https://gist.github.com/michaelbutler/f364276f4030c5f449252f2c4d960bd2 | |
| # https://noabody.wordpress.com/2021/10/04/wstart/ | |
| # https://raw.githubusercontent.com/noabody/unibuild/master/data/wstart | |
| # Prefix + Proton version | |
| export STEAM_COMPAT_DATA_PATH="/games/Steam/steamapps/compatdata/433340" | |
| export APOC_PROTON_BASE="/games/Steam/steamapps/common/Proton 9.0 (Beta)" | |
| # Construct some other vars | |
| export APOC_PROTON="${APOC_PROTON_BASE}/proton" | |
| export APOC_PROTON_DIR="${APOC_PROTON_BASE}/files" | |
| export WINE="${APOC_PROTON_DIR}/bin/wine64" | |
| export WINESERVER="${APOC_PROTON_DIR}/bin/wineserver" | |
| export WINEPREFIX="${STEAM_COMPAT_DATA_PATH}/pfx" | |
| export STEAM_COMPAT_CLIENT_INSTALL_PATH="${HOME}/.steam" | |
| # Other vars we might need/want | |
| export FREETYPE_PROPERTIES="truetype:interpreter-version=35" | |
| export WINEESYNC=1 | |
| # Install | |
| cd "/games/Steam/steamapps/common/Slime Rancher" | |
| "${APOC_PROTON}" run "SRMLInstaller.exe" $@ | |
| # Run | |
| #cd "${WINEPREFIX}/drive_c/Program Files/Cheat Engine 7.5" | |
| #"${APOC_PROTON}" run "Cheat Engine.exe" $@ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment