Forums

Battle.net Client

Can't get it working

Auteur Réponses
Jump to the page: 1 - 2
izberion Mercredi 30 Octobre 2013 à 6:00
izberionAnonymous

I just got in to the Hearthstone beta today (finally!) and I'm trying to get the Battle.net Desktop App working. It's required for Hearthstone.

The problem is, it crashes a few seconds after logging in. I've looked it up on the WineAppDB and there is a patch for it and a patch for another bug I haven't gotten to yet. Now I have no clue how to apply a Wine patch, much less to Wine with PoL. 

If anyone can help me out, or if you have it running, tell me how you got it to there, it would be much appreciated. 
booman Mercredi 30 Octobre 2013 à 20:59
booman

Before we request a Wine patch, lets eliminate any other problems first.

A few questions:
  1. What Linux distro are you using?
  2. Is it 64-bit or 32-bit?
  3. if 64-bit, did you install multi-arch 32-bit libraries?
  4. What Windows Components/Packages did you install?
  5. What Windows Version are you running in Wine?
Wine HQ's recommends setting dbghelp as (native, builtin) or disabled in WineCFG.  Let me know if you need help doing this.

I know it works because its been reported that you can play Diablo 3 and World of Warcraft in PlayOnLinux.
Here are some examples:

† Booman †
Mint 21.3 64-bit | Nvidia 535| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
izberion Jeudi 31 Octobre 2013 à 5:40
izberionAnonymous

64 bit Linux Mint 15

I have the multiarch libraries. I installed fulldxsetup, dotnet3.0, and vcrun2008, though I don't know if I need the last two, I know I'll need directx for the games. I was running XP. Didn't think to change it. I tried wine 1.7.5, .4, .3, .2, .1, 1.7, 1.6r5, 1.5.20, and 1.4.1, all giving me the same crash, though 1.4.1 crashed for a couple other reasons too.

I saw that about the dbghelp too, but when I went to configure Wine in PoL, I couldn't find that library on the list. There was a dbgsomething or other but it wasn't that.

By the way, you don't need the Battle.net client to run Diablo 3, unless they changed it from when it came out. I don't think WoW needs it either.

I've been looking at compiling and patching Wine, and man, for a 64bit system it's a giant pain in the ass. 32 bit is simple. Change the code you need changed, compile, make and on. For 64 bit I've been following this: http://wiki.winehq.org/BuildingBiarchWineOnUbuntu

But I'm stuck at the point where I open the container and install the wine prereqs, it tells me I need to add sources to the source.list. It must be going off its own source.list because I have that enabled outside of this container. And I can't open it with gedit, because it says gedit is not a known command.

If I remember correctly there is a command to change the sources without needing the open it in a text editor, but it's late and I don't feel like looking for one right now :P
booman Jeudi 31 Octobre 2013 à 6:43
booman

Thanks for the detailed response, it sounds like you know what you are doing and have done the research.

I wonder why its required for Hearthstone but not Diablo 3 or World of Warcraft?
So is Battle.net a client like Steam or Origin?
Can I download it for free and try it out?

In order to set dbghelp you need to use a recent version of Wine like 1.6 or 1.7.1:
  1. Launch PlayOnLinux
  2. Click Configure
  3. Select Battle.net virtual drive (left side)
  4. Click Wine Tab
  5. Click Configure Wine
  6. Click the Libraries Tab
  7. Click the Textbox
  8. Type dbghelp
  9. Click add
  10. Select dbghelp at the bottom
  11. Click Edit
  12. Select native,builtin
  13. click Ok

† Booman †
Mint 21.3 64-bit | Nvidia 535| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
izberion Jeudi 31 Octobre 2013 à 13:09
izberionAnonymous

I know how to add dbghelp, it's just not there. There is dbgeng, no dbghelp.

And yea it's like Steam, just only Blizzard games. You can launch your games from there and keep them up to date.Not sure why only Hearthstone requires it. Though it's probably because it came out after or around the same time as the Battle.net Client and Blizzard of course will want everyone using their client to launch their games.
booman Jeudi 31 Octobre 2013 à 13:49
booman

Step 8 is typing the work dbghelp and clicking add.
You can manually add it that way since its not on the list.
You can do this with any dll that isn't on the list.

Ok, I'll look for Battle.net and try to download it.
I'll post my results.

† Booman †
Mint 21.3 64-bit | Nvidia 535| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
izberion Jeudi 31 Octobre 2013 à 15:17
izberionAnonymous

Oh ok. Well I added it and it still crashes. The only reason it crashes is because of an error with crypt32. That's what the patch would be for.
booman Jeudi 31 Octobre 2013 à 16:14
booman

Oh no, not crypt32!!!
I've had my wasted hours messing with crypt32.dll
What a pain.
This morning I downloaded the Battlenet app but didn't have a chance to install and mess around with it.

There are a few ways you can troubleshoot crypt32.
  1. Copy crypt32.dll from your Windows box c:\windows\system32
  2. use the above step and find it in Wine libraries, set to native,builtin
  3. download it from one of those dll sites (at your own risk of course)

† Booman †
Mint 21.3 64-bit | Nvidia 535| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
booman Jeudi 31 Octobre 2013 à 16:17
booman

