601

(3,497 replies, posted in General discussion)

Nexy wrote:

and also restore the hashing until a command line version of RapidCRC is made by someone.

OK, it was comment out now. And CSS.exe was updated. http://www.mediafire.com/file/eq80y20l9 … st.7z/file


CSS Authentication function

bool CDVDSession::Authenticate()
{
    if (m_session == DVD_END_ALL_SESSIONS) {
        return false;
    }

    BYTE Challenge[10], Key[10];

    for (BYTE i = 0; i < 10; i++) {
        Challenge[i] = i;
    }

    if (!SendKey(DvdChallengeKey, Challenge)) {
        return false;
    }

    if (!ReadKey(DvdBusKey1, Key)) {
        return false;
    }

    int varient = -1;

    for (int i = 31; i >= 0; i--) {
        BYTE KeyCheck[5];
        CSSkey1(i, Challenge, KeyCheck);
        if (!memcmp(KeyCheck, Key, 5)) {
            varient = i;
        }
    }

    if (!ReadKey(DvdChallengeKey, Challenge)) {
        return false;
    }

    CSSkey2(varient, Challenge, &Key[5]);

    if (!SendKey(DvdBusKey2, &Key[5])) {
        return false;
    }

    CSSbuskey(varient, Key, m_SessionKey);

    return true;
}

There isn't "Authenticate" in the word except fuction name. ChallengeKey, BusKey1, BusKey2 and SessionKey are all ramdom as extremetech.com says. Even if "Authentication key" exists, I don't know how to get it now.

602

(3,497 replies, posted in General discussion)

F1ReB4LL wrote:

Regarding CSS:

- Isn't the Player Key stored in the player, not on the disc? Do we need to add it into the disc entries?
- Is it possible to read not only the 409 Disc Keys, but also the Authentication Key?
- PlayerKey[1], DecryptedDiscKey[020] - what do "1" and "020" mean? Can these numbers differ?

Also, have you checked the DVDs without CSS but with modified structure, hacked TOC, etc? Does DIC read them fine?

- Player Key stores in the player. But some keys are already known. we need not to add it into the disc entries, I think.

