mirror of
https://github.com/RPCS3/discord-bot.git
synced 2025-01-19 09:02:32 +00:00
Detect disc games installed as a pkg
This commit is contained in:
parent
ed8a3b6ec4
commit
0f819028b0
@ -41,6 +41,7 @@ namespace CompatBot.EventHandlers.LogParsing
|
||||
["RSX:"] = new Regex(@"Physical device intialized\. GPU=(?<vulkan_gpu>.+), driver=(?<vulkan_driver_version_raw>-?\d+)\r?$", DefaultOptions),
|
||||
["Serial:"] = new Regex(@"Serial: (?<serial>[A-z]{4}\d{5})\r?$", DefaultOptions),
|
||||
["Title:"] = new Regex(@"Title: (?<game_title>.*)?\r?$", DefaultOptions),
|
||||
["Category:"] = new Regex(@"Category: (?<game_category>.*)?\r?$", DefaultOptions),
|
||||
["LDR:"] = new Regex(@"(Path|Cache): ((?<win_path>\w:/)|(?<lin_path>/[^/])).*?\r?$", DefaultOptions),
|
||||
["custom config:"] = new Regex("custom config: (?<custom_config>.*?)\r?$", DefaultOptions),
|
||||
},
|
||||
|
@ -318,8 +318,10 @@ namespace CompatBot.Utils.ResultFormatters
|
||||
notes.AppendLine("Failed to boot the game, the dump might be encrypted or corrupted");
|
||||
if (string.IsNullOrEmpty(items["ppu_decoder"]) || string.IsNullOrEmpty(items["renderer"]))
|
||||
notes.AppendLine("The log is empty, you need to run the game before uploading the log");
|
||||
if (!string.IsNullOrEmpty(items["hdd_game_path"]) && (items["serial"]?.StartsWith("BL", StringComparison.InvariantCultureIgnoreCase) ?? false))
|
||||
if (!string.IsNullOrEmpty(items["hdd_game_path"]) && !(items["serial"]?.StartsWith("NP", StringComparison.InvariantCultureIgnoreCase) ?? false))
|
||||
notes.AppendLine($"Disc game inside `{items["hdd_game_path"]}`");
|
||||
if ((items["game_category"] == "HG") && !(items["serial"]?.StartsWith("NP", StringComparison.InvariantCultureIgnoreCase) ?? false))
|
||||
notes.AppendLine("Disc game installed as a PKG 🔨; please follow the quickstart guide");
|
||||
if (!string.IsNullOrEmpty(items["native_ui_input"]))
|
||||
notes.AppendLine("Pad initialization problem detected; try disabling `Native UI`");
|
||||
if (!string.IsNullOrEmpty(items["xaudio_init_error"]))
|
||||
|
Loading…
x
Reference in New Issue
Block a user