http://bugs.winehq.org/show_bug.cgi?id=24040
Summary: "Roller Coaster Tycoon 2" download manager fails Product: Wine Version: 1.3.0 Platform: x86 URL: http://www.download-free-games.com/simulation/rollerco aster_tycoon2.htm OS/Version: Linux Status: NEW Keywords: download, Installer Severity: normal Priority: P2 Component: msxml3 AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
http://www.download-free-games.com/simulation/rollercoaster_tycoon2.htm has a sneaky download form. If you mouse over the download button, or right click and copy link, you see http://d.trymedia.com/d/infogrames/60m_d_61_mp86/t_04se1/RollerCoasterTycoon... which is the real app, but if you click on the download button, it downloads http://38.108.189.230/%5Bvery long string]/dm3/RollerCoasterTycoon2-dm.exe
The latter app is a Macrovision download manager, judging by the line
trace:wininet:HTTP_HttpSendRequestW full request -> "GET /dd/infogrames/60m_d_61_mp86/t_04se1/RollerCoasterTycoon2.exe HTTP/1.1\r\nAccept: */*\r\nHost: d.trymedia.com\r\nUser-Agent: Macrovision_DM_2.4.152\r\nPragma: no-cache\r\n\r\n"
On Wine, it downloads one file, named e.g. C:/users/dank/Local Settings/Temporary Internet Files/Content.IE5/UGYJ9D59/RollerCoasterTycoon2[0]
/bin/file says that file contains ASCII text. cat shows
<?xml version="1.0" encoding="UTF-16"?> <dm> <files> <file execute="yes" stamp="yes">
<url>http://cdn.dli.trymedia.com/r/release/infogrames/60m_d_61_mp86/RollerCoaster...</url> </file> </files> </dm>
(so the file body appears to disagree with the header about the encoding?)
With builtin DLLs, it gets lots of those files, repeatedly outputting
fixme:wininet:CommitUrlCacheEntryInternal entry already in cache - don't know what to do!
With "winetricks msxml3", it doesn't repeat, it just downloads one XML file and stops. So it seems there's something wrong with how we handle that XML file?
(With "winetricks ie6", you get a nice status window, which at this point asks if you want to retry.)
On Windows, I couldn't catch it downloading that XML file, but the downloader does work.
http://bugs.winehq.org/show_bug.cgi?id=24040
--- Comment #1 from Dan Kegel dank@kegel.com 2010-08-18 13:06:16 --- Here's a little bit of the +msxml trace, with one extra TRACE showing the return value (S_FALSE, failure) of loadXML:
trace:msxml:domdoc_loadXML (0x2250b78)->(L"\n<?xml version=\"1.0\" encoding=\"UTF-16\"?>\n<dm>\n <files>\n <file execute="yes" stamp="yes">\n <url>http://cdn.dli.trymedia.com/r/release/infogrames/60m_d_61_mp86/RollerCoaster...</url>\n </file>\n </files"... 0x66e978) trace:msxml:xmldoc_release (0x7c391678)->(0) trace:msxml:xmldoc_release freeing docptr 0x7c391678 trace:msxml:xmldoc_add_ref (0x7c391768)->(1) trace:msxml:domdoc_loadXML hr is 1 1
http://bugs.winehq.org/show_bug.cgi?id=24040
--- Comment #2 from Dan Kegel dank@kegel.com 2010-08-18 13:26:08 --- Fooled again. http://d.trymedia.com/d/infogrames/60m_d_61_mp86/t_04se1/RollerCoasterTycoon... is not the real app, it redirects to the downloader.
You can get the real app by running the downloader on windows.
http://bugs.winehq.org/show_bug.cgi?id=24040
--- Comment #3 from Dan Kegel dank@kegel.com 2010-08-18 15:21:15 --- (And, for what it's worth, the downloaded executable looks like it's wrapped with something similar; both do a strange connect to localhost with builtin wininet.)
http://bugs.winehq.org/show_bug.cgi?id=24040
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com 2010-08-29 14:07:17 CDT --- Created an attachment (id=30471) --> (http://bugs.winehq.org/attachment.cgi?id=30471) enable errors from libxml2
Hi, Dan.
Please try to revert -
c4852be28e6fefd7df9b3166ec13564e3695b478 and 9f1fb46543fccc9075a2dd6fea9f16423ba60728,
and attach a +msxml with attached patch applied (to be applied before any revert).
http://bugs.winehq.org/show_bug.cgi?id=24040
--- Comment #5 from Adam Martinson amartinson@codeweavers.com 2010-11-03 10:54:10 CDT --- Created an attachment (id=31708) --> (http://bugs.winehq.org/attachment.cgi?id=31708) +msxml log
It's failing at domdoc_loadXML() because of the newline at the beginning of the string. This is the correct behavior, so the newline must have gotten in there somewhere earlier.
http://bugs.winehq.org/show_bug.cgi?id=24040
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|msxml3 |-unknown
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com 2010-11-08 10:09:41 CST --- Resetting component.
http://bugs.winehq.org/show_bug.cgi?id=24040
ocean04@suomi24.fi changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ocean04@suomi24.fi
--- Comment #7 from ocean04@suomi24.fi 2011-12-16 12:56:28 CST --- This also looks like bug 10911
https://bugs.winehq.org/show_bug.cgi?id=24040
austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |ABANDONED
--- Comment #8 from austinenglish@gmail.com --- Downloader is dead, the app installs and downloads/starts fine now.
https://bugs.winehq.org/show_bug.cgi?id=24040
austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from austinenglish@gmail.com --- Closing.