[PR #823] [MERGED] Add raw DVD reading with HL-DT-ST command #1159

Open
opened 2026-01-29 15:42:51 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/aaru-dps/Aaru/pull/823
Author: @FakeShemp
Created: 10/15/2023
Status: Merged
Merged: 10/16/2023
Merged by: @claunia

Base: develHead: fakeshemp/hl-dt-st-raw-dvd


📝 Commits (1)

  • 3cb7b34 Add raw DVD reading with HL-DT-ST command

📊 Changes

11 files changed (+377 additions, -26 deletions)

View changed files

📝 .idea/.idea.Aaru/.idea/codeStyles/codeStyleConfig.xml (+1 -0)
Aaru.Core/Devices/Dumping/Sbc/Cache.cs (+213 -0)
📝 Aaru.Core/Devices/Dumping/Sbc/Data.cs (+1 -1)
📝 Aaru.Core/Devices/Dumping/Sbc/Dump.cs (+13 -4)
📝 Aaru.Core/Devices/Dumping/Sbc/Error.cs (+7 -0)
📝 Aaru.Core/Devices/ReaderSCSI.cs (+16 -8)
📝 Aaru.Decoders (+1 -1)
📝 Aaru.Decryption (+1 -1)
📝 Aaru.Devices/Device/ScsiCommands/HL-DT-ST.cs (+45 -4)
📝 Aaru.Images/AaruFormat/Write.cs (+65 -1)
📝 Aaru.Images/ZZZRawImage/Read.cs (+14 -6)

📄 Description

You need an HL-DT-ST drive which support the HL-DT-ST SCSI command for this to work. Tested on a GDR-8163B.

Like all raw DVD reading commands, it is not activated yet, but the underlying functionality does work. I've managed to dump several DVDs with full prefix and suffix. CSS keys can be dumped this way and is magnitudes faster than the default way (but still very slow).

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • New filesystem, test images in [url]
  • New media image, test images in [url]
  • New partition scheme, test images in [url]
  • Breaking change (fix or feature that would cause existing functionality to change)
  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/aaru-dps/Aaru/pull/823 **Author:** [@FakeShemp](https://github.com/FakeShemp) **Created:** 10/15/2023 **Status:** ✅ Merged **Merged:** 10/16/2023 **Merged by:** [@claunia](https://github.com/claunia) **Base:** `devel` ← **Head:** `fakeshemp/hl-dt-st-raw-dvd` --- ### 📝 Commits (1) - [`3cb7b34`](https://github.com/aaru-dps/Aaru/commit/3cb7b3449338eb1939fbd801795cf97aa23d32d3) Add raw DVD reading with HL-DT-ST command ### 📊 Changes **11 files changed** (+377 additions, -26 deletions) <details> <summary>View changed files</summary> 📝 `.idea/.idea.Aaru/.idea/codeStyles/codeStyleConfig.xml` (+1 -0) ➕ `Aaru.Core/Devices/Dumping/Sbc/Cache.cs` (+213 -0) 📝 `Aaru.Core/Devices/Dumping/Sbc/Data.cs` (+1 -1) 📝 `Aaru.Core/Devices/Dumping/Sbc/Dump.cs` (+13 -4) 📝 `Aaru.Core/Devices/Dumping/Sbc/Error.cs` (+7 -0) 📝 `Aaru.Core/Devices/ReaderSCSI.cs` (+16 -8) 📝 `Aaru.Decoders` (+1 -1) 📝 `Aaru.Decryption` (+1 -1) 📝 `Aaru.Devices/Device/ScsiCommands/HL-DT-ST.cs` (+45 -4) 📝 `Aaru.Images/AaruFormat/Write.cs` (+65 -1) 📝 `Aaru.Images/ZZZRawImage/Read.cs` (+14 -6) </details> ### 📄 Description You need an HL-DT-ST drive which support the HL-DT-ST SCSI command for this to work. Tested on a GDR-8163B. Like all raw DVD reading commands, it is not activated yet, but the underlying functionality does work. I've managed to dump several DVDs with full prefix and suffix. CSS keys can be dumped this way and is magnitudes faster than the default way (but still very slow). ## Types of changes <!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> - [ ] Bug fix (non-breaking change which fixes an issue) - [x] New feature (non-breaking change which adds functionality) - [ ] New filesystem, test images in [url] - [ ] New media image, test images in [url] - [ ] New partition scheme, test images in [url] - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [x] I have read the **CONTRIBUTING** document. - [x] My code follows the code style of this project. - [ ] My change requires a change to the documentation. - [ ] I have updated the documentation accordingly. - [ ] I have added tests to cover my changes. - [ ] All new and existing tests passed. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 15:42:51 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: aaru-dps/Aaru-aaru-dps#1159