From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:Alcohol MDS and MDF" |
|---|
| claim | "The Alcohol .mds header is 88 bytes (Aaru reads exactly 88 and marshals little-endian, packed): signature[16], version[2], medium type u16, session count u16, then fields Aaru leaves unnamed, bcaLength u16, bcaOffset u32, structuresOffset u32, sessionOffset u32, discMetadataOffset u32." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Alcohol 120% .mds" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "MdsHeader" |
|---|
| size | "88" |
|---|
| endianness | "little" |
|---|
| fields | | offset | "0x0" |
|---|
| size | 16 |
|---|
| type | "char[16]" |
|---|
| name | "signature" |
|---|
| notes | "MEDIA DESCRIPTOR" |
|---|
|
| offset | "0x10" |
|---|
| size | 2 |
|---|
| type | "uint8_t[2]" |
|---|
| name | "version" |
|---|
|
| offset | "0x12" |
|---|
| size | 2 |
|---|
| type | "uint16_t" |
|---|
| name | "type" |
|---|
| notes | "medium type" |
|---|
|
| offset | "0x14" |
|---|
| size | 2 |
|---|
| type | "uint16_t" |
|---|
| name | "sessions" |
|---|
|
| offset | "0x16" |
|---|
| size | 4 |
|---|
| type | "uint16_t[2]" |
|---|
| name | "unknown1" |
|---|
|
| offset | "0x1A" |
|---|
| size | 2 |
|---|
| type | "uint16_t" |
|---|
| name | "bcaLength" |
|---|
|
| offset | "0x1C" |
|---|
| size | 8 |
|---|
| type | "uint32_t[2]" |
|---|
| name | "unknown2" |
|---|
|
| offset | "0x24" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "bcaOffset" |
|---|
|
| offset | "0x28" |
|---|
| size | 24 |
|---|
| type | "uint32_t[6]" |
|---|
| name | "unknown3" |
|---|
|
| offset | "0x40" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "structuresOffset" |
|---|
|
| offset | "0x44" |
|---|
| size | 12 |
|---|
| type | "uint32_t[3]" |
|---|
| name | "unknown4" |
|---|
|
| offset | "0x50" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "sessionOffset" |
|---|
|
| offset | "0x54" |
|---|
| size | 4 |
|---|
| type | "uint32_t" |
|---|
| name | "discMetadataOffset" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "Header struct (Pack = 1, array SizeConsts)" |
|---|
| repo | "https://github.com/aaru-dps/Aaru" |
|---|
| commit | "1eaee6f63254f85e8a1119f4fce1e55f276e0846" |
|---|
| path | "Aaru.Images/Alcohol120/Structs.cs" |
|---|
| lines | "68-92" |
|---|
|
| type | "source" |
|---|
| detail | "Read: 88-byte header buffer, 24-byte session buffer, 80-byte track buffer" |
|---|
| repo | "https://github.com/aaru-dps/Aaru" |
|---|
| commit | "1eaee6f63254f85e8a1119f4fce1e55f276e0846" |
|---|
| path | "Aaru.Images/Alcohol120/Read.cs" |
|---|
| lines | "66-67, 110-111, 149-150" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "MDS header" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T12:00:53.147Z" |
|---|
| verifications | |
|---|