From a73088d501699dbf5c1f3ba548ca2dfac7e3f06e Mon Sep 17 00:00:00 2001 From: intra0 Date: Thu, 12 Dec 2024 14:13:12 -0600 Subject: [PATCH] Version Downgrade for Compatability --- .../Graphics/023831cdf6638473_00000000000003c9_ps.txt | 2 +- .../Graphics/24d99fe8b4e5f576_0000000000000000_vs.txt | 2 +- .../Graphics/294904d1771460cf_0000000000000079_ps.txt | 2 +- .../Graphics/8fdd009324e987ee_0000000000000079_ps.txt | 4 ++-- src/ShantaeHGH/Graphics/rules.txt | 7 ++----- 5 files changed, 7 insertions(+), 10 deletions(-) diff --git a/src/ShantaeHGH/Graphics/023831cdf6638473_00000000000003c9_ps.txt b/src/ShantaeHGH/Graphics/023831cdf6638473_00000000000003c9_ps.txt index 9bbaf880..806ac468 100644 --- a/src/ShantaeHGH/Graphics/023831cdf6638473_00000000000003c9_ps.txt +++ b/src/ShantaeHGH/Graphics/023831cdf6638473_00000000000003c9_ps.txt @@ -1,4 +1,4 @@ -#version 460 +#version 450 #extension GL_ARB_texture_gather : enable #extension GL_ARB_separate_shader_objects : enable #ifdef VULKAN diff --git a/src/ShantaeHGH/Graphics/24d99fe8b4e5f576_0000000000000000_vs.txt b/src/ShantaeHGH/Graphics/24d99fe8b4e5f576_0000000000000000_vs.txt index 062c5108..c40922c1 100644 --- a/src/ShantaeHGH/Graphics/24d99fe8b4e5f576_0000000000000000_vs.txt +++ b/src/ShantaeHGH/Graphics/24d99fe8b4e5f576_0000000000000000_vs.txt @@ -1,4 +1,4 @@ -#version 460 +#version 450 #extension GL_ARB_texture_gather : enable #extension GL_ARB_separate_shader_objects : enable #extension GL_ARB_shading_language_packing : enable ////////// diff --git a/src/ShantaeHGH/Graphics/294904d1771460cf_0000000000000079_ps.txt b/src/ShantaeHGH/Graphics/294904d1771460cf_0000000000000079_ps.txt index 989d18c3..3f8a2bef 100644 --- a/src/ShantaeHGH/Graphics/294904d1771460cf_0000000000000079_ps.txt +++ b/src/ShantaeHGH/Graphics/294904d1771460cf_0000000000000079_ps.txt @@ -1,4 +1,4 @@ -#version 460 +#version 450 #extension GL_ARB_texture_gather : enable #extension GL_ARB_separate_shader_objects : enable #ifdef VULKAN diff --git a/src/ShantaeHGH/Graphics/8fdd009324e987ee_0000000000000079_ps.txt b/src/ShantaeHGH/Graphics/8fdd009324e987ee_0000000000000079_ps.txt index dd50b282..44528263 100644 --- a/src/ShantaeHGH/Graphics/8fdd009324e987ee_0000000000000079_ps.txt +++ b/src/ShantaeHGH/Graphics/8fdd009324e987ee_0000000000000079_ps.txt @@ -1,4 +1,4 @@ -#version 460 +#version 450 #extension GL_ARB_texture_gather : enable #extension GL_ARB_separate_shader_objects : enable #ifdef VULKAN @@ -28,7 +28,7 @@ uniform vec2 uf_fragCoordScale; // shader 8fdd009324e987ee -//horizontal blur +//horizontal blur const float resScale = (float($width)/float($gameWidth)); TEXTURE_LAYOUT(0, 1, 0) uniform sampler2D textureUnitPS0;// Tex0 addr 0xf5b94000 res 480x270x1 dim 1 tm: 4 format 001a compSel: 0 1 2 3 mipView: 0x0 (num 0x1) sliceView: 0x0 (num 0x1) Sampler0 ClampX/Y/Z: 2 2 2 border: 0 diff --git a/src/ShantaeHGH/Graphics/rules.txt b/src/ShantaeHGH/Graphics/rules.txt index a3cec709..6410f9a8 100644 --- a/src/ShantaeHGH/Graphics/rules.txt +++ b/src/ShantaeHGH/Graphics/rules.txt @@ -4,7 +4,7 @@ name = Graphics Settings path = "Shantae: Half-Genie Hero/Graphics" description = Changes the game's resolution.|Setting Gamepad resolution higher than TV resolution will cause a glitch. #Credits: getdls, Intra -version = 7 +version = 6 [Default] $width = 1920 @@ -90,7 +90,6 @@ name = 7680x4320 $width = 7680 $height = 4320 - # Gamepad Resolution [Preset] @@ -164,8 +163,6 @@ name = 7680x4320 $padWidth = 7680 $padHeight = 4320 - - # Texture Redefines # TV Resolution @@ -212,5 +209,5 @@ height = 480 overwriteWidth = ($padWidth / $gamepadWidth) * 854 overwriteHeight = ($padHeight / $gamepadHeight) * 480 -#version 2 +#version 2: #https://github.com/cemu-project/cemu_graphic_packs/blob/939a478799c13c5ed03e8decbf952f2a7ad02366/Source/ShantaeHGH/rules.txt