Skip to content

NR/RVT-R dumping support (WIP)#388

Draft
RibShark wants to merge 1 commit into
superg:mainfrom
RibShark:main
Draft

NR/RVT-R dumping support (WIP)#388
RibShark wants to merge 1 commit into
superg:mainfrom
RibShark:main

Conversation

@RibShark

@RibShark RibShark commented Jun 9, 2026

Copy link
Copy Markdown

This is a WIP PR for dumping NR/RVT-R discs via an upcoming version of OmniDrive.
NR/RVT-R discs differ from normal Nintendo discs in the following ways:

  • Scrambling is applied to all sectors, including DMI/PFI, so these must be obtained and descrambled manually. Note that the sector layout for DMI/PFI is normal (CPR_MAI not shifted to end of sector).
  • Nintendo Key for scrambling is fixed at 0x9 for the entire disc, with no additional offset, including lead-in and LBA 0-15.
  • Book type in PFI is standard for DVD-R, so the logic for detecting Nintendo discs in split was modified to instead search for Nintendo in the DMI, and Emu in the same string to detect a dev disc.
  • In OmniDrive, NR/RVT-R discs return a capacity of 1, but the full capacity when the PFI is queried (the drive fakes the PFI). This is used to detect Nintendo dev discs in dump, but I'm not sure if XGD3s with no video partition also appear like this? If so, logic will need to be changed.

@coderabbitai

coderabbitai Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: b7642119-0e9d-489e-a09a-7c3aff54b829

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@superg

superg commented Jun 10, 2026

Copy link
Copy Markdown
Owner

Will try to review this week, Nintendo likes it complicated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants