Skip to content

Commit 6560168

Browse files
committed
Fix PSX JP anti-modchip string (UTF to Shift-JIS)
1 parent 5ba7890 commit 6560168

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

BinaryObjectScanner/Protection/PSXAntiModchip.cs

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ public class PSXAntiModchip : IContentCheck
1515
// TODO: Detect Red Hand protection
1616
var contentMatchSets = new List<ContentMatchSet>
1717
{
18+
// The following string in ASCII:
1819
// SOFTWARE TERMINATED\nCONSOLE MAY HAVE BEEN MODIFIED\n CALL 1-888-780-7690
1920
new(new byte?[]
2021
{
@@ -31,17 +32,18 @@ public class PSXAntiModchip : IContentCheck
3132
0x39, 0x30
3233
}, "PlayStation Anti-modchip (English)"),
3334

35+
// The following string in Shift-JIS:
3436
// 強制終了しました。\n本体が改造されている\nおそれがあります。
3537
new(new byte?[]
3638
{
37-
0x5F, 0x37, 0x52, 0x36, 0x7D, 0x42, 0x4E, 0x86,
38-
0x30, 0x57, 0x30, 0x7E, 0x30, 0x57, 0x30, 0x5F,
39-
0x30, 0x02, 0x5C, 0x6E, 0x67, 0x2C, 0x4F, 0x53,
40-
0x30, 0x4C, 0x65, 0x39, 0x90, 0x20, 0x30, 0x55,
41-
0x30, 0x8C, 0x30, 0x66, 0x30, 0x44, 0x30, 0x8B,
42-
0x5C, 0x6E, 0x30, 0x4A, 0x30, 0x5D, 0x30, 0x8C,
43-
0x30, 0x4C, 0x30, 0x42, 0x30, 0x8A, 0x30, 0x7E,
44-
0x30, 0x59, 0x30, 0x02
39+
0x8B, 0xAD, 0x90, 0xA7, 0x8F, 0x49, 0x97, 0xB9,
40+
0x82, 0xB5, 0x82, 0xDC, 0x82, 0xB5, 0x82, 0xBD,
41+
0x81, 0x42, 0x5C, 0x6E, 0x96, 0x7B, 0x91, 0xCC,
42+
0x82, 0xAA, 0x89, 0xFC, 0x91, 0xA2, 0x82, 0xB3,
43+
0x82, 0xEA, 0x82, 0xC4, 0x82, 0xA2, 0x82, 0xE9,
44+
0x5C, 0x6E, 0x82, 0xA8, 0x82, 0xBB, 0x82, 0xEA,
45+
0x82, 0xAA, 0x82, 0xA0, 0x82, 0xE8, 0x82, 0xDC,
46+
0x82, 0xB7, 0x81, 0x42
4547
}, "PlayStation Anti-modchip (Japanese)"),
4648
};
4749

0 commit comments

Comments
 (0)