mirror of
https://github.com/RPCS3/discord-bot.git
synced 2025-01-20 17:42:59 +00:00
add settings notes for vsh
This commit is contained in:
parent
418a5b503d
commit
56395c7aa4
@ -43,6 +43,8 @@ namespace CompatBot.Utils.ResultFormatters
|
||||
CheckSimpsonsSettings(serial, items, notes);
|
||||
CheckNierSettings(serial, items, notes);
|
||||
}
|
||||
else if (items["game_title"] == "vsh.self")
|
||||
CheckVshSettings(items, notes);
|
||||
|
||||
if (items["hook_static_functions"] is string hookStaticFunctions && hookStaticFunctions == EnabledMark)
|
||||
notes.Add("⚠ `Hook Static Functions` is enabled, please disable");
|
||||
@ -217,5 +219,24 @@ namespace CompatBot.Utils.ResultFormatters
|
||||
notes.Add("ℹ To enter the character name, disable `Native UI` and use Japanese text");
|
||||
}
|
||||
}
|
||||
|
||||
private static void CheckVshSettings(NameValueCollection items, List<string> notes)
|
||||
{
|
||||
if (items["build_branch"] is string branch
|
||||
&& !branch.Contains("vsh", StringComparison.InvariantCultureIgnoreCase))
|
||||
notes.Add("ℹ Booting `vsh.self` currently requires a special build");
|
||||
if (items["lib_loader"] is string libLoader
|
||||
&& libLoader != "Manual selection")
|
||||
notes.Add("⚠ `Library Loader` must be set to `Manual`");
|
||||
if (items["library_list"] is string libList
|
||||
&& libList != "None")
|
||||
notes.Add("⚠ Every library module must be deselected");
|
||||
if (items["debug_console_mode"] is string decrMode && decrMode != EnabledMark)
|
||||
notes.Add("⚠ `Debug Console Mode` must be enabled");
|
||||
if (items["write_color_buffers"] is string wcb && wcb != EnabledMark)
|
||||
notes.Add("ℹ `Write Color Buffers` should be enabled for proper visuals");
|
||||
if (items["cpu_blit"] is string cpuBlit && cpuBlit != EnabledMark)
|
||||
notes.Add("ℹ `Force CPU Blit` should be enabled for proper visuals");
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user