mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-07-08 18:06:34 +00:00
@@ -146,8 +146,8 @@ namespace BurnOutSharp.FileType
|
||||
if (!string.IsNullOrWhiteSpace(protection))
|
||||
Utilities.AppendToDictionary(protections, file, protection);
|
||||
|
||||
// ITENIUM Trial & Buy Protection
|
||||
protection = Itenium.CheckContents(fileContent, scanner.IncludePosition);
|
||||
// INTENIUM Trial & Buy Protection
|
||||
protection = Intenium.CheckContents(fileContent, scanner.IncludePosition);
|
||||
if (!string.IsNullOrWhiteSpace(protection))
|
||||
Utilities.AppendToDictionary(protections, file, protection);
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
namespace BurnOutSharp.ProtectionType
|
||||
{
|
||||
public class Itenium
|
||||
public class Intenium
|
||||
{
|
||||
/*
|
||||
* Possible strings for finding ITENIUM Trial & Buy Protection
|
||||
* Possible strings for finding INTENIUM Trial & Buy Protection
|
||||
*
|
||||
* Luxor Only:
|
||||
* - command_buyNowCb - 63 6F 6D 6D 61 6E 64 5F 62 75 79 4E 6F 77 43 62
|
||||
@@ -23,7 +23,7 @@
|
||||
// Trial + (char)0x00 + P
|
||||
byte[] check = new byte[] { 0x54, 0x72, 0x69, 0x61, 0x6C, 0x00, 0x50 };
|
||||
if (fileContent.Contains(check, out int position))
|
||||
return "ITENIUM Trial & Buy Protection" + (includePosition ? $" (Index {position})" : string.Empty);
|
||||
return "INTENIUM Trial & Buy Protection" + (includePosition ? $" (Index {position})" : string.Empty);
|
||||
|
||||
return null;
|
||||
}
|
||||
Reference in New Issue
Block a user