User Tools

Site Tools


games:wine:starcraft_2

This is an old revision of the document!


Information

  • Battle.net App 1)
  • StarCraft II 2)
  • 64-bit

Prerequisites

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 3)
  • This requires about double the required disk space initially 4)
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'
3)
Locate the game does not work; the install process will detect the existing data files and patch as-necessary
4)
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
/var/www/wiki/data/attic/games/wine/starcraft_2.1482297005.txt.gz · Last modified: 2016/12/21 00:10 by Sean Rhone