From d771c4931c077bbe681c85b83ea072901fa806d2 Mon Sep 17 00:00:00 2001 From: TheRogueArchivist Date: Tue, 30 Aug 2022 22:32:21 -0600 Subject: [PATCH] Add grouped name check for mcp.dll (#149) --- BurnOutSharp/ProtectionType/SafeDisc.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/BurnOutSharp/ProtectionType/SafeDisc.cs b/BurnOutSharp/ProtectionType/SafeDisc.cs index ad941b5d..b6f50ce7 100644 --- a/BurnOutSharp/ProtectionType/SafeDisc.cs +++ b/BurnOutSharp/ProtectionType/SafeDisc.cs @@ -119,6 +119,17 @@ namespace BurnOutSharp.ProtectionType new PathMatch(".256", useEndsWith: true), }, "SafeDisc 1.06.000+"), + // The file "mcp.dll" is known to only be used in a specific version range for SafeDisc, but is currently only used in a grouped file name check with other SafeDisc files to prevent false positives. + // Found in Redump entries 28810, 30555, 55078, and 62935. + new PathMatchSet(new List + { + new PathMatch("00000001.TMP", useEndsWith: true), + new PathMatch("drvmgt.dll", useEndsWith: true), + new PathMatch("mcp.dll", useEndsWith: true), + new PathMatch("secdrv.sys", useEndsWith: true), + + }, "SafeDisc 1.45.011-1.50.020"), + // TODO: Research "splash16.bmp" and "splash256.bmp". // Found to be present in every version of SafeDisc, possibly every single release.