From 6bdfc1398798101ca8ec7feaeb00edfe0473d302 Mon Sep 17 00:00:00 2001 From: Alessio Di Giacomo Date: Wed, 19 Aug 2020 18:24:49 +0200 Subject: [PATCH] Autoselect 8K internal rendering if an high res monitor is used --- mgs2 v's fix/Ocelot.cs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/mgs2 v's fix/Ocelot.cs b/mgs2 v's fix/Ocelot.cs index ff1d124..dbd4e46 100644 --- a/mgs2 v's fix/Ocelot.cs +++ b/mgs2 v's fix/Ocelot.cs @@ -1414,7 +1414,16 @@ public static void startAutoconfig() // Graphics //defaultConfig.Graphics["RenderingSize"]="high"; - defaultConfig.Graphics["InternalResolution"] = "2K"; + + if (Double.Parse(defaultConfig.Resolution["Height"]) >= 1440d) + { + defaultConfig.Graphics["InternalResolution"] = "8K"; + } + else + { + defaultConfig.Graphics["InternalResolution"] = "2K"; + } + defaultConfig.Graphics["ShadowDetail"] = "high"; defaultConfig.Graphics["ModelQuality"] = "medium"; defaultConfig.Graphics["RenderingClearness"] = "high";