From b1d54e416bc066682d78bf5121bb191c393dc3a5 Mon Sep 17 00:00:00 2001 From: Dentomologist Date: Sun, 8 Sep 2024 11:36:22 -0700 Subject: [PATCH] GameSettings: Disable GPU Texture Decoding when needed Arbitrary Mipmap Detection doesn't work when GPU Texture Decoding is enabled, so disable GPU Texture Decoding for games where the .ini enables Arbitrary Mipmap Detection. Co-authored-by: jeremyie <73066289+McAchi@users.noreply.github.com> --- Data/Sys/GameSettings/DAX.ini | 5 +++++ Data/Sys/GameSettings/GMS.ini | 5 +++++ Data/Sys/GameSettings/GZ2.ini | 4 ++++ Data/Sys/GameSettings/GZL.ini | 5 +++++ Data/Sys/GameSettings/RMG.ini | 5 +++++ Data/Sys/GameSettings/RZD.ini | 4 ++++ Data/Sys/GameSettings/SB4.ini | 5 +++++ Data/Sys/GameSettings/SOU.ini | 5 +++++ 8 files changed, 38 insertions(+) diff --git a/Data/Sys/GameSettings/DAX.ini b/Data/Sys/GameSettings/DAX.ini index f02ea1326f..c5bd4dbd9f 100644 --- a/Data/Sys/GameSettings/DAX.ini +++ b/Data/Sys/GameSettings/DAX.ini @@ -18,3 +18,8 @@ EFBEmulateFormatChanges = True [Video_Enhancements] ArbitraryMipmapDetection = True + +[Video_Settings] +# Allow the ArbitraryMipmapDetection setting to take effect. + +EnableGPUTextureDecoding = False diff --git a/Data/Sys/GameSettings/GMS.ini b/Data/Sys/GameSettings/GMS.ini index cdb6692d75..c15b95c6ae 100644 --- a/Data/Sys/GameSettings/GMS.ini +++ b/Data/Sys/GameSettings/GMS.ini @@ -24,5 +24,10 @@ MissingColorValue = 0x00000000 ForceTextureFiltering = False ArbitraryMipmapDetection = True +[Video_Settings] +# Allow the ArbitraryMipmapDetection setting to take effect. + +EnableGPUTextureDecoding = False + [Video_Stereoscopy] StereoConvergence = 732 diff --git a/Data/Sys/GameSettings/GZ2.ini b/Data/Sys/GameSettings/GZ2.ini index 2b0ea98978..52b2771bf7 100644 --- a/Data/Sys/GameSettings/GZ2.ini +++ b/Data/Sys/GameSettings/GZ2.ini @@ -28,5 +28,9 @@ VISkip = False CPUCull = True +# Allow the ArbitraryMipmapDetection setting to take effect. + +EnableGPUTextureDecoding = False + [Video_Enhancements] ArbitraryMipmapDetection = True diff --git a/Data/Sys/GameSettings/GZL.ini b/Data/Sys/GameSettings/GZL.ini index d734819871..2bbdc2625d 100644 --- a/Data/Sys/GameSettings/GZL.ini +++ b/Data/Sys/GameSettings/GZL.ini @@ -27,3 +27,8 @@ ArbitraryMipmapDetection = True [Video_Stereoscopy] StereoConvergence = 115 + +[Video_Settings] +# Allow the ArbitraryMipmapDetection setting to take effect. + +EnableGPUTextureDecoding = False diff --git a/Data/Sys/GameSettings/RMG.ini b/Data/Sys/GameSettings/RMG.ini index b5a2976662..9bd4d366a5 100644 --- a/Data/Sys/GameSettings/RMG.ini +++ b/Data/Sys/GameSettings/RMG.ini @@ -17,3 +17,8 @@ EFBAccessDeferInvalidation = True [Video_Enhancements] ArbitraryMipmapDetection = True + +[Video_Settings] +# Allow the ArbitraryMipmapDetection setting to take effect. + +EnableGPUTextureDecoding = False diff --git a/Data/Sys/GameSettings/RZD.ini b/Data/Sys/GameSettings/RZD.ini index 785abb11e1..a425968ba7 100644 --- a/Data/Sys/GameSettings/RZD.ini +++ b/Data/Sys/GameSettings/RZD.ini @@ -28,5 +28,9 @@ VISkip = False CPUCull = True +# Allow the ArbitraryMipmapDetection setting to take effect. + +EnableGPUTextureDecoding = False + [Video_Enhancements] ArbitraryMipmapDetection = True diff --git a/Data/Sys/GameSettings/SB4.ini b/Data/Sys/GameSettings/SB4.ini index b05b10039c..541e64c433 100644 --- a/Data/Sys/GameSettings/SB4.ini +++ b/Data/Sys/GameSettings/SB4.ini @@ -20,3 +20,8 @@ ArbitraryMipmapDetection = True [Video_Stereoscopy] StereoConvergence = 929 + +[Video_Settings] +# Allow the ArbitraryMipmapDetection setting to take effect. + +EnableGPUTextureDecoding = False diff --git a/Data/Sys/GameSettings/SOU.ini b/Data/Sys/GameSettings/SOU.ini index fd34a24f82..30f66207e3 100644 --- a/Data/Sys/GameSettings/SOU.ini +++ b/Data/Sys/GameSettings/SOU.ini @@ -16,3 +16,8 @@ EFBEmulateFormatChanges = True [Video_Enhancements] ArbitraryMipmapDetection = True + +[Video_Settings] +# Allow the ArbitraryMipmapDetection setting to take effect. + +EnableGPUTextureDecoding = False