mirror of
https://github.com/RPCS3/discord-bot.git
synced 2024-12-14 22:38:38 +00:00
detect game modifications
This commit is contained in:
parent
dbf06eeb9d
commit
86cc9a391e
@ -186,6 +186,7 @@ namespace CompatBot.EventHandlers.LogParsing
|
||||
["Could not enqueue"] = new Regex(@"cellAudio: Could not enqueue buffer onto audio backend(?<enqueue_buffer_error>.).*\r?$", DefaultOptions),
|
||||
["Failed to bind device"] = new Regex(@"Failed to bind device (?<failed_pad>.+) to handler (?<failed_pad_handler>.+).*\r?$", DefaultOptions),
|
||||
["{PPU["] = new Regex(@"{PPU\[.+\]} (?<syscall_module>[^ :]+)( TODO)?: (?<syscall_name>[^ :]+)\(.*\r?$", DefaultOptions),
|
||||
["undub"] = new Regex(@"(\b|_)(?<game_mod>undub)(\b|_)", DefaultOptions | RegexOptions.IgnoreCase),
|
||||
},
|
||||
OnNewLineAsync = LimitedPiracyCheckAsync,
|
||||
OnSectionEnd = MarkAsCompleteAndReset,
|
||||
|
@ -393,6 +393,9 @@ namespace CompatBot.Utils.ResultFormatters
|
||||
|| !string.IsNullOrEmpty(items["fw_missing_something"]))
|
||||
notes.Add("❌ PS3 firmware is missing or corrupted");
|
||||
|
||||
if (items["game_mod"] is string mod)
|
||||
notes.Add($"ℹ Game files modification present: `{mod.Trim(10)}`");
|
||||
|
||||
var updateInfo = await CheckForUpdateAsync(items).ConfigureAwait(false);
|
||||
var buildBranch = items["build_branch"]?.ToLowerInvariant();
|
||||
if (updateInfo != null
|
||||
|
Loading…
Reference in New Issue
Block a user