http://bugs.winehq.org/show_bug.cgi?id=26778
Summary: Games for Windows Live fails to start without native crypt32 Product: Wine Version: 1.3.17 Platform: x86 URL: http://www.gamesforwindows.com/en-US/games/bulletstorm / OS/Version: Linux Status: NEW Keywords: download Severity: minor Priority: P2 Component: crypt32 AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
Download Bulletstorm demo, install, then get native windowscodecs for bug 26777.
Run the client, and it will prompt you to install a hotfix: http://www.gamesforwindows.com/en-US/Support/Games-for-Windows-Marketplace-C... English: http://download.microsoft.com/download/8/B/2/8B2DC324-ACE3-4EF4-A4F4-56A0559...
which is http://support.microsoft.com/kb/938759
"This problem occurs because the WinVerifyTrust function in Windows Server 2003 cannot validate the certificates for large signed files."
looks like our WinVerifyTrust needs the fix as well. Installing the hotfix avoids the error.
Strangely, setting crypt32/wintrust to builtin in winecfg doesn't bring the bug back. Removing the new crypt32.dll from system32 though, does. I guess it's loading the dll by path?
http://bugs.winehq.org/show_bug.cgi?id=26778
--- Comment #1 from Juan Lang juan_lang@yahoo.com 2011-04-14 14:55:33 CDT --- Interesting that native crypt32 fixes it if the bug is in wintrust (or imagehlp). Please attach a crypt,wintrust,imagehlp log.
http://bugs.winehq.org/show_bug.cgi?id=26778
--- Comment #2 from Austin English austinenglish@gmail.com 2011-04-14 15:00:49 CDT --- (In reply to comment #1)
Interesting that native crypt32 fixes it if the bug is in wintrust (or imagehlp). Please attach a crypt,wintrust,imagehlp log.
There is no output with those debug channels. After dismissing the dialog, I see trace:crypt:CertCloseStore ((nil), 00000000) trace:crypt:CertFreeCertificateChainEngine ((nil))
but that's it. Hmm, maybe it's detecting the crypt32/wintrust dll versions and reporting the error based on that. Let me play with it..
http://bugs.winehq.org/show_bug.cgi?id=26778
--- Comment #3 from Austin English austinenglish@gmail.com 2011-04-14 15:05:03 CDT --- Created an attachment (id=34114) --> (http://bugs.winehq.org/attachment.cgi?id=34114) +relay,+seh,+tid
Gotta run for a bit, but here's a relay,seh,tid,text trace (look for hotfix to find the error dialog, on thread 0023) for anyone curious in the meantime.
http://bugs.winehq.org/show_bug.cgi?id=26778
--- Comment #4 from Juan Lang juan_lang@yahoo.com 2011-04-14 16:08:58 CDT --- (In reply to comment #2)
but that's it. Hmm, maybe it's detecting the crypt32/wintrust dll versions and reporting the error based on that. Let me play with it..
That appears to be what it's doing, at least from the relay log:
0023:Call version.GetFileVersionInfoW(004015a4 L"crypt32.dll",00000000,000006e4,001493f8) ret=004075be (snip) 0023:Ret version.GetFileVersionInfoW() retval=00000001 ret=004075be 0023:Call version.VerQueryValueW(001493f8,00401978 L"\",0033f594,0033f58c) ret=004075d8 0023:Ret version.VerQueryValueW() retval=00000001 ret=004075d8 (snip) 0023:Call user32.MessageBoxW(0001006a,0033ebb4 L"To use all of the features of Games for Windows Software, you need to apply a hotfix for Windows XP.\r\n\r\nDo you want to view and download the update?",0033f3b4 L"Games for Windows Software",00012031) ret=0100698a
That doesn't mean there isn't a bug: imagehlp ignores file sizes > 32 bits, at any rate.
http://bugs.winehq.org/show_bug.cgi?id=26778
--- Comment #5 from Juan Lang juan_lang@yahoo.com 2011-05-03 10:35:30 CDT --- Austin, ping: did you ever try this a version of crypt32 with a higher version?
http://bugs.winehq.org/show_bug.cgi?id=26778
--- Comment #6 from Austin English austinenglish@gmail.com 2011-05-03 12:12:16 CDT --- (In reply to comment #5)
Austin, ping: did you ever try this a version of crypt32 with a higher version?
I set crypt32 and wintrust to version 5.131.3790.4210, which is the version listed on the hotfix page http://support.microsoft.com/kb/938759, but the problem persists.
I'll attach another +relay,+seh,+tid.
http://bugs.winehq.org/show_bug.cgi?id=26778
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #34114|0 |1 is obsolete| |
--- Comment #7 from Austin English austinenglish@gmail.com 2011-05-03 12:29:08 CDT --- Created an attachment (id=34455) --> (http://bugs.winehq.org/attachment.cgi?id=34455) relay,seh,tid
Interestingly, if I bump wintrust and try installing, the installer gets a network error. Only bumping crypt32 lets it install, but gives the hotfix warning. If I bump wintrust after installation, error persists.
Apparently the hotfix also updates imagehlp.dll, but I don't see a call to GetFileVersionInfoSizeW() for it (or rather, any calls to it at all).
http://bugs.winehq.org/show_bug.cgi?id=26778
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |ABANDONED
--- Comment #8 from Austin English austinenglish@gmail.com 2013-10-28 15:18:11 CDT --- Games for windows is no longer supported, abandoning.
http://bugs.winehq.org/show_bug.cgi?id=26778
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Austin English austinenglish@gmail.com 2013-10-31 17:47:41 CDT --- Closing.