Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warcraft-III-Setup.exe fails with Bnet Desktop App #14

Open
Kreyren opened this issue Nov 6, 2019 · 7 comments · May be fixed by #16
Open

Warcraft-III-Setup.exe fails with Bnet Desktop App #14

Kreyren opened this issue Nov 6, 2019 · 7 comments · May be fixed by #16
Assignees
Labels
assistance Issues that require assistance to exclude pebcak P3 - Normal Issues with normal priority wine-games Issues related to gaming on wine

Comments

@Kreyren
Copy link
Member

Kreyren commented Nov 6, 2019

Transfer from: Winetricks#1417 (comment)

Working with 32 bit wine install, I install battle.net app and then run the classic game installer for Warcraft III (only newer games are directly installable in the app, older games you use an installer). Installer downloads game but fails when asking for CD Key.

Steps:

1. Download and install battle.net desktop app.

2. Download and run Warcraft-III-Setup.exe

3. After it downloads which takes awhile run
   wine .wine32/drive_c/Program\ Files/Warcraft\ III/Warcraft\ III\ Launcher.exe

(Make sure bnet app is running or it won't work e.g. wine .wine32/drive_c/Program\ Files/Battle.net/Battle.net\ Launcher.exe)

Using winetricks 20190912-next - sha256sum: f7c62144ed37ff64001724e5ea0cc41e7a861414d4e9cf4d665c694ec078894c with wine-4.19 and WINEARCH=win32

https://www.blizzard.com/en-gb/apps/battle.net/desktop
https://us.battle.net/download/getInstallerForGame?os=win&locale=enGB&version=LIVE&gameProgram=WARCRAFT_3
war3.log

@Kreyren Kreyren self-assigned this Nov 6, 2019
@Kreyren Kreyren added the assistance Issues that require assistance to exclude pebcak label Nov 6, 2019
@Kreyren Kreyren added the P3 - Normal Issues with normal priority label Nov 6, 2019
@AtreusX
Copy link

AtreusX commented Nov 6, 2019

I had some weird artifact where all my gnome-terminal text went crazy right after logging into the bnet app with my email and password. Seems to be fine though. When launching "Warcraft-III-Setup.exe" the suggested directory for installing is always C:/windows/system32/Warcraft III for some reason, so it has to be changed to Program Files.

@AtreusX
Copy link

AtreusX commented Nov 6, 2019

Also I get this message on the console when launching the Warcraft-III-Setup.exe program:

003f:fixme:wininet:InternetSetOptionW Option 77 STUB

Which seems to be related to issue with download bar in the battlenet which doesn't indicate the progress bar correctly (reference wanted)

Don't know if it's significant or not but it was also mentioned in this older thread on trying to get war3 working under wine:

https://askubuntu.com/questions/1085024/how-can-i-run-warcraft-3-on-ubuntu-18-04

edited by @Kreyren

@Kreyren
Copy link
Member Author

Kreyren commented Nov 6, 2019

@AtreusX You said that the message is relevant to the download bar issue, provide a reference if so.

@AtreusX
Copy link

AtreusX commented Nov 7, 2019

I apologize, I think I was mistaken in saying that, the progress bar is just inaccurate both on windows and linux. The download finishes but with an error, nothing in console but the Option 77 Stub error again. When I relaunch it brings up a window titled CD Key but then crashes with an error that "SceneCefBrowser.exe has encountered a serious problem and needs to close". Then it makes you click OK on a button that says Internal Error 0.0. Here's the console output, again this Option 77 Stub error seems relevant somehow?

john@asrock:~$ wine .cache/winetricks/battlenet/Warcraft-III-Setup.exe 
01a6:fixme:ver:GetCurrentPackageId (0xcefefc (nil)): stub
01ac:fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
01ac:fixme:winhttp:WinHttpDetectAutoProxyConfigUrl discovery via DHCP not supported
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="http://www.blizzard.com/404">here</a>.</h2>
</body></html>
0184:fixme:ver:GetCurrentPackageId (0xcefefc (nil)): stub
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="http://www.blizzard.com/404">here</a>.</h2>
</body></html>
01cd:fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
01cd:fixme:winhttp:WinHttpDetectAutoProxyConfigUrl discovery via DHCP not supported
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="http://www.blizzard.com/404">here</a>.</h2>
</body></html>
john@asrock:~$ **01cd:fixme:wininet:InternetSetOptionW Option 77 STUB**

@AtreusX
Copy link

AtreusX commented Nov 7, 2019

When I run 7z x on the war3 installer I get the following output:

https://paste.ubuntu.com/p/8GRJh9k6sW/

john@asrock:/tmp/foo$ ls -a
. .. CERTIFICATE .data .gfids .rdata .reloc .rsrc .rsrc_1 .text .tls Warcraft-III-Setup.exe

@AtreusX
Copy link

AtreusX commented Nov 7, 2019

Dunno if this helps but the warcraft-iii-setup.exe file has some pictures and fonts in it for displaying the windows, as well as a few json files. Like this one is SCREEN.LANGUAGE.JSON, presumably for the language selection dialog:

https://paste.ubuntu.com/p/Phqq5btZyq/

@Kreyren Kreyren added the wine-games Issues related to gaming on wine label Nov 8, 2019
@AtreusX
Copy link

AtreusX commented Nov 9, 2019

Kreyren to answer your question yes there are two battle.net networks, the old 1.0 and the new 2.0. When the 2.0 came out for starcraft II then new loader was created which is this one, even though old bnet 1.0 is still used.

I installed DXVK and got this output from bnet app:
http://paste.ubuntu.com/p/YQXf2VPjMm/
Output from warcraft-iii-setup is same as before:
http://paste.ubuntu.com/p/jV7Tv7FhKk/

@Kreyren Kreyren linked a pull request Nov 10, 2019 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assistance Issues that require assistance to exclude pebcak P3 - Normal Issues with normal priority wine-games Issues related to gaming on wine
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants