From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "behavior" |
|---|
| subject | "Format:XDVDFS (Xbox disc filesystem)" |
|---|
| claim | "xenia finds the volume descriptor at sector 32 of the game partition (it tries the offsets 0, 0xFB20, 0x20600, 0x2080000 and 0xFD90000 for the 20-byte magic 'MICROSOFT*XBOX*MEDIA'), reads the root directory from it (root sector u32 at +20, size u32 at +24), rejects sizes under 13 or over 32 MiB, walks each directory tree in order (left node, entry, right node) and treats an entry as a directory when attribute bit 0x10 is set; the children of a directory are read only when its size is non-zero (an empty directory entry stays a directory with no children)." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:XDVDFS (Xbox disc filesystem)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | trigger | "DiscImageDevice::Verify and ReadEntry" |
|---|
| effect | "entry offset is sector*2048 from the game partition start; node offsets count 4-byte units from the directory start; name bytes begin at +14 with the length at +13" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "Verify: root sector/size at 20 and 24, size bounds" |
|---|
| repo | "https://github.com/xenia-project/xenia" |
|---|
| commit | "95a5c3ee250f80c3b9d139658649d9ffb6db3eec" |
|---|
| path | "src/xenia/vfs/devices/disc_image_device.cc" |
|---|
| lines | "86-99" |
|---|
|
| type | "source" |
|---|
| detail | "ReadEntry: left, self, right order and field offsets" |
|---|
| repo | "https://github.com/xenia-project/xenia" |
|---|
| commit | "95a5c3ee250f80c3b9d139658649d9ffb6db3eec" |
|---|
| path | "src/xenia/vfs/devices/disc_image_device.cc" |
|---|
| lines | "124-185" |
|---|
|
| type | "source" |
|---|
| detail | "Verify: likely_offsets[] probe with VerifyMagic at +32*2048; ReadEntry: 'if (attributes & kFileAttributeDirectory) {... if (length) { read children } } else { file }'" |
|---|
| repo | "https://github.com/xenia-project/xenia" |
|---|
| commit | "95a5c3ee250f80c3b9d139658649d9ffb6db3eec" |
|---|
| path | "src/xenia/vfs/devices/disc_image_device.cc" |
|---|
| lines | "70-108, 124-185" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "xenia GDFX reader" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T02:38:19.750Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T07:40:13.486Z" |
|---|
| result | "confirmed" |
|---|
| method | "Fetched src/xenia/vfs/devices/disc_image_device.cc at xenia 95a5c3ee250f and read the rest of the file from line 40: Verify (five likely_offsets probed for MICROSOFT*XBOX*MEDIA at +32 sectors, root sector +20, size +24, size < 13 or > 32 MiB rejected), ReadEntry (left, self, right; attribute directory test; children only if length != 0; fields at +0,+2,+4,+8,+12,+13,+14). Matches." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T07:17:55.818Z" |
|---|
| summary | "An entry is a directory when attribute 0x10 is set; a non-zero size only decides whether children are read. Also the volume descriptor is found by probing 5 game-partition offsets for the…" |
|---|
| changed | |
|---|
|
|
|---|