From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:XDVDFS (Xbox disc filesystem)" |
|---|
| claim | "XDVDFS directory entries form a binary search tree: u16 left and u16 right (in 4-byte units from the directory start), u32 start sector, u32 size, attribute byte, name length byte, name; sector size is 2048 and the root directory sector/size are at 0x14/0x18 of the volume descriptor." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:XDVDFS (Xbox disc filesystem)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "XDVDFS_DIRENT" |
|---|
| size | "variable" |
|---|
| fields | | offset | "0x0" |
|---|
| size | 2 |
|---|
| type | "uint16_t" |
|---|
| name | "left" |
|---|
| notes | "entry index *4 bytes; 0 none" |
|---|
|
| offset | "0x2" |
|---|
| size | 2 |
|---|
| type | "uint16_t" |
|---|
| name | "right" |
|---|
|
| offset | "0x4" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "start_sector" |
|---|
|
| offset | "0x8" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "size" |
|---|
|
| offset | "0xC" |
|---|
| size | 1 |
|---|
| type | "uint8_t" |
|---|
| name | "attributes" |
|---|
| bits | |
|---|
|
| offset | "0xD" |
|---|
| size | 1 |
|---|
| type | "uint8_t" |
|---|
| name | "name_length" |
|---|
|
| offset | "0xE" |
|---|
| size | 0 |
|---|
| type | "char[name_length]" |
|---|
| name | "name" |
|---|
| notes | "entry padded to 4 bytes with 0xFF" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "reads root sector at +20, size at +24; entry fields at p+0,2,4,8,12,13,14 with p = buffer + ordinal*4" |
|---|
| repo | "https://github.com/xenia-project/xenia" |
|---|
| commit | "95a5c3ee250f80c3b9d139658649d9ffb6db3eec" |
|---|
| path | "src/xenia/vfs/devices/disc_image_device.cc" |
|---|
| lines | "93-97, 124-136" |
|---|
|
| type | "source" |
|---|
| detail | "sector size 2048, attribute bits, pad byte 0xFF" |
|---|
| repo | "https://github.com/XboxDev/extract-xiso" |
|---|
| commit | "3f5b62cfe68f000b0e3c8a30104973f3a297948e" |
|---|
| path | "extract-xiso.c" |
|---|
| lines | "475-490" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Directory entry" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T13:45:34.218Z" |
|---|
| verifications | |
|---|