Skip to content

Instantly share code, notes, and snippets.

@nyteshade
Forked from Aldarone/winestar.sh
Created June 10, 2014 00:37
Show Gist options
  • Save nyteshade/6b3058c9d1adb112520f to your computer and use it in GitHub Desktop.
Save nyteshade/6b3058c9d1adb112520f to your computer and use it in GitHub Desktop.
#!/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