Skip to content

Instantly share code, notes, and snippets.

@Roliga
Created September 7, 2019 14:09
Show Gist options
  • Save Roliga/8493e33e4cbb7eccd4e5f0a831a3990d to your computer and use it in GitHub Desktop.
Save Roliga/8493e33e4cbb7eccd4e5f0a831a3990d to your computer and use it in GitHub Desktop.
#!/bin/sh
# Based on https://gist.github.com/thrimbor/67d109004db28820bf918c8ac80f75d2
# BEFORE RUNNING THIS, go into the game's properties in steam and set "Force the use of a specific Steam Play compatability tool" to "Proton 4.2-9". Other versions may work as well, but that's what worked for me.
# Also click "SET LAUNCH OPTIONS" and input: WINEDLLOVERRIDES="mscoree=n" %command%
# If you have been experimenting with other workarounds to get the game running you might also want to "VERIFY INTEGRITY OF GAME FILES" on the "LOCAL FILES" tab.
# Finally in this script change the following line to point to your steamapps directory if it dowsn't already:
steamappsDir="$HOME/.local/share/Steam/steamapps"
export WINEPREFIX="$steamappsDir/compatdata/244210/pfx"
if ! [ -d "$WINEPREFIX" ]; then
echo "Couldn't find wine prefix at '$WINEPREFIX'" >&2
exit
fi
winetricks winxp
curl -C - -Lo "$WINEPREFIX/dotNet.exe" 'https://download.microsoft.com/download/9/5/A/95A9616B-7A37-4AF6-BC36-D6EA96C8DAAE/dotNetFx40_Full_x86_x64.exe'
wine "$WINEPREFIX/dotNet.exe" /q
winetricks win7
curl -C - -Lo "$WINEPREFIX/NDP.exe" 'https://download.microsoft.com/download/9/E/6/9E63300C-0941-4B45-A0EC-0008F96DD480/NDP471-KB4033342-x86-x64-AllOS-ENU.exe'
wine "$WINEPREFIX/NDP.exe" /q
winetricks corefonts
winetricks -q vcrun2008
winetricks -q vcrun2010
winetricks -q vcrun2012
winetricks -q vcrun2013
winetricks -q vcrun2015
winetricks --force -q vcrun2017
winetricks -q msxml3
winetricks -q msxml4
winetricks -q msxml6
winetricks devenum
winetricks d3dx11_43
winetricks d3dcompiler_43
winetricks d3dcompiler_47
winetricks vista
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment