namespace SabreTools.Data.Models.XDVDFS
{
///
public static class Constants
{
///
/// Number of bytes in a sector
///
public const int SectorSize = 2048;
///
/// Number of sectors reserved at beginning of volume
///
public const int ReservedSectors = 32;
///
/// Minimum length of a directory record
///
public const int MinimumRecordLength = 14;
///
/// Volume Descriptor magic bytes at start of sector 32
///
public static readonly byte[] VolumeDescriptorMagic = [
0x4D, 0x49, 0x43, 0x52, 0x4F, 0x53, 0x4F, 0x46,
0x54, 0x2A, 0x58, 0x42, 0x4F, 0x58, 0x2A, 0x4D,
0x45, 0x44, 0x49, 0x41
];
///
/// Volume Descriptor signature at start of sector 32
///
public const string VolumeDescriptorSignature = "MICROSOFT*XBOX*MEDIA";
///
/// Xbox DVD Layout Descriptor signature at start of sector 33
///
public const string LayoutDescriptorSignature = "XBOX_DVD_LAYOUT_TOOL_SIG";
}
}