http://bugs.winehq.org/show_bug.cgi?id=28863
Bug #: 28863 Summary: SecuROM 8.xx: games require activation on each start Product: Wine Version: 1.3.31 Platform: x86 OS/Version: Linux Status: NEW Keywords: obfuscation Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: gyebro69@gmail.com Classification: Unclassified
Created attachment 37073 --> http://bugs.winehq.org/attachment.cgi?id=37073 7zipped +relay,+tid,+file,+reg log (uncompressed 118 MB)
Two of my games obtained via Gamersgate digital distribution service are damned with Securom 8.03.xxxx protection (online activation). The games are Tomb Raider: Legend GTA San Andreas
After installation the Securom activation dialog kicked in, requesting the serial number. Activation was successful and the games started fine. Much to my surprise, next time I launched these games, Securom required a new activation. This happens on each game start (I didn't alter the wineprefix where the games are installed in any way).
I installed one of the games in Win XP SP3 (running under Vbox): Securom works there, requiring activation only on the first launch.
Here I'm attaching a +relay,+tid,+file,+reg debug log, hopefully someone will find some clues in it. The log was created by getting through the activation process (the game wasn't started at the end of activation).
I'm totally dumb at reading such logs but here's what I found: 1. Securom tries to open certain files under 'C:\users<username>\Application Data\DSS\Product Activation\ User Data<very long sequence' The files named dss_v8_01.dat and dss_v8_01.bak. These files as well as the whole directory structure are missing in both Wine and Windows so this can't be the problem.
2. The corresponding Securom registry entry is located under HKCU/Software/DSS. This contains several subkeys, most of them contain binary data, but one of them (Meta Data\Information) contains strange things. Although this subkey can be exported via Wine regedit, it cannot be re-imported correctly. Here is an excerpt what this sub key contains (obtained via Process Monitor under Windows):
Type: REG_SZ, Length: 2,600, Data: <?xml version="1.0"?> <UserData> <ExeResource> <Path>C:\Program Files\Rockstar Games\GTA San Andreas\gta_sa.exe</Path> </ExeResource> <CPA>e358d8ee7c711c17f463b620e750df01e896d4e1bdfc0e37d2357859698229f6e896d4e1bdfc0e37cdb6c31028aa1089</CPA> <OfflineInformation> <LASTACCESSDATE>000fb756</LASTACCESSDATE> <INSTALLDATE>000fb756</INSTALLDATE> <COUNTER>00000000</COUNTER> <FIRSTTIME>00000001</FIRSTTIME> <PERIODIC>00000000</PERIODIC> <PERIODICDAYS>00000000</PERIODICDAYS> </OfflineInformation> <ProductActivation> ...
Maybe something goes wrong when creating/reading this key under Wine thus Securom considers it invalid?
Fedora 15 x86 gcc version 4.6.1 20110908 (Red Hat 4.6.1-9) (GCC)