Add more ProtectCD/DVD checks (fixes #387)

This commit is contained in:
Matt Nadareski
2025-10-21 14:06:09 -04:00
parent 1a67decd7b
commit 82412fce9a

View File

@@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Text;
using BinaryObjectScanner.Interfaces;
using SabreTools.IO;
using SabreTools.IO.Extensions;
using SabreTools.IO.Matching;
using SabreTools.Serialization.Wrappers;
@@ -93,6 +94,18 @@ namespace BinaryObjectScanner.Protection
if (exe.ContainsSection(".vob.pcd", exact: true))
return "VOB ProtectCD";
string? name = exe.FileDescription;
// Found in a0016.exe
if (name.OptionalEquals("ProtectCD/DVD Core"))
return "VOB ProtectCD/DVD";
name = exe.AssemblyDescription;
// Found in a0016.exe
if (name.OptionalEquals("SoftShield ProtectCD Localization Helper DLL"))
return "VOB ProtectCD/DVD";
return null;
}