Skip to content

Instantly share code, notes, and snippets.

@sksat
Created July 2, 2021 14:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sksat/19234cbbd63f811a4c6518e014b4ed8c to your computer and use it in GitHub Desktop.
Save sksat/19234cbbd63f811a4c6518e014b4ed8c to your computer and use it in GitHub Desktop.
VRChat by Proton
#!/bin/bash
PROTON_VERSION="- Experimental"
STEAM_COMPAT_CLIENT_INSTALL_PATH="${HOME}/.local/share/Steam"
STEAMAPPS_BASE="${STEAM_COMPAT_CLIENT_INSTALL_PATH}/steamapps"
STEAMAPPS_COMMON="${STEAMAPPS_BASE}/common"
PROTON_BIN="${STEAMAPPS_COMMON}/Proton ${PROTON_VERSION}/proton"
STEAM_COMPAT_APP_ID=438100
STEAM_COMPAT_DATA_PATH="${STEAMAPPS_BASE}/compatdata/${STEAM_COMPAT_APP_ID}"
VRCHAT_EXE="${STEAMAPPS_COMMON}/VRChat/VRChat.exe"
env STEAM_COMPAT_CLIENT_INSTALL_PATH=${STEAM_COMPAT_CLIENT_INSTALL_PATH} STEAM_COMPAT_DATA_PATH=${STEAM_COMPAT_DATA_PATH} "${PROTON_BIN}" waitforexitandrun ${VRCHAT_EXE} --no-vr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment