From e91d5bc39228fb5d8bbd78d047e6c3207ffce590 Mon Sep 17 00:00:00 2001 From: MattJackson <1085847+MattJackson@users.noreply.github.com> Date: Tue, 7 Apr 2026 12:36:29 -0700 Subject: [PATCH] =?UTF-8?q?Add=20docs/README.md=20=E2=80=94=20reading=20or?= =?UTF-8?q?der=20and=20index=20for=20all=20documentation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Start with disc-to-rip.md (the big picture), then architecture, drive access, disc formats (UDF/MPLS/CLPI), and AACS encryption. --- docs/README.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 docs/README.md diff --git a/docs/README.md b/docs/README.md new file mode 100644 index 0000000..0fe2ee6 --- /dev/null +++ b/docs/README.md @@ -0,0 +1,32 @@ +# libfreemkv Documentation + +Technical documentation for [libfreemkv](https://github.com/freemkv/libfreemkv), the open source optical drive library. + +## Start Here + +**[Disc to Rip: End-to-End Flow](disc-to-rip.md)** — How the library goes from a disc in the drive to decrypted content. Read this first. + +## Reference + +| Document | What it covers | +|----------|---------------| +| [Architecture](architecture.md) | Module map, design principles, error codes, platform support | +| [Drive Access](drive-access.md) | DriveSession, SCSI transport, profiles, unlock, why raw mode is needed | +| [AACS Encryption](aacs.md) | Key resolution (4 paths), content decryption, bus encryption, SCSI handshake | +| [UDF Filesystem](udf.md) | UDF 2.50 with metadata partitions, pointer chain, how files are read from disc | +| [MPLS Playlists](mpls.md) | Playlist format, play items, STN stream table, coding types | +| [CLPI Clip Info](clpi.md) | EP map (coarse + fine entries), timestamp-to-sector mapping, extent calculation | + +## Reading Order + +If you want to understand the whole library: + +1. **[Disc to Rip](disc-to-rip.md)** — the big picture +2. **[Architecture](architecture.md)** — how modules fit together +3. **[Drive Access](drive-access.md)** — how we talk to hardware +4. **[UDF](udf.md)** → **[MPLS](mpls.md)** → **[CLPI](clpi.md)** — how disc content is structured +5. **[AACS](aacs.md)** — how encryption works and how we break it + +## API Documentation + +Generated API docs are on [docs.rs/libfreemkv](https://docs.rs/libfreemkv).