Add raw blu-ray and aacs tags

This commit is contained in:
Rebecca Wallander
2026-04-10 19:47:34 +02:00
parent 112f53dc3d
commit d6b6accbf5
8 changed files with 180 additions and 64 deletions

View File

@@ -161,6 +161,7 @@ typedef enum
BDRE = 62, ///< BD-RE
BDRXL = 63, ///< BD-R XL
BDREXL = 64, ///< BD-RE XL
UHDBD = 65, ///< Ultra HD Blu-ray
// Standard Blu-ray formats, types 60 to 69
// Rare or uncommon optical standards, types 70 to 79
@@ -211,6 +212,7 @@ typedef enum
PS4BD = 117, ///< Sony PlayStation 4 game Blu-ray
UMD = 118, ///< Sony PlayStation Portable Universal Media Disc (ECMA-365)
PlayStationVitaGameCard = 119, ///< PS Vita NV memory card (proprietary flash)
PS5BD = 120, ///< Sony PlayStation 5 game Blu-ray
// Sony game media, types 110 to 129
// Microsoft game media, types 130 to 149
@@ -977,6 +979,7 @@ typedef enum
kSectorTagDvdSectorEdc = 19, ///< DVD sector EDC, 4 bytes
kSectorTagAppleProfile = 20, ///< Apple's Profile sector tags, 20 bytes
kSectorTagPriamDataTower = 21, ///< Priam DataTower sector tags, 24 bytes
kSectorTagBdSectorEdc = 22, ///< Blu-ray sector EDC, 4 bytes
MaxSectorTag = kSectorTagPriamDataTower
} SectorTagType;
@@ -1082,6 +1085,8 @@ typedef enum
kMediaTagWiiUPartitionKeyMap = 82, ///< Nintendo Wii U partition-to-key mapping with regions
kMediaTagWiiPartitionKeyMap = 83, ///< Nintendo Wii partition-to-key mapping with regions
kMediaTagNgcwJunkMap = 84, ///< Nintendo GameCube/Wii junk region map with LFG seeds
kMediaTagAacsMediaKey = 85, ///< AACS Media Key
kMediaTagAacsVolumeUniqueKey = 86, ///< AACS Volume Unique Key
MaxMediaTag = kMediaTagNgcwJunkMap
} MediaTagType;

View File

@@ -145,6 +145,9 @@ typedef enum
kDataTypeWiiUPartitionKeyMap = 98, ///< Nintendo Wii U partition-to-key mapping with regions
kDataTypeWiiPartitionKeyMap = 99, ///< Nintendo Wii partition-to-key mapping with regions
kDataTypeNgcwJunkMap = 100, ///< Nintendo GameCube/Wii junk region map with LFG seeds
kDataTypeAacsMediaKey = 101, ///< AACS Media Key
kDataTypeAacsVolumeUniqueKey = 102, ///< AACS Volume Unique Key
kDataTypeBdSectorEdc = 103, ///< Blu-ray Sector EDC
} DataType;
/**