[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.
This commit is contained in:
NAVras-Z 2019-07-28 23:51:47 +08:00 committed by GitHub
parent 9b1e530fbe
commit ef2db1c62b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 42 additions and 1 deletions

View File

@ -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. # 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. # 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.

View File

@ -295,6 +295,7 @@ $gameWidth = 1280
$gameHeight = 720 $gameHeight = 720
$heightfix = 0 $heightfix = 0
# All 720p textures: # All 720p textures:
# - 0x001=World Lighting Red8 # - 0x001=World Lighting Red8
# - 0x005=Link and Objects Depth # - 0x005=Link and Objects Depth
@ -783,3 +784,43 @@ overwriteHeight = ($height/$gameHeight) * 185
# tilemodes = 4 # tilemodes = 4
# overwriteWidth = ($width/$gameWidth) * 64 # overwriteWidth = ($width/$gameWidth) * 64
# overwriteHeight = ($height/$gameHeight) * 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