mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-04-29 10:16:53 +00:00
Slight cleanup of CDS
This commit is contained in:
@@ -92,7 +92,7 @@ namespace BurnOutSharp.ProtectionType
|
||||
new PathMatchSet(new PathMatch("wmmp.exe", useEndsWith: true), "Cactus Data Shield 200"),
|
||||
|
||||
// Present on CDS-300, as well as SafeDisc. This is likely due to both protections being created by Macrovision.
|
||||
new PathMatchSet(new PathMatch("00000001.TMP", useEndsWith: true), Get00000001TMPVersion, "Cactus Data Shield 300 (Confirm presence of other CDS-300 files)"),
|
||||
new PathMatchSet(new PathMatch("00000001.TMP", useEndsWith: true), Get00000001TMPVersion, "Cactus Data Shield 300"),
|
||||
};
|
||||
|
||||
return MatchUtil.GetFirstMatch(path, matchers, any: true);
|
||||
@@ -109,13 +109,12 @@ namespace BurnOutSharp.ProtectionType
|
||||
switch (fi.Length)
|
||||
{
|
||||
case 2_048:
|
||||
return "";
|
||||
return "(Confirm presence of other CDS-300 files)";
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public static string GetVersion(string firstMatchedString, IEnumerable<string> files)
|
||||
{
|
||||
// Find the version.txt file first
|
||||
|
||||
Reference in New Issue
Block a user