Skip to content

Instantly share code, notes, and snippets.

@IBBoard
Created January 30, 2022 16:39
Show Gist options
  • Select an option

  • Save IBBoard/99667decc3c04ffc138e8686cbb84730 to your computer and use it in GitHub Desktop.

Select an option

Save IBBoard/99667decc3c04ffc138e8686cbb84730 to your computer and use it in GitHub Desktop.
Shell script to launch UPlay from a Steam AC:Liberations install so that you can play other Ubisoft games
#! /bin/bash
#LATEST_PROTON=$(ls -1 ~/.local/share/Steam/steamapps/common/Proton\ */dist/bin/wine64 | grep -v Experimental|tail -n1)
LATEST_PROTON=$(ls -1 ~/.local/share/Steam/compatibilitytools.d/Proton*/files/bin/wine64 | grep -v rc | tail -n1)
WINEPREFIX="$HOME/.local/share/Steam/steamapps/compatdata/260210/pfx/" \
PROTON_USE_D9VK=1 PROTON_NO_ESYNC=1 \
WINEDLLOVERRIDES="steam.exe=b;dotnetfx35.exe=b" \
"$LATEST_PROTON" "c:/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/UbisoftConnect.exe"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment