I started working on a tool to strip redump-conforming XISOs of replicatable data for easier storage, however, info on XDVDs is rather scarce (the only readable info I have is from xbfuse, a thing which allows you to mount XISOs via fuse in linux).
All XDVDs have a plain DVDVIDEO conforming filesystem at the start, which will display a "put this disk in a xbox to play" message in a couple languages. This seems to be the same across all disks from all regions, so dumping it once, stripping and appending when reconstructing is a nobrainer.
The interesting part is this: At the very end of a XDVD, you have 16 sectors which contain non-zero data, the data itself is 32bytes in size (appears to be a set of uint32_t) with all values except two being constant, those two counting up from the first sector to the last sector in increments of 1.
When walking backwards, after those 16 sectors you get zero-sectors until you reach the actual XDVDFS. These 16 sectors again appear to be the same across all disks (Note: I only checked 5 disks for this, dont take it for granted. If someone knows of a really big game, I can check if all sectors are still there).
Does anyone know the purpose of those sectors or possibly a way to derive them (hardcoding them in is always an option, but I want to avoid that as much as possible)?
(Sidenote: the "magic" sector which has the "MICROSOFT*XBOX*MEDIA" signature is followed by a sector which begins with "XBOX_DVD_LAYOUT_TOOL_SIG". A quick search with the G reveals exactly zero results for this, any info on that would be a nice bonus)
All XDVDs have a plain DVDVIDEO conforming filesystem at the start, which will display a "put this disk in a xbox to play" message in a couple languages. This seems to be the same across all disks from all regions, so dumping it once, stripping and appending when reconstructing is a nobrainer.
The interesting part is this: At the very end of a XDVD, you have 16 sectors which contain non-zero data, the data itself is 32bytes in size (appears to be a set of uint32_t) with all values except two being constant, those two counting up from the first sector to the last sector in increments of 1.
When walking backwards, after those 16 sectors you get zero-sectors until you reach the actual XDVDFS. These 16 sectors again appear to be the same across all disks (Note: I only checked 5 disks for this, dont take it for granted. If someone knows of a really big game, I can check if all sectors are still there).
Does anyone know the purpose of those sectors or possibly a way to derive them (hardcoding them in is always an option, but I want to avoid that as much as possible)?
(Sidenote: the "magic" sector which has the "MICROSOFT*XBOX*MEDIA" signature is followed by a sector which begins with "XBOX_DVD_LAYOUT_TOOL_SIG". A quick search with the G reveals exactly zero results for this, any info on that would be a nice bonus)