If those don't fix crypt32, I have one more trick, who knows, its worth a try...

First use your Distro's package manager and install subversion
Google your Distro if you are not sure how to install packages and programs

Open Terminal

Download old version of Winetricks
Copy & Paste or type this command:

Code:
svn checkout http://winetricks.googlecode.com/svn/trunk/ winetricks-read-only
Press Enter

Note: Winetricks-read-only downloads to your home folder automatically
assasins40.png

This is what you should see in Terminal after running the svn command
assasins41.png

Navigate to the winetricks-read-only folder in Terminal
Code:
cd ~/winetricks-read-only/src
Press Enter
assasins42.png 

Kill any existing Wine processes
Code:
sudo killall wineserver
Press Enter
assasins43.png 

Run crypt32 command in your virtual drive (your path is probably different)
Code:
WINEPREFIX=/home/username/.PlayOnLinux/wineprefix/battlenet/ ./winetricks -q crypt32
Press Enter

assasins44.png 

This is the output on Terminal
If the command doesn't work, make sure the path to your assassinscreed2 virtual drive is correct
assasins45.png

† Booman †
Mint 21.3 64-bit | Nvidia 535| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
izberion Jeudi 31 Octobre 2013 à 16:17
izberionAnonymous

If that doesn't work I'll have to figure out patching Wine with this change http://bugs.winehq.org/attachment.cgi?id=45189&action=diff
booman Jeudi 31 Octobre 2013 à 16:19
booman

Check my last post too...
Actually you can request the PlayOnLinux devs to patch Wine for you and it will be available for all of us to download.
email: contact@playonlinux.com

† Booman †
Mint 21.3 64-bit | Nvidia 535| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
izberion Jeudi 31 Octobre 2013 à 16:33
izberionAnonymous

Now it doesn't even launch, it just crashes straight away. I'll request the patch. My computer doesn't want to let me do it :P
booman Jeudi 31 Octobre 2013 à 16:36
booman

Thats fine, it was worth a try.
Ironcially it worked for Assassins Creed II

I'll give Battlenet a go this weekend and see if I can get anywhere with it.
I grow tired of these "client" programs that force us to use so we can play games.
They are very annoying because of DRM.
crypt32.dll is definitely used for DRM

But of course the best games have to use it to reduce piracy

† Booman †
Mint 21.3 64-bit | Nvidia 535| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
izberion Jeudi 31 Octobre 2013 à 16:37
izberionAnonymous

Not the Witcher games ;)
booman Jeudi 31 Octobre 2013 à 16:42
booman

Ah GOG has opened a whole new DRM-Free world where we can play the way we want!
I love GOG, just wish they could get some newer games, but I know its against their name.
Far Cry 2 is pretty new...

If you use Desura, its DRM free and Linux compatible.
Just click the penguin icon at the top right and browse Linux games

† Booman †
Mint 21.3 64-bit | Nvidia 535| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
izberion Vendredi 1 Novembre 2013 à 6:54
izberionAnonymous

I just get all my games from Steam unless they're older games like Thief, then I go to GOG.

Both Witcher games I've bought twice. One on CD, one on Steam. I plan to do that with the Witcher 3 too, though only because I plan on getting the collector's edition. And because I like my game library very centralized, thus Steam.
izberion Vendredi 1 Novembre 2013 à 6:59
izberionAnonymous

Wow I am a dummy. Seems I don't need the Battle.net Client to run Hearthstone. Guess I didn't look hard enough for the download link and I remember hearing somewhere it required the client. Oh well, I'll test it in the morning.

EDIT: Got the Battle.net Client running. All I had to do was set the dbghelp to disabled. Looks like it works now. There's only one bug I can see and it looks like it doesn't affect anything http://i.imgur.com/7Zt6Qgg.png

Hearthstone works perfectly, though I had to limit pulseaudio to 1 core and max 10% cpu because for some reason it and my computer have a tendency to take audio and video and speed it up to 1.5x or 2x normal and make the audio crackle. But that's not a problem. 

Installing Starcraft 2 right now to make sure that works too.
--Works flawlessly on everything maxed out to Ultra/Extreme, though I only jumped into an AI match, online should work fine too.

It actually downloaded at my full down speed. The normal exe for Starcraft 2 always seems to max out around 2MB/s for me, but the Battle.net client had it going at 4.5-5.5MB/s 

Edité par izberion

booman Vendredi 1 Novembre 2013 à 16:15
booman

Awesome News!!!
Thanks for telling us how you did it.
By the way, does Warcraft III need Battle.net to install and run?
I'm going to try it this weekend

Don't forget to mark this thread as solved

† Booman †
Mint 21.3 64-bit | Nvidia 535| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
izberion Vendredi 1 Novembre 2013 à 16:18
izberionAnonymous

I don't think anything requires it, though it's nice to have them all in one spot and automatically updated. I don't own Warcraft 3 so I wouldn't know what it needs. I haven't tested it because they don't interest me anymore, but I think WoW and Diablo 3 should work fine installed and ran from the client.
booman Vendredi 1 Novembre 2013 à 16:22
booman

Ok Cool... Enjoy Hearthstone

† Booman †
Mint 21.3 64-bit | Nvidia 535| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
Vous êtes ici: Index > PlayOnLinux > Battle.net Client

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com