From 5ad8b4eb420ad98155d266749228b3349e9e0cea Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 11 Nov 2018 13:20:06 -0800 Subject: [PATCH] Reduce Color Banding on Smash --- Source/SuperSmashBros_Resolution/rules.txt | 154 ++++++++++++++++++++- 1 file changed, 153 insertions(+), 1 deletion(-) diff --git a/Source/SuperSmashBros_Resolution/rules.txt b/Source/SuperSmashBros_Resolution/rules.txt index 426afea0..ce5dc3a6 100644 --- a/Source/SuperSmashBros_Resolution/rules.txt +++ b/Source/SuperSmashBros_Resolution/rules.txt @@ -92,12 +92,14 @@ $gameHeight = 1080 [TextureRedefine] # Game Resolution width = 1920 height = 1088 +formatsExcluded = 0x219,0x1a overwriteWidth = ($width / $gameWidth) * 1920 overwriteHeight = ($height / $gameHeight) * 1088 [TextureRedefine] # Game Resolution width = 1920 height = 1080 +formatsExcluded = 0x219,0x1a overwriteWidth = ($width / $gameWidth) * 1920 overwriteHeight = ($height / $gameHeight) * 1080 @@ -116,12 +118,14 @@ overwriteHeight = ($height / $gameHeight) * 480 [TextureRedefine] width = 960 height = 544 +formatsExcluded = 0x21a overwriteWidth = ($width / $gameWidth) * 960 overwriteHeight = ($height / $gameHeight) * 544 [TextureRedefine] width = 960 height = 540 +formatsExcluded = 0x21a overwriteWidth = ($width / $gameWidth) * 960 overwriteHeight = ($height / $gameHeight) * 540 @@ -176,12 +180,14 @@ overwriteHeight = ($height / $gameHeight) * 272 [TextureRedefine] width = 480 height = 272 +formatsExcluded = 0x21a,0x816 overwriteWidth = ($width / $gameWidth) * 480 overwriteHeight = ($height / $gameHeight) * 272 [TextureRedefine] width = 480 height = 270 +formatsExcluded = 0x21a,0x816 overwriteWidth = ($width / $gameWidth) * 480 overwriteHeight = ($height / $gameHeight) * 270 @@ -219,6 +225,7 @@ overwriteHeight = ($height / $gameHeight) * 256 [TextureRedefine] width = 256 height = 144 +formatsExcluded = 0x816 overwriteWidth = ($width / $gameWidth) * 256 overwriteHeight = ($height / $gameHeight) * 144 @@ -231,6 +238,7 @@ overwriteHeight = ($height / $gameHeight) * 250 [TextureRedefine] width = 240 height = 135 +formatsExcluded = 0x816 overwriteWidth = ($width / $gameWidth) * 240 overwriteHeight = ($height / $gameHeight) * 135 @@ -267,6 +275,7 @@ overwriteHeight = ($height / $gameHeight) * 135 [TextureRedefine] width = 128 height = 80 +formatsExcluded = 0x816 overwriteWidth = ($width / $gameWidth) * 128 overwriteHeight = ($height / $gameHeight) * 80 @@ -280,30 +289,173 @@ overwriteHeight = ($height / $gameHeight) * 128 [TextureRedefine] width = 120 height = 67 +formatsExcluded = 0x816 overwriteWidth = ($width / $gameWidth) * 120 overwriteHeight = ($height / $gameHeight) * 67 [TextureRedefine] width = 64 height = 48 +formatsExcluded = 0x816 overwriteWidth = ($width / $gameWidth) * 64 overwriteHeight = ($height / $gameHeight) * 48 [TextureRedefine] width = 60 height = 33 +formatsExcluded = 0x816 overwriteWidth = ($width / $gameWidth) * 60 overwriteHeight = ($height / $gameHeight) * 33 [TextureRedefine] +width = 30 +height = 16 +formatsExcluded = 0x816 +overwriteWidth = ($width / $gameWidth) * 30 +overwriteHeight = ($height / $gameHeight) * 16 + +// Reduce Color Banding + +[TextureRedefine] # 1920x1088, f0219 +width = 1920 +height = 1088 +formats = 0x219 +overwriteFormat = 0x21f +overwriteWidth = ($width / $gameWidth) * 1920 +overwriteHeight = ($height / $gameHeight) * 1088 + +[TextureRedefine] # 1920x1088, f001a +width = 1920 +height = 1088 +formats = 0x1a +overwriteFormat = 0x1f +overwriteWidth = ($width / $gameWidth) * 1920 +overwriteHeight = ($height / $gameHeight) * 1088 + +[TextureRedefine] # 1920x1080, f0219 +width = 1920 +height = 1080 +formats = 0x219 +overwriteFormat = 0x21f +overwriteWidth = ($width / $gameWidth) * 1920 +overwriteHeight = ($height / $gameHeight) * 1080 + +[TextureRedefine] # 1920x1080, f001a +width = 1920 +height = 1080 +formats = 0x1a +overwriteFormat = 0x1f +overwriteWidth = ($width / $gameWidth) * 1920 +overwriteHeight = ($height / $gameHeight) * 1080 + +[TextureRedefine] # 960x544, f021a +width = 960 +height = 544 +formats = 0x21a +overwriteFormat = 0x21f +overwriteWidth = ($width / $gameWidth) * 960 +overwriteHeight = ($height / $gameHeight) * 544 + +[TextureRedefine] # 960x540, f021a +width = 960 +height = 540 +formats = 0x21a +overwriteFormat = 0x21f +overwriteWidth = ($width / $gameWidth) * 960 +overwriteHeight = ($height / $gameHeight) * 540 + +[TextureRedefine] # 480x272, f021a +width = 480 +height = 272 +formats = 0x21a +overwriteFormat = 0x21f +overwriteWidth = ($width / $gameWidth) * 480 +overwriteHeight = ($height / $gameHeight) * 272 + +[TextureRedefine] # 480x272, f0816 +width = 480 +height = 272 +formats = 0x816 +overwriteFormat = 0x823 +overwriteWidth = ($width / $gameWidth) * 480 +overwriteHeight = ($height / $gameHeight) * 272 + +[TextureRedefine] # 480x270, f021a +width = 480 +height = 270 +formats = 0x21a +overwriteFormat = 0x21f +overwriteWidth = ($width / $gameWidth) * 480 +overwriteHeight = ($height / $gameHeight) * 270 + +[TextureRedefine] # 480x270, f0816 +width = 480 +height = 270 +formats = 0x816 +overwriteFormat = 0x823 +overwriteWidth = ($width / $gameWidth) * 480 +overwriteHeight = ($height / $gameHeight) * 270 + +[TextureRedefine] # 256x144, f0816 +width = 256 +height = 144 +formats = 0x816 +overwriteFormat = 0x823 +overwriteWidth = ($width / $gameWidth) * 256 +overwriteHeight = ($height / $gameHeight) * 144 + +[TextureRedefine] # 240x135, f0816 +width = 240 +height = 135 +formats = 0x816 +overwriteFormat = 0x823 +overwriteWidth = ($width / $gameWidth) * 240 +overwriteHeight = ($height / $gameHeight) * 135 + +[TextureRedefine] # 128x80, f0816 +width = 128 +height = 80 +formats = 0x816 +overwriteFormat = 0x823 +overwriteWidth = ($width / $gameWidth) * 128 +overwriteHeight = ($height / $gameHeight) * 80 + +[TextureRedefine] # 120x67, f0816 +width = 120 +height = 67 +formats = 0x816 +overwriteFormat = 0x823 +overwriteWidth = ($width / $gameWidth) * 120 +overwriteHeight = ($height / $gameHeight) * 67 + +[TextureRedefine] # 64x48, f0816 +width = 64 +height = 48 +formats = 0x816 +overwriteFormat = 0x823 +overwriteWidth = ($width / $gameWidth) * 64 +overwriteHeight = ($height / $gameHeight) * 48 + +[TextureRedefine] # 60x33, f0816 +width = 60 +height = 33 +formats = 0x816 +overwriteFormat = 0x823 +overwriteWidth = ($width / $gameWidth) * 60 +overwriteHeight = ($height / $gameHeight) * 33 + +[TextureRedefine] # 32x16, f0816 width = 32 height = 16 formats = 0x816 +overwriteFormat = 0x823 overwriteWidth = ($width / $gameWidth) * 32 overwriteHeight = ($height / $gameHeight) * 16 -[TextureRedefine] +[TextureRedefine] # 30x16, f0816 width = 30 height = 16 +formats = 0x816 +overwriteFormat = 0x823 overwriteWidth = ($width / $gameWidth) * 30 overwriteHeight = ($height / $gameHeight) * 16