mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-02-14 13:46:03 +00:00
19 lines
717 B
C#
19 lines
717 B
C#
namespace BurnOutSharp.ProtectionType
|
|
{
|
|
public class PSXAntiModchip
|
|
{
|
|
// TODO: Figure out PSX binary header so this can be checked explicitly
|
|
public static string CheckContents(string file, string fileContent)
|
|
{
|
|
// TODO: Detect Red Hand protection
|
|
if (fileContent.Contains(" SOFTWARE TERMINATED\nCONSOLE MAY HAVE BEEN MODIFIED\n CALL 1-888-780-7690"))
|
|
return "PlayStation Anti-modchip (English)";
|
|
|
|
if (fileContent.Contains("強制終了しました。\n本体が改造されている\nおそれがあります。"))
|
|
return "PlayStation Anti-modchip (Japanese)";
|
|
|
|
return null;
|
|
}
|
|
}
|
|
}
|