http://bugs.winehq.org/show_bug.cgi?id=28997
Bug #: 28997 Summary: Viper Racing v1.2.3: Copy protection does not detect CD Product: Wine Version: 1.3.31 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: atalanttore@googlemail.com Classification: Unclassified
Created attachment 37316 --> http://bugs.winehq.org/attachment.cgi?id=37316 Viper Racing: Wine terminal output, backtrace and error message
Hi
I tried to run a game called "Viper Racing", but Wine has problems with the game's copy protection. The copy protection does not detect the game CD, which is already inserted, and prevents the game from starting up.
Atalanttore
http://bugs.winehq.org/show_bug.cgi?id=28997
mr jingle Salz85@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |Salz85@gmail.com
--- Comment #1 from mr jingle Salz85@gmail.com 2011-11-05 08:38:32 CDT --- Are you sure? IIRC, 1.2.3 was a beta patch that explicitly disabled any copy protection. Never had any problem about it. Have you tried passing the "-nocanary" flag? Be sure to put RACE.BIN in the right folder, too.
http://bugs.winehq.org/show_bug.cgi?id=28997
--- Comment #2 from Ettore Atalan atalanttore@googlemail.com 2011-11-05 09:03:12 CDT --- (In reply to comment #1)
Are you sure?
Yes.
IIRC, 1.2.3 was a beta patch that explicitly disabled any copy protection.
Not really. Running Viper Racing 1.2.3 beta on Windows Vista needs a game CD inserted. There is a No-CD crack available for 1.2.3 beta, but it doesn't work.
Have you tried passing the "-nocanary" flag?
No, don't know what you mean.
Be sure to put RACE.BIN in the right folder, too.
The patched RACE.BIN is placed in the "Data" folder.
Is it possible that there are different 1.2.3 beta patches out there? Can you send me your 1.2.3 beta patch for testing?
Atalanttore
http://bugs.winehq.org/show_bug.cgi?id=28997
--- Comment #3 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2011-11-05 10:17:49 CDT --- Please upgrade to wine-1.3.32, and install debug symbols. Attach complete terminal output (start to finish) if problem persists.
http://bugs.winehq.org/show_bug.cgi?id=28997
--- Comment #4 from Ettore Atalan atalanttore@googlemail.com 2011-11-06 06:55:30 CST --- Created attachment 37335 --> http://bugs.winehq.org/attachment.cgi?id=37335 Log
Same problem with wine-1.3.32.
http://bugs.winehq.org/show_bug.cgi?id=28997
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #5 from Anastasius Focht focht@gmx.net 2011-11-06 07:34:32 CST --- Hello,
please generate log using following recipe ...
Make sure no Wine processes/services are running prior:
$ wineserver -k
"cd" to game install folder (in your WINEPREFIX)
Start the game as follows:
$ WINEDEBUG=+tid,+seh,+relay wine "./Viper Racing.exe" >>log.txt 2>&1
Attach the resulting "log.txt" (compress with 'bzip2 -9' if too large).
Regards
http://bugs.winehq.org/show_bug.cgi?id=28997
Ettore Atalan atalanttore@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #37335|0 |1 is obsolete| |
--- Comment #6 from Ettore Atalan atalanttore@googlemail.com 2011-11-06 07:46:09 CST --- Created attachment 37337 --> http://bugs.winehq.org/attachment.cgi?id=37337 Log
Here it is ...
http://bugs.winehq.org/show_bug.cgi?id=28997
--- Comment #7 from Anastasius Focht focht@gmx.net 2011-11-06 07:59:07 CST --- Hello,
looks like your cdrom/media is not properly registered within Wine:
--- snip --- ... 0009:Call KERNEL32.GetDriveTypeA(0032f948 "A:\") ret=0040189b 0009:Ret KERNEL32.GetDriveTypeA() retval=00000001 ret=0040189b 0009:Call KERNEL32.GetDriveTypeA(0032f948 "B:\") ret=0040189b 0009:Ret KERNEL32.GetDriveTypeA() retval=00000001 ret=0040189b 0009:Call KERNEL32.GetDriveTypeA(0032f948 "C:\") ret=0040189b 0009:Ret KERNEL32.GetDriveTypeA() retval=00000003 ret=0040189b 0009:Call KERNEL32.GetDriveTypeA(0032f948 "D:\") ret=0040189b 0009:Ret KERNEL32.GetDriveTypeA() retval=00000001 ret=0040189b 0009:Call KERNEL32.GetDriveTypeA(0032f948 "E:\") ret=0040189b 0009:Ret KERNEL32.GetDriveTypeA() retval=00000001 ret=0040189b ... 0009:Ret KERNEL32.GetDriveTypeA() retval=00000001 ret=0040189b 0009:Call KERNEL32.GetDriveTypeA(0032f948 "Z:\") ret=0040189b 0009:Ret KERNEL32.GetDriveTypeA() retval=00000003 ret=0040189b 0009:Call user32.MessageBoxA(00000000,0032f830 "You must have the Viper Racing CD inserted to play.",00407230 "Our Apologies",00010010) ret=00401157 --- snip ---
If Wine doesn't detect the media automagically (missing hal, udisk) you need to setup a drive letter for your cdrom manually. Use "winecfg" to add a drive, e.g. "d:", type "cdrom" pointing to your media mount point.
I suspect there is no copy protection issue here.
Regards
http://bugs.winehq.org/show_bug.cgi?id=28997
--- Comment #8 from Ettore Atalan atalanttore@googlemail.com 2011-11-06 08:16:02 CST --- Drive letter D: is set to "/dev/sr0" in winecfg. I changed it to "cdrom", but same problem.
http://bugs.winehq.org/show_bug.cgi?id=28997
--- Comment #9 from Anastasius Focht focht@gmx.net 2011-11-06 08:31:57 CST --- Hello,
--- quote --- Drive letter D: is set to "/dev/sr0" in winecfg. I changed it to "cdrom", but same problem. --- quote ---
then attach another log generated the same way as comment #5 Make sure to delete existing "log.txt" (logging in append mode).
Additionally paste the output of:
$ ll .wine/dosdevices
Regards
http://bugs.winehq.org/show_bug.cgi?id=28997
--- Comment #10 from Ettore Atalan atalanttore@googlemail.com 2011-11-06 08:44:11 CST --- Created attachment 37338 --> http://bugs.winehq.org/attachment.cgi?id=37338 Log
Output of "ll .wine/dosdevices": drwxr-xr-x 2 ata ata 4096 2011-11-06 15:11 ./ drwxr-xr-x 4 ata ata 4096 2011-11-06 15:35 ../ lrwxrwxrwx 1 ata ata 10 2011-05-21 19:58 c: -> ../drive_c/ lrwxrwxrwx 1 ata ata 5 2011-11-06 15:11 d: -> cdrom lrwxrwxrwx 1 ata ata 1 2011-05-21 19:58 z: -> //
http://bugs.winehq.org/show_bug.cgi?id=28997
--- Comment #11 from mr jingle Salz85@gmail.com 2011-11-06 08:48:03 CST ---
IIRC, 1.2.3 was a beta patch that explicitly disabled any copy protection.
Not really. Running Viper Racing 1.2.3 beta on Windows Vista needs a game CD inserted. There is a No-CD crack available for 1.2.3 beta, but it doesn't work.
it just disables any safedisc related check, the game still require the data to be read from the cdrom.
By the way, just tried on wine 1.3.32, and I can't replicate such behaviour. The CD is correctly detected, but still fails as in http://bugs.winehq.org/show_bug.cgi?id=12829.
http://bugs.winehq.org/show_bug.cgi?id=28997
--- Comment #12 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2011-11-06 09:59:02 CST --- (In reply to comment #8)
Drive letter D: is set to "/dev/sr0" in winecfg. I changed it to "cdrom", but same problem. lrwxrwxrwx 1 ata ata 5 2011-11-06 15:11 d: -> cdrom
This is incorrect. It should point to CD-ROM mount point, not the device. The d:: should point to the device. Ex: d: -> /meida/game d:: -> /dev/sr0
http://bugs.winehq.org/show_bug.cgi?id=28997
--- Comment #13 from Ettore Atalan atalanttore@googlemail.com 2011-11-06 10:30:49 CST --- Created attachment 37340 --> http://bugs.winehq.org/attachment.cgi?id=37340 Log
It doesn't work with "/dev/sr0" or "cdrom".
http://bugs.winehq.org/show_bug.cgi?id=28997
--- Comment #14 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2011-11-06 12:57:20 CST --- (In reply to comment #13)
It doesn't work with "/dev/sr0" or "cdrom".
What is content of ~/.wine/dosdevices directory (run ls -la ~/.wine/dosdevices).
http://bugs.winehq.org/show_bug.cgi?id=28997
--- Comment #15 from Ettore Atalan atalanttore@googlemail.com 2011-11-06 13:02:46 CST --- drwxr-xr-x 2 *** *** 4096 2011-11-06 17:21 . drwxr-xr-x 4 *** *** 4096 2011-11-06 17:28 .. lrwxrwxrwx 1 *** *** 10 2011-05-21 19:58 c: -> ../drive_c lrwxrwxrwx 1 *** *** 8 2011-11-06 17:00 d: -> /dev/sr0 lrwxrwxrwx 1 *** *** 1 2011-05-21 19:58 z: -> /
http://bugs.winehq.org/show_bug.cgi?id=28997
Ettore Atalan atalanttore@googlemail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.3.31 |1.3.32
http://bugs.winehq.org/show_bug.cgi?id=28997
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.3.32 |1.3.31
--- Comment #16 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2011-11-06 15:03:29 CST --- Don't change wine version. Read what I said in comment #12.
http://bugs.winehq.org/show_bug.cgi?id=28997
--- Comment #17 from Ettore Atalan atalanttore@googlemail.com 2011-11-07 13:10:56 CST --- Have you read comment #4 and comment #13?
Once again for you (i won't write it again):
1. Same problem with Wine version 1.3.31 or 1.3.32 2. It doesn't work with mount point "/dev/sr0"
http://bugs.winehq.org/show_bug.cgi?id=28997
--- Comment #18 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2011-11-07 16:16:46 CST --- (In reply to comment #17)
- It doesn't work with mount point "/dev/sr0"
/dev/sr0 is not a mount point. It's a device corresponding to your cdrom drive.
Example of mounted CD: $mount | grep sr0 /dev/sr0 on /media/openSUSE-DVD-x86_64.0702..001 type iso9660 (ro,nosuid,nodev,relatime,uid=1000,gid=100,iocharset=utf8,mode=0400,dmode=0500,uhelper=udisks) $ls -la ~/.wine/dosdevices total 8 drwxr-xr-x 2 vitaliy users 4096 Nov 7 15:15 . drwxr-xr-x 4 vitaliy users 4096 Nov 7 15:15 .. lrwxrwxrwx 1 vitaliy users 10 Feb 27 2011 c: -> ../drive_c lrwxrwxrwx 1 vitaliy users 36 Nov 7 15:15 d: -> /media/openSUSE-DVD-x86_64.0702..001 lrwxrwxrwx 1 vitaliy users 8 May 9 20:50 d:: -> /dev/sr0 lrwxrwxrwx 1 vitaliy users 1 Feb 27 2011 z: -> /
http://bugs.winehq.org/show_bug.cgi?id=28997
jtsn jtsn@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jtsn@gmx.de
--- Comment #19 from jtsn jtsn@gmx.de 2011-11-10 16:24:19 CST --- FYI: The "copy protection" of Viper Racing is pretty primitive: The game tries to read the UPC/EAN code from the CD TOC* and compares it to the correct value.
There is no SafeDisc/SecuROM etc. involved, but the game has to use some low level functions (maybe for CD Audio, maybe ASPI) to get to the information it is looking for.
*) The TOC lists the tracks on a Compact Disc, it has nothing do to with an ISO file system and its directories.
http://bugs.winehq.org/show_bug.cgi?id=28997
--- Comment #20 from Ettore Atalan atalanttore@googlemail.com 2011-11-11 07:27:49 CST --- (In reply to comment #18)
Example of mounted CD: $mount | grep sr0 /dev/sr0 on /media/openSUSE-DVD-x86_64.0702..001 type iso9660 (ro,nosuid,nodev,relatime,uid=1000,gid=100,iocharset=utf8,mode=0400,dmode=0500,uhelper=udisks)
/dev/sr0 on /media/Viper type iso9660 (ro,nosuid,nodev,uid=1000,gid=1000,iocharset=utf8,mode=0400,dmode=0500,uhelper=udisks)
$ls -la ~/.wine/dosdevices total 8 drwxr-xr-x 2 vitaliy users 4096 Nov 7 15:15 . drwxr-xr-x 4 vitaliy users 4096 Nov 7 15:15 .. lrwxrwxrwx 1 vitaliy users 10 Feb 27 2011 c: -> ../drive_c lrwxrwxrwx 1 vitaliy users 36 Nov 7 15:15 d: -> /media/openSUSE-DVD-x86_64.0702..001 lrwxrwxrwx 1 vitaliy users 8 May 9 20:50 d:: -> /dev/sr0 lrwxrwxrwx 1 vitaliy users 1 Feb 27 2011 z: -> /
drwxr-xr-x 2 *** *** 4096 2011-11-06 17:21 . drwxr-xr-x 4 *** *** 4096 2011-11-09 22:53 .. lrwxrwxrwx 1 *** *** 10 2011-05-21 19:58 c: -> ../drive_c lrwxrwxrwx 1 *** *** 8 2011-11-06 17:00 d: -> /dev/sr0 lrwxrwxrwx 1 *** *** 1 2011-05-21 19:58 z: -> /
http://bugs.winehq.org/show_bug.cgi?id=28997
Vitaliy Margolen vitaliy-bugzilla@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #21 from Vitaliy Margolen vitaliy-bugzilla@kievinfo.com 2011-11-11 09:49:17 CST --- Invalid. CD is not properly mapped in winecfg. User error.
http://bugs.winehq.org/show_bug.cgi?id=28997
--- Comment #22 from Ettore Atalan atalanttore@googlemail.com 2011-11-11 10:36:18 CST --- Very helpful problem solving.... :(
http://bugs.winehq.org/show_bug.cgi?id=28997
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #23 from Austin English austinenglish@gmail.com 2011-11-11 13:26:46 CST --- (In reply to comment #22)
Very helpful problem solving.... :(
Bugzilla is for bugs, not user support. Please use the forums for that.
http://bugs.winehq.org/show_bug.cgi?id=28997
--- Comment #24 from Dmitry Timoshkov dmitry@baikal.ru 2011-11-11 21:01:32 CST ---
lrwxrwxrwx 1 *** *** 8 2011-11-06 17:00 d: -> /dev/sr0
Once you carefully look at the line above and compare it with what you were suggested to do you'll realize the problem. Please use forum for user help in future.