From 18271fde34ff0f71071f00ea307a86c125554fe0 Mon Sep 17 00:00:00 2001 From: getdls Date: Tue, 13 Nov 2018 23:42:04 +0100 Subject: [PATCH] [XCX] LOD scaling pack... LOD scaling pack, note LOD is partially broken due to Cemu (grass) Rules.txt smoother LOD transitiion by matching shadow map Rules.txt fix dialog fade (again) --- Enhancements/XenobladeX_NegativeLOD/rules.txt | 50 +++++++++++++++++++ Source/XenobladeX_Resolution/rules.txt | 22 +++++--- 2 files changed, 65 insertions(+), 7 deletions(-) create mode 100644 Enhancements/XenobladeX_NegativeLOD/rules.txt diff --git a/Enhancements/XenobladeX_NegativeLOD/rules.txt b/Enhancements/XenobladeX_NegativeLOD/rules.txt new file mode 100644 index 00000000..4b18dcce --- /dev/null +++ b/Enhancements/XenobladeX_NegativeLOD/rules.txt @@ -0,0 +1,50 @@ +[Definition] +titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00 +name = Negative texture LOD bias +path = "Xenoblade Chronicles X/Enhancements/Negative Texture LOD" +description = Texture LOD override, possible shimmer but sharper textures. +version = 3 + +[Preset] +name = LOD Default +$0x031 = 0 +$0x033 = 0 +$0x034 = 0 +$0x035 = 0 + +[Preset] +name = LOD -0.5 (Sharper) +$0x031 = -0.5 +$0x033 = -0.5 +$0x034 = -0.5 +$0x035 = -0.5 + +[Preset] +name = LOD -1 (Max for gameplay) +$0x031 = -1 +$0x033 = -1 +$0x034 = -1 +$0x035 = -1 + +[Preset] +name = LOD -4 (Overkill - For screenshots) +$0x031 = -4 +$0x033 = -4 +$0x034 = -4 +$0x035 = -4 + +[TextureRedefine] +formats = 0x031 #0x431,0x432,0x433,0x434,0x435 not used. +overwriteRelativeLodBias = $0x031 + +[TextureRedefine]#Per format, possible to have separate scaling if needed +formats = 0x033 +overwriteRelativeLodBias = $0x033 + +[TextureRedefine] +formats = 0x034 +overwriteRelativeLodBias = $0x034 + +[TextureRedefine] +formats = 0x035 +overwriteRelativeLodBias = $0x035 \ No newline at end of file diff --git a/Source/XenobladeX_Resolution/rules.txt b/Source/XenobladeX_Resolution/rules.txt index da1a553f..9a2ded52 100644 --- a/Source/XenobladeX_Resolution/rules.txt +++ b/Source/XenobladeX_Resolution/rules.txt @@ -48,7 +48,7 @@ $gameWidth = 1280 $gameHeight = 720 $internalRes = 1.0 $dither = 0.15 -$scaleShader = (720.0/1080.0) +$scaleShader = (1440.0/1080.0) $scaleBlur = 0.5 [Preset] @@ -59,7 +59,7 @@ $gameWidth = 1280 $gameHeight = 720 $internalRes = 1.0 $dither = 0.15 -$scaleShader = (720.0/1080.0) +$scaleShader = (1440.0/1080.0) $scaleBlur = 0.5 [Preset] @@ -70,7 +70,7 @@ $gameWidth = 1280 $gameHeight = 720 $internalRes = 1.0 $dither = 0.15 -$scaleShader = (720.0/1080.0) +$scaleShader = (1440.0/1080.0) $scaleBlur = 0.5 [Preset] @@ -81,7 +81,7 @@ $gameWidth = 1280 $gameHeight = 720 $internalRes = 1.0 $dither = 0.15 -$scaleShader = (720.0/1200.0) +$scaleShader = (1440.0/1200.0) $scaleBlur = 0.5 [Preset] @@ -125,7 +125,7 @@ $gameWidth = 1280 $gameHeight = 720 $internalRes = 0.75 $dither = 0.15 -$scaleShader = (720.0/1080.0) +$scaleShader = (1440.0/1080.0) $scaleBlur = 0.5 [Preset] @@ -180,7 +180,7 @@ $gameWidth = 1280 $gameHeight = 720 $internalRes = 0.5 $dither = 0.25 -$scaleShader = 1.0 +$scaleShader = (1440.0/1080.0) #round 1.5 shadow to 2.0 $scaleBlur = 1.0 [Preset] @@ -202,7 +202,7 @@ $gameWidth = 1280 $gameHeight = 720 $internalRes = 0.375 $dither = 0.25 -$scaleShader = (720.0/1080.0) +$scaleShader = (1440.0/1080.0) $scaleBlur = 1.0 // Enthusiast @@ -231,6 +231,14 @@ $dither = 0.25 $scaleShader = 1.0 $scaleBlur = 1.0 +#[TextureRedefine] +#formats = 0x1a +#overwriteFormat = 0x1f + +#[TextureRedefine] +#formats = 0x816 +#overwriteFormat = 0x823 + [TextureRedefine] width = 1280 height = 720