diff options
author | Perberos | 2017-01-24 08:46:53 -0300 |
---|---|---|
committer | Perberos | 2017-01-24 08:46:53 -0300 |
commit | 0cf7da52bf05b75076cb2852fc0954ea59e4bf88 (patch) | |
tree | 8a51a6f9937d85cfc5035cfc4541f4a0e2ef1121 /heroes-evolved.sh | |
download | aur-0cf7da52bf05b75076cb2852fc0954ea59e4bf88.tar.gz |
first commit, include the minimal version of the game
Diffstat (limited to 'heroes-evolved.sh')
-rw-r--r-- | heroes-evolved.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/heroes-evolved.sh b/heroes-evolved.sh new file mode 100644 index 000000000000..1361e78d4175 --- /dev/null +++ b/heroes-evolved.sh @@ -0,0 +1,16 @@ +#!/usr/bin/env sh + +export WINEARCH=win32 +export WINEPREFIX=$HOME/.cache/heroes-evolved +export WINEDLLOVERRIDES='wininet=b,n' +export WINEDEBUG=-all + +if [[ ! -d $WINEPREFIX ]]; then + winetricks -q d3dx9 + # this is for the full client, using the games permissions + #ln -sf /opt/heroes-evolved/s3_web "$WINEPREFIX/drive_c/users/$USER/Application Data/" + #ln -sf /opt/heroes-evolved/ "$WINEPREFIX/drive_c/users/$USER/Application Data/Heroes Evolved" + cp -r /opt/heroes-evolved/ "$WINEPREFIX/drive_c/users/$USER/Application Data/Heroes Evolved" +fi + +wine "$WINEPREFIX/drive_c/users/$USER/Application Data/Heroes Evolved/Heroes Evolved.exe" &> /dev/null & |