mirror of
https://github.com/RPCS3/discord-bot.git
synced 2025-02-26 12:47:49 +00:00
check for stretched display and move disable vertex cache check
This commit is contained in:
parent
4e6ce53513
commit
03dd80d4cb
@ -107,6 +107,7 @@ namespace CompatBot.EventHandlers.LogParsing
|
||||
["Read Depth Buffer:"] = new Regex("Read Depth Buffer: (?<read_depth_buffer>.*?)\r?$", DefaultOptions),
|
||||
["VSync:"] = new Regex("VSync: (?<vsync>.*?)\r?$", DefaultOptions),
|
||||
["GPU texture scaling:"] = new Regex("Use GPU texture scaling: (?<gpu_texture_scaling>.*?)\r?$", DefaultOptions),
|
||||
["Stretch To Display Area:"] = new Regex("Stretch To Display Area: (?<stretch_to_display>.*?)\r?$", DefaultOptions),
|
||||
["Strict Rendering Mode:"] = new Regex("Strict Rendering Mode: (?<strict_rendering_mode>.*?)\r?$", DefaultOptions),
|
||||
["Occlusion Queries:"] = new Regex("Occlusion Queries: (?<zcull>.*?)\r?$", DefaultOptions),
|
||||
["Vertex Cache:"] = new Regex("Disable Vertex Cache: (?<vertex_cache>.*?)\r?$", DefaultOptions),
|
||||
|
@ -33,7 +33,7 @@ namespace CompatBot.EventHandlers
|
||||
public static async Task MonitorAsync(DiscordClient client)
|
||||
{
|
||||
var lastCheck = DateTime.UtcNow.AddDays(-1);
|
||||
var resetThreshold = TimeSpan.FromMinutes(5);
|
||||
var resetThreshold = TimeSpan.FromMinutes(10);
|
||||
try
|
||||
{
|
||||
while (!Config.Cts.IsCancellationRequested)
|
||||
|
@ -364,12 +364,6 @@ namespace CompatBot.Utils.ResultFormatters
|
||||
notes.Add("⚠ An old version of the 60 fps patch is used");
|
||||
}
|
||||
|
||||
if (KnownDisableVertexCacheIds.Contains(serial))
|
||||
{
|
||||
if (items["vertex_cache"] == DisabledMark)
|
||||
notes.Add("⚠ This game requires disabling `Vertex Cache` in the GPU tab of the Settings");
|
||||
}
|
||||
|
||||
bool discInsideGame = false;
|
||||
bool discAsPkg = false;
|
||||
var pirateEmoji = discordClient.GetEmoji(":piratethink:", DiscordEmoji.FromUnicode("🔨"));
|
||||
|
@ -41,6 +41,13 @@ namespace CompatBot.Utils.ResultFormatters
|
||||
if (dimensions.Length > 1 && int.TryParse(dimensions[1], out var height) && height < 720)
|
||||
notes.Add("⚠ `Resolution` below 720p will not improve performance");
|
||||
}
|
||||
if (items["stretch_to_display"] == EnabledMark)
|
||||
notes.Add("🤮 `Stretch to Display Area` is enabled");
|
||||
if (KnownDisableVertexCacheIds.Contains(serial))
|
||||
{
|
||||
if (items["vertex_cache"] == DisabledMark)
|
||||
notes.Add("⚠ This game requires disabling `Vertex Cache` in the GPU tab of the Settings");
|
||||
}
|
||||
|
||||
if (items["ppu_decoder"] is string ppuDecoder)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user