http://bugs.winehq.org/show_bug.cgi?id=17842
Summary: PopCap games cannot connect to registration server Product: Wine Version: 1.1.17 Platform: PC URL: http://downloads.popcap.com/www/popcap_downloads/Bejewel edSetup.exe OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P3 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: kennybobs@o2.co.uk
So far tested a couple of PopCap games, and none of them can connect to the registration server. No useful error is giving, and the output is fairly minimal. Could it have anything to do with CLSCTX_REMOTE_SERVER?
fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),0,3,(nil),0,(nil)) - stub! err:ole:CoGetClassObject class {9a5ea990-3034-4d6f-9128-01f3c61022bc} not registered err:ole:CoGetClassObject class {9a5ea990-3034-4d6f-9128-01f3c61022bc} not registered err:ole:create_server class {9a5ea990-3034-4d6f-9128-01f3c61022bc} not registered fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported err:ole:CoGetClassObject no class object {9a5ea990-3034-4d6f-9128-01f3c61022bc} could be created for context 0x17
This is the full output, not worth putting in an attachment. +mshtml, +msnet, +gecko, +url, +urlmon do not give any further output.
The PopCap games use an .exe as "copy protection" to extract and load another .exe. The second .exe is the actual game.
Will link games I find have this problem as I find them.
+relay log available if needed (if it's not the fixme).
http://bugs.winehq.org/show_bug.cgi?id=17842
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=17842
--- Comment #1 from Ken Sharp kennybobs@o2.co.uk 2009-03-24 22:18:45 --- Found 23 affected games. Probably all PopCap's games are affected, but I'm not checking everyone.
No workaround. Users are unable to enter registration codes or buy the games from PopCap. There are alternative vendors, however.
http://bugs.winehq.org/show_bug.cgi?id=17842
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #2 from Ken Sharp kennybobs@o2.co.uk 2009-08-04 16:05:32 --- Still present in latest git.
http://bugs.winehq.org/show_bug.cgi?id=17842
Ryan Evans rs3vans@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rs3vans@gmail.com
--- Comment #3 from Ryan Evans rs3vans@gmail.com 2010-01-05 10:26:23 --- When trying to register Chuzzle Deluxe, I get the following error (wine ver 1.1.35, Ubuntu 9.10 "Karmic"):
err:wininet:NETCON_secure_connect SSL_connect failed: 12157
http://bugs.winehq.org/show_bug.cgi?id=17842
Mikolaj Zalewski mikolaj.zalewski@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mikolaj.zalewski@gmail.com
--- Comment #4 from Mikolaj Zalewski mikolaj.zalewski@gmail.com 2010-01-29 15:43:40 --- FWIW, the UUID is CLSID_GameExplorer: http://mikolajapp.appspot.com/uuid/query?q=%7B9a5ea990-3034-4d6f-9128-01f3c6... . But usually that is not a problem. This interface was introduced in Vista, so any game that works on XP should be prepared that it is not present.
http://bugs.winehq.org/show_bug.cgi?id=17842
Dean Boulding jakartadean@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jakartadean@gmail.com
--- Comment #5 from Dean Boulding jakartadean@gmail.com 2010-02-21 04:36:53 --- I can confirm the same experience as of 21 February, running kubuntu 9.10. I checked my .wine/windows/system32 directory, and there is no file named gameux.dll.
While the fate of the free world does not hang in the balance, if I can give my wife her beloved zuma I can stop explaining why I don't want to run windows...
Dean
http://bugs.winehq.org/show_bug.cgi?id=17842
cbxbiker61@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cbxbiker61@gmail.com
--- Comment #6 from cbxbiker61@gmail.com 2011-02-14 04:50:51 CST --- Yippee skippee, I figured out how to get popcap games to connect to the registration server!
Turns out that it's not really a bug in wine, more of a "feature".
Wine under Linux uses OpenSsl for site certifications. OpenSsl will return an error for sites that it can't validate credentials for. It determines this from the certs that are located in /etc/ssl/certs.
popcap.com is certified through DigiCert and therefore requires DigiCert's certifications to be installed in /etc/ssl/certs.
The easy way to get the DigiCert certs installed in Linux is to open Firefox (Firefox has built-in certs), go to Edit/Preferences, then select the Advanced/Encryption tabs, then "View Certificates" scroll down to DigiCert and one by one select them and select the "Export" button. Make sure X.509 Certificate is selected as the target type and save them (/tmp might be an appropriate location). Now rename each of the certs with a .pem extension and install them into /etc/ssl/certs. Now you should be able to connect to the Popcap registration server and enter the registration code, it should validate and unlock your game.
Had to do a bit of digging through the Wine source code to figure out what was going on. Isn't open source great?! You can fix your own problems (and others too).
BTW, It's probably a good idea to install them .pem's in http://www.verisign.com/support/roots.zip to your /etc/ssl/certs too. It'll probably keep you from encountering other validation errors under Wine running other programs. That'll probably also fix some wget errors (although you can override wget's problems with --no-check-certificate).
http://bugs.winehq.org/show_bug.cgi?id=17842
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #7 from Dan Kegel dank@kegel.com 2011-02-14 09:35:26 CST --- Which linux distro are you using? Please consider filing a bug with them pointing to this bug report, and asking them to consider trusting that root cert.
http://bugs.winehq.org/show_bug.cgi?id=17842
--- Comment #8 from Juan Lang juan_lang@yahoo.com 2011-02-14 11:25:26 CST --- This bug is probably invalid, as it's a distro configuration issue.
How do we attempt to reproduce the bug? Is it possible if we don't own any PopCap games?
http://bugs.winehq.org/show_bug.cgi?id=17842
--- Comment #9 from Ken Sharp kennybobs@o2.co.uk 2011-02-14 12:38:19 CST --- 1. Download 2. Click Register / Buy / Rob me
http://bugs.winehq.org/show_bug.cgi?id=17842
--- Comment #10 from Juan Lang juan_lang@yahoo.com 2011-02-14 13:33:31 CST --- (In reply to comment #9)
- Download
Okay, and I assume I should install it, too?
- Click Register / Buy / Rob me
This launches a page in my browser. Is this expected to fail?
http://bugs.winehq.org/show_bug.cgi?id=17842
--- Comment #11 from cbxbiker61@gmail.com 2011-02-14 19:22:09 CST --- I forgot to mention that you "should" create hash links in the /etc/ssl/certs directory to the new .pem files. PopCap will still validate without them. But it's possible in the future that Wine won't ignore non-authoritive errors. As it is now, Wine pretty much ignores when certs are self-signed.
Here's a script that will create the symlink hashes that OpenSsl uses to determine whether certs are signed. Run it against the new certs in /etc/ssl/certs as root.
#! /bin/bash
set -e
cert="$1" hash=$(openssl x509 -hash -noout -in $cert)
ln -s "$cert" "$hash.0"
http://bugs.winehq.org/show_bug.cgi?id=17842
--- Comment #12 from Ken Sharp kennybobs@o2.co.uk 2011-03-25 21:13:57 CDT --- That is some excellent investigative work, well done!
A lack of certificates certainly isn't a Wine bug, but Wine doesn't report an error so maybe it should? That is, if the responsibility for validating certificates does indeed belong to Wine, if not, then invalid.
Bug opened in Ubuntu. https://bugs.launchpad.net/ubuntu/+source/ca-certificates/+bug/742889
http://bugs.winehq.org/show_bug.cgi?id=17842
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|PopCap games cannot connect |Digicert certificates not |to registration server |available (not a Wine bug)
http://bugs.winehq.org/show_bug.cgi?id=17842
--- Comment #13 from Ken Sharp kennybobs@o2.co.uk 2012-06-10 15:47:28 CDT --- Apparently fixed in Debian and Ubuntu Oneiric.
Can anyone test this? (I need to upgrade)
http://bugs.winehq.org/show_bug.cgi?id=17842
--- Comment #14 from Austin English austinenglish@gmail.com 2012-06-11 09:35:09 CDT --- austin@debian-work:~$ wine --version wine-1.5.5-158-g90f93e3 austin@debian-work:~$ cat /etc/issue Debian GNU/Linux wheezy/sid \n \l
works fine, afaict. The game plays. Clicking register asks me for my order number, which I don't have. Clicking buy now starts to connect to popcap (in the app), then opens a tab in Iceweasel.
http://bugs.winehq.org/show_bug.cgi?id=17842
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |UPSTREAM
--- Comment #15 from Ken Sharp kennybobs@o2.co.uk 2012-06-11 09:40:38 CDT --- Although some versions of Ubuntu are still "supported", I think it's safe to say this is fixed then.
http://bugs.winehq.org/show_bug.cgi?id=17842
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #16 from Austin English austinenglish@gmail.com 2012-06-11 11:56:15 CDT --- (In reply to comment #15)
Although some versions of Ubuntu are still "supported", I think it's safe to say this is fixed then.
Closing.