Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Programming and Hacking > Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 12th December 2001, 16:14   #1  |  Link
dinesh
Registered User
 
Join Date: Nov 2001
Posts: 70
DVD Drive Authentication in DOS!!

I am developing a standalone Audio CD,MP3,VCD,SVCD,DVD player in DOS. The MP3 portion of coding is done, and work is on for the VCD/SVCD part. I am using DJGPP for compilation. For DVD part, I am NOT able to find out how to authenticate the DVD Drive using DOS. Any help by reference to any links or anything would be highly appreciated. Thanks
dinesh is offline   Reply With Quote
Old 12th December 2001, 16:25   #2  |  Link
Nic
Moderator
 
Join Date: Oct 2001
Location: England
Posts: 3,285

I dont know that much about this...But if you cant get code/help from:

auth.dll (by nautilus) - www.dannidin.f2s.com/home.html
DeCSSPlus2pre3

Then your going to be a bit stuck...

-Nic
Nic is offline   Reply With Quote
Old 14th December 2001, 06:11   #3  |  Link
Paul Singh
Registered User
 
Join Date: Dec 2001
Posts: 5

By "authenticating" the DVD drive, do you mean recognizing a drive as a DVD drive? Within windows, its only recognized as a CD-ROM drive.
Paul Singh is offline   Reply With Quote
Old 14th December 2001, 15:34   #4  |  Link
dinesh
Registered User
 
Join Date: Nov 2001
Posts: 70

I am not sure. Perhaps thats what it is. When a CD ROM or Audio CD is inserted into the DVD ROM drive, there is no problem in reading it. When a DVD is inserted, the content cannot be accessed easily. I think the TOC is visible, when you try to access the files you get an access error. This is because you need to go thru an "authentication" process. If someone could lead me to any site which details the DVD authentication process, that would also be fine.
dinesh is offline   Reply With Quote
Old 14th December 2001, 15:44   #5  |  Link
cofferscuffs
uber-toddler!
 
cofferscuffs's Avatar
 
Join Date: Oct 2001
Location: munkee land whoosh!
Posts: 627

But isn't DVD authentication in DOS pretty pointless as MS are trying to move away from DOS. Haven't you noticed the de-valument of DOS during Win2k --> WinXP?
__________________
cC.
cofferscuffs is offline   Reply With Quote
Old 14th December 2001, 18:37   #6  |  Link
gabest
Registered User
 
gabest's Avatar
 
Join Date: Oct 2001
Posts: 1,459

Actually, in XP there is even a little improvement for DOS apps. Try banked SVGA modes. They work! (but still no LFB)
gabest is offline   Reply With Quote
Old 14th December 2001, 21:37   #7  |  Link
dinesh
Registered User
 
Join Date: Nov 2001
Posts: 70

Just to clarify. My app uses only DOS (protected mode). The standalone will not have any Windows installed. I have not checked if the DVD authentication was required in pure DOS, most possibly it does require. Once Authentication is done,DeCSS could be applied. Any ideas are welcome.
dinesh is offline   Reply With Quote
Old 17th December 2001, 05:20   #8  |  Link
Paul Singh
Registered User
 
Join Date: Dec 2001
Posts: 5
Re:

Quote:
Originally posted by dinesh
When a CD ROM or Audio CD is inserted into the DVD ROM drive, there is no problem in reading it.
ISO9660 FS, or CDFS as they call it in windows.

Quote:
When a DVD is inserted, the content cannot be accessed easily. I think the TOC is visible, when you try to access the files you get an access error. This is because you need to go thru an "authentication" process.
Ahh! You need to access the filesystem! So, when you access this drive through DOS, you have to load a driver I assume, which i'm guessing only supports the ISO9660 File system, and what you need to access is the UDF filesystem. As I'm led to understand (and don't take me on this, its only an avenue to explore, as i'm fresh and new to this too), the disc is written sort of with both Filesystems, or just maybe the TOC is written with the ISO9660 FS which is why you can read it. Perhaps an updated DOS driver (unlikely) has the support you need to access the rest of the FS. This is only a guess.

P. Singh.
Paul Singh is offline   Reply With Quote
Old 17th December 2001, 05:45   #9  |  Link
mpucoder
Moderator
 
Join Date: Oct 2001
Posts: 3,530

Authentication is the process of exchanging keys with the drive's firmware. Until that is done the drive will not allow access to anything but the directories, not the files themselves.
mpucoder is offline   Reply With Quote
Old 28th December 2001, 04:31   #10  |  Link
LIGHTNING UK!
Author of ImgBurn
 
Join Date: Oct 2001
Location: United Kingdom
Posts: 1,973

You need to start by authenticating the disk. I suggest you look at the LIVID (Linux DVD Player) code for this, and also at DeCSSPlus v2. You will obviously need to have an aspi driver installed for this to work. Take a look at the Adaptec ASPI SDK - Search for it using www.Google.com. For additional documentation get the MMC3 (amongst others) specs - available from www.t10.org
Only some OS's (98?/Me/2000/XP) have support for UDF file systems....even then, they are buggy! (I believe XP fixed the 1 gig file size problem). The way around it is to develop your own UDF parsing...basically, u read off the sectors 1 by 1 as and when required in order to build up a picture of where files start and end. Again, look at the linux code for this.

I dont mean to sound rude, but if you cant even implement basic dvd authentication, what possible chance do you have of creating a player?!
__________________
The Official ImgBurn Website
LIGHTNING UK! is offline   Reply With Quote
Old 29th December 2001, 20:41   #11  |  Link
dinesh
Registered User
 
Join Date: Nov 2001
Posts: 70

LIGHTNING UK you are right.
I am no big programmer. I just look around for the sources and sort of integrate it. I am still far off from achieving a player. I just need to get my basics right. I work on this very infrequently which makes me lazy. Sure to achieve a player I need to work hard.
Thanks for your suggestions, you have shown me an approach which was what I was looking for.
dinesh is offline   Reply With Quote
Old 30th December 2001, 12:57   #12  |  Link
LIGHTNING UK!
Author of ImgBurn
 
Join Date: Oct 2001
Location: United Kingdom
Posts: 1,973

No probs....good luck with it.
__________________
The Official ImgBurn Website
LIGHTNING UK! is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 19:30.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.