extern const unsigned char g_PlayerKeys[][6] = {
    // from mplayer:
    {0x01, 0xaf, 0xe3, 0x12, 0x80},
    {0x12, 0x11, 0xca, 0x04, 0x3b},
    {0x14, 0x0c, 0x9e, 0xd0, 0x09},
         :

- There is not Authentication Key. I found an understandable article about CSS https://www.extremetech.com/computing/5 … part-iii/3

- PlayerKey[1] is g_PlayerKeys[1][6]. g_PlayerKeys[1][6] is 0x01, 0xaf, 0xe3, 0x12, 0x80.
  DecryptedDiscKey[020] is the 20th key of AllDiscKey decrypted by the "PlayerKey".

And I've not checked yet the DVDs without CSS etc, but DIC executes CSS.exe only when the disc has "CopyrightProtectionType: CSS/CPPM".

F1ReB4LL wrote:

Btw, it also checks for IFO and BUP keys, so, don't know again, maybe that is needed, afterall?

I don't know it, too. But perhaps IFO and BUP don't have keys.

F1ReB4LL wrote:

Why does it check for the VIDEO_TS directory key? Can the directory itself be encrypted? I think it looks quite weird.

Because AnyDVD report the key of VIDEO_TS. I wanted to deny that VIDEO_TS dir have a key. I remove this checking in the next uploading.

Nexy wrote:

sarami do you still have the build you posted on the 12th of may or so, with the removed hashing updates to console.

I don't have it anymore.

603

(3,497 replies, posted in General discussion)

http://www.mediafire.com/file/q5b8c94jv … st.7z/file
- fixed: TimeOutValue was not set

LoStraniero91 wrote:

DIC's internal protection scanner (which is taken from BurnOut AFAIK)

It's DICUI, not DIC.

LoStraniero91 wrote:

There's a page about this game in GameCopyWorld, I'm sharing the link only if it won't cause any problem.

I found some titles. http://search.gametarget.eu:81/data/gcw … h=Sysiphus

But the detailed page doesn't exist about this protection. https://www.cdmediaworld.com/hardware/c … ions.shtml

604

(3,497 replies, posted in General discussion)

LoStraniero91 wrote:

what kind of protection is "Sysiphus"?

I don't know. It seems BurnOut can detect it.

        position = InStr(FileContent, "V SUHPISYS", CompareMethod.Binary)
        If position Then
            position -= 1
            If FileContent.Substring(position + 10, 3) = "DVD" Then
                Return "Sysiphus DVD " & GetSysiphusVersion(file, position)
            Else
                Return "Sysiphus " & GetSysiphusVersion(file, position)
            End If
        End If
F1ReB4LL wrote:

VIDEO_TS.VOB exists here as a file, but AnyDVD detects its key as 90d1e6ff74 and CSS.exe says "No TitleKey".

http://www.mediafire.com/file/q5b8c94jv … st.7z/file
added: checking VIDEO_TS directory. Btw DVDDecrypter can also output TitleKey.


F1ReB4LL wrote:

wiggy2k says the VIDEO_TS.VOB file is straight copyable without errors, for other 3 it says the sectors are encrypted - so the VIDEO_TS.VOB is unprotected and AnyDVD lies?

You can use /c flag.

        /c      Log Copyright Management Information

This flag outputs in _disc.txt whether sector is protected or not like this.

LBA[000291, 0x00123]: No protected sector
LBA[000292, 0x00124]: No protected sector
LBA[000293, 0x00125]: No protected sector
LBA[000294, 0x00126]: No protected sector
LBA[000295, 0x00127]: CSS or CPPM doesn't exist in this sector, no copying is permitted
LBA[000296, 0x00128]: CSS or CPPM doesn't exist in this sector, no copying is permitted
LBA[000297, 0x00129]: CSS or CPPM doesn't exist in this sector, no copying is permitted
LBA[000298, 0x0012a]: CSS or CPPM doesn't exist in this sector, no copying is permitted

No need to all dumping, please check only the LBA of VIDEO_TS.VOB.


Madroms wrote:

I have the exact same error message

Weird...

lpCmd: a8, 00, 00, 00, 00, 10, 00, 00, 00, 01, 00, 00

This command is clearly correct.

605

(3,497 replies, posted in General discussion)

F1ReB4LL wrote:

either VIDEO_TS.BUP or VIDEO_TS.IFO is also encrypted and even has a separate key.

http://www.mediafire.com/file/q5b8c94jv … st.7z/file
Also check .BUP and .IFO

Maddog wrote:

I have an LG USB DVD (GP65NB60 model)
When I run it I get this message:

How about other drive and other DVD?

606

(3,497 replies, posted in General discussion)

Uploaded test version. http://www.mediafire.com/file/q5b8c94jv … st.7z/file

F1ReB4LL wrote:

GetLastError: 2147681032 Copy Protection Error - DVD session key not established

- fixed: establishment of session is needed per title key for some drive

sarami wrote:

It seems [001] to [081] are all same every time, but the remains are all different every time.

- fixed: mpc-hc original code

607

(3,497 replies, posted in General discussion)

F1ReB4LL wrote:

many of the keys are different every time

It seems [001] to [081] are all same every time, but the remains are all different every time.
And playerkey and decrypted disckey is always same.

F1ReB4LL wrote:

CSS.exe only works with IDE drives.

I tried 3 drives (plex755sa: sata -> usb, ps3 drive with 3k3y ripper board, asus bc-12d2ht: sata on motherboard)
plex755sa and ps3 drive is no problem, but bc-12d2ht occurred GetLastError: 2147681032. I don't know why this error occurs now.

btw, metropolis_css.7z, my win10 say "detected virus", so I couldn't download.

608

(3,497 replies, posted in General discussion)

Nexy wrote:

INDEX 00 is being added as if the single track has a pre-gap and then the lead-out is being added as INDEX 01

Uploaded test version.

F1ReB4LL wrote:

Could you examine the libdvdcss sources?

I'll try it.

609

(3,497 replies, posted in General discussion)

F1ReB4LL wrote:

So, now my question is: is it possible to modify CSS.exe so it could use DIC's CSSKey.txt file to get the title keys? So we could convert the keys from existing logs without redumping all the DVD Videos.

Perhaps, it's impossible.

To get disckeys, it needs to execute 'ReadKey' with 'DvdDiskKey'

    BYTE DiscKeys[2048];
    if (!ReadKey(DvdDiskKey, DiscKeys)) {
        return false;
    }

To get titlekeys, it needs to execute 'ReadKey' with 'DvdTitleKey'

    if (!ReadKey(DvdTitleKey, pKey, lba)) {
        return false;
    }

ReadKey calls 'DeviceIoControl'

DeviceIoControl(m_hDrive, IOCTL_DVD_READ_KEY, pKey, pKey->KeyLength, pKey, pKey->KeyLength, &dwBytesReturned, nullptr))


But CSS.exe is a standalone program. If you simply want to get disc & title keys, redumping is unnecessary.

CSS.exe <DriveLetter> <OutFile>

You can get these key info easily and immediately.

610

(3,497 replies, posted in General discussion)

