Starcraft 2, how to install it after update

Questions about Wine on Linux
Locked
tomkis90
Newbie
Newbie
Posts: 4
Joined: Thu Sep 29, 2016 1:44 pm

Starcraft 2, how to install it after update

Post by tomkis90 »

How do I install starcraft 2 with wine or playonlinux after the update of battle.net?
Now it requires microsoft visual c++ 2015, which I can't find anywhere, not a working one I would guess.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Starcraft 2, how to install it after update

Post by Bob Wya »

tomkis90 wrote:How do I install starcraft 2 with wine or playonlinux after the update of battle.net?
Now it requires microsoft visual c++ 2015, which I can't find anywhere, not a working one I would guess.
Just tested in a 32-bit Wineprefix:

Code: Select all

winetricks vcrun2015
Works fine - with Wine 1.9.23.

Code: Select all

winetricks --version
20161107 - sha1sum: 9a08fd86198fcde30269d54e7701035bf00df8d6
Bob
tomkis90
Newbie
Newbie
Posts: 4
Joined: Thu Sep 29, 2016 1:44 pm

Re: Starcraft 2, how to install it after update

Post by tomkis90 »

Code: Select all

------------------------------------------------------
You are using a 64-bit WINEPREFIX. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Unknown arg vcrun2015
Usage: /usr/bin/winetricks [options] [command|verb|path-to-verb] ...
Executes given verbs.  Each verb installs an application or changes a setting.

Options:
    --force           Don't check whether packages were already installed
    --gui             Show gui diagnostics even when driven by commandline
-k, --keep_isos       Cache isos (allows later installation without disc)
    --no-clean        Don't delete temp directories (useful during debugging)
    --no-isolate      Don't install each app or game in its own bottle
-q, --unattended      Don't ask any questions, just install automatically
-r, --ddrescue        Retry hard when caching scratched discs
    --showbroken      Even show verbs that are currently broken in wine
    --verify          Run (automated) GUI tests for verbs, if available
-v, --verbose         Echo all commands as they are executed
-h, --help            Display this message and exit
-V, --version         Display version and exit

Commands:
list                  list categories
list-all              list all categories and their verbs
apps list             list verbs in category 'applications'
benchmarks list       list verbs in category 'benchmarks'
dlls list             list verbs in category 'dlls'
games list            list verbs in category 'games'
settings list         list verbs in category 'settings'
list-cached           list cached-and-ready-to-install verbs
list-download         list verbs which download automatically
list-manual-download  list verbs which download with some help from the user
list-installed        list already-installed verbs
prefix=foobar         select WINEPREFIX=/home/tomas/.local/share/wineprefixes/foobar
Wine 1.9.22.
Am i doing something wrong?
tomkis90
Newbie
Newbie
Posts: 4
Joined: Thu Sep 29, 2016 1:44 pm

Re: Starcraft 2, how to install it after update

Post by tomkis90 »

I get bug 17272 or bug 37781 when trying to install vcrun2015.
I tried it by simply writing "winetricks vcrun2015" and I also tried this:

wget https://raw.githubusercontent.com/Winet ... winetricks
chmod +x winetricks
WINEPREFIX=/home/tomas/.PlayOnLinux/wineprefix/battlenet ./winetricks -q vcrun2015

Both times were unsuccessful
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Starcraft 2, how to install it after update

Post by Bob Wya »

tomkis90 wrote:

Code: Select all

------------------------------------------------------
You are using a 64-bit WINEPREFIX. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
...
There's your clue... But of course you'll have diligently read through the comprehensive, yet concise WineHQ FAQ - nO ??!! :o

General background: 2.6 Is there a 64 bit Wine?
Specifically: 6.5.3 How do I create a 32 bit wineprefix on a 64 bit system?

Also - if you've installed any Windows system libraries in a Wineprefix - it's generally preferable to nuke and pave the Wineprefix before re-installation of said Windows libraries.

Winetricks only support the 32-bit build of the Visual Studio 2015 runtime. It may install in a 64-bit Wineprefix - but may still not be picked up by Windows applications installed to that prefix.

So I'd proceed by trying to install Starcraft II to a clean 32-bit Wineprefix.

Bob
tomkis90
Newbie
Newbie
Posts: 4
Joined: Thu Sep 29, 2016 1:44 pm

Re: Starcraft 2, how to install it after update

Post by tomkis90 »

I finally got it up and running but I am facing another problem, even with my i7 4790k and gtx 980 I get little FPS even on medium settings, dropping to 30-40 in a battle
Locked