Fix PSX JP anti-modchip string (UTF to Shift-JIS)

This commit is contained in:
Matt Nadareski
2026-06-15 14:20:34 -04:00
parent 5ba78908d7
commit 656016830c

View File

@@ -15,6 +15,7 @@ namespace BinaryObjectScanner.Protection
// TODO: Detect Red Hand protection
var contentMatchSets = new List<ContentMatchSet>
{
// The following string in ASCII:
// SOFTWARE TERMINATED\nCONSOLE MAY HAVE BEEN MODIFIED\n CALL 1-888-780-7690
new(new byte?[]
{
@@ -31,17 +32,18 @@ namespace BinaryObjectScanner.Protection
0x39, 0x30
}, "PlayStation Anti-modchip (English)"),
// The following string in Shift-JIS:
// 強制終了しました。\n本体が改造されている\nおそれがあります。
new(new byte?[]
{
0x5F, 0x37, 0x52, 0x36, 0x7D, 0x42, 0x4E, 0x86,
0x30, 0x57, 0x30, 0x7E, 0x30, 0x57, 0x30, 0x5F,
0x30, 0x02, 0x5C, 0x6E, 0x67, 0x2C, 0x4F, 0x53,
0x30, 0x4C, 0x65, 0x39, 0x90, 0x20, 0x30, 0x55,
0x30, 0x8C, 0x30, 0x66, 0x30, 0x44, 0x30, 0x8B,
0x5C, 0x6E, 0x30, 0x4A, 0x30, 0x5D, 0x30, 0x8C,
0x30, 0x4C, 0x30, 0x42, 0x30, 0x8A, 0x30, 0x7E,
0x30, 0x59, 0x30, 0x02
0x8B, 0xAD, 0x90, 0xA7, 0x8F, 0x49, 0x97, 0xB9,
0x82, 0xB5, 0x82, 0xDC, 0x82, 0xB5, 0x82, 0xBD,
0x81, 0x42, 0x5C, 0x6E, 0x96, 0x7B, 0x91, 0xCC,
0x82, 0xAA, 0x89, 0xFC, 0x91, 0xA2, 0x82, 0xB3,
0x82, 0xEA, 0x82, 0xC4, 0x82, 0xA2, 0x82, 0xE9,
0x5C, 0x6E, 0x82, 0xA8, 0x82, 0xBB, 0x82, 0xEA,
0x82, 0xAA, 0x82, 0xA0, 0x82, 0xE8, 0x82, 0xDC,
0x82, 0xB7, 0x81, 0x42
}, "PlayStation Anti-modchip (Japanese)"),
};