F1ReB4LL wrote:

Every encrypted file has its own key. Please, find a way to convert dump_CSSKey.txt to the libdvdcss keys format

Does it mean you want to get the titlekeys? If yes, I already supported to get it. http://forum.redump.org/post/70285/#p70285   https://github.com/saramibreak/CSS/releases

If no, I don't know now what kind of format 'libdvdcss keys format' is.

611

(3,497 replies, posted in General discussion)

F1ReB4LL wrote:

But the DIC dumps aren't decrypted

Decrypted image should be preserved in the db? To decrypt the DVD-VIDEO / BD-VIDEO / Wii / PS3 is legal act or not?

F1ReB4LL wrote:

we need to convert the CSSKey keys to AnyDVD/VLC format somehow to use the images.

VLC can play the encrypted images, because it has libdvdcss.
Btw, Is libdvdcss legal or not? And dolphin (wii emulator) decrypts the aes of wii disc images, but RPCS3 (PS3 emulator) doesn't decrypt the aes of PS3 disc images. If decrypting is illegal, dolphin is illegal? If decrypting is legal, why RPCS3 doesn't support the decrypting?

F1ReB4LL wrote:

Hmm, nope, it dumps fine as CSS

Should be 0xc4 also recognized as CSS? Or 0xc4 is a firmware bug of AD-7200A?

612

(3,497 replies, posted in General discussion)

F1ReB4LL wrote:

On one of my DVD Videos:

CopyrightProtectionType: Unknown: c4

