1,351

(3,536 replies, posted in General discussion)

pablogm123 wrote:

I am pretty sure that it's a fault of DIC handling transfers via USB/IEEE-1394, at least with certain enclosures. CDTool, PerfectRip and the «unnameable» works nicely with my PX-W4824TU, and this drive is just an externalized PX-W4824TA.

How many value is "MaximumTransferLength" of PX-W4824TA/PX-W4824TU?
My drive(PX-755SA) is 00010000(65536) bytes.
Please paste drivelog of STORAGE ADAPTER DESCRIPTOR.

1,352

(3,536 replies, posted in General discussion)

Sotho Tal Ker wrote:

- When dumping to a subfolder, DIC crashes when that subfolder does not exist, instead of creating it or exiting properly if that is not possible. Happens also when using absolute paths.

fixed.

>MrX_Cuci
I don't know about detail at present.

EDIT: re-fix

1,353

(3,536 replies, posted in General discussion)

Fixed PreGapMode and uploaded 1124 ver. for the present.

EDIT: fixed link

1,354

(3,536 replies, posted in General discussion)

it seems that DiscImageCreator doesn't detect PregapMode (ccd value) and always sets it to '0', even though many discs have a different value there..

I have recognized it and want to fix it. But I don't know about "PregapMode" and "PregapSubC", "DataTracksScrambled" in detail. Therefore, I always sets it to '0'.

1,355

(3,536 replies, posted in General discussion)

Thank you.
And, in case of Plextor drive, is c2 bit order (msb points to 1st byte of main) or (lsb points to 1st byte of main) ?

1,356

(3,536 replies, posted in General discussion)

C2 switch for GD-ROM ripping does work now, but unfortunately the dumped .sub is invalid (contains non-sense data). Without C2 switch the .sub is valid and the extra frame is no longer present. Anyway, the actual dump (with/without C2 error reporting) matches the expected.

http://www.mediafire.com/download/u0olo2c51f2qv13/
fixed

The same one for main channel / 8, because there are 2352 bytes for main channel and 294 bytes (one bit per byte of main channel) for C2 pointers. And this way will proceed PF if you enter 0 as c2 read offset correction bit(s).

In case of Plextor drive, how many is the values of c2 read offset correction bit(s)?

1,357

(3,536 replies, posted in General discussion)

pablogm123 wrote:

My current wishlist:

-An option (for the -rall and -rgd modes) so that the C2 pointers are used only for purely informative purporses, without absolutely re-reads, like the old PerfectRip does. I mean the program will read and dump into a .c2/.c2e file the raw C2 pointers provided by the drive, but won't re-read anything marked as bad by the C2 pointers. This way I will know if a rip is good (no further action required) or bad: to resurface and clean the CD until getting 0 C2 errors, to try another drive, to try another read speeds or simply replace the CD if nothing works to get a flawless dump without re-reads. Of course, the log file should report if the dump was flawless or not flawless.

-The suggestion posted above applied to the -ra mode as well. And I would like that you could implement offset correction for the -ra mode: it would apply, as default option, the standard one defined by the AccurateRip database plus the possibilty of override it via the add parameter implemented in the -rall mode.

http://www.mediafire.com/download/u0olo2c51f2qv13/
coded.

By the way, do you know the offset of the C2 error in detail?
In case of perfectrip, it can set "c2 read offset correction bit(s)"

1,358

(3,536 replies, posted in General discussion)

http://www.mediafire.com/download/u0olo2c51f2qv13/

pablogm123 wrote:

C2 support doesn't work OK for the new option to dump Dreamcast discs

probably fixed it. (I can't test.)

pablogm123 wrote:

A minor bug: the dumped subcode contains an extra frame from the pregap of track 3.

fixed it.

pablogm123 wrote:

regarding USB/IEEE-1394 drives

I'll consider it

1,359

(3,536 replies, posted in General discussion)

http://www.mediafire.com/download/u0olo2c51f2qv13/

If a non-Plextor drive is used, BE command and autodetect if the drive uses Main+C2+Sub (NEC based for example) or Main+Sub+C2 (Mediatek bases for example).

coded it.

val2: value to fix a C2 error (default: 65535)

fixed at 32768

1,360

(3,536 replies, posted in General discussion)

http://www.mediafire.com/download/u0olo2c51f2qv13/

The possibility to set different read speeds for the initial read and the readings. For example, initial read at 24x speed and re-reads at 4x speed.

I coded it. c2 option val3.

Rewrite the -ra module so this tool can act as a CDTool replacement to dump as audio (D8 or audio trap disc) any range that the user desires with subcode and C2 error reporting (outputting both as .sub and .c2e files), adding the possibility to correct the offset (with the possibility to override the standard one). This module should support Plextor and non-Plextor drives and could be useful to dump the high density of DC games.
If a Plextor drive is used, D8 command and order is Main+C2+Sub.

improved ripping GD-ROM
  added "-rgd" command for HD area (integrated "-ra", "-dec", "-split")
  c2 error option don't test. (Because my drive(TS-H352C) don't support C2 error report.)

