Merge branch 'patch-10'

This commit is contained in:
13xforever
2025-07-05 22:03:01 +05:00

View File

@@ -1140,14 +1140,18 @@ internal static partial class LogParserResult
[
"BLJM60527", "BLUS31319", "BLAS50576",
"NPEB01393", "NPUB31241", "NPHB00559", "NPJB00287",
"NPEB90498", "NPJB90588", "NPUB90958", // demo
];
private static readonly HashSet<string> KnownPdfPatches = new(StringComparer.InvariantCultureIgnoreCase)
{
"f3227f57ec001582b253035fd90de77f05ead470",
"c02e3b52e3d75f52f76fb8f0fb5be7ca4d921949",
"1105af0a4d6a4a1481930c6f3090c476cde06c4c",
"f3227f57ec001582b253035fd90de77f05ead470", // US
"c02e3b52e3d75f52f76fb8f0fb5be7ca4d921949", // EU
"1105af0a4d6a4a1481930c6f3090c476cde06c4c", // JP
"b0e0b8683e771af7d47758d2ba16629752741a86", // NPEB90498
"3b862822377252f92731dfd2ba39a809de09a987", // NPJB90588
"ccbe4a3f3e934995c7526610d9fcb5282dd64044", // NPUB90958
};
private static readonly HashSet<string> Pdf2ndIds =
@@ -1173,17 +1177,15 @@ internal static partial class LogParserResult
if (!PdfIds.Contains(serial) && !Pdf2ndIds.Contains(serial))
return;
if (!ppuPatches.Any())
if (ppuPatches.Count is 0)
{
if (ppuHashes.Overlaps(KnownPdfPatches))
generalNotes.Add(" This game has an FPS unlock patch");
else if (ppuHashes.Overlaps(KnownPdf2ndPatches))
if (ppuHashes.Overlaps(KnownPdfPatches) || ppuHashes.Overlaps(KnownPdf2ndPatches))
generalNotes.Add(" This game has an FPS unlock patch");
}
if (items["frame_limit"] is not null and not "Off")
notes.Add("⚠️ `Frame Limiter` should be `Off`");
if (!ppuHashes.Overlaps(KnownPdf2ndPatches))
if (Pdf2ndIds.Contains(serial) && !ppuHashes.Overlaps(KnownPdf2ndPatches))
generalNotes.Add("🤔 Very interesting version of the game you got there");
}