From 56c1fd31d41a8d293736c5415b8688f72487a117 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Mon, 4 Nov 2024 09:51:20 -0500 Subject: [PATCH] Add Steam extension matching (fixes #234) --- BinaryObjectScanner/Protection/Steam.cs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/BinaryObjectScanner/Protection/Steam.cs b/BinaryObjectScanner/Protection/Steam.cs index f96393e2..dbdac2c7 100644 --- a/BinaryObjectScanner/Protection/Steam.cs +++ b/BinaryObjectScanner/Protection/Steam.cs @@ -45,6 +45,22 @@ namespace BinaryObjectScanner.Protection { var matchers = new List { + // (.sis/.sim/.sid) - Redump entry 12943 + new( + [ + new PathMatch(".sis", matchExact: false, useEndsWith: true), + new PathMatch(".sim", matchExact: false, useEndsWith: true), + new PathMatch(".sid", matchExact: false, useEndsWith: true), + ], "Steam (.sis/.sim/.sid)"), + + // (.sis/.csm/.csd) - Redump entry 101916 + new( + [ + new PathMatch(".sis", matchExact: false, useEndsWith: true), + new PathMatch(".csm", matchExact: false, useEndsWith: true), + new PathMatch(".csd", matchExact: false, useEndsWith: true), + ], "Steam (.sis/.csm/.csd)"), + // These checks are grouped together due to the names being generic on their own (Redump entry 91450). new(new List {