If a non-Plextor drive is used, BE command and autodetect if the drive uses Main+C2+Sub (NEC based for example) or Main+Sub+C2 (Mediatek bases for example).

I don't support it yet.

1,361

(3,536 replies, posted in General discussion)

GetLastError: 8

"storage" is not hard disc but memory.

1,362

(3,536 replies, posted in General discussion)

fix C2 option
http://www.mediafire.com/download/u0olo2c51f2qv13/

                c2: Fix C2 error existing sector (Only CD)
                        val1: value to reread (default: 1024)
                        val2: value to fix a C2 error (default: 65535)

And USB drives (mines are actually ATAPI attached to a ATA/SATA to USB adapter) work properly

umm.. I don't fix about this.

reported all the errors were fixed, but cdmage shows 2 errors in the data track. There's a bug in c2 reporting/fixing somewhere.

Depending on a drive, it's possible that it don't report C2 error exactly.
Therefore, in this tool, multiple read a non C2 error sector (at present 2 times)
If necessary, I can change a reading times.

1,363

(3,536 replies, posted in General discussion)

>pablogm123, Nexy
How much error is there on the disc?
At present, it can fix the "4096" C2 error.
I can increase this values if I can allocate memory.

http://www.mediafire.com/download/u0olo2c51f2qv13/
it can fix 65535 C2 error if it alloc mem.

1,364

(3,536 replies, posted in General discussion)

DIC crashes when there are too many C2 errors.

fixed (probably)
http://www.mediafire.com/download/u0olo2c51f2qv13/

1,365

(3,536 replies, posted in General discussion)

>Sotho Tal Ker
Thanks info.

>pablogm123, Nexy
Do these discs still have a ripping bug?

Daytona USA championship circuit edition
http://redump.org/disc/6695/
http://redump.org/disc/1994/
http://redump.org/disc/29777/
http://redump.org/disc/25711/

1,366

(3,536 replies, posted in General discussion)

fix a bug above.
http://www.mediafire.com/download/u0olo2c51f2qv13/

BTW, what is E32 error?

1,367

(3,536 replies, posted in General discussion)

fix above link. please re-download.

about SecuROM
Thanks info. I want to research for the future.

Thanks info. I got CDparanoia src code.

static int i_read_D8 (cdrom_drive *d, void *p, long begin, long sectors, unsigned char *sense){
  int ret;
  unsigned char cmd[12]={0xd8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};

  if(d->fua)
    cmd[1]=0x08;

  cmd[1]|=d->lun<<5;
  cmd[3] = (begin >> 16) & 0xFF;
  cmd[4] = (begin >> 8) & 0xFF;
  cmd[5] = begin & 0xFF;
  cmd[9] = sectors;
  if((ret=handle_scsi_cmd(d,cmd,12,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense)))
    return(ret);
  if(p)memcpy(p,d->private_data->sg_buffer,sectors*CD_FRAMESIZE_RAW);
  return(0);
}

umm..  this code,  bit 3 of byte 1 (fua) is on. My tool is already same implementation.

