Raw Option 1 / XISO Option 2 Update
===================================

This source set keeps option 2 as the existing padded game-partition XISO path,
and corrects option 1 so it is always a full physical-style logical raw ISO.

Important behavior:

1. Option 1: Dump entire disc (Raw ISO)
   - Retail Xbox DVD-9 output is forced to 3,431,264 sectors.
   - Final byte count is forced/verified as 7,027,228,672 bytes (7.29 GiB).
   - The dump writes real locked/video-visible sectors first.
   - It then re-applies the GDR8050L auth handshake and appends the unlocked
     game/data area.
   - The output must cross the Xbox DVD-9 layer break at output LBA 1,913,776.
   - If the source exposes XDFS at LBA 0x20 during option 1, the dumper now
     treats that as an XISO/game-partition view and refuses to call it a raw ISO.

2. Option 2: Dump only game partition (XISO)
   - Intentionally remains the smaller XISO-style output.
   - For DVD-9 this is 1,913,888 sectors plus the 32-sector synthetic lead-in.
   - Final byte count is 3,919,708,160 bytes (about 3.65 GiB).
   - This path is not expected to cross the physical raw-disc layer break.

3. Post-dump verification
   - The dumper now verifies the final output byte count before marking the dump
     complete.
   - Raw option 1 should report:
       Final RAW ISO Sector Count: 3820880
       Final RAW ISO Byte Count:   7027228672
   - XISO option 2 should report the smaller padded XISO byte count.

4. Sidecar metadata
   - Option 1 still writes the external XDVD sidecar set:
       <title>[media].xdvd.json
       <title>[media].ad_c0.bin
       <title>[media].pfi.bin
       <title>[media].dmi.bin
   - These are for the MN103S/GDR8050L emulator and firmware-facing SCSI/MMC
     auth/control data.

5. Media profile
   - Option 1 now also writes:
       <title>[media].media.json
   - This JSON uses format "xdvd-media-profile" and contains media-specific
     image/layout metadata, DVD structure payload filenames, observed locked /
     unlocked responses, and validation flags. It is intended to stay separate
     from any device/firmware profile.

Redump-style option 1 note
--------------------------
Current option 1 now targets the larger Original Xbox/XGD1 Redump-style logical
sector image: 3,820,880 sectors / 7,825,162,240 bytes. The previous 3,431,264
sector output was the unlocked game/XISO view length, not a full reconstructed
Redump-style disc image.
