https://bugs.winehq.org/show_bug.cgi?id=54247
Bug ID: 54247 Summary: 4Story launcher tries to download file but doesn't work Product: Wine Version: 8.0-rc2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wininet Assignee: wine-bugs@winehq.org Reporter: timon2201@gmail.com Distribution: ---
Created attachment 73800 --> https://bugs.winehq.org/attachment.cgi?id=73800 logs of the failing launcher failing to download the file
Starting of the launcher brings up the message box which says: "The requested operation is invalid Try again ?"
and the message box pops up everytime i click the retry button but it doesnt work. I have to click the cancel button and then the message box closes. But the files aren't being downloaded.
I suspect the culpit is the error :
0118:fixme:wininet:InternetSetFilePointer (00000004 0 00000000 0 0): stub
because i tried it with a launcher of a private server and it worked fine. But with another one it doesn't. And the main difference in the logs is this error. The error also reappears everytime i click on retry when the error comes.
https://bugs.winehq.org/show_bug.cgi?id=54247
--- Comment #1 from Timon timon2201@gmail.com --- Can be reproduced with 4Classic downloaded of the internet. (Its is a 4Story private server)
https://bugs.winehq.org/show_bug.cgi?id=54247
Mohamad Al-Jaf mowinebugs@mail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mowinebugs@mail.com
--- Comment #2 from Mohamad Al-Jaf mowinebugs@mail.com --- (In reply to Timon from comment #0)
I suspect the culpit is the error :
0118:fixme:wininet:InternetSetFilePointer (00000004 0 00000000 0 0): stub
because i tried it with a launcher of a private server and it worked fine. But with another one it doesn't. And the main difference in the logs is this error. The error also reappears everytime i click on retry when the error comes.
Jason Kuo is working on partially implementing this function: https://gitlab.winehq.org/wine/wine/-/merge_requests/1268
You can try building wine with the partial implementation and test again to see if it fixes it.
As a workaround, you can also install the native wininet through winetricks.
https://bugs.winehq.org/show_bug.cgi?id=54247
--- Comment #3 from Timon timon2201@gmail.com --- Created attachment 73812 --> https://bugs.winehq.org/attachment.cgi?id=73812 logs after adding wininet with winetricks
https://bugs.winehq.org/show_bug.cgi?id=54247
--- Comment #4 from Timon timon2201@gmail.com --- i tried the workaround with winetricks. It looks like it fixed the wininet issue but there are other errors now.
the last couple of errors look like this:
01dc:fixme:winsock:server_ioctl_sock Unsupported ioctl 0x120348 (device=0x12 access=0 func=0xd2 method=0) 01e8:fixme:crypt:CRYPT_RegControl CERT_STORE_CTRL_AUTO_RESYNC: stub 01e8:fixme:crypt:CRYPT_RegControl CERT_STORE_CTRL_AUTO_RESYNC: stub 01e8:fixme:wintrust:HTTPSCertificateTrust (105ACCD0) 01e8:fixme:wintrust:HTTPSFinalProv (105ACCD0) 01dc:fixme:file:SetFileInformationByHandle 00000388, 5, 025EE7A0, 8
and it directly says failed to download file without anything other than that and after closing the messagebox the application just freezes.
https://bugs.winehq.org/show_bug.cgi?id=54247
Timon timon2201@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|wininet |winsock