web-dev-qa-db-fra.com

Comment puis-je exécuter Warcraft 3 sur Ubuntu 18.04?

Le guide ici: Comment installer World of Warcraft? n'a pas fonctionné depuis une décennie. il faut répondre à cette question à nouveau et dans le contexte particulier d'ubuntu 18.04.1 et de l'arrêt du développement de Wine:

Le vin traverse une transition un peu étrange. Les responsables de la branche mise en scène de Wine l'ont récemment abandonnée, mais le projet Lutris l'a rapidement repris.

Au moment où vous lisez ceci, ce n'est peut-être pas un problème, mais c'est le cas pour le moment. En conséquence, le guide principal se concentrera sur la dernière version de Vanilla Wine d'Ubuntu, mais vous pouvez absolument installer les dernières versions de staging ou Gallium Nine lorsqu'elles seront disponibles.

Je pense que cette version particulière d’Ubuntu est incompatible avec les anciennes solutions d’exécution de Warcraft 3.

Je reçois cet écran:

frozen throne fails to install: "having trouble launching battle.net agent"

J'ai essayé beaucoup de méthodes différentes:

  1. Les trois des installateurs Lutris
  2. Jouer sur Linux
  3. Ce guide qui est spécifiquement pour 18.04, avec la mise en scène de vin, mais en utilisant cette source:

    Sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
    

    et cela publication de WineHQ

Mais à la fin du premier guide, je lance:

wine64 ~/Downloads/Warcraft-III-Setup.exe

cela ressort:

0103:fixme:wininet:InternetSetOptionW Option 77 STUB

et je récupère l'écran:

t@tsu:~/Downloads$ wine64 ~/Downloads/Warcraft-III-Setup.exe 
000b:fixme:winediag:start_process Wine Staging 3.18 is a testing version containing experimental patches.
000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libnss3.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
002b:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
002b:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
002d:fixme:ver:GetCurrentPackageId (0xbcfe9c (nil)): stub
002b:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
002b:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
002b:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
002b:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
0033:fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
0033:fixme:winhttp:WinHttpDetectAutoProxyConfigUrl discovery via DHCP not supported
ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libnss3.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
0037:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
0037:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
0039:fixme:ver:GetCurrentPackageId (0xbcfe9c (nil)): stub
0037:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
0037:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
0037:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
0037:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
003f:fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
003f:fixme:winhttp:WinHttpDetectAutoProxyConfigUrl discovery via DHCP not supported
ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libnss3.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="http://www.Blizzard.com/404">here</a>.</h2>
</body></html>
003f:fixme:wininet:InternetSetOptionW Option 77 STUB
0046:err:wininet:open_http_connection create_netconn failed: 12029
0044:err:ole:CoCreateInstanceEx apartment not initialised
0044:err:ntdll:NtQueryInformationToken Unhandled Token Information class 24!
ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libnss3.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
0044:fixme:ver:GetCurrentPackageId (0x33fe14 (nil)): stub
ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libnss3.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
003f:fixme:wininet:InternetSetOptionW Option 77 STUB
0047:err:wininet:open_http_connection create_netconn failed: 12029
003f:fixme:wininet:InternetSetOptionW Option 77 STUB
0046:err:wininet:open_http_connection create_netconn failed: 12029
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="http://www.Blizzard.com/404">here</a>.</h2>
</body></html>
003f:fixme:wininet:InternetSetOptionW Option 77 STUB
0047:err:wininet:open_http_connection create_netconn failed: 12029
004a:fixme:wbemprox:wbem_locator_ConnectServer unsupported flags
004a:fixme:wbemprox:client_security_SetBlanket 0x7c81f938, 0x181ad8, 10, 0, (null), 3, 3, (nil), 0x00000000
004a:fixme:wbemprox:client_security_Release 0x7c81f938
004a:fixme:wbemprox:enum_class_object_Next timeout not supported
004a:err:ntdll:NtQueryInformationToken Unhandled Token Information class 24!
004a:fixme:thread:RtlCreateUserThread stack_reserve != 0 is unimplemented
004a:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
004a:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
0050:fixme:ver:GetCurrentPackageId (0x1c5fe9c (nil)): stub
004a:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
004a:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
003f:fixme:wininet:InternetSetOptionW Option 77 STUB
0046:err:wininet:open_http_connection create_netconn failed: 12029
003f:fixme:wininet:InternetSetOptionW Option 77 STUB
0047:err:wininet:open_http_connection create_netconn failed: 12029
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="http://www.Blizzard.com/404">here</a>.</h2>
</body></html>
t@tsu:~/Downloads$ 003f:fixme:wininet:InternetSetOptionW Option 77 STUB
0046:err:wininet:open_http_connection create_netconn failed: 12029
003f:fixme:wininet:InternetSetOptionW Option 77 STUB
0047:err:wininet:open_http_connection create_netconn failed: 12029
004a:fixme:heap:GetPhysicallyInstalledSystemMemory stub: 0x33f9c0
003f:fixme:wininet:InternetSetOptionW Option 77 STUB
004a:fixme:heap:GetPhysicallyInstalledSystemMemory stub: 0x33f7b8
004a:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
004a:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
004a:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
004a:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
004a:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
004a:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
004a:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
004a:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
004a:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
004a:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
004a:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
004a:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
004a:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
004a:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
004a:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
004a:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
004a:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
004a:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
004a:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
0052:fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
0052:fixme:winhttp:WinHttpDetectAutoProxyConfigUrl discovery via DHCP not supported
004a:fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub!
004a:fixme:wbemprox:client_security_SetBlanket 0x7c81f938, 0x21fbc0, 10, 0, (null), 3, 3, (nil), 0x00000000
004a:fixme:wbemprox:client_security_Release 0x7c81f938
004e:fixme:dbghelp:elf_search_auxv can't find symbol in module
ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libnss3.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
0068:fixme:heap:GetPhysicallyInstalledSystemMemory stub: 0x33f278
0068:fixme:heap:GetPhysicallyInstalledSystemMemory stub: 0x33f278
0068:fixme:ntdll:NtQuerySystemInformationEx Relationship filtering not implemented: 0x3
0068:fixme:ntdll:NtQuerySystemInformationEx Relationship filtering not implemented: 0x3
0068:fixme:ver:GetCurrentPackageId (0x33f01c (nil)): stub
0068:fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
0068:fixme:winhttp:WinHttpDetectAutoProxyConfigUrl discovery via DHCP not supported
0042:err:ntdll:RtlpWaitForCriticalSection section 0x196c5c "?" wait timed out in thread 0042, blocked by 003f, retrying (60 sec)
ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libnss3.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
0042:fixme:wininet:InternetSetOptionW Option 77 STUB
0070:err:wininet:open_http_connection create_netconn failed: 12029
006e:err:ole:CoCreateInstanceEx apartment not initialised
006e:err:ntdll:NtQueryInformationToken Unhandled Token Information class 24!
ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libnss3.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
006e:fixme:ver:GetCurrentPackageId (0x33fe14 (nil)): stub
ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libnss3.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
0042:fixme:wininet:InternetSetOptionW Option 77 STUB
0071:err:wininet:open_http_connection create_netconn failed: 12029
0042:fixme:wininet:InternetSetOptionW Option 77 STUB
0070:err:wininet:open_http_connection create_netconn failed: 12029
0042:fixme:wininet:InternetSetOptionW Option 77 STUB
0071:err:wininet:open_http_connection create_netconn failed: 12029
0042:fixme:wininet:InternetSetOptionW Option 77 STUB
0070:err:wininet:open_http_connection create_netconn failed: 12029
0073:fixme:wbemprox:wbem_locator_ConnectServer unsupported flags
0073:fixme:wbemprox:client_security_SetBlanket 0x7c7f4938, 0x181ad8, 10, 0, (null), 3, 3, (nil), 0x00000000
0073:fixme:wbemprox:client_security_Release 0x7c7f4938
0073:fixme:wbemprox:enum_class_object_Next timeout not supported
0073:err:ntdll:NtQueryInformationToken Unhandled Token Information class 24!
0073:fixme:thread:RtlCreateUserThread stack_reserve != 0 is unimplemented
0073:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
0073:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
0079:fixme:ver:GetCurrentPackageId (0x1c5fe9c (nil)): stub
0073:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
0073:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
0042:fixme:wininet:InternetSetOptionW Option 77 STUB
0071:err:wininet:open_http_connection create_netconn failed: 12029
0042:fixme:wininet:InternetSetOptionW Option 77 STUB
0070:err:wininet:open_http_connection create_netconn failed: 12029
0042:fixme:wininet:InternetSetOptionW Option 77 STUB
0071:err:wininet:open_http_connection create_netconn failed: 12029
0042:fixme:wininet:InternetSetOptionW Option 77 STUB
0070:err:wininet:open_http_connection create_netconn failed: 12029
0042:fixme:wininet:InternetSetOptionW Option 77 STUB
0071:err:wininet:open_http_connection create_netconn failed: 12029
0073:fixme:heap:GetPhysicallyInstalledSystemMemory stub: 0x33f9c0
0042:fixme:wininet:InternetSetOptionW Option 77 STUB
0070:err:wininet:open_http_connection create_netconn failed: 12029
0073:fixme:heap:GetPhysicallyInstalledSystemMemory stub: 0x33f7b8
0073:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
0073:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
0073:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
0073:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
0073:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
0073:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
0073:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
0073:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
0073:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
0073:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
0073:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
0073:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
0073:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
0073:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
0073:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
0042:fixme:wininet:InternetSetOptionW Option 77 STUB
0073:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
0073:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
0073:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
0073:fixme:thread:RtlCreateUserThread stack_commit != 0 is unimplemented
007b:fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
007b:fixme:winhttp:WinHttpDetectAutoProxyConfigUrl discovery via DHCP not supported
0073:fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub!
0073:fixme:wbemprox:client_security_SetBlanket 0x7c7f4938, 0x21e370, 10, 0, (null), 3, 3, (nil), 0x00000000
0073:fixme:wbemprox:client_security_Release 0x7c7f4938
0077:fixme:dbghelp:elf_search_auxv can't find symbol in module
ERROR: ld.so: object '/usr/lib/x86_64-linux-gnu/libnss3.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
0091:fixme:heap:GetPhysicallyInstalledSystemMemory stub: 0x33f278
0091:fixme:heap:GetPhysicallyInstalledSystemMemory stub: 0x33f278
0091:fixme:ntdll:NtQuerySystemInformationEx Relationship filtering not implemented: 0x3
0091:fixme:ntdll:NtQuerySystemInformationEx Relationship filtering not implemented: 0x3
0091:fixme:ver:GetCurrentPackageId (0x33f01c (nil)): stub
0091:fixme:winhttp:get_system_proxy_autoconfig_url no support on this platform
0091:fixme:winhttp:WinHttpDetectAutoProxyConfigUrl discovery via DHCP not supported
2
tatsu

