Re: DiscImageCreator
Posted: Fri Nov 01, 2013 1:34 am
NEVERMIND , my mistake wrong fucking TAB in EAC...
The SecuROM stuff is still correct tho.
The SecuROM stuff is still correct tho.
Something wrong with C2 rereading again.sarami wrote:WIP6
http://www.mediafire.com/download/u0olo2c51f2qv13/
And the data track has 52 unfixed errors according to cdmage (5 are not fixable). Have you changed anything in the rereading code?...
Reread times 50, ErrSectorNum 2/ 2
Reread times 51, ErrSectorNum 2/ 2
Reread times 52, ErrSectorNum 2/ 2
Reread times 53, ErrSectorNum 1/ 1
Reread times 54, ErrSectorNum 1/ 1
Reread times 55, ErrSectorNum 1/ 1
Reread times 56, ErrSectorNum 1/ 1
Reread times 57, ErrSectorNum 1/ 1
C2 error was fixed at all.
Creating descrambled file(LBA) 126723/126723
Creating bin, cue, ccd(Track) 3/ 3
-------------------------------------------over: Override CD offset correction (Only Audio CD)
For some CDDA Disc
Code: Select all
<rom name="test (Track 1).bin" size="39765264" crc="60c89939" md5="bfbdbb300faf811df21b8fafd68221cc" sha1="ff217203222959ad923d6065debc1c66fe9d965e"/>
<rom name="test (Track 2).bin" size="47239920" crc="ea304b9c" md5="0a676810fd1671f8274f5b2f8020915c" sha1="d75c3ed4fbb1728fcb89fcc75e1e3ab1d1da0d5e"/>https://redump.info/disc/6695/Offset(Drive offset data referes to http://www.accuraterip.com)
Combined Offset(Byte) 172, (Samples) 43
- Drive Offset(Byte) 120, (Samples) 30
----------------------------------------------------
User Specified Offset(Byte) 52, (Samples) 13
Need overread sector: 1
Code: Select all
<rom name="test.bin" size="784526064" crc="33467bc2" md5="9ed49747b1d3d21fb9f54467df043f34" sha1="a9b604817618afce36d9360d0a9343e7817638fc"/>https://redump.info/disc/29262/Offset(Drive offset data referes to http://www.accuraterip.com)
Combined Offset(Byte) -2320, (Samples) -580
- Drive Offset(Byte) 120, (Samples) 30
----------------------------------------------------
User Specified Offset(Byte) -2440, (Samples) -610
Need overread sector: -1
Code: Select all
C:\temp>discimagecreator -rall h: 24 test-nofua.bin c2 750
OS
MajorVersion: 5, MinorVersion: 2, BuildNumber: 3790
AppVersion
x86, Ansi build
BuildDate
Nov 2 2013 20:11:09
Current dir
dir: C:\temp
Input File Name
path: test-nofua.bin
drive:
dir:
fname: test-nofua
ext: .bin
Start -> 2013-11-02(Sat) 14:50:00
[F:ExecCommand][L:52] GetLastError: 121, The semaphore timeout period has expire
d.
[F:ReadTOCFull][L:1916] Failed to read CD for MCN
[F:ExecCommand][L:52] GetLastError: 121, The semaphore timeout period has expire
d.
End -> 2013-11-02(Sat) 14:50:10
C:\temp>Code: Select all
[F:ReadCDAll][L:592] SCSI bus status codes:02-CHECK_CONDITION
[F:OutputIoctlInfoSense][L:519] Sense data, Key:Asc:Ascq:05:24:00(ILLEGAL_REQUES
T. INVALID FIELD IN CDB)
End -> 2013-11-02(Sat) 15:43:29Code: Select all
[F:FlushDriveCache][L:212] SCSI bus status codes:02-CHECK_CONDITION
[F:OutputIoctlInfoSense][L:519] Sense data, Key:Asc:Ascq:05:64:00(ILLEGAL_REQUES
T. ILLEGAL MODE FOR THIS TRACK)
Reread times 17, ErrSectorNum 1/ 1
[F:FlushDriveCache][L:212] SCSI bus status codes:02-CHECK_CONDITION
[F:OutputIoctlInfoSense][L:519] Sense data, Key:Asc:Ascq:05:64:00(ILLEGAL_REQUES
T. ILLEGAL MODE FOR THIS TRACK)
Reread times 18, ErrSectorNum 1/ 1
[F:FlushDriveCache][L:212] SCSI bus status codes:02-CHECK_CONDITION
[F:OutputIoctlInfoSense][L:519] Sense data, Key:Asc:Ascq:05:64:00(ILLEGAL_REQUES
T. ILLEGAL MODE FOR THIS TRACK)
Reread times 19, ErrSectorNum 1/ 1a little bit. Please log.Have you changed anything in the rereading code?
Code: Select all
//
// 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;Code: Select all
http://www.hydrogenaudio.org/forums/index.php?showtopic=16188Code: Select all
https://web.archive.org/web/20040805091627/http://www.t10.org/ftp/t10/drafts/mmc4/mmc4r02f.pdfThanks info. I got CDparanoia src code.
Code: Select all
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);
}I know this pdf, and I know above. My tool call READ12 to reread.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.