http://bugs.winehq.org/show_bug.cgi?id=14721
Summary: cannot host multiplayer games for Giants Citizen Kabuto, DirectPlay Failed to Initialize (Code 80040111) Product: Wine Version: 1.1.2 Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: directx-dplay AssignedTo: wine-bugs@winehq.org ReportedBy: liebundartig@freenet.de
I installed Giants: Citizen Kabuto and the 1.4 patch it works like a charm.
However, when trying to host multiplayer games gives an error screen. That is white background and text (that is below) in 3 blue boxes.
--8<-- Giants Citizen Kabuto Wintry Cool Game Error Screen
DirectPlay Failed to Initialize (Code 80040111). Is DirectX Version 8 or better installed?
Enter to Continue Escape to Exit Game --8<--
Both keys do not seem to work. I have to kill the program.
I have not used native DLLs or changed any other setting in Wine after installation of wine.
http://bugs.winehq.org/show_bug.cgi?id=14721
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |6847
http://bugs.winehq.org/show_bug.cgi?id=14721
--- Comment #1 from Austin English austinenglish@gmail.com 2009-08-05 09:58:49 --- Still present.
http://bugs.winehq.org/show_bug.cgi?id=14721
--- Comment #2 from Austin English austinenglish@gmail.com 2010-05-26 15:37:43 --- Still present. You can use 'winetricks directplay' to workaround it.
http://bugs.winehq.org/show_bug.cgi?id=14721
cocolapin@yopmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cocolapin@yopmail.com
--- Comment #3 from cocolapin@yopmail.com 2011-07-23 09:38:57 CDT --- I had the same error message, next I use the winetricks to install directplay and I get the following message :
" Cannot host a multiplayer game (Code 80158320). Is there a network connection? "
This is not a workaround, you are lying !
http://bugs.winehq.org/show_bug.cgi?id=14721
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |adys.wh@gmail.com
--- Comment #4 from Jerome Leclanche adys.wh@gmail.com 2011-07-23 11:03:50 CDT --- (In reply to comment #3) Yes, it is a work around the reported bug.
http://bugs.winehq.org/show_bug.cgi?id=14721
--- Comment #5 from cocolapin@yopmail.com 2011-07-23 18:35:40 CDT --- Goto at http://www.giantswd.org/forum/viewtopic.php?p=23691#23691 for a fix with explanation !
https://bugs.winehq.org/show_bug.cgi?id=14721
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |focht@gmx.net Depends on|6847 | Summary|cannot host multiplayer |Giants: Citizen Kabuto |games for Giants Citizen |fails to host multiplayer |Kabuto, DirectPlay Failed |game |to Initialize (Code |(IDirectPlay8Server::Host |80040111) |is a stub) Ever confirmed|0 |1
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming, still present.
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Giants
$ WINEDEBUG=+tid,+seh,+relay,+dplay wine ./Giants.exe -nocpuext >>log.txt 2>&1 ... 0009:Call ole32.CoCreateInstance(00551cbc,00000000,00000001,00551c9c,005def60) ret=0051f517 ... 0009:Call ntdll.RtlInitUnicodeString(0033f4f0,0033f542 L"CLSID\{DA825E1B-6830-43D7-835D-0B5AD82956A2}") ret=7e988537 ... 0009:Call KERNEL32.LoadLibraryExW(0033f37e L"C:\windows\system32\dpnet.dll",00000000,00000008) ret=7e9886cb 0009:Call PE DLL (proc=0x7c64aa04,module=0x7c640000 L"dpnet.dll",reason=PROCESS_ATTACH,res=(nil)) 0009:Call KERNEL32.DisableThreadLibraryCalls(7c640000) ret=7c646115 0009:Ret KERNEL32.DisableThreadLibraryCalls() retval=00000001 ret=7c646115 0009:Ret PE DLL (proc=0x7c64aa04,module=0x7c640000 L"dpnet.dll",reason=PROCESS_ATTACH,res=(nil)) retval=1 0009:Ret KERNEL32.LoadLibraryExW() retval=7c640000 ret=7e9886cb ... 0009:Ret ole32.CoCreateInstance() retval=00000000 ret=0051f517 0009:Call ole32.CoCreateInstance(00551cec,00000000,00000007,00551cdc,005def68) ret=0051f54d ... 0009:Ret ole32.CoCreateInstance() retval=00000000 ret=0051f54d ... 0009:fixme:dpnet:IDirectPlay8ServerImpl_Host (0x4f47f40)->(0x33f7ec 0x5def68 1 (nil) (nil) (nil) 0) ... --- snip ---
Source: http://source.winehq.org/git/wine.git/blob/d34b75a88722d6c75efe20da212210a12...
--- snip --- 189 static HRESULT WINAPI IDirectPlay8ServerImpl_Host(IDirectPlay8Server *iface, const DPN_APPLICATION_DESC *pdnAppDesc, 190 IDirectPlay8Address **prgpDeviceInfo, DWORD cDeviceInfo, const DPN_SECURITY_DESC *pdnSecurity, 191 const DPN_SECURITY_CREDENTIALS *pdnCredentials, void *pvPlayerContext, DWORD dwFlags) 192 { 193 IDirectPlay8ServerImpl *This = impl_from_IDirectPlay8Server(iface); 194 FIXME("(%p)->(%p %p %d %p %p %p %d)\n", This, pdnAppDesc, prgpDeviceInfo, cDeviceInfo, pdnSecurity, pdnCredentials, 195 pvPlayerContext, dwFlags); 196 return E_NOTIMPL; 197 } --- snip ---
Removing dependency to that dplay metabug. That one is messed up and metabugs should die anyway.
$ wine --version wine-1.7.17-65-gfba08e3
Regards
https://bugs.winehq.org/show_bug.cgi?id=14721
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal
https://bugs.winehq.org/show_bug.cgi?id=14721
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Giants: Citizen Kabuto |Multiple games fail to host |fails to host multiplayer |multiplayer game due to |game |IDirectPlay8Server::Host |(IDirectPlay8Server::Host |being a stub (Giants: |is a stub) |Citizen Kabuto)
--- Comment #7 from Anastasius Focht focht@gmx.net --- Hello folks,
revisiting, obviously still present.
https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/dpnet/server.c#l243
Refining summary to collect more games affected by this. There are some dplay meta-bugs which should really die.
$ wine --version wine-3.6-138-ga373054b72
Regards
https://bugs.winehq.org/show_bug.cgi?id=14721
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org