From ef2db1c62bf70e993d34d4a913f2cc839980a357 Mon Sep 17 00:00:00 2001 From: NAVras-Z <21133512+NAVras-Z@users.noreply.github.com> Date: Sun, 28 Jul 2019 23:51:47 +0800 Subject: [PATCH] [BotW] Resize letters box to make text less blurry (#388) For many cutscenes the game draw the subtitles on a 500x94 box first and apply the box with the letters onto the screen. --- .../Readme.txt | 2 +- .../BreathOfTheWild_Resolution/rules.txt | 41 +++++++++++++++++++ 2 files changed, 42 insertions(+), 1 deletion(-) diff --git a/Mods/BreathOfTheWild_ChangeAncientGlowColor/Readme.txt b/Mods/BreathOfTheWild_ChangeAncientGlowColor/Readme.txt index 059d72a2..dc61f66a 100644 --- a/Mods/BreathOfTheWild_ChangeAncientGlowColor/Readme.txt +++ b/Mods/BreathOfTheWild_ChangeAncientGlowColor/Readme.txt @@ -8,4 +8,4 @@ # Game control color & brightness with a uniform, so they can vary between objects (and through time) drawn with the same shader. It's hard to do this in Gfx pack. # In theory You can add if condition to check for game's uniform value so you can change the color of a specific object without affecting others. -# Try converting custom color from gamma encoded to linear (color^0.45) if it look slightly off in game. +# Try converting custom color from gamma encoded to linear (color/255)^2.2 if it look slightly off in game. diff --git a/Resolutions/BreathOfTheWild_Resolution/rules.txt b/Resolutions/BreathOfTheWild_Resolution/rules.txt index e0c08f14..454b9d23 100644 --- a/Resolutions/BreathOfTheWild_Resolution/rules.txt +++ b/Resolutions/BreathOfTheWild_Resolution/rules.txt @@ -295,6 +295,7 @@ $gameWidth = 1280 $gameHeight = 720 $heightfix = 0 + # All 720p textures: # - 0x001=World Lighting Red8 # - 0x005=Link and Objects Depth @@ -783,3 +784,43 @@ overwriteHeight = ($height/$gameHeight) * 185 # tilemodes = 4 # overwriteWidth = ($width/$gameWidth) * 64 # overwriteHeight = ($height/$gameHeight) * 64 + +# Resize letters box: Subtitle + +[TextureRedefine] +width = 512 +height = 96 +depth = 1 +formats = 0x1a +tilemodes = 4 +overwriteWidth = ($width/$gameWidth) * 512 +overwriteHeight = ($height/$gameHeight) * 96 + +[TextureRedefine] +width = 500 +height = 94 +depth = 1 +formats = 0x1a +tilemodes = 4 +overwriteWidth = ($width/$gameWidth) * 500 +overwriteHeight = ($height/$gameHeight) * 94 + +# Resize letters box: pop up message + +[TextureRedefine] +width = 480 +height = 32 +depth = 1 +formats = 0x1a +tilemodes = 4 +overwriteWidth = ($width/$gameWidth) * 480 +overwriteHeight = ($height/$gameHeight) * 32 + +[TextureRedefine] +width = 464 +height = 28 +depth = 1 +formats = 0x1a +tilemodes = 4 +overwriteWidth = ($width/$gameWidth) * 464 +overwriteHeight = ($height/$gameHeight) * 28