cemu_graphic_packs/Resolutions/TwilightPrincessHD_Resolution/rules.txt
getdls f9d602e10f [TPHD] UI aspect matching 21:9, 16:10, 16:9
Scales UI and video to match current 3d aspect.
2019-08-14 00:25:23 +02:00

596 lines
12 KiB
Plaintext

[Definition]
titleIds = 000500001019C800,000500001019E600,000500001019E500
name = Resolution
path = "The Legend of Zelda: Twilight Princess HD/Graphics/Resolution"
description = Changes the resolution of the game.
version = 3
[Preset]
name = 1920x1080 (Native)
$width = 1920
$height = 1080
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.01
$scaleShader = 1.0
$scaleBlur = 0.05
$internalRes = 1.0
$aspectRatio = (16.0/9.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
[Preset]
name = 2560x1440
$width = 2560
$height = 1440
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.1
$scaleShader = 1.0
$scaleBlur = 0.25
$internalRes = 1.0
$aspectRatio = (16.0/9.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
[Preset]
name = 2732x1536
$width = 2732
$height = 1536
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.2
$scaleShader = 1.0
$scaleBlur = 0.25
$internalRes = 1.0
$aspectRatio = (16.0/9.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
[Preset]
name = 3200x1800
$width = 3200
$height = 1800
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.2
$scaleShader = 1.0
$scaleBlur = 0.5
$internalRes = 1.0
$aspectRatio = (16.0/9.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
[Preset]
name = 3840x2160 (4k - Native x2)
$width = 3840
$height = 2160
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.2
$scaleShader = 1.0
$scaleBlur = 0.75
$internalRes = 0.75
$aspectRatio = (16.0/9.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
[Preset]
name = 5120x2880
$width = 5120
$height = 2880
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.2
$scaleShader = 1.0
$scaleBlur = 0.5
$internalRes = 0.75
$aspectRatio = (16.0/9.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
// Enthusiast
[Preset]
name = 7680x4320 (8k - Native x3)
$width = 7680
$height = 4320
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.25
$scaleShader = 1.0
$scaleBlur = 0.5
$internalRes = 0.5
$aspectRatio = (16.0/9.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
[Preset]
name = -- 21:9 -- resolutions
$width = 2560
$height = 1080
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.1
$scaleShader = 1.0
$scaleBlur = 0.25
$internalRes = 1.0
$aspectRatio = (64.0 / 27.0)
$UIAspectX = (1920.0 / 1080.0) / ( 2560.0 / 1080.0 )
$UIAspectY = 1.0
[Preset]
name = 2560x1080 (21:9 HD)
$width = 2560
$height = 1080
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.1
$scaleShader = 1.0
$scaleBlur = 0.25
$internalRes = 1.0
$aspectRatio = (64.0 / 27.0)
$UIAspectX = (1920.0 / 1080.0) / ( 2560.0 / 1080.0 )
$UIAspectY = 1.0
[Preset]
name = 3440x1440 (21:9)
$width = 3440
$height = 1440
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.1
$scaleShader = 1.0
$scaleBlur = 0.25
$internalRes = 1.0
$aspectRatio = (64.0 / 27.0)
$UIAspectX = (1920.0 / 1080.0) / ( 3440.0 / 1440.0 )
$UIAspectY = 1.0
[Preset]
name = 5120x2160 (21:9)
$width = 5120
$height = 2160
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.2
$scaleShader = 1.0
$scaleBlur = 0.5
$internalRes = 0.75
$aspectRatio = (64.0 / 27.0)
$UIAspectX = (1920.0 / 1080.0) / ( 5120.0 / 2160.0 )
$UIAspectY = 1.0
[Preset]
name = -- 16:10 -- resolutions
$width = 1440
$height = 900
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.01
$scaleShader = 1.0
$scaleBlur = 0.05
$internalRes = 1.0
$aspectRatio = (1440.0/900.0)
$UIAspectX = 1.0
$UIAspectY = ( 1440.0 / 900.0 ) / (1920.0 / 1080.0)
[Preset]
name = 1440x900 (16:10)
$width = 1440
$height = 900
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.01
$scaleShader = 1.0
$scaleBlur = 0.05
$internalRes = 1.0
$aspectRatio = (1440.0/900.0)
$UIAspectX = 1.0
$UIAspectY = ( 1440.0 / 900.0 ) / (1920.0 / 1080.0)
[Preset]
name = 1680x1050 (16:10)
$width = 1680
$height = 1050
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.01
$scaleShader = 1.0
$scaleBlur = 0.05
$internalRes = 1.0
$aspectRatio = (1680.0/1050.0)
$UIAspectX = 1.0
$UIAspectY = ( 1680.0 / 1050.0 ) / (1920.0 / 1080.0)
[Preset]
name = 1920x1200 (16:10)
$width = 1920
$height = 1200
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.01
$scaleShader = 1.0
$scaleBlur = 0.05
$internalRes = 1.0
$aspectRatio = (1920.0/1200.0)
$UIAspectX = 1.0
$UIAspectY = ( 1920.0 / 1200.0 ) / (1920.0 / 1080.0)
[Preset]
name = 2560x1600 (16:10)
$width = 2560
$height = 1600
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.01
$scaleShader = 1.0
$scaleBlur = 0.05
$internalRes = 1.0
$aspectRatio = (2560.0/1600.0)
$UIAspectX = 1.0
$UIAspectY = ( 2560.0 / 1600.0 ) / (1920.0 / 1080.0)
[Preset]
name = 2880x1800 (16:10)
$width = 2880
$height = 1800
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.01
$scaleShader = 1.0
$scaleBlur = 0.05
$internalRes = 1.0
$aspectRatio = (2880.0/1800.0)
$UIAspectX = 1.0
$UIAspectY = ( 2880.0 / 1800.0 ) / (1920.0 / 1080.0)
[Preset]
name = 3840x2400 (16:10)
$width = 3840
$height = 2400
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.01
$scaleShader = 1.0
$scaleBlur = 0.05
$internalRes = 1.0
$aspectRatio = (3840.0/2400.0)
$UIAspectX = 1.0
$UIAspectY = ( 3840.0 / 2400.0 ) / (1920.0 / 1080.0)
[Preset]
name = 5120x3200 (16:10)
$width = 5120
$height = 3200
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.01
$scaleShader = 1.0
$scaleBlur = 0.05
$internalRes = 1.0
$aspectRatio = (5120.0/3200.0)
$UIAspectX = 1.0
$UIAspectY = ( 5120.0 / 3200.0 ) / (1920.0 / 1080.0)
[Preset]
name = -- 48:9 -- resolutions
$width = 5760
$height = 1080
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.1
$scaleShader = 1.0
$scaleBlur = 0.25
$internalRes = 1.0
$aspectRatio = (48.0/9.0)
$UIAspectX = ( 1920.0 / 1080.0 ) / ( 5760.0 / 1080.0 )
$UIAspectY = 1.0
[Preset]
name = 5760x1080 (48:9)
$width = 5760
$height = 1080
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.1
$scaleShader = 1.0
$scaleBlur = 0.25
$internalRes = 1.0
$aspectRatio = (48.0/9.0)
$UIAspectX = ( 1920.0 / 1080.0 ) / ( 5760.0 / 1080.0 )
$UIAspectY = 1.0
[Preset]
name = 7680x1440 (48:9)
$width = 7680
$height = 1440
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.1
$scaleShader = 1.0
$scaleBlur = 0.25
$internalRes = 0.70
$aspectRatio = (48.0/9.0)
$UIAspectX = ( 1920.0 / 1080.0 ) / ( 7680.0 / 1440.0 )
$UIAspectY = 1.0
[Preset] # Should work fine on a 1070 and fixes most of horizontal shimmering
name = --- SSAA vert res x2 - Set scaling to Stretch
$width = 1920
$height = 2160
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.01
$scaleShader = 1.0
$scaleBlur = 0.05
$internalRes = 1.0
$aspectRatio = (16.0/9.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
[Preset]
name = 1920x2160 (Vertical x2)
$width = 1920
$height = 2160
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.01
$scaleShader = 1.0
$scaleBlur = 0.05
$internalRes = 1.0
$aspectRatio = (16.0/9.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
[Preset]
name = 2560x2880 (Vertical x2 - 0.75 sub scaling)
$width = 2560
$height = 2880
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.1
$scaleShader = 1.0
$scaleBlur = 0.25
$internalRes = 0.75
$aspectRatio = (16.0/9.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
[Preset] #
name = 3840x4320 (Vertical x2 - 0.5 sub scaling)
$width = 3840
$height = 4320
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.25
$scaleShader = 1.0
$scaleBlur = 1.0
$internalRes = 0.5
$aspectRatio = (16.0/9.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
[Preset]
name = 2560x2160 (21:9 Vertical x2)
$width = 2560
$height = 2160
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.1
$scaleShader = 1.0
$scaleBlur = 0.25
$internalRes = 1.0
$aspectRatio = (64.0 / 27.0)
$UIAspectX = (1920.0 / 1080.0) / ( 2560.0 / 1080.0 )
$UIAspectY = 1.0
[Preset]
name = 3440x2880 (21:9 Vertical x2 - 0.75 sub scaling)
$width = 3440
$height = 2880
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.1
$scaleShader = 1.0
$scaleBlur = 0.25
$internalRes = 0.75 # 2880 * 0.75 = 1080 x 2
$aspectRatio = (64.0 / 27.0)
$UIAspectX = (1920.0 / 1080.0) / ( 3440.0 / 1440.0 )
$UIAspectY = 1.0
[Preset]
name = 5760x1080 (48:9 Vertical x2 - 0.5 sub scaling)
$width = 5760
$height = 2160
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.1
$scaleShader = 1.0
$scaleBlur = 0.25
$internalRes = 0.5
$aspectRatio = (48.0/9.0)
$UIAspectX = ( 1920.0 / 1080.0 ) / ( 5760.0 / 1080.0 )
$UIAspectY = 1.0
[TextureRedefine]
width = 1920
height = 1088
#formats = 0x011,0x01a
overwriteWidth = ($width/$gameWidth) * 1920
overwriteHeight = ($height/$gameHeight) * 1088
[TextureRedefine]
width = 1920
height = 1080
#formats =
overwriteWidth = ($width/$gameWidth) * 1920
overwriteHeight = ($height/$gameHeight) * 1080
[TextureRedefine]
width = 960
height = 544
formats = 0x01a
overwriteWidth = ($width/$gameWidth) * (960*$internalRes)
overwriteHeight = ($height/$gameHeight) * (544*$internalRes)
[TextureRedefine]
width = 960
height = 540
formats = 0x01a
overwriteWidth = ($width/$gameWidth) * (960*$internalRes)
overwriteHeight = ($height/$gameHeight) * (540*$internalRes)
[TextureRedefine]
width = 960
height = 544
formats = 0x011
overwriteWidth = ($width/$gameWidth) * (960*$internalRes)
overwriteHeight = ($height/$gameHeight) * (544*$internalRes)
[TextureRedefine]
width = 960
height = 540
formats = 0x011
overwriteWidth = ($width/$gameWidth) * (960*$internalRes)
overwriteHeight = ($height/$gameHeight) * (540*$internalRes)
[TextureRedefine]
width = 960
height = 544
formats = 0x007
overwriteWidth = ($width/$gameWidth) * (960*$internalRes)
overwriteHeight = ($height/$gameHeight) * (544*$internalRes)
[TextureRedefine]
width = 960
height = 540
formats = 0x007
overwriteWidth = ($width/$gameWidth) * (960*$internalRes)
overwriteHeight = ($height/$gameHeight) * (540*$internalRes)
[TextureRedefine]
width = 864
height = 480
#formats =
overwriteWidth = ($width/$gameWidth) * 864
overwriteHeight = ($height/$gameHeight) * 480
[TextureRedefine]
width = 854
height = 480
#formats =
overwriteWidth = ($width/$gameWidth) * 854
overwriteHeight = ($height/$gameHeight) * 480
[TextureRedefine] #shadows horsie
width = 768
height = 768
formats = 0x01a
overwriteWidth = ($width/$gameWidth) * 768
overwriteHeight = ($height/$gameHeight) * 768
[TextureRedefine] # bloom n cutscene
width = 480
height = 272
#formats = 0x01a
overwriteWidth = ($width/$gameWidth) * (480*$internalRes)
overwriteHeight = ($height/$gameHeight) * (272*$internalRes)
[TextureRedefine] #large map 8 rounding
width = 1376
height = 784
formats = 0x01a
overwriteWidth = ($width/$gameWidth) * 1376
overwriteHeight = ($height/$gameHeight) * 784
[TextureRedefine] #large map rounding
width = 1345
height = 773
formats = 0x01a
overwriteWidth = ($width/$gameWidth) * 1345
overwriteHeight = ($height/$gameHeight) * 773
[TextureRedefine] #large map 8 rounding
width = 608
height = 352
formats = 0x01a
overwriteWidth = ($width/$gameWidth) * 608
overwriteHeight = ($height/$gameHeight) * 352
[TextureRedefine] # Large map
width = 598
height = 343
formats = 0x01a
overwriteWidth = ($width/$gameWidth) * 598
overwriteHeight = ($height/$gameHeight) * 343
[TextureRedefine] # bloom n cutscene
width = 480
height = 270
#formats = 0x01a
overwriteWidth = ($width/$gameWidth) * (480*$internalRes)
overwriteHeight = ($height/$gameHeight) * (270*$internalRes)
[TextureRedefine] #
width = 448
height = 384
formats = 0x01a
overwriteWidth = ($width/$gameWidth) * 448
overwriteHeight = ($height/$gameHeight) * 384
[TextureRedefine] # Map
width = 442
height = 383
formats = 0x01a
overwriteWidth = ($width/$gameWidth) * 442
overwriteHeight = ($height/$gameHeight) * 383
[TextureRedefine]
width = 435
height = 381
formats = 0x01a
overwriteWidth = ($width/$gameWidth) * 435
overwriteHeight = ($height/$gameHeight) * 381
[TextureRedefine] #Wolf shadows
width = 384
height = 384
formats = 0x01a
overwriteWidth = ($width/$gameWidth) * 384
overwriteHeight = ($height/$gameHeight) * 384
[TextureRedefine] #GUI map +8
width = 320
height = 288
formats = 0x01a
overwriteWidth = ($width/$gameWidth) * 320
overwriteHeight = ($height/$gameHeight) * 288
[TextureRedefine] # map
width = 290
height = 280
formats = 0x01a
overwriteWidth = ($width/$gameWidth) * 290
overwriteHeight = ($height/$gameHeight) * 280
[TextureRedefine] #
width = 290
height = 280
formats = 0x01a
overwriteWidth = ($width/$gameWidth) * 290
overwriteHeight = ($height/$gameHeight) * 280
[TextureRedefine] # Gui
width = 282
height = 272
#formats =
overwriteWidth = ($width/$gameWidth) * 282
overwriteHeight = ($height/$gameHeight) * 272