[Bug 23355] New: Ring-Protech CD/DVD Protection fails

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jun 24 04:53:16 CDT 2010


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

           Summary: Ring-Protech CD/DVD Protection fails
           Product: Wine
           Version: 1.1.21
          Platform: x86
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: kernel32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: hoehle at users.sourceforge.net
                CC: galberte at neo.rr.com


Past 1.1.20 commit f7e6777e6e19ca3be4b84f98baf22ef53ab19f96
Autor: Guy Albertelli <galberte at neo.rr.com>  2009-04-29 03:08:22
    kernel32: Fix GetVolumeInformation[AW] to require trailing \.
causes KERNEL32.GetVolumeInformationA() to return an error, which apparently
causes the copy protection to proceed to test the next drive.  As a result, the
protected app will either exit silently or ask for its CD-ROM.

A trace in broken wine-1.1.21, 1.1.31 and 1.2rc4 reads:
Call KERNEL32.GetVolumeInformationA(0033f4e8 "D:",00556798,6,0,0,0,0,0)
ret=1000118f
Ret  KERNEL32.GetVolumeInformationA() retval=00000000 ret=1000118f
Call KERNEL32.GetDriveTypeA(0033f4e8 "E:") ret=10001176 [next drive]

A trace in working wine-1.0, 1.1.16 and .18 yields:
trace:volume:GetVolumeInformationW L"\\\\.\\D:": found fs type 4
Ret  KERNEL32.GetVolumeInformationA() retval=00000001 ret=1000c1ff
Call user32.CharUpperA(0032f37e "D:\\SYSTEM\\Iofile.x64") ret=1000c210

The files iofile.x64 and mov_io.x64 have read errors on the CD-ROM and are
symptoms of that protection.  Note that Gnome mounts both an audio and a data
CD on the desktop: 2 icons appear (after seeking around for half a minute
because of the voluntary errors -- what a nuisance).

Perhaps the tests in kernel32/tests/volume.c are not discriminating enough? 
Judging by the traces, the CurrentDir seems to the the app's one on HD, i.e.
not a root.

I own 4 titles with the visible ring CD-ROM protection. I verified that the
first 3 are affected by this regression. Revert the commit and they work in
1.2rc4.
"Ronja Räubertochter" (no AppDB yet, deserves platinum or gold)
"Fritz und Fertig" Schach / chess (no AppDB, gold)
"Rund um die Welt mit Felix / abenteuerliche Reise" (no AppDB, platinum)
"die Pfefferkörner - Cem unter Verdacht" (no AppDB, garbage)
I'm angry that AppDB refuses entries about old Wine versions.

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