mirror of
https://github.com/RPCS3/discord-bot.git
synced 2026-01-31 01:25:22 +01:00
fix udf mod detection
This commit is contained in:
@@ -45,7 +45,8 @@ internal partial class LogParser
|
||||
["SYS: Path:"] = BootPathDigitalSys(),
|
||||
["custom config:"] = CustomConfigPath(),
|
||||
["patch_log: Failed to load patch file"] = FailedPatchPath(),
|
||||
["rpcs3.exe"] = UfcModFlag(),
|
||||
["Undisputed"] = UfcModFlag(),
|
||||
["UDF Packaged"] = UfcModFlag(),
|
||||
},
|
||||
EndTrigger = ["Used configuration:"],
|
||||
},
|
||||
@@ -280,6 +281,7 @@ internal partial class LogParser
|
||||
"tty_line",
|
||||
"bad_save_data_path",
|
||||
"bad_trophy_data_path",
|
||||
"game_mod",
|
||||
];
|
||||
|
||||
private static readonly string[] CountValueItems = ["enqueue_buffer_error"];
|
||||
|
||||
@@ -437,8 +437,8 @@ internal static partial class LogParserResult
|
||||
|| !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(20)}`");
|
||||
if (multiItems["game_mod"] is { Length: >0 } mods)
|
||||
notes.Add($"⚠️ Game files modification present: `{mods[0].Trim(40)}`");
|
||||
|
||||
var buildBranch = items["build_branch"]?.ToLowerInvariant();
|
||||
var (updateInfo, isTooOld) = await CheckForUpdateAsync(items).ConfigureAwait(false);
|
||||
|
||||
Reference in New Issue
Block a user