AnyDVD detects CSS there (VLC doesn't, though):

MMC-6 says

00h indicates there is no such data and 01h indicates a specific data structure for CSS/CPPM exists, and 02h indicates a specific data structure for CPRM exists, and 10h indicates a specific data structure exists for AACS with BD content. All other values are reserved.

Btw, does plextor also output 0xc4?

F1ReB4LL wrote:

And, speaking of DVD Videos: how to use the CSSKey.txt? How to convert those keys to something usable by AnyDVD or VLC?

Video player uses these keys to decrypt data. Key info doesn't need for user generally.

F1ReB4LL wrote:

Any idea about the checksum differences? C2 errors were fixed both times, but the checksums differ.

Uploaded: http://www.mediafire.com/file/eq80y20l9 … st.7z/file
Try to use /c2 val2, val3, val4.

        /c2     Continue reading CD to recover C2 error existing sector
                        val1    value to reread (default: 4000)
                        val2    0: reread sector c2 error is reported (default)
                                1: reread all (or from first to last) sector
                        val3    first LBA to reread (default: 0)
                        val4    last LBA to reread (default: end-of-sector)
                                val3, 4 is used when val2 is 1

example

C:\Users\HTPC\Desktop\Disc Image Creator\Programs\DiscImageCreator.exe cd H ISO\BORDER_DOWN\BORDER_DOWN.bin 32 /c2 20 1 320000 332000

added 'REM PREGAP' in test version.

614

(3,497 replies, posted in General discussion)

Nexy wrote:

I found a very fast hashing library/program here https://github.com/OV2/RapidCRC-Unicode

Uploaded test version.
If RapidCRC.exe exists in the directory that DiscImageCreator.exe exists, RapidCRC.exe is executed.

615

(3,497 replies, posted in General discussion)

Nexy wrote:

I have a Yamaha CRW-F1 I'm trying to test, but it seems to hang at setting the drive speed, it works fine in Alcohol and CloneCD, and ISO Buster so I'm wondering if this is a bug in DIC or not?

If 0 is set, drive speed setting can be skipped.

sarami wrote:
Nexy wrote:

CSS is not working properly, each VOB tends to have it's own key. Pretty much try any US DVD.

Uploaded test version. http://www.mediafire.com/file/q5b8c94jv … st.7z/file
Please check if title key is really correct.

I confirmed TitleKey was same as DVD Decrypter. Updated github of CSS.

http://www.mediafire.com/file/eq80y20l9 … st.7z/file
changed: LEAD-IN length = 1st LBA of 1st track of 2nd session - 1st LBA of lead-in of 2nd session

F1ReB4LL wrote:
sarami wrote:
Jackal wrote:

is DIC really measuring the LEAD-IN and LEAD-OUT length, or are they predetermined?

LEAD-OUT length = 1st LBA of lead-in of 2nd session - 1st LBA of lead-out of 1st session
LEAD-IN length = 11400 - 150 - LEAD-OUT length

Why not to read that area and measure the lead-out/lead-in/pregap sizes according to subs? Plextor allows to read all those sectors, I guess?

I get it from subch. From 1st 0xaa to 1st 0x00 and 0xa0 is lead-out length.

618

(3,497 replies, posted in General discussion)

Nexy wrote:

CSS is not working properly, each VOB tends to have it's own key. Pretty much try any US DVD.

Uploaded test version. http://www.mediafire.com/file/q5b8c94jv … st.7z/file
Please check if title key is really correct.

Jackal wrote:

is DIC really measuring the LEAD-IN and LEAD-OUT length, or are they predetermined?

LEAD-OUT length = 1st LBA of lead-in of 2nd session - 1st LBA of lead-out of 1st session
LEAD-IN length = 11400 - 150 - LEAD-OUT length

Jackal wrote:

what does FFFFFFFFFFFFFFFFFFFFFFFF in subchannels signify?

It's channel P. P is a flag bit that indicates the start of a track. It's almost 2s (150 sectors), but it's not necessarily 2s.

I ordered Bleemcast! for Tekken 3 by amazon.

621

(3,497 replies, posted in General discussion)

Parotaku wrote:

I got a problem dumping Philips CD-i disc 'Dimo's quest' (US version) (in perfect condition, no scratch).
It stops with the following error:

Europe version

========== FULL TOC ==========
    FirstCompleteSession: 1
     LastCompleteSession: 1
    Session 1, Ctl 0, Adr 1, Point 0xa0, FirstTrack  1, Format: CD-DA or CD-ROM
    Session 1, Ctl 0, Adr 1, Point 0xa1,  LastTrack 19
    Session 1, Ctl 0, Adr 1, Point 0xa2,      Lead-out, AMSF 59:48:00 (LBA[269100, 0x41b2c])
    Session 1, Ctl 0, Adr 1, Point 0x01,      Track  1, AMSF 16:44:00 (LBA[075300, 0x12624])
    Session 1, Ctl 0, Adr 1, Point 0x02,      Track  2, AMSF 20:30:00 (LBA[092250, 0x1685a])
    Session 1, Ctl 0, Adr 1, Point 0x03,      Track  3, AMSF 23:25:00 (LBA[105375, 0x19b9f])

US version

========== FULL TOC ==========
    FirstCompleteSession: 1
     LastCompleteSession: 1
    Session 1, Ctl 4, Adr 1, Point 0xa0, FirstTrack  1, Format: CD-I
    Session 1, Ctl 0, Adr 1, Point 0xa1,  LastTrack 19
    Session 1, Ctl 0, Adr 1, Point 0xa2,      Lead-out, AMSF 59:50:00 (LBA[269100, 0x41b2c])
    Session 1, Ctl 0, Adr 1, Point 0x02,      Track  2, AMSF 20:30:00 (LBA[092100, 0x167c4])
    Session 1, Ctl 0, Adr 1, Point 0x03,      Track  3, AMSF 23:25:00 (LBA[105225, 0x19b09])

If disc is "Format: CD-I", Track 1 is omitted (perhaps firmware bug). For this, TOC couldn't get correctly.
This was fixed and the disc's hash that he and I have was all matched.

Nexy wrote:

each VOB tends to have it's own key.

Yes I know. CSS.exe hasn't supported it yet.

5 c2 errors exist, but I don't know why c2 error recovering function doesn't work...

user7 wrote:

Where are we sitting with multisessional support? Have things stalled?

Bug about 2nd session multi-track disc was fixed in the latest test version (20190524 230157).
Cue sheet that admin defines was supported in the latest test version.
If admin and Jackal say 'no problem', I'll commit the code in github.

622

(3,497 replies, posted in General discussion)

> Nexy
Does HashMyFiles work in your PC? If yes, I can execute it from DIC. If no, please upload your CUI tool. I can also execute it from DIC.

> ClaudeSpeed
DIC version 20180630 31122 and DICUI 1.10 is not latest. You can use the latest version.

> user7
Logs? My unlicensed PS2 disc is no problem.

623

(3,497 replies, posted in General discussion)

Nexy wrote:

I can use a different tool for that?

What tool? HashMyFiles is accepted for me because CUI is supported.

624

(3,497 replies, posted in General discussion)

Spört wrote:

I see some "SubQ Reread [crc16 unmatch] -> NG. Fix manually" lines in _subError.txt, should I be concerned about those? ECC/EDC check is fine.

No problem generally.

Nexy wrote:

sarami can you add a link to the wiki which is easily visible about the drives and dumping.

See README https://github.com/saramibreak/DiscImag … /README.md

Nexy wrote:

Also what is the status of PX-W1210 , PX-W1610 and PX-W2410 drives?

Not supported because these drives don't support "OpCode[0xd8]: SubCode[8]".

Uploaded test ver. (download's link is same.)