Cannot setup Battle.net agent.

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
nydn
Newbie
Newbie
Posts: 4
Joined: Sat Jun 14, 2014 11:14 am

Cannot setup Battle.net agent.

Post by nydn »

Hey there,

I'm a newbie user of wine, installed wine-devel-1.7.19 on an amd64 FreeBSD 10.0. Wine seems to work fine,I tried out Firefox and VLC and both works as intended. However I just can't setup Battle.net agent which is needed for Diablo 3 (or any other Blizzard game). When I run the installer the Agent starts and after a while beginning to update but it fails at about 40% and I get the error BLZBNTAGT00000002. Installed wininet according to some information on AppDB but nothing changes.

Anyone can help me solve this issue?

Thank you,
Daniel
User avatar
olivierfrdierick
Level 5
Level 5
Posts: 258
Joined: Thu Sep 13, 2012 12:09 pm

Re: Cannot setup Battle.net agent.

Post by olivierfrdierick »

Does an error show up in terminal output?

Link: 10.1. How can I get a debugging log (a.k.a. terminal output)?
nydn
Newbie
Newbie
Posts: 4
Joined: Sat Jun 14, 2014 11:14 am

Re: Cannot setup Battle.net agent.

Post by nydn »

olivierfrdierick wrote:Does an error show up in terminal output?

Link: 10.1. How can I get a debugging log (a.k.a. terminal output)?
Well, not really. It just generates an empty text file. (tried out 3 times)
It's doing the same thing over and over again and after like 10 minutes it just stops and I get the blizzard error I mentioned in the first post.
This is what I see in the terminal mostly:
https://imgur.com/n7T1rYU
https://imgur.com/JKw8wlW
User avatar
olivierfrdierick
Level 5
Level 5
Posts: 258
Joined: Thu Sep 13, 2012 12:09 pm

Re: Cannot setup Battle.net agent.

Post by olivierfrdierick »

The command in the wiki doesn't look right. It should be:

Code: Select all

cd ~/.wine/drive_c/Games/Tron
wine tron.exe >log.txt 2>$1
Of course the path and executable name must be replaced by those of Battle.net.

I found a thread on Battle.net forum that led me to the AppDB entry for Diablo 3
1. How to run the game

you execute the battle.net launcher with the following command:

setarch i386 -3 wine 'c:\program files\battle.net\battle.net launcher.exe

fixes many freeze and network issues.
Did you try this?

Source: Battle.net launcher update on Wine/Linux - Forums - Diablo III, WineHQ - Diable III 2.0.x
nydn
Newbie
Newbie
Posts: 4
Joined: Sat Jun 14, 2014 11:14 am

Re: Cannot setup Battle.net agent.

Post by nydn »

olivierfrdierick wrote:The command in the wiki doesn't look right. It should be:

Code: Select all

cd ~/.wine/drive_c/Games/Tron
wine tron.exe >log.txt 2>$1
Of course the path and executable name must be replaced by those of Battle.net.

I found a thread on Battle.net forum that led me to the AppDB entry for Diablo 3
1. How to run the game

you execute the battle.net launcher with the following command:

setarch i386 -3 wine 'c:\program files\battle.net\battle.net launcher.exe

fixes many freeze and network issues.
Did you try this?

Source: Battle.net launcher update on Wine/Linux - Forums - Diablo III, WineHQ - Diable III 2.0.x

Log file generated but it's still empty. Should it write something even if there is no error?

The Battle.net app is not yet installed, I'm trying to setup that and nothing Bnet related is created so far in wine. When I run the Setup.exe it starts the Agent and it hangs on the updating. It looks like it cannot connect to the blizzard servers, however it not helps when I disable the firewall.

Also there is no 'setarch' command on FreeBSD 10 afaik.

Can you (or anyone else) try to setup it?
https://us.battle.net/account/download/ ... ow=bnetapp
nydn
Newbie
Newbie
Posts: 4
Joined: Sat Jun 14, 2014 11:14 am

Re: Cannot setup Battle.net agent.

Post by nydn »

Alright, I haven't really payed attention, one of the comments on AppDB was correct (however it's a bit tricky) and I managed to install Battle.net and now downloading Diablo 3 (will take some time tho, with my slow net).
For future reference:
http://appdb.winehq.org/objectManager.p ... &iId=28855
hiisukun's comment helped me:
Ran the installer first, got the error, exit and kill everything wine related.
run the agent from separate terminal as described by him:
wine ~/.wine/drive_c/users/Public/Application\ Data/Battle.net/Agent/Agent.beta.2581/Agent.exe --nohttpauth &

while the agent is running, start the Battle.net installer from another terminal than the agent.

I've used the following library overrides in winecfg:
dbghelp (disabled)
msvcp100(native then builtin)
Locked