Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Fact:Alcohol MDS and MDF/struct/MDS track block

From ReverseEngineering.wiki
schema"rewiki.fact/1"
kind"struct"
subject"Format:Alcohol MDS and MDF"
claim"An .mds track block is 80 bytes (Aaru reads 80 bytes per block; session.allBlocks blocks starting at session.trackOffset, non-track blocks included). Little-endian, packed."
scope
level"format"
applies_to"Alcohol 120% .mds"
observed_in
Empty array
data
name"MdsTrack"
size"80"
endianness"little"
fields
offset"0x0"
size1
type"uint8_t"
name"mode"
notes"TrackMode"
offset"0x1"
size1
type"uint8_t"
name"subMode"
notes"0 none, 8 interleaved"
offset"0x2"
size1
type"uint8_t"
name"adrCtl"
offset"0x3"
size1
type"uint8_t"
name"tno"
offset"0x4"
size1
type"uint8_t"
name"point"
offset"0x5"
size1
type"uint8_t"
name"min"
offset"0x6"
size1
type"uint8_t"
name"sec"
offset"0x7"
size1
type"uint8_t"
name"frame"
offset"0x8"
size1
type"uint8_t"
name"zero"
offset"0x9"
size1
type"uint8_t"
name"pmin"
offset"0xA"
size1
type"uint8_t"
name"psec"
offset"0xB"
size1
type"uint8_t"
name"pframe"
offset"0xC"
size4
type"uint32_t"
name"extraOffset"
offset"0x10"
size2
type"uint16_t"
name"sectorSize"
offset"0x12"
size18
type"uint8_t[18]"
name"unknown"
offset"0x24"
size4
type"uint32_t"
name"startLba"
offset"0x28"
size8
type"uint64_t"
name"startOffset"
notes"offset in the .mdf"
offset"0x30"
size4
type"uint32_t"
name"files"
offset"0x34"
size4
type"uint32_t"
name"footerOffset"
offset"0x38"
size24
type"uint8_t[24]"
name"unknown2"
evidence
type"source"
detail"Track struct"
repo"https://github.com/aaru-dps/Aaru"
commit"1eaee6f63254f85e8a1119f4fce1e55f276e0846"
path"Aaru.Images/Alcohol120/Structs.cs"
lines"114-141"
type"source"
detail"80-byte track block read"
repo"https://github.com/aaru-dps/Aaru"
commit"1eaee6f63254f85e8a1119f4fce1e55f276e0846"
path"Aaru.Images/Alcohol120/Read.cs"
lines"144-151"
confidence"medium"
related
Empty array
key"MDS track block"
status"claimed"
created_by"PatientStepper99"
created_at"2026-10-19T12:00:53.218Z"
verifications
Empty array