Outils pour utilisateurs

Outils du site


Wine & The Witcher 1

Ptet que l'installation n'aboutit pas, plantage à la toute fin ?

~/jeux/The.Witcher.[GOG]-AnCiENT$ wine setup_the_witcher_enhanced_edition_2.0.0.12.exe /nogui
wine: created the configuration directory '/home/fab/.wine'
Could not load wine-gecko. HTML rendering will be disabled.
wine: configuration in '/home/fab/.wine' has been updated.
libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  154 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  97532
  Current serial number in output stream:  97536

Rien ne se produit quand on lance launcher.exe.

$ WINEDEBUG=warn+all wine TheWitcher/launcher.exe
warn:ntdll:FILE_CreateFile L"\\??\\C:\\windows" not found (c0000035)
warn:ntdll:FILE_CreateFile L"\\??\\C:\\windows\\system32" not found (c0000035)
warn:module:alloc_module disabling no-exec because of L"launcher.exe"
warn:actctx:parse_assembly_identity_elem Unsupported yet language attribute (L"*")
warn:actctx:parse_assembly_elem unknown element L"ms_asmv2:trustInfo"
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\TheWitcher\\VERSION.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\VERSION.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\TheWitcher\\USER32.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\USER32.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\TheWitcher\\gdi32.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\gdi32.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\TheWitcher\\advapi32.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\advapi32.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\TheWitcher\\MSIMG32.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\MSIMG32.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\TheWitcher\\comdlg32.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\comdlg32.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\TheWitcher\\shell32.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\shell32.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\TheWitcher\\shlwapi.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\shlwapi.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\TheWitcher\\winspool.drv" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\winspool.drv" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\TheWitcher\\oledlg.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\oledlg.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\TheWitcher\\ole32.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\ole32.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\TheWitcher\\rpcrt4.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\rpcrt4.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\TheWitcher\\OLEAUT32.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\OLEAUT32.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\TheWitcher\\gdiplus.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\gdiplus.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\TheWitcher\\WININET.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\WININET.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\TheWitcher\\mpr.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\mpr.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\TheWitcher\\ws2_32.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\ws2_32.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\TheWitcher\\OLEACC.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\OLEACC.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\TheWitcher\\imm32.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\imm32.dll" not found (c0000034)
warn:keyboard:X11DRV_KEYBOARD_DetectLayout 7 keysyms per keycode not supported, set to 4
warn:keyboard:X11DRV_KEYBOARD_DetectLayout Using closest match (French keyboard layout) for scan/virtual codes mapping.
warn:keyboard:X11DRV_InitKeyboard vkey 010D is being used by more than one keycode
warn:keyboard:X11DRV_InitKeyboard vkey 0124 is being used by more than one keycode
warn:keyboard:X11DRV_InitKeyboard vkey 0126 is being used by more than one keycode
warn:keyboard:X11DRV_InitKeyboard vkey 0121 is being used by more than one keycode
warn:keyboard:X11DRV_InitKeyboard vkey 0125 is being used by more than one keycode
warn:keyboard:X11DRV_InitKeyboard vkey 0127 is being used by more than one keycode
warn:keyboard:X11DRV_InitKeyboard vkey 0123 is being used by more than one keycode
warn:keyboard:X11DRV_InitKeyboard vkey 0128 is being used by more than one keycode
warn:keyboard:X11DRV_InitKeyboard vkey 0122 is being used by more than one keycode
warn:keyboard:X11DRV_InitKeyboard vkey 012D is being used by more than one keycode
warn:keyboard:X11DRV_InitKeyboard vkey 012E is being used by more than one keycode
warn:keyboard:X11DRV_InitKeyboard vkey 0035 is being used by more than one keycode
warn:keyboard:X11DRV_InitKeyboard vkey 00DB is being used by more than one keycode
warn:keyboard:X11DRV_InitKeyboard vkey 01B3 is being used by more than one keycode
warn:keyboard:X11DRV_InitKeyboard vkey 01B3 is being used by more than one keycode
warn:keyboard:X11DRV_InitKeyboard vkey 012C is being used by more than one keycode
warn:keyboard:X11DRV_InitKeyboard vkey 01B4 is being used by more than one keycode
warn:keyboard:X11DRV_InitKeyboard vkey 0003 is being used by more than one keycode
warn:keyboard:X11DRV_InitKeyboard No more vkeys available!
warn:class:CLASS_RegisterClass Win extra bytes 44 is > 40
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\TheWitcher\\uxtheme.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\uxtheme.dll" not found (c0000034)
warn:heap:HEAP_ValidateInUseArena Heap 0x110000: invalid in-use arena magic 00555555 for 0x158f20
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\TheWitcher\\mscoree.dll" not found (c0000034)
warn:ntdll:NtQueryAttributesFile L"\\??\\C:\\mscoree.dll" not found (c0000034)

Une cause possible :

libGL error: unable to load driver: i965_dri.so

Après installation de libgl1-mesa-dri:i386 :

