mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-07-08 18:06:34 +00:00
Fix scanning for Solidshield 3.0.0.0 DLLs. (#403)
* Fix scanning for Solidshield 3.0.0.0 DLLs. * Add curly braces for multiline if
This commit is contained in:
committed by
GitHub
parent
82fc850b57
commit
417c1f8208
@@ -37,6 +37,13 @@ namespace BinaryObjectScanner.Protection
|
||||
return $"SolidShield {GetInternalVersion(exe)}";
|
||||
|
||||
name = exe.ProductName;
|
||||
|
||||
// Only observed with Solidshield 3.0.0.0 games such as Redump ID 119211. Extracted from main executable.
|
||||
if (exe.FileDescription.OptionalStartsWith("CORE Library", StringComparison.OrdinalIgnoreCase)
|
||||
&& name.OptionalStartsWith("Solidshield", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
return $"SolidShield {exe.GetInternalVersion()}";
|
||||
}
|
||||
|
||||
if (name.OptionalStartsWith("Solidshield Activation Library", StringComparison.OrdinalIgnoreCase))
|
||||
return $"SolidShield Core.dll {exe.GetInternalVersion()}";
|
||||
|
||||
Reference in New Issue
Block a user