The forum

Battle.net and Starcraft 2 on Ubuntu 17.04 64 bit

Battle.net (as listed program as non-listed program) and Starcraft 2 can't install them

Author Replies
Gabrielexy Tuesday 13 June 2017 at 18:50
GabrielexyAnonymous

Greetings,

I prefix that I am italian and so I'm using an italian version of Ubuntu 17.04 64 bit, also I don't think my english is good so I apologize.

 

I have an issue with the installation both of Battle.net and Starcraft 2:

1) On Battle.net (as non-listed program) (by following a guide on Youtube) I can't download Microsoft Core Fonts, it stucks on "andale32.exe" for 1 second like and then the downloading's screen disappears (without even beign completed).

On the other hand if I try to run the Battle.net (without Microsoft Core Fonts) it appears something like "Battle net is launching..." (which is normal) but then the Battle.net screen which I can login doesn't launch, so it doesn't work.

I have also noticed that at 89% the Battle.net's download screen disappears, but I don't think this is the problem...

By the way when I used the Ubuntu 14.04 32 bit version the Battle.net worked with that Youtube guide even if sometimes it crashed but only and solely in game (playing with more than 2 players)

2) On Battle.net (as listed program) when they ask me to install Micorsoft fonts it doesn't work because it does like on Battle.net as non-listed program, then even if I go ahead with the installation everythings goes normal till at the point that it appears a screen like which says something like this: "Battle.net.exe have met a bug, it must be closed", "this can be caused by a problem in the program or by a lack of Wine. You could visit the Database of applications ((of Wine, WineHQ)) for helps about this application"

 

3) With Starcraft WoL they ask me again the Microsoft fonts but the same bug appears again, then the bug that shows is: "Error in POL_Shortcut" and something like this: "Binary not found: Starcraft II.exe", "The program has been installed in the default position?": it happens the same for Starcraft II Editor.exe, and then, for last: "an error has occurred, want to report to PlayOnLinux?" And then naturally I can't run Starcraft 2.

 

Could you help me to install Battle.net/Starcraft 2 on this Ubuntu?

 

I also want to say that I'm really sorry but I don't know where to find CPU and RAM memory and things you may need to help me, but if you need them please ask, but also please tell me where I can find them.

Thanks,

Gabriele

booman Thursday 29 June 2017 at 0:31
booman

Hi Gabriele, thank you for all the details in your post.

What version of PlayOnLinux are you using?
You might want to be sure you are using the newest 4.2.12

Also, what version of Wine are you using for Battle.net?

I've seen this corefonts problem and some installs get stuck in a loop and others just install andale32.exe without issues.  You can always install Battle.net without corefonts and then add it later in PlayOnLinux Configure


† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
kaimon Saturday 9 September 2017 at 3:26
kaimonAnonymous

"You can always install Battle.net without corefonts and then add it later in PlayOnLinux Configure"

Which, as he said, does not work. There's the licence window, andale starts downoading and then nothing.

version 4.2.5-1 from debian jessie - tried Version 4.2.11, same result, installation aborts. 4.2.11 is the latest version offered for jessie in the playonlinux repo. Strangely the playonlinux repo doesn't offer ANY version for stretch/stable.

I decided to download and install 4.2.12 - same result.

Wine version? Several, too many to report, incl. 2.16. 64bit prefix and 32bit prefix, both freshly created.

Edited by kaimon

booman Saturday 9 September 2017 at 22:02
booman

Can you play any other games in PlayOnLinux?

There is a chance you will need to install Wine again and PlayOnLinux again from scratch.  Sometimes something gets missed or messed up during the installation.

Also, make sure to install 32-bit libraries in your Distro.  Otherwise any game or program that is 32-bit will not run.


† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
kaimon Saturday 9 September 2017 at 23:29
kaimonAnonymous

I can play the game again since v. 2.16 staging but I can't get the Battle.net app to work (since about 6-9 months, don't remember exactly - it worked last year). I deinstalled the app and now the reinstall fizzles out somewhere. I'm used to a lot of fixme's and err's in debug mode and generally they don't tell me much (and internet searches mostly come up empty). This is the first problem I could get a hold on.

I know Blizzards way of programming and updating is a bitch, I wrangle with it on every major patchday., but this is something I can't blame on them. A component install shouldn't just terminate without error message no matter what the underlying problem is.

I'll try to start playonlinux from terminal later and see whether python tells me anything.

Edited by kaimon

ImperatorS79 Tuesday 12 September 2017 at 12:42
ImperatorS79Anonymous

Battle.net works fine with corefonts, vcrun 2015 and winxp (wine staging 2.15 and hearthstone)

Edited by ImperatorS79


POL5 is here ! -> https://github.com/PhoenicisOrg/phoenicis
kaimon Tuesday 12 September 2017 at 15:21
kaimonAnonymous

I know it's supposed to work with corefonts, if you had read the thread you'd know that the problem is about installing corefonts ....

kaimon Tuesday 12 September 2017 at 15:56
kaimonAnonymous

I checked from terminal and it seems that POL looks for a directory named 

/home/.../.PlayOnLinux//fonts/

which stays empty. (edit: my primary suspect, the double slash, turned out not to be the culprit)

I filed a bug.

The issue has been noted for other distros too, not just debian: https://www.playonlinux.com/en/topic-15164-Cannot_install_core_fonts.html

Looking at the long bug list without any status changes since June 10th I'm not really hoping for a fix though ....

Edited by kaimon

ImperatorS79 Tuesday 12 September 2017 at 16:00
ImperatorS79Anonymous

