https://bugs.winehq.org/show_bug.cgi?id=38601
Bug ID: 38601 Summary: Planetary Annihilation needs WS2_32.dll.WSAPoll Product: Wine Version: 1.7.43 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: winsock Assignee: wine-bugs@winehq.org Reporter: gyebro69@gmail.com Distribution: ---
Created attachment 51498 --> https://bugs.winehq.org/attachment.cgi?id=51498 terminal output
With native msvcp110 & msvcr110 installed the game gets a bit further and it shows an empty (black) window and some music begins to play then the game crashes after 5-10 seconds.
I'm attaching the terminal output as is, containing messages from the game engine as well. After crashing multiple instances of a 'CoherentUI_Host.exe' remain in memory and they need to be killed manually.
Besides native msvcp110 & msvcr110 native d3dcompiler_43 is also installed in the prefix. Despite of the lots of d3d errors shown in the log I guess the crash is due to this unimplemented function:
... wine: Unimplemented function WS2_32.dll.WSAPoll called at address 0x7bc4f701 (thread 0030), starting debugger... Unhandled exception: unimplemented function WS2_32.dll.WSAPoll called in 32-bit code (0x7bc4f701). ...
Officially the game requires Windows Vista or newer.
https://bugs.winehq.org/show_bug.cgi?id=38601
--- Comment #1 from Bruno Jesus 00cpxxx@gmail.com --- Sounds awesome, after 9 years implemented in Windows finally an application tried to use the new API. Most likely to simplify the portability between Linux/OSX and Windows versions.
I'll see what I can do but I'm not taking the bug to myself right now. I guess a stub could solve the initial issue but would obviously not be enough for multiplayer games.
https://bugs.winehq.org/show_bug.cgi?id=38601
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com Assignee|wine-bugs@winehq.org |00cpxxx@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=38601
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED
--- Comment #2 from Bruno Jesus 00cpxxx@gmail.com --- Taking to myself.
https://bugs.winehq.org/show_bug.cgi?id=38601
--- Comment #3 from Bruno Jesus 00cpxxx@gmail.com --- Created attachment 51526 --> https://bugs.winehq.org/attachment.cgi?id=51526 test patch
This is a first attempt, it's not 100% accurate, specially because of the MS bug in the function. Can you please test?
https://bugs.winehq.org/show_bug.cgi?id=38601
--- Comment #4 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Bruno Jesus from comment #3)
Created attachment 51526 [details] test patch
This is a first attempt, it's not 100% accurate, specially because of the MS bug in the function. Can you please test?
The patch works and the game gets to the menu screen (using the default Windows XP profile). I was able to create an account and log in. Creating a multiplayer game locally isn't available for me because that requires a 64-bit OS. I was able to create a multiplayer game on a remote host and start a match against AI opponents. Yet the game is far from being playable. Let alone the graphical issues and slow performance the game crashes a lot...but that's another story. Thanks for the patch Bruno.
https://bugs.winehq.org/show_bug.cgi?id=38601
Michael Müller michael@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |STAGED CC| |michael@fds-team.de, | |sebastian@fds-team.de Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/ws2_32-WSAPoll
https://bugs.winehq.org/show_bug.cgi?id=38601
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
https://bugs.winehq.org/show_bug.cgi?id=38601
Julian Rüger jr98@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jr98@gmx.net
https://bugs.winehq.org/show_bug.cgi?id=38601
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch CC| |austinenglish@gmail.com
--- Comment #5 from Austin English austinenglish@gmail.com --- Patch was sent: https://source.winehq.org/patches/data/116690
but deferred until after 1.8.
https://bugs.winehq.org/show_bug.cgi?id=38601
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |5913a107d8a6d257fa9838bdbca | |47f0d45b7a3e2 Status|STAGED |RESOLVED Resolution|--- |FIXED
--- Comment #6 from Béla Gyebrószki gyebro69@gmail.com --- Fixed by commit 5913a107d8a6d257fa9838bdbca47f0d45b7a3e2. Thank you, Bruno.
https://bugs.winehq.org/show_bug.cgi?id=38601
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.0.
https://bugs.winehq.org/show_bug.cgi?id=38601
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ephrainmarchan@gmail.com
--- Comment #8 from Jeff Zaroyko jeffz@jeffz.name --- *** Bug 43410 has been marked as a duplicate of this bug. ***