diff --git a/scripts/settings/UltraCam.json b/scripts/settings/UltraCam.json index 6440a29..8385013 100644 --- a/scripts/settings/UltraCam.json +++ b/scripts/settings/UltraCam.json @@ -1,6 +1,7 @@ { "ResolutionNames": [ "600p", "720p HD", "1080p FHD", "1440p QHD", "4K UHD", "6K QUHD", "8K UUHD" ], "ResolutionValues": [ "1", "2", "3", "5", "5", "6", "7"], + "UltraCamValues": [ "0", "0", "1", "2", "2", "3", "4"], "FPS": [ 20, 30, 60], "ShadowResolutionNames": [ "Default", "Very Low x103", "Low x206", "Medium x512", "High x1024", "Ultra 1536"], "ShadowResolutionValues": [ "0", "103", "206", "512", "1024", "1536" ], diff --git a/src/form.py b/src/form.py index ea8d120..9cacb47 100644 --- a/src/form.py +++ b/src/form.py @@ -1152,6 +1152,7 @@ def Create_Mod_Patch(mode=None): # Resolution scaling for MAX DFPS++ Resindex = self.ultracam_options.get("ResolutionNames").index(resolution) current_res = self.ultracam_options.get("ResolutionValues", [""])[Resindex] + ultra_res = self.ultracam_options.get("UltraCamValues", [""])[Resindex] # Yuzu settings if self.mode == "Yuzu": log.info(f"Applying {resolution} in Yuzu.") @@ -1184,7 +1185,7 @@ def Create_Mod_Patch(mode=None): config['DFPS'] = {'MaxFramerate': fps} config["Features"] = { "Fov": self.fov_var.get(), - "ResolutionScale": current_res, + "ResolutionScale": ultra_res, "ShadowResolution": shadow_value, "DisableFog": self.fog_var.get(), }