[TP] Widescreen res and patch

This commit is contained in:
getdls 2018-11-02 21:31:06 +01:00
parent c7fc585d4e
commit b45d012d83
2 changed files with 80 additions and 1 deletions

View File

@ -0,0 +1,13 @@
[TPHDv81]
moduleMatches = 0x1A03E108
#rodata constants
0x1005AAD8 = .float $width/$height
_aspectAddr = 0x1006AAD8
#code changes
0x028D75B8 = lis r11, _aspectAddr@h
0x028D75C0 = lfs f0, _aspectAddr@l(r11) ; Main 3d Aspect
0x029BB184 = lis r12, _aspectAddr@h
0x029BB188 = lfs f2, _aspectAddr@l(r12) ; may just be the intro zelda graphic

View File

@ -75,6 +75,28 @@ $scaleShader = 1.0
$scaleBlur = 0.05
$internalRes = 1
[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
[Preset]
name = 5760x1080 (48:9 HD)
$width = 2560
$height = 1080
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.1
$scaleShader = 1.0
$scaleBlur = 0.25
$internalRes = 1
[Preset]
name = 2560x1440
$width = 2560
@ -86,6 +108,28 @@ $scaleShader = 1.0
$scaleBlur = 0.25
$internalRes = 1
[Preset]
name = 3440x1440 (21:9)
$width = 3440
$height = 1440
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.1
$scaleShader = 1.0
$scaleBlur = 0.25
$internalRes = 1
[Preset]
name = 7680x1440 (48:9)
$width = 7680
$height = 1440
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.1
$scaleShader = 1.0
$scaleBlur = 0.25
$internalRes = 1
[Preset]
name = 2732x1536
$width = 2732
@ -109,7 +153,7 @@ $scaleBlur = 0.5
$internalRes = 1
[Preset]
name = 3840x2160
name = 3840x2160 (4k - Native x2)
$width = 3840
$height = 2160
$gameWidth = 1920
@ -119,6 +163,28 @@ $scaleShader = 1.0
$scaleBlur = 0.5
$internalRes = 1
[Preset]
name = 5120x2160 (4k 21:9)
$width = 5120
$height = 2160
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.2
$scaleShader = 1.0
$scaleBlur = 0.5
$internalRes = 1
[Preset]
name = 5120x2160 (4k 48:9)
$width = 11520
$height = 2160
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.2
$scaleShader = 1.0
$scaleBlur = 0.5
$internalRes = 1
[Preset]
name = 3840x2160 (4k - Native x2) x2 sub scaling
$width = 3840