 ========================
 == Steam / Steam Deck ==
 ========================

1) Launch the game once with the desired Proton version, then close it.

2) Launch a terminal (in Desktop Mode on Deck).
   Ensure the Bash script (ending in .sh) is executable, then run it. Do not use sudo.

  chmod u+x Install_[GAME]_4K_Online_Linux.sh
  ./Install_[GAME]_4K_Online_Linux.sh

Where [GAME] is P2, WC3, WC4 or WCP as appropriate.


 ========================
 ======= Advanced =======
 ========================

For custom setups, you'll need to supply your Wine prefix (and Proton path, if used) manually.

Usage:
  ./Install_[GAME]_4K_Online_Linux.sh             -- Attempt to find an existing Steam installation.
  ./Install_[GAME]_4K_Online_Linux.sh --check     -- Show detected paths; do not run/install anything.
  WINEPREFIX=/path/to/prefix ./Install_[GAME]_4K_Online_Linux.sh
  WINEPREFIX=/path/to/compatdata/APPID/pfx PROTON=/path/to/Proton/proton ./Install_[GAME]_4K_Online_Linux.sh

Optional environment variables:
  WINEPREFIX       An existing prefix; overrides Steam prefix discovery.
  PROTON           Proton's executable 'proton' script; overrides runner discovery.
  WINE_BIN         Wine executable for a manual Wine prefix (default: wine).
  STEAM_ROOT       Steam client directory; overrides default Steam locations.
  STEAM_COMPAT_DATA_PATH / STEAM_COMPAT_CLIENT_INSTALL_PATH
                   Existing Proton environment variables are also respected.
  STEAM_RUNTIME    Steam Linux Runtime directory, or 'none'.
                   Normally detected from Proton's toolmanifest.vdf.
