[Bug 7065] Get SecuROM copy-protection working

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jan 23 18:32:57 CST 2008


http://bugs.winehq.org/show_bug.cgi?id=7065





--- Comment #67 from Rob Whalley <mail at robwhalley.co.uk>  2008-01-23 18:32:49 ---
Worms3D is an interesting one too. This version has been updated to Service
patch 2 (v.1073).

Scanning -> c:\Team17\Worms 3D\original\Worms3D.exe
File Type : Exe, Size : 5582848 (0553000h) Byte(s)
[!] SecuROM Detected - Version 5.02.00
- Scan Took : 0.383 Seconds

[rob at alias /]$ cd "/home/rob/.wine/drive_c/Team17/Worms 3D"
[rob at alias Worms 3D]$ wine Launcher.exe 

First the graphical Worms 3D launcher menu appears (allowing choice of screen
resolution and an empty box labelled 'advanced', presumably for command line
options, plus buttons labelled 'Cancel', 'Check for Updates' and 'Play').
Terminal output then reads:

ALSA lib conf.c:3949:(snd_config_expand) Unknown parameters 0
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default:0
ALSA lib conf.c:3949:(snd_config_expand) Unknown parameters 0
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default:0
err:aspi:SCSI_OpenDevice Failed to open device /dev/sg0: Permission denied
err:aspi:SCSI_OpenDevice Failed to open device /dev/sg1: Permission denied
err:aspi:SCSI_OpenDevice Failed to open device /dev/sg2: Permission denied

As you can see, very like the RCT3 messages, but doesn't seem to scan the CDROM
at all, although it will prompt for the CD if not mounted. Something to do with
it using an earlier version of SecuROM 5 perhaps?

Did:

WINEDEBUG=+relay wine Launcher.exe > debug3.log 2>&1
WINEDEBUG=+relay,+tid,+server,+seh wine Launcher.exe > debug4.log 2>&1

Both Words3D and RCT debugs make reference to:
HARDWARE\\DEVICEMAP\\Scsi\\Scsi Port 4\\Scsi Bus 0\\Target Id 4\\Logical Unit
Id

In regedit, this maps to HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\Scsi Port
4... etc and seems to be where information about the CDROM drives are located:
An export of this key shows:
REGEDIT4

[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\Scsi Port 4]
"Driver"="WINE SCSI"
"FirstBusTimeScanInMs"=dword:0000000a

[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\Scsi Port 4\Scsi Bus 0]

[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\Scsi Port 4\Scsi Bus 0\Initiator Id
255]

[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\Scsi Port 4\Scsi Bus 0\Target Id 0]

[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\Scsi Port 4\Scsi Bus 0\Target Id
0\Logical Unit Id 0]
"DeviceName"="Cdrom0"
"Identifier"="TSSTcorpCD/DVDW SH-S182MSB02"
"Type"="CdRomPeripheral"
"UnixDeviceName"="/dev/sg1"

[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\Scsi Port 4\Scsi Bus 0\Target Id 1]

[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\Scsi Port 4\Scsi Bus 0\Target Id
1\Logical Unit Id 0]
"DeviceName"="Cdrom1"
"Identifier"="SONY    DVD-ROM DDU1613 9YS2"
"Type"="CdRomPeripheral"
"UnixDeviceName"="/dev/sg2"


-- 
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