diff --git a/Program.cs b/Program.cs index d2a8df3..93c31e1 100644 --- a/Program.cs +++ b/Program.cs @@ -40,10 +40,11 @@ foreach (var patch in patches) .Zip(scanner.FindPatternsCached(signatures)!) .GroupBy(p => p.First) .ToDictionary(g => g.Key, g => g.First().Second); + var nonMatches = matches.Where(p => !p.Value.Found).ToList(); - if (matches.Any(p => !p.Value.Found)) + if (nonMatches.Count > 0) { - Console.WriteLine($"No offset found for patch {patch.Name}"); + Console.WriteLine($"No offset found for patch {patch.Name}, signatures {string.Join(",", nonMatches.Select(p => p.Key))}"); continue; } diff --git a/README.md b/README.md index 9666a31..07969b2 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ A shittily written patch finder hacked together with Originally written for CHUNITHM, hence the name, but can be used with pretty much anything as long as you have the signatures. +Does not do any patch validation for now. + ## Usage ```sh ./CHUNITHM-Patch-Finder