dpkg -l libgl1-mesa-dri
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom                    Version          Architecture     Description
+++-======================-================-================-=================================================
ii  libgl1-mesa-dri:amd64  11.0.8-1         amd64            free implementation of the OpenGL API -- DRI modu
ii  libgl1-mesa-dri:i386   11.0.8-1         i386             free implementation of the OpenGL API -- DRI modu

Réinstallation du jeu.

Cette fois-ci, je vois le bouton «Terminer» à la fin de l'installation, que je valide.

Je lance le jeu, et youpi ça me lance l'intro… mais avec un écran tout noir (juste le son qui fonctionne).

Le menu du jeu est tout buggé/noir. Je peux quand même bouger le curseur au pif et quitter le jeu.

Voir si winetricks dépatouille qqch.

Yes, apparemment l'installation de d3dx9_35 aide à faire fonctionner les cinématiques.

Cependant, le menu du jeu reste partiellement noir, pareil pour les séquences animées et le jeu qui est donc injouable.

On parvient à mettre la qualité graphique sur Low, mais ça n'aide pas.

Modification via regedit de :

AntiAliasingMode 0
EnvironmentEffectsEnabled 0

Après avoir tripatouillé et installé plein de merdes, j'ai voulu nettoyer. J'ai créé un autre .wine, et remis le jeu dans le même chemin d'installation. Cependant, il ne démarrait plus, comme pour une installation foirée.

Pour que le launcher daigne à nouveau afficher qqch, il suffit d'éditer system.reg et d'ajouter :

[Software\\CD Projekt Red\\The Witcher] 1451691540
#time=1d144ed96eeb150
"InstallFolder"="C:\\TheWitcher\\"
"IsDjinniInstalled"=dword:00000001
"Language"="3"
"RegionVersion"="WE"
$ WINEDEBUG=warn+dll wine drive_c/TheWitcher/launcher.exe 
fixme:gameux:GameExplorerImpl_VerifyAccess (0x13f020, L"C:\\TheWitcher\\TheWitcherGDF.dll", 0x33eae8)
fixme:wininet:InternetSetOptionExW Flags 00000000 ignored
err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
fixme:secur32:schannel_get_mac_algid unknown algorithm 200
fixme:secur32:schannel_get_kx_algid unknown algorithm 12
fixme:secur32:schannel_get_mac_algid unknown algorithm 200
fixme:secur32:schannel_get_kx_algid unknown algorithm 12
fab@cacacomp:~/.wine$ fixme:gameux:GameExplorerImpl_VerifyAccess (0x16b010, L"C:\\TheWitcher\\TheWitcherGDF.dll", 0x1c6dcc4)
fixme:heap:RtlSetHeapInformation 0x110000 0 0x1c6f8fc 4 stub
fixme:win:EnumDisplayDevicesW ((null),0,0x1c6e5a4,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x1c6e924,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x1c6e924,0x00000000), stub!
fixme:ddraw:ddraw7_Initialize Ignoring guid {aeb2cdd4-6e41-43ea-941c-8361cc760781}.
fixme:win:EnumDisplayDevicesW ((null),0,0x1c6eb04,0x00000000), stub!
err:pulse:pulse_contextcallback Context failed: Connection refused
fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub!
fixme:wbemprox:client_security_SetBlanket 0xf5f966e0, 0x3215360, 10, 0, (null), 3, 3, (nil), 0x00000000
fixme:wbemprox:client_security_Release 0xf5f966e0
fixme:win:EnumDisplayDevicesW ((null),0,0x1c6f0f4,0x00000000), stub!
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x1c6f330 1 C) semi-stub
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x1c6f1a0 1 C) semi-stub
fixme:msvcrt:__clean_type_info_names_internal (0x1007c2b4) stub

On va essayer de corriger msvcp en installant 'vcrun2008'. C'était pas le bon, mais un autre vcrun a rectifié cette ligne. Mais aucun changement dans le jeu.

On essaie “gdi” au lieu de “opengl” : The Witcher bloque avec une popup «config minimale requise», qu'on peut contourner en ajoutant -dontForceMinReqs, mais alors ça plante au lancement :

wine: Unhandled page fault on read access to 0x00000000 at address 0x74e632 (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x0074e632).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:006b GS:0063
 EIP:0074e632 ESP:01c6f84c EBP:00000006 EFLAGS:00010246(  R- --  I  Z- -P- )
 EAX:00000000 EBX:00000001 ECX:00000000 EDX:00000003
 ESI:00000001 EDI:0037e209
Stack dump:
0x01c6f84c:  0037e209 0075058a 003890f0 00000000
0x01c6f85c:  00000000 00000000 00000000 01c6f980
0x01c6f86c:  00ae84bb ffffffff 00405171 00000556
0x01c6f87c:  00000300 00000020 00000001 00112c00
0x01c6f88c:  0000000a 0037e209 00000000 00000000
0x01c6f89c:  00000320 00000258 656e6957 31315820
Backtrace:
=>0 0x0074e632 in witcher (+0x34e632) (0x00000006)
0x0074e632: movl        0x0(%eax),%ecx
(...)
article/linux/wine-the-witcher.txt · Dernière modification: 2016/01/02 02:35 par fab