From 68e2a7118adcf0f3daedfb3194f2227a90160899 Mon Sep 17 00:00:00 2001 From: 13xforever Date: Wed, 2 Aug 2023 19:36:51 +0500 Subject: [PATCH 1/7] add win11 23h2 build number --- CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs b/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs index ef840392..e1a12331 100644 --- a/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs +++ b/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs @@ -959,6 +959,7 @@ internal static partial class LogParserResult 22000 => "11 21H2", < 22621 => "11 22H2 Insider Build " + windowsVersion.Build, 22621 => "11 22H2", + 22631 => "11 23H2", < 23000 => "11 Beta Build " + windowsVersion.Build, // 22k series < 24000 => "11 Dev Build " + windowsVersion.Build, // 23k series < 25000 => "11 ??? Build " + windowsVersion.Build, From ba5c79ea6262b1a52dbdf6ff8dc3dce22cd9419c Mon Sep 17 00:00:00 2001 From: 13xforever Date: Tue, 19 Sep 2023 11:39:53 +0500 Subject: [PATCH 2/7] upgrade dependencies --- Clients/CirrusCiClient/CirrusCiClient.csproj | 2 +- Clients/CompatApiClient/CompatApiClient.csproj | 2 +- .../IrdLibraryClient/IrdLibraryClient.csproj | 2 +- CompatBot/Commands/Vision.cs | 10 ++++------ CompatBot/CompatBot.csproj | 18 +++++++++--------- SourceGenerators/SourceGenerators.csproj | 2 +- Tests/Tests.csproj | 4 ++-- 7 files changed, 19 insertions(+), 21 deletions(-) diff --git a/Clients/CirrusCiClient/CirrusCiClient.csproj b/Clients/CirrusCiClient/CirrusCiClient.csproj index 34b99db7..83904cec 100644 --- a/Clients/CirrusCiClient/CirrusCiClient.csproj +++ b/Clients/CirrusCiClient/CirrusCiClient.csproj @@ -11,6 +11,6 @@ - + \ No newline at end of file diff --git a/Clients/CompatApiClient/CompatApiClient.csproj b/Clients/CompatApiClient/CompatApiClient.csproj index d5d8c4b7..50d5e0da 100644 --- a/Clients/CompatApiClient/CompatApiClient.csproj +++ b/Clients/CompatApiClient/CompatApiClient.csproj @@ -17,7 +17,7 @@ - + diff --git a/Clients/IrdLibraryClient/IrdLibraryClient.csproj b/Clients/IrdLibraryClient/IrdLibraryClient.csproj index d332374b..acc5084c 100644 --- a/Clients/IrdLibraryClient/IrdLibraryClient.csproj +++ b/Clients/IrdLibraryClient/IrdLibraryClient.csproj @@ -7,7 +7,7 @@ - + diff --git a/CompatBot/Commands/Vision.cs b/CompatBot/Commands/Vision.cs index 1546c9f0..7f2a97b7 100644 --- a/CompatBot/Commands/Vision.cs +++ b/CompatBot/Commands/Vision.cs @@ -109,9 +109,7 @@ internal sealed class Vision: BaseCommandModuleCustom await using (var stream = await httpClient.GetStreamAsync(imageUrl).ConfigureAwait(false)) await stream.CopyToAsync(imageStream).ConfigureAwait(false); imageStream.Seek(0, SeekOrigin.Begin); -#pragma warning disable VSTHRD103 - using var img = Image.Load(imageStream, out var imgFormat); -#pragma warning restore VSTHRD103 + using var img = await Image.LoadAsync(imageStream).ConfigureAwait(false); imageStream.Seek(0, SeekOrigin.Begin); //resize and shrink file size to get under azure limits @@ -123,7 +121,7 @@ internal sealed class Vision: BaseCommandModuleCustom resized = true; } img.Mutate(i => i.AutoOrient()); - if (resized || imgFormat.Name != JpegFormat.Instance.Name) + if (resized || img.Metadata.DecodedImageFormat?.Name != JpegFormat.Instance.Name) { imageStream.SetLength(0); await img.SaveAsync(imageStream, new JpegEncoder {Quality = 90}).ConfigureAwait(false); @@ -236,7 +234,7 @@ internal sealed class Vision: BaseCommandModuleCustom var complementaryColor = complementaryPalette[i % complementaryPalette.Count]; var textOptions = new TextOptions(font) { - KerningMode = KerningMode.Normal, + KerningMode = KerningMode.Standard, #if LABELS_INSIDE WrapTextWidth = r.W - 10, #endif @@ -244,7 +242,7 @@ internal sealed class Vision: BaseCommandModuleCustom var textDrawingOptions = new DrawingOptions {GraphicsOptions = fgGop/*, TextOptions = textOptions*/}; //var brush = Brushes.Solid(Color.Black); //var pen = Pens.Solid(color, 2); - var textBox = TextMeasurer.Measure(label, textOptions); + var textBox = TextMeasurer.MeasureBounds(label, textOptions); #if LABELS_INSIDE var textHeightScale = (int)Math.Ceiling(textBox.Width / Math.Min(img.Width - r.X - 10 - 4 * scale, r.W - 4 * scale)); #endif diff --git a/CompatBot/CompatBot.csproj b/CompatBot/CompatBot.csproj index 70aa72ec..9f95c26c 100644 --- a/CompatBot/CompatBot.csproj +++ b/CompatBot/CompatBot.csproj @@ -43,31 +43,31 @@ - + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + - + - - + + - - + + diff --git a/SourceGenerators/SourceGenerators.csproj b/SourceGenerators/SourceGenerators.csproj index 0adb22e1..76044ff8 100644 --- a/SourceGenerators/SourceGenerators.csproj +++ b/SourceGenerators/SourceGenerators.csproj @@ -7,7 +7,7 @@ - + diff --git a/Tests/Tests.csproj b/Tests/Tests.csproj index 141db526..c2ec51f6 100644 --- a/Tests/Tests.csproj +++ b/Tests/Tests.csproj @@ -6,13 +6,13 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive From 5419938ac1fa8a8ac46d917211a8db2f2b673db8 Mon Sep 17 00:00:00 2001 From: 13xforever Date: Tue, 19 Sep 2023 11:45:46 +0500 Subject: [PATCH 3/7] bump recommended amd driver version fixes #936 --- .../LogParserResultFormatter.GeneralNotesSection.cs | 2 +- CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.GeneralNotesSection.cs b/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.GeneralNotesSection.cs index cc660e1b..9f37d2d0 100644 --- a/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.GeneralNotesSection.cs +++ b/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.GeneralNotesSection.cs @@ -313,7 +313,7 @@ internal static partial class LogParserResult else if (driverVersionString.Contains("older than", StringComparison.InvariantCultureIgnoreCase)) { if (IsAmd(gpuInfo)) - notes.Add($"❗ Please update your AMD GPU driver to version {AmdLastGoodOpenGLWindowsVersion} or newer"); + notes.Add($"❗ Please update your AMD GPU driver to version {AmdRecommendedOldWindowsVersion} or newer"); } } } diff --git a/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs b/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs index e1a12331..8cae65d1 100644 --- a/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs +++ b/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs @@ -65,8 +65,7 @@ internal static partial class LogParserResult private static readonly Version NvidiaRecommendedWindowsVersion = new(512, 16); private static readonly Version NvidiaRecommendedLinuxVersion = new(515, 57); - private static readonly Version AmdRecommendedOldWindowsVersion = new(22, 5, 2); - private static readonly Version AmdLastGoodOpenGLWindowsVersion = new(22, 5, 2); + private static readonly Version AmdRecommendedOldWindowsVersion = new(23, 2, 1); private static readonly Version NvidiaFullscreenBugFixed = new(0, 0, 6, 8204); private static readonly Version TsxFaFixedVersion = new(0, 0, 12, 10995); From fcd88cef82997adfab2e0f1be13737ca04cc751a Mon Sep 17 00:00:00 2001 From: 13xforever Date: Tue, 19 Sep 2023 12:09:13 +0500 Subject: [PATCH 4/7] only show simpsons note on older builds without patch applied fixes #941 --- ...arserResultFormatter.GeneralNotesSection.cs | 7 ++----- ...rserResultFormatter.WeirdSettingsSection.cs | 18 ++++++++++-------- .../LogParserResultFormatter.cs | 13 +++++++++---- 3 files changed, 21 insertions(+), 17 deletions(-) diff --git a/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.GeneralNotesSection.cs b/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.GeneralNotesSection.cs index 9f37d2d0..f4101d2b 100644 --- a/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.GeneralNotesSection.cs +++ b/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.GeneralNotesSection.cs @@ -37,9 +37,7 @@ internal static partial class LogParserResult var serial = items["serial"] ?? ""; BuildFatalErrorSection(builder, items, multiItems, notes); - Version? buildVersion = null; - if (items["build_branch"] is "HEAD" or "master") - Version.TryParse(items["build_full_version"], out buildVersion); + TryGetRpcs3Version(items, out var buildVersion); var supportedGpu = string.IsNullOrEmpty(items["rsx_unsupported_gpu"]) && items["supported_gpu"] != DisabledMark; var unsupportedGpuDriver = false; if (Config.Colors.CompatStatusNothing.Equals(builder.Color.Value) || Config.Colors.CompatStatusLoadable.Equals(builder.Color.Value)) @@ -541,8 +539,7 @@ internal static partial class LogParserResult } else if (fatalError.Contains("RSX Decompiler Thread")) { - if (items["build_branch"] is "HEAD" or "master" - && Version.TryParse(items["build_full_version"], out var v) + if (TryGetRpcs3Version(items, out var v) && v >= DecompilerIssueStartVersion && v < DecompilerIssueEndVersion) { diff --git a/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.WeirdSettingsSection.cs b/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.WeirdSettingsSection.cs index 048f791b..641c5bf5 100644 --- a/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.WeirdSettingsSection.cs +++ b/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.WeirdSettingsSection.cs @@ -29,9 +29,7 @@ internal static partial class LogParserResult var hasTsxFa = items["cpu_extensions"]?.Contains("TSX-FA") ?? false; items["has_tsx"] = hasTsx ? EnabledMark : DisabledMark; items["has_tsx_fa"] = hasTsxFa ? EnabledMark : DisabledMark; - Version? buildVersion = null; - if (items["build_branch"] is "HEAD" or "master" - && Version.TryParse(items["build_full_version"], out buildVersion) + if (TryGetRpcs3Version(items, out var buildVersion) && buildVersion < TsxFaFixedVersion) { if (items["enable_tsx"] == "Disabled" && hasTsx && !hasTsxFa) @@ -403,7 +401,7 @@ internal static partial class LogParserResult CheckP5Settings(serial, items, notes, generalNotes, ppuHashes, ppuPatches, patchNames); CheckAsurasWrathSettings(serial, items, notes); CheckJojoSettings(serial, state, notes, ppuPatches, ppuHashes, generalNotes); - CheckSimpsonsSettings(serial, generalNotes); + CheckSimpsonsSettings(serial, items, generalNotes, ppuPatches, patchNames); CheckNierSettings(serial, items, notes, ppuPatches, ppuHashes, generalNotes); CheckDod3Settings(serial, items, notes, ppuPatches, ppuHashes, generalNotes); CheckScottPilgrimSettings(serial, items, notes, generalNotes); @@ -700,9 +698,14 @@ internal static partial class LogParserResult } } - private static void CheckSimpsonsSettings(string serial, List generalNotes) + private static void CheckSimpsonsSettings(string serial, NameValueCollection items, List generalNotes, Dictionary ppuPatches, UniqueList patchNames) { - if (serial is "BLES00142" or "BLUS30065") + if (serial is not ("BLES00142" or "BLUS30065")) + return; + + var hasPatch = ppuPatches.Any() && patchNames.Any(n => n.Contains("Fix pad initialization", StringComparison.OrdinalIgnoreCase)); + if ((!TryGetRpcs3Version(items, out var v) || v < FixedSimpsonsBuild) + && !hasPatch) generalNotes.Add("ℹ️ This game has a controller initialization bug. Please use [the patch](https://wiki.rpcs3.net/index.php?title=The_Simpsons_Game#Patches)."); } @@ -944,8 +947,7 @@ internal static partial class LogParserResult notes.Add("⚠️ Please enable `Read Color Buffers`"); var depthBufferPatchesAreApplied = ppuPatches.Any() && patchNames.Count(n => n.Contains("depth buffer", StringComparison.OrdinalIgnoreCase)) > 1; - if (items["build_branch"] is "HEAD" or "master" - && Version.TryParse(items["build_full_version"], out var buildVersion) + if (TryGetRpcs3Version(items, out var buildVersion) && buildVersion < FixedTlouRcbBuild) { if (items["read_depth_buffer"] == EnabledMark) diff --git a/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs b/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs index 8cae65d1..db66739c 100644 --- a/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs +++ b/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs @@ -73,9 +73,8 @@ internal static partial class LogParserResult private static readonly Version IntelThreadSchedulerBuildVersion = new(0, 0, 15, 12008); private static readonly Version PsnDiscFixBuildVersion = new(0, 0, 18, 12783); private static readonly Version CubebBuildVersion = new(0, 0, 19, 13050); - private static readonly Version FixedTlouRcbBuild = new Version(0, 0, 21, 13432); // the best I got was "it was fixed more than a year ago", so it's just a random build from a year ago - - + private static readonly Version FixedTlouRcbBuild = new(0, 0, 21, 13432); // the best I got was "it was fixed more than a year ago", so it's just a random build from a year ago + private static readonly Version FixedSimpsonsBuild = new(0, 0, 29, 15470); private static readonly Dictionary RsxPresentModeMap = new() { @@ -432,7 +431,7 @@ internal static partial class LogParserResult } else { - builder = new DiscordEmbedBuilder + builder = new() { Description = "Log analysis failed. Please try again.", Color = Config.Colors.LogResultFailed, @@ -1189,4 +1188,10 @@ internal static partial class LogParserResult } return result; } + + private static bool TryGetRpcs3Version(NameValueCollection items, out Version? version) + { + version = null; + return items["build_branch"] is "HEAD" or "master" && Version.TryParse(items["build_full_version"], out version); + } } From 8ad8ebd69ae6748749c939c90d54aee4490780da Mon Sep 17 00:00:00 2001 From: 13xforever Date: Tue, 19 Sep 2023 12:28:32 +0500 Subject: [PATCH 5/7] update xfloat mode extractor fixes #940 --- .../LogParsing/LogParser.LogSections.cs | 1 + ...serResultFormatter.WeirdSettingsSection.cs | 35 +++++------------- .../LogParserResultFormatter.cs | 36 ++++++++++--------- 3 files changed, 29 insertions(+), 43 deletions(-) diff --git a/CompatBot/EventHandlers/LogParsing/LogParser.LogSections.cs b/CompatBot/EventHandlers/LogParsing/LogParser.LogSections.cs index 83760068..cc1d2114 100644 --- a/CompatBot/EventHandlers/LogParsing/LogParser.LogSections.cs +++ b/CompatBot/EventHandlers/LogParsing/LogParser.LogSections.cs @@ -76,6 +76,7 @@ internal partial class LogParser ["Accurate xfloat:"] = new(@"Accurate xfloat: (?.*?)\r?$", DefaultOptions), ["Approximate xfloat:"] = new(@"Approximate xfloat: (?.*?)\r?$", DefaultOptions), ["Relaxed xfloat:"] = new(@"Relaxed xfloat: (?.*?)\r?$", DefaultOptions), + ["XFloat Accuracy:"] = new(@"XFloat Accuracy: (?.*?)\r?$", DefaultOptions), ["Accurate GETLLAR:"] = new(@"Accurate GETLLAR: (?.*?)\r?$", DefaultOptions), ["Accurate PUTLLUC:"] = new(@"Accurate PUTLLUC: (?.*?)\r?$", DefaultOptions), ["Accurate RSX reservation access:"] = new(@"Accurate RSX reservation access: (?.*?)\r?$", DefaultOptions), diff --git a/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.WeirdSettingsSection.cs b/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.WeirdSettingsSection.cs index 641c5bf5..99b80150 100644 --- a/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.WeirdSettingsSection.cs +++ b/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.WeirdSettingsSection.cs @@ -269,33 +269,14 @@ internal static partial class LogParserResult if (items["accurate_rsx_reservation"] == EnabledMark) notes.Add("ℹ️ `Accurate RSX Reservation Access` is enabled"); - if (items["accurate_xfloat"] is string accurateXfloat) - { - if (accurateXfloat == EnabledMark) - { - if (!KnownGamesThatRequireAccurateXfloat.Contains(serial)) - notes.Add("⚠️ `Accurate xfloat` is not required, and significantly impacts performance"); - } - else - { - if (KnownGamesThatRequireAccurateXfloat.Contains(serial)) - notes.Add("⚠️ `Accurate xfloat` is required for this game, but it will significantly impact performance"); - } - } - if (items["relaxed_xfloat"] is DisabledMark) - { - if (KnownNoRelaxedXFloatIds.Contains(serial)) - notes.Add("ℹ️ `Relaxed xfloat` is disabled"); - else - notes.Add("⚠️ `Relaxed xfloat` is disabled, please enable"); - } - if (items["approximate_xfloat"] is DisabledMark) - { - if (KnownNoApproximateXFloatIds.Contains(serial)) - notes.Add("ℹ️ `Approximate xfloat` is disabled"); - else - notes.Add("⚠️ `Approximate xfloat` is disabled, please enable"); - } + if (KnownGamesThatRequireAccurateXfloat.Contains(serial) && items["xfloat_mode"] is not "Accurate") + notes.Add("⚠️ `Accurate xfloat` is required for this game"); + else if (items["xfloat_mode"] is "Accurate" && !KnownGamesThatRequireAccurateXfloat.Contains(serial)) + notes.Add("⚠️ `Accurate xfloat` is not required, and significantly impacts performance"); + else if (items["xfloat_mode"] is "Relaxed" or "Inaccurate" && !KnownNoApproximateXFloatIds.Contains(serial)) + notes.Add("⚠️ `Approximate xfloat` is disabled, please enable"); + else if (items["xfloat_mode"] is "Inaccurate" && !KnownNoRelaxedXFloatIds.Contains(serial)) + notes.Add("⚠️ `Relaxed xfloat` is disabled, please enable"); if (items["resolution_scale"] is string resScale && int.TryParse(resScale, out var resScaleFactor)) { diff --git a/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs b/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs index db66739c..ec463fab 100644 --- a/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs +++ b/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs @@ -604,26 +604,30 @@ internal static partial class LogParserResult if (items["cpu_preempt_count"] is "0") items["cpu_preempt_count"] = "Disabled"; - if (items["relaxed_xfloat"] is null) + if (items["xfloat_mode"] is null) // accurate, approximate, relaxed, inaccurate { - items["xfloat_mode"] = (items["accurate_xfloat"], items["approximate_xfloat"]) switch + if (items["relaxed_xfloat"] is null) { - ( "true", _) => "Accurate", - ( _, "true") => "Approximate", - ( _, _) v => $"[{(v.Item1 == "true"? "a" : "-")}{(v.Item2 == "true"? "x" : "-")}]", - }; - } - else - { - items["xfloat_mode"] = (items["accurate_xfloat"], items["approximate_xfloat"], items["relaxed_xfloat"]) switch + items["xfloat_mode"] = (items["accurate_xfloat"], items["approximate_xfloat"]) switch + { + ("true", _) => "Accurate", + (_, "true") => "Approximate", + (_, _) v => $"[{(v.Item1 == "true" ? "a" : "-")}{(v.Item2 == "true" ? "x" : "-")}]", + }; + } + else { - ( "true", "false", "true") => "Accurate", - ("false", "true", "true") => "Approximate", - ("false", "false", "true") => "Relaxed", - ( _, _, _) v => $"[{(v.Item1 == "true"? "a" : "-")}{(v.Item2 == "true"? "x" : "-")}{(v.Item3 == "true"? "r" : "-")}]", - }; + items["xfloat_mode"] = (items["accurate_xfloat"], items["approximate_xfloat"], items["relaxed_xfloat"]) switch + { + ("true", "false", "true") => "Accurate", + ("false", "true", "true") => "Approximate", + ("false", "false", "true") => "Relaxed", + ("false", "false", "false") => "Inaccurate", + (_, _, _) v => $"[{(v.Item1 == "true" ? "a" : "-")}{(v.Item2 == "true" ? "x" : "-")}{(v.Item3 == "true" ? "r" : "-")}]", + }; + } } - + static string? reformatDecoder(string? dec) { if (string.IsNullOrEmpty(dec)) From 80748130c204e3ee0f2f69ab22909b010f4f9c3b Mon Sep 17 00:00:00 2001 From: 13xforever Date: Tue, 19 Sep 2023 12:44:41 +0500 Subject: [PATCH 6/7] remove dummy cirrus-ci build config --- .cirrus.yml | 6 ------ discord-bot-net.sln | 1 - 2 files changed, 7 deletions(-) delete mode 100644 .cirrus.yml diff --git a/.cirrus.yml b/.cirrus.yml deleted file mode 100644 index a55f5627..00000000 --- a/.cirrus.yml +++ /dev/null @@ -1,6 +0,0 @@ -task: - name: Dummy - container: - image: alpine:latest - script: - - echo "wtf is this shit and why should I configure this to prevent it executing Dockerfile" \ No newline at end of file diff --git a/discord-bot-net.sln b/discord-bot-net.sln index e1b6d4fc..70bdaae3 100644 --- a/discord-bot-net.sln +++ b/discord-bot-net.sln @@ -21,7 +21,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GithubClient", "Clients\Git EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{AD87F38F-BFCE-4EA6-A430-20C497552FD7}" ProjectSection(SolutionItems) = preProject - .cirrus.yml = .cirrus.yml .github\workflows\codeql-analysis.yml = .github\workflows\codeql-analysis.yml CONTRIBUTING.md = CONTRIBUTING.md docker-compose.example.yml = docker-compose.example.yml From 8a05761d400f7dc12fa206c086c975bbe9826ced Mon Sep 17 00:00:00 2001 From: 13xforever Date: Wed, 20 Sep 2023 18:37:22 +0500 Subject: [PATCH 7/7] update macos version mapping --- CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs b/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs index ec463fab..c78f60c0 100644 --- a/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs +++ b/CompatBot/Utils/ResultFormatters/LogParserResultFormatter.cs @@ -1035,6 +1035,7 @@ internal static partial class LogParserResult 11 => "macOS Big Sur", 12 => "macOS Monterey", 13 => "macOS Ventura", + 14 => "macOS Sonoma", _ => null, };