http://bugs.winehq.org/show_bug.cgi?id=26570
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer URL| |http://maestia.bigpoint.com | |/ CC| |focht@gmx.net Component|-unknown |wininet Version|unspecified |1.3.16 Summary|Maestia | Das |Maestia MMORPG updater |Fantasy-MMORPG |fails due to | |wininet.InternetSetFilePoin | |ter() stub
--- Comment #2 from Anastasius Focht focht@gmx.net 2011-03-28 16:13:38 CDT --- Hello,
updating some fields, helping initial bug reporter ;-)
The website provides a small bootstrap-downloader with builtin p2p (bittorrent) client which downloads ~2.5 GiB game installer data. Running the patch updater after installation fails.
The problem is wininet InternetSetFilePointer() being a stub.
--- snip --- ... 0009:Call wininet.InternetOpenUrlW(00000005,003212f0 L"http://maestiafiles.l3.cdn.bigpoint.net/maestia_files/version/patch/_MthInf....) ret=0043c104 ... 0009:trace:wininet:HTTP_HttpSendRequestW Request header -> L"GET /maestia_files/version/patch/_MthInf.mvd HTTP/1.1\r\nAccept: */*\r\nHost: maestiafiles.l3.cdn.bigpoint.net\r\nUser-Agent: \r\n\r\n" ... 0009:trace:wininet:HTTP_GetResponseHeaders raw headers: L"HTTP/1.1 200 OK\r\nDate: Mon, 28 Mar 2011 19:31:48 GMT\r\nLast-Modified: Thu, 24 Mar 2011 11:38:50 GMT\r\nContent-Type: application/application\r\nETag: "22e8abb18eacb1:0"\r\nAccept-Ranges: bytes\r\nServer: Microsoft-IIS/7.5\r\nContent-Length: 16359\r\n\r\n" ... 0009:trace:wininet:CreateUrlCacheEntryW (L"http://maestiafiles.l3.cdn.bigpoint.net/maestia_files/version/patch/_MthInf....", 0x00003fe7, (null), 0x31d38e, 0x00000000) ... 0009:Call KERNEL32.CreateFileW(0017ac48 L"C:\users\focht\Local Settings\Temporary Internet Files\Content.IE5\2O6AVCNT\_MthInf[5]",40000000,00000003,00000000,00000002,00000080,00000000) ret=681dfcc4 0009:Ret KERNEL32.CreateFileW() retval=00000068 ret=681dfcc4 0009:Call ntdll.RtlFreeHeap(00110000,00000000,0017c258) ret=681e0bce 0009:Ret ntdll.RtlFreeHeap() retval=00000001 ret=681e0bce 0009:trace:wininet:HTTP_HttpSendRequestW <-- 0009:trace:wininet:WININET_Release object 0x17af08 refcount = 1 0009:trace:wininet:INTERNET_InternetOpenUrlW 0x7 <-- 0009:trace:wininet:WININET_Release object 0x17a8a0 refcount = 2 0009:trace:wininet:InternetOpenUrlW 0x7 <-- 0009:Ret wininet.InternetOpenUrlW() retval=00000007 ret=0043c104 0009:Call wininet.InternetSetFilePointer(00000007,00000000,00000000,00000002,00000000) ret=0043c703 0009:fixme:wininet:InternetSetFilePointer stub 0009:Ret wininet.InternetSetFilePointer() retval=00000000 ret=0043c703 0009:Call wininet.InternetSetFilePointer(00000007,00000000,00000000,00000000,00000000) ret=0043c703 0009:fixme:wininet:InternetSetFilePointer stub 0009:Ret wininet.InternetSetFilePointer() retval=00000000 ret=0043c703 0009:Call KERNEL32.GetLastError() ret=0046c692 0009:Ret KERNEL32.GetLastError() retval=00002ee6 ret=0046c692 0009:Call KERNEL32.GetLastError() ret=0046c692 0009:Ret KERNEL32.GetLastError() retval=00002ee6 ret=0046c692 0009:Call KERNEL32.OutputDebugStringW(0031d2cc L"InternetDownloader::Open - url 'http://maestiafiles.l3.cdn.bigpoint.net/maestia_files/version/patch/_MthInf....', length 0\n") ret=0041cfc3 0009:warn:debugstr:OutputDebugStringA "InternetDownloader::Open - url 'http://maestiafiles.l3.cdn.bigpoint.net/maestia_files/version/patch/_MthInf....', length 0\n" ... 0009:trace:msgbox:MSGBOX_OnInit L"Patch server connection failed" --- snip ---
With proper impl, the patcher downloads the patch metadata file, I already verified. The first InternetSetFilePointer( .., 0, FILE_END) call should return pos == content-length which the app uses to fetch the data using InternetReadFile call(s).
Regards