games:linux:wine:starcraft_2
Table of Contents
Information
Prerequisites
Install
Battle.net App
- Log-in
- Close
mkdir -p ~/'Wine Prefixes' && wget 'dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/Battle.net-Setup-enUS.exe' -O ~/'Downloads/Battle.net-Setup.exe' && WINEPREFIX=~/'Wine Prefixes/StarCraft II' WINEARCH='win64' wine ~/'Downloads/Battle.net-Setup.exe'
Restore SC2 Data
- Moves an existing
StarCraft II
folder ideally containing 30+data.0###
files in itsSC2Data/data
folder from~/Downloads
- If not restoring a back-up, or are downloading the game from scratch, ignore this
mv ~/'Downloads/StarCraft II' ~/'Wine Prefixes/StarCraft II/drive_c/Program Files (x86)' && sync
StarCraft II
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'
Clean Up
rm ~/'Downloads/Battle.net-Setup.exe' ~/'Desktop/Battle.net.desktop' ~/'Desktop/StarCraft II.desktop' && sync
DXVK
Information
- D3D11 to Vulkan
Download
Install
rm -rf '/tmp/dxvk-'* && cd '/tmp' && tar -xvzf ~/'Downloads/dxvk-'*'.tar.gz' && cd ~ && WINEPREFIX=~/'Wine Prefixes/StarCraft II' '/tmp/dxvk-'*'/setup_dxvk.sh' install && rm -rf '/tmp/dxvk-'* && mkdir -p ~/'Wine Prefixes/StarCraft II/dxvk_state_cache' && 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' &&
DXVK_HUD='full'
DXVK_LOG_LEVEL='none' WINEDEBUG='-all'
__NV_PRIME_RENDER_OFFLOAD='1' __VK_LAYER_NV_optimus='NVIDIA_only'
__NV_PRIME_RENDER_OFFLOAD='1' __VK_LAYER_NV_optimus='non_NVIDIA_only'
DXVK_STATE_CACHE_PATH=~/'Wine Prefixes/StarCraft II/dxvk_state_cache' MESA_GLSL_CACHE_DIR=~/Wine Prefixes/StarCraft II' 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' &&
DXVK_HUD='full'
DXVK_LOG_LEVEL='none' WINEDEBUG='-all'
__NV_PRIME_RENDER_OFFLOAD='1' __VK_LAYER_NV_optimus='NVIDIA_only'
__NV_PRIME_RENDER_OFFLOAD='1' __VK_LAYER_NV_optimus='non_NVIDIA_only'
DXVK_STATE_CACHE_PATH=~/'Wine Prefixes/StarCraft II/dxvk_state_cache' MESA_GLSL_CACHE_DIR=~/Wine Prefixes/StarCraft II' WINEPREFIX=~/'Wine Prefixes/StarCraft II' 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/Support64' &&
DXVK_HUD='full'
DXVK_LOG_LEVEL='none' WINEDEBUG='-all'
__NV_PRIME_RENDER_OFFLOAD='1' __VK_LAYER_NV_optimus='NVIDIA_only'
__NV_PRIME_RENDER_OFFLOAD='1' __VK_LAYER_NV_optimus='non_NVIDIA_only'
DXVK_STATE_CACHE_PATH=~/'Wine Prefixes/StarCraft II/dxvk_state_cache' MESA_GLSL_CACHE_DIR=~/Wine Prefixes/StarCraft II' WINEPREFIX=~/'Wine Prefixes/StarCraft II' wine ~/'Wine Prefixes/StarCraft II/drive_c/Program Files (x86)/StarCraft II/Support64/SC2Switcher_x64.exe' -launch
File Manager
Root
gio open ~/'Wine Prefixes/StarCraft II/drive_c/Program Files (x86)/StarCraft II'
C:/www/wiki/data/pages/games/linux/wine/starcraft_2.txt · Last modified: by 127.0.0.1