J'ai rencontré le même problème: même version Ubuntu, mêmes essais, même tout; et j'étais sur le point de devenir fou. J'ai eu recours à l'installation du jeu sur une machine Windows, à la compression du dossier du jeu et à son déplacement sous Linux.

Et j’ai découvert que d’une manière ou d’une autre, le war3 LAUNCHER fonctionne mieux que la configuration pour installer le jeu.

Vous avez toujours besoin d'une clé pour utiliser le jeu, donc je me fiche de donner l'exécutable .

Cela a parfaitement fonctionné avec staging-pba-3.18 pour moi, vous devrez me dire si cela fonctionne pour vous.


MODIFIER:

En ligne devrait bien se passer, vous aurez besoin d’un compte warcraft3 "battle.net", que vous pourrez créer dans le jeu, la principale préoccupation serait Blizzard anti triche ne pas aimer le vin, mais beaucoup de gens, y compris moi-même, ont joué SC2 et Overwatch sur le vin pendant un moment, et Blizzard ne semble pas s'en soucier, alors je ne vois pas pourquoi ils se soucieraient de War3.

Je ne sais pas à propos de LAN tho, et je ne peux pas vraiment le tester ...

Pour la résolution, c'est vraiment amusant, car ce n'est pas un bogue Linux, certaines personnes ont également le même problème sous Windows depuis le patch 1.30: D
Deux solutions possibles sont:

  • Utilisez le -nativefullscr argument lors du lancement du jeu (cela ne fonctionne pas pour moi, ma carte graphique n’émettrait rien après le lancement du jeu, mon écran se comportait comme s’il était déconnecté).

  • Editez le registre du vin pour forcer la résolution de démarrage, ce qui fonctionne bien, même si vous vous sentez un peu bidouillé. Les clés sont dans HKEY_CURRENT_USER/Software/Blizzard Entertainment/Warcraft III/Video et vous souhaitez modifier resheight et reswidth à la taille de votre écran, les valeurs sont en hexadécimal, mais la fenêtre de saisie devrait vous permettre de taper des valeurs décimales .

Notez que, bien que le je sera rendu dans la résolution et le rapport hauteur/largeur souhaités, le menu restera en 4/ .

2

J'ai rencontré des problèmes similaires. J'ai eu de telles erreurs dans la console et le programme d'installation a expiré. (de 1,26 essayant de mettre à jour à 1,30)

J'ai finalement résolu mon problème en configurant Wine Mode Windows de Windows XP à Windows 7:

setting wine mode to windows 7

0
BiAiB