mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-04-17 11:42:40 +00:00
Add more ProtectCD/DVD checks (fixes #387)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user