You are right, I should be more careful when i answer in a topic.

About the bugs list, that's because devs are heavily working on POL/POM 5.

Did you try to use winetricks in a pol terminal inside the battle.net virtual drive to install corefonts ?

Edited by ImperatorS79


POL5 is here ! -> https://github.com/PhoenicisOrg/phoenicis
booman Tuesday 12 September 2017 at 16:19
booman

 

I checked from terminal and it seems that POL looks for a directory named 

/home/.../.PlayOnLinux//fonts/

which is one slash too many. This looks like a RegExpr gone wrong. I filed a bug.

Looking at the long bug list without any status changes since June 10th I'm not really hoping for a fix though ....

 

That figures... I've actually seen this before.  I can't remember where but someone had posted about PlayOnLinux not working because of a path to fonts and it had double-slashes.  I guess you could create a Fonts folder in the Fonts directory as a work around 


† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
kaimon Wednesday 13 September 2017 at 7:05
kaimonAnonymous

Actually I was wrong about that "double slash" theory. The reason for the error message is that the directory is empty. The download aborts for some reason that is not reflected in the logs and leaves the directory empty.

 

Did you try to use winetricks in a pol terminal inside the battle.net virtual drive to install corefonts ?

No idea how to do that - can you explain?

ImperatorS79 Wednesday 13 September 2017 at 12:05
ImperatorS79Anonymous

Go to configure -> select the battle.net virtual drive -> go to the "various" tab-> open a terminal->winetricks corefonts


POL5 is here ! -> https://github.com/PhoenicisOrg/phoenicis
booman Wednesday 13 September 2017 at 18:29
booman

 

Actually I was wrong about that "double slash" theory. The reason for the error message is that the directory is empty. The download aborts for some reason that is not reflected in the logs and leaves the directory empty.

 

Did you try to use winetricks in a pol terminal inside the battle.net virtual drive to install corefonts ?

No idea how to do that - can you explain?

 

I remember installing PlayOnLinux for the first time and it would ask to install Microsoft Registered Fonts.  I wonder if that never happened on your system?

I've also encountered font loops when creating a virtual drive.  It will constantly ask to install fonts each time I create a new virtual drive. 


† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
kaimon Wednesday 25 October 2017 at 14:33
kaimonAnonymous

Thank you Imperator, I tried your advice but in the end it did not help. No matter how many times I reinstall - I can't get my game to run.

Thank you too Booman, but since nothing worked I finally decided to switch over to lutris. I saw that you (or somebody with your name)  posted on another forum about this. I simultaneously installed liquorix kernel and lutris - both together resulted in a framerate increase of x10. The game went from unplayable (or, at this point, from totally failing) to quite good. I liked the way playonlinux did things and I don't like the browser integration of lutris but POL just doesn't get the job done.

I will keep POLfor office programs though.

booman Wednesday 25 October 2017 at 17:15
booman

I'm glad you finally got it working.  Thank you for posting your solution!


† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
Terces Wednesday 13 December 2017 at 23:35
TercesAnonymous

This can be solved. I found the following solution here:

https://ubuntuforums.org/showthread.php?t=2349320&p=13594175#post13594175

 

Explanation:

The 3.4 version of the ttf-mecorefonts-installer package is broken.

Sourceforge (where the actual font files are downloaded from) changed the location that the fonts are stored rendering the package broken. I'd suggest purging that broken 3.4 version of the package and instead install the 3.6 version of the package from an alternative source.

And to fix it:

sudo apt purge ttf-mscorefonts-installer
wget http://ftp.de.debian.org/debian/pool/contrib/m/msttcorefonts/ttf-mscorefonts-installer_3.6_all.deb -P ~/Downloads
sudo apt install ~/Downloads/ttf-mscorefonts-installer_3.6_all.deb

 

 

*EDIT*

Nope, seems that that still does not solve the problem. I'm sure it is connected to it though. I went ahead and manually downloaded and installed all the fonts from here:

https://sourceforge.net/projects/corefonts/files/the%20fonts/final/

Let's see if that solves the problem.

 

*EDIT2*

Okay, so it really IS the same problem. The way I understand it, POL downloads installation-scripts from the internet to run them. They can rely on OTHER scripts that are online as well. In one of them, POL tries to download the fonts. I found it and adapted it, as can be seen here:

https://www.playonlinux.com/en/app-1365.html

I hope that the change will get accepted soon, as the script is called for many other installation scripts as well. For now, I think you're good if you just manually install the fonts (that's all the script does too).

Edited by Terces

mudx Monday 18 December 2017 at 23:39
mudxAnonymous

Hey there.. my english isnt that good.. but i will try to explain me so good i can.. i was having same problem that "gabriele" has..  few hours ago i found this very and very helpful link.. ( can i post it ?? )

http://www.gamersonlinux.com/forum/threads/starcraft-ii-guide.387/

 they are using a 2.20 stagging version of wine.. it seems to be stable.. follow the guide and u will succesfully install it, i could install it..in my kali linux 2.0, but now im stuck in an other problem within the client of blizzard :) can i post it in that thread ???

 

Greetz and hope u can install it!!!

 

Edited by mudx

plata Tuesday 26 December 2017 at 12:19
plata

booman Wednesday 17 January 2018 at 16:20
booman

I recently started playing Diablo III and found that you don't have to sign in to Battle.net

You can launch Battle.net client without logging in, just click the gear.

Then it will allow you to download Diablo III

When you launch the game, you can sign in there to play.


† Booman †
Mint 21 64-bit | Nvidia 515| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained