fix udf mod detection

This commit is contained in:
13xforever
2025-08-11 21:53:49 +05:00
parent 8636c26e12
commit 8e58633f0e
2 changed files with 5 additions and 3 deletions

View File

@@ -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"];

View File

@@ -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);