Homebrew libusbdvd

  • Thread starter Thread starter proconsule54
  • Start date Start date
  • Views Views 5,636
  • Replies Replies 67
  • Likes Likes 17
Working on the easier one CSS.

If i am not wrong it works this way
  • Reader Key for getting Disc Key
  • Disc Key for getting Title key
  • Title Key descrable vob data
Thats it, not too hard and a lot of source to look at so will be not a problem
Since DVD are all with udf 1.02 afaik the FS part should be already ok.

Need to implement just some commands like

SEND KEY0xA3
REPORT KEY0xA4

and a bit of logic and is done, will not take that long for Commercial DVD Video playback (if anyone has it nowdays) i know is a out of time support but "better late than never"
Post automatically merged:

libusbdvd 0.0.6

https://github.com/proconsule/libusbdvd/releases/tag/0.0.6
  • Added CUE/BIN support for CD Audio
  • Added usbdvd_mountdisc for mounting a new disc after an eject
  • Update c example with the above mount command
 
Last edited by proconsule54,
Working on performace and support, udf 2.5 is the target since is the used one on bd as written in the specs.
Also digging on css algo looking ad libdvdcss lib seems not too hard, but i need to do more testing
Post automatically merged:

Got rocky dvd saga, so now i go to get rid of css, also i am looking at command to get if reader support hw css , so i can offload cpu a lot. Sone drives do css in hw some cannot, but command 0x46 should give me also drive features.
 
Last edited by proconsule54,
Bad news, good news.... want first the good or the bad one?

The bad one is that css is harder than i expected due to dvd drive behaviors, some drives stuck on agid request, or the subsequent challenge sequence, have to dig into it more but it takes some times.

The good one is that i never surrender, and for sure i get rid of this but i need more drives to check out (old ones,cheap drives, new expensive drives,cheap bd drives,expensive bd drives). i was lucky to find out in a closet some drives that help my a lot with testing.
So until CSS is ready disc with encryptions will not show files (since they are useless) and will not mount.
I am doing UDF > 2 support that is also important to read BD-ROM.
Post automatically merged:

Since some dvd drive stuck on keys challange, i am also try to implement a brute force decryption using docs and articles by Frank Stevenson (what a genius!) afaik libdvdcss uses this also
 
Last edited by proconsule54,
A sample of the upcoming version 0.0.7
This is a Video Blu Ray (Unprotected so no Commercial BD right now) is working and is showing video with NXMP (an unreleased version)

The sample program now feature a mini browser to navigate inside the disc.

Hope to release this very soon

As you can see it support UDF up to 2.60 version (the current one so far)

2025082811044700.jpg
 
Udf 2.6 support is nearly ready, it was a bit hard since changes a lot like “metadata partition” multiple extents for a single file support for very large files and so on. All seems working and so non protected bd is working now.

I will update lib and example soon
Enjoy!
If you make an X account and a tweet explaining what you need from those other drives to help with CSS

You might get help from some other devs or just the community in general.

I can also post it for you if you’d rather not use that platform.

Just another potential option idk how hopeful / useless/ pipe dream it is tbh lmao
 
  • Like
Reactions: proconsule54
If you make an X account and a tweet explaining what you need from those other drives to help with CSS

You might get help from some other devs or just the community in general.

I can also post it for you if you’d rather not use that platform.

Just another potential option idk how hopeful / useless/ pipe dream it is tbh lmao
Sure, i dont use social account, you can post and share for me on X, but for me at first is important to have a compatibilty list, so more people try and post the screen of the test nro is easy for me to support as many drives as i can. For CSS i am working on it but before that i needed a robust and fail free FS implementations.
 
https://github.com/proconsule/libusbdvd/releases/tag/0.0.7

libusbdvd 0.0.7

  • UDF support up to 2.60
  • UDF metadata partition support (for faster file indexing)
  • Should read any type of CD/DVD/BD (if unprotected)
  • Read routine changed, now can read 16 sectors for each usb command instead of 1(conservative)
  • API changed a bit (see example for more info)
  • example app with builtin "browser" for testing media a bit better
  • Better iso image overall speed
Enjoy!

NXMilk will arrive also soon with eject/mount support
 
My Results so far:
DVD Drive TSSTcorp TS00 works
its actual name is
Samsung Portable DVD Writer Model SE-218
H/W: A
F/W: TS00
Serialnumber: S16D6YMFA
Model: SE-218
Ver: GN
Addition: RSBD
That DVD drive can read my cds without any problem.

IMG_3809.JPG



On my Bluray only "USBDVD Library Version 0.0.7" was visible. Everything else didn't do anything at all so I guess it doesn't work
The drive is
Verbatim External Slimline Blu-ray Writer 4k USB-C.
Model KIAA
P/N 43888

Im pretty sure it would work if it wasn't USB-C Only. I tried a Y USB Adapter (1 x power and 1 x Power and Data" to Data.
It did a bit better but still didn't completely boot. Maybe if I can find an USB -C Y Adapter it might work. But out of the box it probably takes too much juice to properly boot as the lightning flashes and motor is stopping every 1-2 seconds. then respins.

Hope that helps
 
Last edited by voddy,

Site & Scene News

Popular threads in this forum