[Bug 7065] Get SecuROM copy-protection working
wine-bugs at winehq.org
wine-bugs at winehq.org
Wed Jan 23 06:17:22 CST 2008
http://bugs.winehq.org/show_bug.cgi?id=7065
--- Comment #66 from Rob Whalley <mail at robwhalley.co.uk> 2008-01-23 06:17:18 ---
Heh, ok, bear in mind I've never debugged a WINE program... did a lot of RTFM
from http://www.winehq.org/site/docs/winedev-guide/wine-debugger and
http://wiki.winehq.org/GitWine - so if I made any mistakes, go easy on me... ;)
I removed the aclayers.dll file and override, then in the winegit folder did:
git reset --hard origin
git fetch ; git rebase origin
git status
So it's up to date with no patches
Tested RCT as detailed in previous post, with exactly the same results. Did a
bit of reading and found out how to debug to a file:
WINEDEBUG=+relay wine RCT3.exe > debug.log 2>&1
Initial thoughts:
If you search for "messagebox", a little above that you find a number of
entries relating to WINE opening registry keys, e.g.:
0009:Call advapi32.RegOpenKeyExA(80000002,014ffa40
"HARDWARE\\DEVICEMAP\\Scsi\\Scsi Port 4\\Scsi Bus 0\\Target Id 4\\Logical Unit
Id 0",00000000,000f003f,014ffa3c) ret=61961783
Could this issue be registry related?
Then looked at another post and saw that a more complete output could be gotten
by doing:
WINEDEBUG=+relay,+tid,+server,+seh wine RCT3.exe > debug2.log 2>&1
Logically, the error should exist between the following lines:
0009:err:aspi:SCSI_OpenDevice Failed to open device /dev/sg2: Permission denied
....
0009:Call user32.MessageBoxA(00000000,012caee0 "Please insert the original disc
instead of a backup. See www.securom.com/copy for more details",011b9bf8
"RollerCoaster Tycoon\xae 3",00010010) ret=0116e2dc
Though I have no idea where!
Unfortunately, the log files are too big to upload as attachments, so I have
saved them to my own webspace here:
http://www.robwhalley.co.uk/linux/debug.tar.gz
Contents: debug.log, debug2.log
Size: 2.4MB
The only thing I can recognize is that SecuROM is creating registry keys... why
though??
0009:Call advapi32.RegCreateKeyExA(80000001,014f68d8
"Software\\SecuROM\\Keys\\C2EFAC48\\0001",00000000,012b28c0,00000000,00020006,00000000,014f69d8,00000000)
ret=0109fe97
0009: create_key( parent=0x1c, access=00020006, attributes=00000000,
options=00000000, modif=0, namelen=70,
name=L"Software\\SecuROM\\Keys\\C2EFAC48\\0001", class=L"" )
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list