From 184476e4acf69bf3eebdc65725aed29c622ee9a4 Mon Sep 17 00:00:00 2001 From: RibShark <1957489+RibShark@users.noreply.github.com> Date: Tue, 14 Jul 2020 17:26:05 +0100 Subject: [PATCH 1/2] Added DPM structure to alcohol media descriptor format. --- Alcohol.bt | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Alcohol.bt b/Alcohol.bt index ae81bf0..ff2d006 100644 --- a/Alcohol.bt +++ b/Alcohol.bt @@ -2,7 +2,7 @@ //--- 010 Editor v8.0.1 Binary Template // // File: Alcohol.bt -// Authors: Natalia Portillo +// Authors: Natalia Portillo, RibShark // Version: 0.1 // Purpose: Alcohol 120% media descriptor. // Category: Misc @@ -111,7 +111,20 @@ typedef struct uint unknown2; } AlcoholFooter; +typedef struct +{ + uint unknown; // 0x01 + uint unknown2; // 0x1FC + uint unknown3; // 0x01 + uint dpmStartSector; // 0x00 + uint dpmResolution; + uint dpmEntryCount; + uint dpmEntries[this.dpmEntryCount]; +} AlcoholDPM; + LittleEndian(); AlcoholHeader header; FSeek(header.sessionOffset); AlcoholSession sessions[header.sessions]; +FSeek(header.dpmOffset); +AlcoholDPM dpm; From c09a1c73bbedb874a813fd07bb6dcc17b95ffcbf Mon Sep 17 00:00:00 2001 From: RibShark <1957489+RibShark@users.noreply.github.com> Date: Tue, 14 Jul 2020 17:26:55 +0100 Subject: [PATCH 2/2] Update Alcohol.bt --- Alcohol.bt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Alcohol.bt b/Alcohol.bt index ff2d006..6ad6771 100644 --- a/Alcohol.bt +++ b/Alcohol.bt @@ -3,13 +3,14 @@ // // File: Alcohol.bt // Authors: Natalia Portillo, RibShark -// Version: 0.1 +// Version: 0.2 // Purpose: Alcohol 120% media descriptor. // Category: Misc // File Mask: *.mds // ID Bytes: 4D 45 44 49 41 20 44 45 53 43 52 49 50 54 4F 52 // MEDIA DESCRIPTOR // History: // 0.1 2018-01-08 Natalia Portillo: Initial release +// 0.2 2020-07-15 RibShark: Added DPM structures //------------------------------------------------ enum AlcoholMediumType