#75 Errors loading mds/mdf rip (Alcohol 52% 2.0.2, image uses SecuROM)

None
closed
nobody
None
libmirage
default
2014-08-26
2014-03-13
Adam Bolte
No

I have a copy of the Alone in the Dark (2008) DVD. This game works great with the latest version of Wine (1.7.14 at the time of writing) under Debian Wheezy, however it requires the DVD to be in the drive. Time to solve that (preferably without a crack). I tried the usual methods (ISO image, etc.) with CDemu, but they didn't work due to the game's copy protection detecting that I wasn't using the original DVD.

So I ripped the DVD to .mdf/.mds format (the resulting AITD.mds is also in the tar.gz file attached) using the latest Alcohol 52% (2.0.2, build 5830) under a Windows 8 installation. Alcohol 52% detected that the game used SecuROM, and used a ripping profile to work around it. I also ejected the original game DVD and proceeded to use the .mdf/.mds files to install and play the game under Windows, so was able to verify that the rip is good.

Next, I rebooted back into GNU/Linux and fired up the latest CDemu 2.1.1 (installed using deb packages I built as described in the instructions) on my Wheezy install (which is running a 3.12 kernel from the wheezy-backports linux-image-3.12-0.bpo.1-amd64 package). I can load most images using CDemu without issue, but attempting to load the new .mds results in failure, with lots of dmesg output like follows:

Sense Key : Illegal Request [current] 
sr 9:0:0:0: [sr2]  
Add. Sense: Illegal mode for this track

More details in the tar.gz file attachment.

Although the image appears to be loaded (both from gcdemu and the cdemu command), I am unable to mount the image.

I think all information requested on the http://cdemu.sourceforge.net/bugs page is attached. Please let me know if there's anything else I can provide which might assist if figuring this out. Any assistance would be greatly appreciated. Thanks!

1 Attachments

Discussion

  • Adam Bolte
    Adam Bolte
    2014-03-13

    Hmm.. this should be under the Bug Reports section. It doesn't look like I have permission to move it.

     
  • Rok Mandeljc
    Rok Mandeljc
    2014-03-13

    Ticket moved from /p/cdemu/feature-requests/26/

     
  • Rok Mandeljc
    Rok Mandeljc
    2014-03-13

    I suspect you have hit the bug in MDS parser where fragment length overflows because we try to store file size into 32-bit int. The issue has been fixed in git already, and the attached patch should apply to libmirage-2.1.1 source.

    Can you give it a try and see if it fixes the issue?

     
  • Adam Bolte
    Adam Bolte
    2014-05-18

    Thanks for moving this topic into the correct section. Unfortunately, I think because it was moved, I never received an e-mail indicating that you had replied, so I did not notice earlier.

    I've just tried the attached patch, and the same mds loaded perfectly. Much appreciated, feel free to close this.

     
  • Rok Mandeljc
    Rok Mandeljc
    2014-05-18

    • status: open --> closed
    • Milestone: -->
     
  • Rok Mandeljc
    Rok Mandeljc
    2014-05-18

    Thanks for confirming that the fix works.