More Alcohol template fixes

This commit is contained in:
2021-09-06 05:11:36 +01:00

View File

@@ -2,14 +2,15 @@
//--- 010 Editor v8.0.1 Binary Template
//
// File: Alcohol.bt
// Authors: Natalia Portillo
// Version: 0.1
// Authors: Natalia Portillo, RibShark
// 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 <unsigned short> AlcoholMediumType
@@ -119,6 +120,17 @@ 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);
@@ -136,3 +148,6 @@ if(FTell() > 0)
string Filename;
}
}
=======
FSeek(header.dpmOffset);
AlcoholDPM dpm;