DiscImageCreator

sarami
Posts: 1762
Joined: Mon Jun 08, 2026 1:27 am

Re: DiscImageCreator

Post by sarami »

Thanks px_d8 results.
- added: plextor scsi drive (http://www.skcj.co.jp/discon/download/scsi.html) (But I don't know these drive can read in/out yet.)
DiscImageCreator, UmdImageCreator, Conv2multiBin, bin2wav, PS3Auth (needs login), [url=http://www.mediafire.com/file/5cgoy11x6ahc7qh/%2523recompressTo7z_20150109.bat/file]recompressTo7z_20150109.bat[/url]
scsi_wuzzy
Posts: 102
Joined: Mon Jun 08, 2026 1:28 am

Re: DiscImageCreator

Post by scsi_wuzzy »

sarami wrote:Thanks px_d8 results.
No problem. Thanks for helping me troubleshoot.

I've done some testing on another machine which I deemed to be substantially different from the one I'd been testing on previously (Intel P4 vs. AMD Phenom, different Adaptec card, etc). That machine experiences the same problems.

In the latest test version, the 1210S seems to reset due to some command which is issued (as shown in the stdout and made apparent by the drive spinning back up and Windows acting as if a disc has newly been inserted). I thought maybe this was a drive problem, but I tried on a different 1210S as well, and it behaved identically. Could be a firmware bug I suppose?

Here are the logs. First the Ultraplex:

stdout:

Code: Select all

C:\Documents and Settings\Owner\Desktop\Release_ANSI>DiscImageCreator.exe cd f t
est 4
OS
        Windows XP Home Edition Service Pack 3 32bit
AppVersion
        x86, AnsiBuild, Mar  1 2015 17:28:09
CurrentDir
        C:\Documents and Settings\Owner\Desktop\Release_ANSI
InputPath
         path: test
        drive:
          dir:
        fname: test
          ext:
Start: 2015-03-01(Sun) 15:53:26
[F:ModeSense10][L:148] OperationCode: 0x5a
ScsiStatus: 02, CHECK_CONDITION
SenseData Key-Asc-Ascq: 05-20-00, ILLEGAL_REQUEST - INVALID COMMAND OPERATION CO
DE
[F:ModeSense][L:119] OperationCode: 0x1a
ScsiStatus: 02, CHECK_CONDITION
SenseData Key-Asc-Ascq: 05-24-00, ILLEGAL_REQUEST - INVALID FIELD IN CDB
[F:ReadBufferCapacity][L:173] OperationCode: 0x5c
ScsiStatus: 02, CHECK_CONDITION
SenseData Key-Asc-Ascq: 05-20-00, ILLEGAL_REQUEST - INVALID COMMAND OPERATION CO
DE
[F:SetCDSpeed][L:635] OperationCode: 0xbb
ScsiStatus: 02, CHECK_CONDITION
SenseData Key-Asc-Ascq: 05-20-00, ILLEGAL_REQUEST - INVALID COMMAND OPERATION CO
DE
End: 2015-03-01(Sun) 15:53:28
Drive log:

Code: Select all

=========================== StorageAdapterDescriptor ==========================
                  Version: 32
                     Size: 32
    MaximumTransferLength: 4294967295 (bytes)
     MaximumPhysicalPages: 17
            AlignmentMask: 0
           AdapterUsesPio: True
         AdapterScansDown: False
          CommandQueueing: True
      AcceleratedTransfer: True
                  BusType: BusTypeScsi
          BusMajorVersion: 2
          BusMinorVersion: 0
============================= IoctlScsiGetAddress =============================
        Length: 4
    PortNumber: 2
        PathId: 0
      TargetId: 2
           Lun: 0
================================= InquiryData =================================
              DeviceType: ReadOnlyDirectAccessDevice (CD/DVD etc)
     DeviceTypeQualifier: Active
      DeviceTypeModifier: 0
          RemovableMedia: Yes
                Versions: 2
      ResponseDataFormat: 2
               HiSupport: No
                 NormACA: No
           TerminateTask: No
                    AERC: No
        AdditionalLength: 51
           MediumChanger: No
               MultiPort: No
       EnclosureServices: No
               SoftReset: No
            CommandQueue: No
          LinkedCommands: Yes
      RelativeAddressing: No
                VendorId: PLEXTOR 
               ProductId: CD-ROM PX-40TS  
    ProductRevisionLevel: 1.14
          VendorSpecific: 08/30/02 01:14      
Undefined SCSIOP_MODE_SENSE10 Command on this drive
Undefined SCSIOP_MODE_SENSE Command on this drive
Undefined SCSIOP_READ_BUFFER_CAPACITY Command on this drive
And the 1210S logs:

stdout:

Code: Select all

C:\Documents and Settings\Owner\Desktop\Release_ANSI>DiscImageCreator.exe cd e t
est 4
OS
        Windows XP Home Edition Service Pack 3 32bit
AppVersion
        x86, AnsiBuild, Mar  1 2015 17:28:09
CurrentDir
        C:\Documents and Settings\Owner\Desktop\Release_ANSI
InputPath
         path: test
        drive:
          dir:
        fname: test
          ext:
Start: 2015-03-01(Sun) 15:50:49
[F:ReadBufferCapacity][L:173] GetLastError: 1117, The request could not be perfo
rmed because of an I/O device error.

[F:SetCDSpeed][L:635] OperationCode: 0xbb
ScsiStatus: 02, CHECK_CONDITION
SenseData Key-Asc-Ascq: 06-29-00, UNIT_ATTENTION - POWER ON, RESET, OR BUS DEVIC
E RESET OCCURRED
End: 2015-03-01(Sun) 15:50:55
Drive log:

Code: Select all

=========================== StorageAdapterDescriptor ==========================
                  Version: 32
                     Size: 32
    MaximumTransferLength: 4294967295 (bytes)
     MaximumPhysicalPages: 17
            AlignmentMask: 0
           AdapterUsesPio: True
         AdapterScansDown: False
          CommandQueueing: True
      AcceleratedTransfer: True
                  BusType: BusTypeScsi
          BusMajorVersion: 2
          BusMinorVersion: 0
============================= IoctlScsiGetAddress =============================
        Length: 4
    PortNumber: 2
        PathId: 0
      TargetId: 5
           Lun: 0
================================= InquiryData =================================
              DeviceType: ReadOnlyDirectAccessDevice (CD/DVD etc)
     DeviceTypeQualifier: Active
      DeviceTypeModifier: 0
          RemovableMedia: Yes
                Versions: 2
      ResponseDataFormat: 2
               HiSupport: No
                 NormACA: No
           TerminateTask: No
                    AERC: No
        AdditionalLength: 51
           MediumChanger: No
               MultiPort: No
       EnclosureServices: No
               SoftReset: No
            CommandQueue: No
          LinkedCommands: Yes
      RelativeAddressing: No
                VendorId: PLEXTOR 
               ProductId: CD-R   PX-W1210S
    ProductRevisionLevel: 1.06
          VendorSpecific: 02/18/03  10:10     
============================= ModeParmeterHeader10 ============================
             ModeDataLength: 62
                 MediumType: 0
    DeviceSpecificParameter: 0
      BlockDescriptorLength: 8
================== CDVD Capabilities & Mechanism Status Page ==================
                  PageCode: 0000
                     PSBit: No
                PageLength: 0
                   CDRRead: No
                   CDERead: No
                   Method2: No
                DVDROMRead: No
                  DVDRRead: No
                DVDRAMRead: No
                  CDRWrite: No
                  CDEWrite: No
                 TestWrite: No
                 DVDRWrite: No
               DVDRAMWrite: No
                 AudioPlay: No
                 Composite: No
            DigitalPortOne: No
            DigitalPortTwo: No
                Mode2Form1: No
                Mode2Form2: No
              MultiSession: No
        BufferUnderrunFree: No
                      CDDA: No
              CDDAAccurate: No
               RWSupported: No
           RWDeinterleaved: No
                C2Pointers: No
                      ISRC: No
                       UPC: No
        ReadBarCodeCapable: No
                      Lock: No
                 LockState: No
             PreventJumper: No
                     Eject: Yes
      LoadingMechanismType: caddy
            SeparateVolume: No
       SeperateChannelMute: No
       SupportsDiskPresent: No
           SWSlotSelection: No
         SideChangeCapable: No
        RWInLeadInReadable: No
          ReadSpeedMaximum: 10798 (62x)
        NumberVolumeLevels: 1799
                BufferSize: 62335
          ReadSpeedCurrent: 10531 (60x)
                       BCK: No
                       RCK: Yes
                      LSBF: Yes
                    Length: 0
         WriteSpeedMaximum: 256 (1x)
         WriteSpeedCurrent: 4096 (23x)
    CopyManagementRevision: 5645
Undefined SCSIOP_READ_BUFFER_CAPACITY Command on this drive
sarami
Posts: 1762
Joined: Mon Jun 08, 2026 1:27 am

Re: DiscImageCreator

Post by sarami »

Uploaded about SetCDSpeed. Still, there are very few supported scsi commands...
DiscImageCreator, UmdImageCreator, Conv2multiBin, bin2wav, PS3Auth (needs login), [url=http://www.mediafire.com/file/5cgoy11x6ahc7qh/%2523recompressTo7z_20150109.bat/file]recompressTo7z_20150109.bat[/url]
scsi_wuzzy
Posts: 102
Joined: Mon Jun 08, 2026 1:28 am

Re: DiscImageCreator

Post by scsi_wuzzy »

sarami wrote:Uploaded about SetCDSpeed. Still, there are very few supported scsi commands...
I wonder if there is any publicly available documentation about the differences between the SCSI and ATA/SATA version of the drives, as far as instructions. I would've thought for sure that they mostly have the same capabilities. But maybe they don't, or maybe some of the operations are invoked differently over SCSI for whatever reason.

If I get some time I'll dig around with the source code and maybe try issuing some raw commands to these drives to see what they're capable of. Maybe there's some quirks.

On another note, why are some drives noted as only supporting scrambled reads on PCE discs? I thought the the D8 read method performs a scrambled read regardless of the disc type? The D8 command doesn't perform identically on all drives which support it?

Edit:

Just dumped Steamgear Mash with DIC and noticed that the size of the data track and the first audio track do not match the size / hash in the database. Is this expected?

Manually dumped the same disc (on the same drive) using IsoBuster for the data track and got a matching size / hash, so I don't think it's a variant pressing.
Last edited by scsi_wuzzy on Tue Mar 03, 2015 3:59 am, edited 1 time in total.
sarami
Posts: 1762
Joined: Mon Jun 08, 2026 1:27 am

Re: DiscImageCreator

Post by sarami »

scsi_wuzzy wrote:On another note, why are some drives noted as only supporting scrambled reads on PCE discs?
PX-W8432Ti, PX-W1210TA, PX-W2410TA ? I tested in the past and "ILLEGAL_REQUEST. ILLEGAL MODE FOR THIS TRACK" occurred  except PCE discs.
I don't have these drive any longer. If you have these, plz test..
scsi_wuzzy wrote:Just dumped Steamgear Mash with DIC and noticed that the size of the data track and the first audio track do not match the size / hash in the database.
log plz.
Last edited by sarami on Tue Mar 03, 2015 10:37 am, edited 1 time in total.
DiscImageCreator, UmdImageCreator, Conv2multiBin, bin2wav, PS3Auth (needs login), [url=http://www.mediafire.com/file/5cgoy11x6ahc7qh/%2523recompressTo7z_20150109.bat/file]recompressTo7z_20150109.bat[/url]
scsi_wuzzy
Posts: 102
Joined: Mon Jun 08, 2026 1:28 am

Re: DiscImageCreator

Post by scsi_wuzzy »

sarami wrote:
scsi_wuzzy wrote:Just dumped Steamgear Mash with DIC and noticed that the size of the data track and the first audio track do not match the size / hash in the database.
log plz.
https://www.dropbox.com/s/o6yez8d743nms … h.zip?dl=0

Database entry is https://redump.info/disc/3890/
sarami
Posts: 1762
Joined: Mon Jun 08, 2026 1:27 am

Re: DiscImageCreator

Post by sarami »

Thank you log.

Is the ring code of Your Steamgear Mash vs. ring code of database same?
SS disc includes "The first sector of the 2nd track's pregap is a scrambled data sector" occasionally.
Your disc is needed by subdump.exe ripping. Please report to F1ReB4LL.
Last edited by sarami on Tue Mar 03, 2015 10:32 pm, edited 1 time in total.
DiscImageCreator, UmdImageCreator, Conv2multiBin, bin2wav, PS3Auth (needs login), [url=http://www.mediafire.com/file/5cgoy11x6ahc7qh/%2523recompressTo7z_20150109.bat/file]recompressTo7z_20150109.bat[/url]
scsi_wuzzy
Posts: 102
Joined: Mon Jun 08, 2026 1:28 am

Re: DiscImageCreator

Post by scsi_wuzzy »

sarami wrote:Is the ring code of Your Steamgear Mash vs. ring code of database same?
Yes, it matches. I wondered if perhaps it was a different pressing, but the numbers match.

On another note, I've done some testing with the Ultraplex 40. I used your tool to read a disc with a PX-716AL. I then loaded the .scm created by the PX-716AL in a hex editor. I then placed that same disc in the Ultraplex 40, and I used the old px_d8 utility to print raw sectors from the disc. I was able to get reads from the Ultraplex 40 which matched the first and last sectors of the .scm file. I believe that drive is capable of reading any sector via 0xd8 which the newer drives can read (including lead-in and lead-out).

I think the incompatibility is (partly) because the Ultraplex 40 doesn't support the SCSIOP_READ_CD read command used in ReadTOCFull. It only supports 0xd8 reads.

I also did some testing with my Creative RW121032E which is (I believe) a rebadged PX-W1210TA. You are correct, on PSX discs px_d8 fails with "ILLEGAL_REQUEST. ILLEGAL MODE FOR THIS TRACK". In contrast, the PX-W1210S and Ultraplex 40 seem to work with px_d8 on these discs.

However, I was able to get the RW121032E to dump a Saturn disc using 0xd8. I added it to the whitelist in your code (so it is considered a "Plextor" drive), and I commented out the call to ReadCDForCheckingSubPtoW(), which was failing at line 292 due to the drive not supporting that subchannel read mode. Once those changes were made, that drive worked for dumping Saturn discs. The two dumps I've compared so far (Nights and SeamGear Mash) both match the hashes from the PX-716AL dumps.

I'm looking into getting things working with the other drives, but I don't know if I'll get it figured out. I think the PX-W1210S might be returning an invalid TOC or something, because that drive causes a crash during one of the TOC steps when I modified the code to bypass the earlier diagnostic failures.
Last edited by scsi_wuzzy on Wed Mar 04, 2015 7:19 am, edited 1 time in total.
sarami
Posts: 1762
Joined: Mon Jun 08, 2026 1:27 am

Re: DiscImageCreator

Post by sarami »

scsi_wuzzy wrote:I think the incompatibility is (partly) because the Ultraplex 40 doesn't support the SCSIOP_READ_CD read command used in ReadTOCFull. It only supports 0xd8 reads.
Really? please stdout log.
scsi_wuzzy wrote:I also did some testing with my Creative RW121032E which is (I believe) a rebadged PX-W1210TA. You are correct, on PSX discs px_d8 fails with "ILLEGAL_REQUEST. ILLEGAL MODE FOR THIS TRACK". In contrast, the PX-W1210S and Ultraplex 40 seem to work with px_d8 on these discs.
However, I was able to get the RW121032E to dump a Saturn disc using 0xd8.
Are PSX discs single track? If so, could you test PSX multi track discs too.

btw, how do you connect the scsi drive? There isn't a scsi interface in my pc, and an adapter of scsi to usb is very expensive..
DiscImageCreator, UmdImageCreator, Conv2multiBin, bin2wav, PS3Auth (needs login), [url=http://www.mediafire.com/file/5cgoy11x6ahc7qh/%2523recompressTo7z_20150109.bat/file]recompressTo7z_20150109.bat[/url]
scsi_wuzzy
Posts: 102
Joined: Mon Jun 08, 2026 1:28 am

Re: DiscImageCreator

Post by scsi_wuzzy »

sarami wrote:Really? please stdout log.
It's a strange drive. Here's a brief discussion about it on the dbpoweramp forums, where a user mentions that it supports only 0xD8, and not 0xBE.

Here's the stdout from my modified version of your code (added the PX40TS to the whitelist, and modified a number of the function calls like SetCDSpeed so that they ignore this drive -- it doesn't support many of those functions used to print diagnostic info about the disc / set speed):

Code: Select all

C:\Documents and Settings\User>z:\drop\release_ansi\discimagecreator cd i nights
test 4
OS
        Windows XP Home Edition Service Pack 3 32bit
AppVersion
        x86, AnsiBuild, Mar  4 2015 16:08:52
CurrentDir
        C:\Documents and Settings\User
InputPath
         path: nightstest
        drive:
          dir:
        fname: nightstest
          ext:
Start: 2015-03-04(Wed) 16:12:40
[F:ModeSense10][L:120] OperationCode: 0x5a
ScsiStatus: 02, CHECK_CONDITION
SenseData Key-Asc-Ascq: 05-20-00, ILLEGAL_REQUEST - INVALID COMMAND OPERATION CO
DE
[F:GetConfiguration][L:33] OperationCode: 0x46
ScsiStatus: 02, CHECK_CONDITION
SenseData Key-Asc-Ascq: 05-20-00, ILLEGAL_REQUEST - INVALID COMMAND OPERATION CO
DE
[F:ReadTOCFull][L:322] OperationCode: 0xbe
ScsiStatus: 02, CHECK_CONDITION
SenseData Key-Asc-Ascq: 05-20-00, ILLEGAL_REQUEST - INVALID COMMAND OPERATION CO
DE
End: 2015-03-04(Wed) 16:12:42
sarami wrote:Are PSX discs single track? If so, could you test PSX multi track discs too.
The disc that failed when I tested it yesterday was a single track disc (US version of Ace Combat 3). However, I tried on a multi trakc disc (Japan version of Ace Combat 1), and the px_d8 works. I guess it works whenever there's at least one audio track present? I haven't tried to dump the disc yet with DIC on that drive, though.
sarami wrote:btw, how do you connect the scsi drive? There isn't a scsi interface in my pc, and an adapter of scsi to usb is very expensive..
The PC has an old Adaptec SCSI card in it. It is an old PC I used years ago to rip a number of audio CDs with a few Plextor SCSI drives I found cheap secondhand. I, too, investigated SCSI to USB, and, yes, very expensive.

Some of the old PCI Adaptec cards (AHA-2940UW, etc) have drivers for Windows 7 (32 bit only), which is probably the cheapest option right now. In Windows XP or Linux the options are larger (many old cards supported).
Post Reply