As described in the MMC spec (http://www.t10.org/ftp/t10/drafts/mmc4/mmc4r02f.pdf),
READ_CD does not allow any FUA bit at all, so if this reading method is chosen then
flushing tricks are needed. However, other MMC commands like READ10 (0x28) and
READ12 (0xA8) support the FUA bit.

I know this pdf, and I know above. My tool call READ12 to reread.

1,368

(3,536 replies, posted in General discussion)

Have you changed anything in the rereading code?

a little bit. Please log.

http://www.mediafire.com/download/u0olo2c51f2qv13/
[fix]
text, log.
creating unsplitted image for audio only disc.

about semaphore timeout
I don't know what to do at present.

about fua
a part of scsi.h (WinDDK\7600.16385.1\inc\ddk)

    //
    // Plextor Read CD-DA
    //

    struct _PLXTR_READ_CDDA {
        UCHAR OperationCode;    // Unknown -- vendor-unique?
        UCHAR Reserved0 : 5;
        UCHAR LogicalUnitNumber :3;
        UCHAR LogicalBlockByte0;
        UCHAR LogicalBlockByte1;
        UCHAR LogicalBlockByte2;
        UCHAR LogicalBlockByte3;
        UCHAR TransferBlockByte0;
        UCHAR TransferBlockByte1;
        UCHAR TransferBlockByte2;
        UCHAR TransferBlockByte3;
        UCHAR SubCode;
        UCHAR Control;
    } PLXTR_READ_CDDA;

This is D8 command for plextor. But This structure can't have a FUA flag.
I don't know where it has a FUA flag.

1,369

(3,536 replies, posted in General discussion)

WIP6
http://www.mediafire.com/download/u0olo2c51f2qv13/
[added]
override offset
store scrambled file (.scm)
coded FUA (I couldn't test. )
[fixed]
error msg (windows api error code)
output hash

about cachex.exe
I logined as admin, but my 755sa rejected flush cmd.

about protected disc (SecuROM, SafeDisc, etc)
I do not know its detailed specifications. Therefore, I can't support them at present.

1,370

(3,536 replies, posted in General discussion)

>F1ReB4LL
I examine that fixes per a byte.
By the way, is there an offset for c2 error byte?
If an offset exists, is it different every drive?

>Nexy
>>Sometimes it will just abort with a drive not ready error.
If possible, please tell me the procedure to let it reappear in detail.
>>The hashing takes ages too, unoptimized routines there? Will you improve them
Please tell me the good open-src library.

>pablogm123
>> override the automatic offset correction
It will add at next wip.
>> drive's cache
Tested my drive. My 755sa don't support fua on 0xd8 cmd. I don't know why that is.
Therefore, even if I coded it, I can't test it that its code is correct.

C:\cachex.exe -i m:

CacheExplorer 0.8 - spath@cdfreaks.com

Drive on M is  PLEXTOR  DVDR   PX-755A   1.08

[+] Buffer size: 2048 kB, read cache is enabled
[+] Supported read commands: BEh 28h(FUA) D8h
C:\cachex.exe -p -c -r 0xd8 -n 20 m:

CacheExplorer 0.8 - spath@cdfreaks.com

Drive on M is  PLEXTOR  DVDR   PX-755A   1.08

[+] Plextor flush command: rejected
[+] Testing cache line size:
 581 kB / 253 sectors
 581 kB / 253 sectors
 581 kB / 253 sectors
 581 kB / 253 sectors
 581 kB / 253 sectors
 581 kB / 253 sectors
 581 kB / 253 sectors
 581 kB / 253 sectors
 581 kB / 253 sectors
 581 kB / 253 sectors
 581 kB / 253 sectors
 581 kB / 253 sectors
 581 kB / 253 sectors
 581 kB / 253 sectors
 581 kB / 253 sectors
 581 kB / 253 sectors
 581 kB / 253 sectors
 581 kB / 253 sectors
 581 kB / 253 sectors
 581 kB / 253 sectors

1,371

(3,536 replies, posted in General discussion)

I don't have 4824. The cause don't understand at present.

1,372

(3,536 replies, posted in General discussion)

These bugs happen at other plextor drive? 4824TU only?

1,373

(3,536 replies, posted in General discussion)

WIP5
http://www.mediafire.com/download/u0olo2c51f2qv13/
[fix]
c2 error correction on offset plus disc.
analyze EAN sector.

1,374

(3,536 replies, posted in General discussion)

WIP4
http://www.mediafire.com/download/u0olo2c51f2qv13/
fix
- usage text
- searching that is created file list (relative path OK)
- output dat file
add
- reread retries times (default 750)
examine
- override offset correction
- remove section of ccd file
- EAN sector (PC Engine)

1,375

(3,536 replies, posted in General discussion)

Input File Name
         path: Tenbu-CDDA
        drive:
          dir:
        fname: Tenbu-CDDA
          ext:

I didn't suppose that drive and dir was null string.
Where is file created? In case of windows7, C:\Users\<username>