User Tools

Site Tools


games:wine:starcraft_2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
games:wine:starcraft_2 [2016/12/21 00:01]
Sean Rhone [Clean Up]
games:wine:starcraft_2 [2016/12/21 00:10] (current)
Sean Rhone [Clean Up]
Line 1: Line 1:
 +====== Information ======
  
 +  * Battle.net App ((http://us.battle.net/en/app))
 +  * StarCraft II ((http://starcraft2.com))
 +  * 64-bit
 +
 +===== Prerequisites =====
 +
 +  * [[distros:fedora_workstation_gnome | Fedora Workstation]]
 +
 +===== Notes =====
 +
 +  * Enable CSMT for NVIDIA Proprietary Graphics
 +  * Fullscreen works better for desktop environment integration
 +
 +====== Install ======
 +
 +===== Battle.net App =====
 +
 +  * Log-in
 +  * Close
 +
 +  mkdir -p ~/'Wine Prefixes' && wget 'https://us.battle.net/download/getInstaller?os=win&installer=Battle.net-Setup.exe' -O ~/'Downloads/Battle.net-Setup.exe' && WINEPREFIX=~/'Wine Prefixes/StarCraft II' WINEARCH='win64' wine ~/'Downloads/Battle.net-Setup.exe'
 +
 +===== Restore StarCraft II =====
 +
 +****
 +
 +  mv ~/'Downloads/StarCraft II' ~/'Wine Prefixes/StarCraft II/drive_c/Program Files (x86)' && sync
 +
 +===== StarCraft II =====
 +
 +  * Install StarCraft II ((Locate the game does not work; the install process will detect the existing data files and patch as-necessary))
 +  * This requires about double the required disk space initially ((about 53GB, StarCraft II's actual data folder, and the rest to satisfy the disk-space requirement for Battle.net app to start the install))
 +
 +  cd ~/'Wine Prefixes/StarCraft II/drive_c/Program Files (x86)/Battle.net' && WINEPREFIX=~/'Wine Prefixes/StarCraft II' wine ~/'Wine Prefixes/StarCraft II/drive_c/Program Files (x86)/Battle.net/Battle.net Launcher.exe'
 +
 +===== Sandbox =====
 +
 +****
 +
 +  WINEPREFIX=~/'Wine Prefixes/StarCraft II' winetricks 'sandbox'
 +
 +===== CSMT/Gallium Nine =====
 +
 +****
 +
 +  WINEPREFIX=~/'Wine Prefixes/StarCraft II' winecfg
 +
 +===== Clean Up =====
 +
 +****
 +
 +  rm ~/'Downloads/Battle.net-Setup.exe' ~/'Desktop/Battle.net.desktop' ~/'Desktop/StarCraft II.desktop' && sync
 +
 +====== Desktop Launcher ======
 +
 +===== Initial =====
 +
 +****
 +
 +  rm -Rf ~/'.local/share/applications/wine/Programs/Battle.net' ~/'.local/share/applications/wine/Programs/StarCraft II' && mkdir -p ~/'.local/share/applications/wine/Programs/StarCraft II'
 +
 +===== StarCraft II (Battle.net App) =====
 +
 +  nano ~/'.local/share/applications/wine/Programs/StarCraft II/StarCraft II.desktop'
 +
 +  [Desktop Entry]
 +  Name=StarCraft II
 +  Categories=Game;
 +  Exec=env WINEDEBUG=-all WINEPREFIX='/home/CHANGEME/Wine Prefixes/StarCraft II' WINEDLLOVERRIDES='api-ms-win-crt-math-l1-1-0=n,b;api-ms-win-crt-stdio-l1-1-0=n,b;msvcp140=n,b;ucrtbase=n,b;vcruntime140=n,b' wine '/home/CHANGEME/Wine Prefixes/StarCraft II/drive_c/Program Files (x86)/StarCraft II/StarCraft II.exe'
 +  Type=Application
 +  StartupNotify=true
 +  Path=/home/CHANGEME/Wine Prefixes/StarCraft II/drive_c/Program Files (x86)/StarCraft II
 +  Icon=924C_StarCraft II.0
 +
 +  sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/wine/Programs/StarCraft II/StarCraft II.desktop'
 +
 +====== Quick Commands ======
 +
 +===== Winecfg =====
 +
 +****
 +
 +  WINEPREFIX=~/'Wine Prefixes/StarCraft II' winecfg
 +
 +===== Winetricks =====
 +
 +****
 +
 +  WINEPREFIX=~/'Wine Prefixes/StarCraft II' winetricks
 +
 +===== Registry Editor =====
 +
 +****
 +
 +  WINEPREFIX=~/'Wine Prefixes/StarCraft II' regedit
 +
 +===== Kill =====
 +
 +****
 +
 +  WINEPREFIX=~/'Wine Prefixes/StarCraft II' wineserver -k
 +
 +===== Execute =====
 +
 +==== Battle.net App ====
 +
 +****
 +
 +  cd ~/'Wine Prefixes/StarCraft II/drive_c/Program Files (x86)/Battle.net' && WINEPREFIX=~/'Wine Prefixes/StarCraft II' wine ~/'Wine Prefixes/StarCraft II/drive_c/Program Files (x86)/Battle.net/Battle.net Launcher.exe'
 +
 +==== StarCraft II (Battle.net App) ====
 +
 +****
 +
 +  cd ~/'Wine Prefixes/StarCraft II/drive_c/Program Files (x86)/StarCraft II' && WINEPREFIX=~/'Wine Prefixes/StarCraft II' WINEDLLOVERRIDES='api-ms-win-crt-math-l1-1-0=n,b;api-ms-win-crt-stdio-l1-1-0=n,b;msvcp140=n,b;ucrtbase=n,b;vcruntime140=n,b' wine ~/'Wine Prefixes/StarCraft II/drive_c/Program Files (x86)/StarCraft II/StarCraft II.exe'
 +
 +==== StarCraft II ====
 +
 +****
 +
 +  cd ~/'Wine Prefixes/StarCraft II/drive_c/Program Files (x86)/StarCraft II' && WINEPREFIX=~/'Wine Prefixes/StarCraft II' WINEDLLOVERRIDES='api-ms-win-crt-math-l1-1-0=n,b;api-ms-win-crt-stdio-l1-1-0=n,b;msvcp140=n,b;ucrtbase=n,b;vcruntime140=n,b' wine ~/'Wine Prefixes/StarCraft II/drive_c/Program Files (x86)/StarCraft II/Support64/SC2Switcher_x64.exe'
 +
 +===== File Manager =====
 +
 +==== Root ====
 +
 +****
 +
 +  xdg-open ~/'Wine Prefixes/StarCraft II/drive_c/Program Files (x86)/StarCraft II'
games/wine/starcraft_2.txt ยท Last modified: 2016/12/21 00:10 by Sean Rhone