-
-
Save nyteshade/6b3058c9d1adb112520f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Tested with wine-1.7.17 | |
# Put this script and the Wildstar.exe installer in a directory | |
# Edit the VIDEO_MEMORY_SIZE according to your graphic card. | |
# | |
# At first launch, use `./winestar.sh install` and keep the default install directory | |
# | |
# Once the launcher is downloaded you can simply use ./winestar.sh | |
# CHANGEME | |
VIDEO_MEMORY_SIZE=1024 | |
# DO NOT CHANGE ME | |
export WINEARCH="win32" | |
export WINEPREFIX="$(dirname $(readlink -f $0))/.winestar" | |
export WINEDEBUG="-all" | |
case $1 in | |
'install' ) | |
winetricks -q ie8 winhttp | |
winetricks videomemorysize=$VIDEO_MEMORY_SIZE | |
wine ${WINEPREFIX}/../Wildstar.exe | |
;; | |
'regedit' ) | |
wine regedit | |
;; | |
'uninstall' ) | |
wine ${WINEPREFIX}/../Wildstar.exe /uninstall | |
;; | |
* ) | |
wine "${WINEPREFIX}/drive_c/Program Files/NCSOFT/WildStar/Wildstar.exe" | |
;; | |
esac |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment