diff --git a/Source/TwilightPrincessHD/patches.txt b/Source/TwilightPrincessHD/patches.txt new file mode 100644 index 00000000..1a7a10be --- /dev/null +++ b/Source/TwilightPrincessHD/patches.txt @@ -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 diff --git a/Source/TwilightPrincessHD/rules.txt b/Source/TwilightPrincessHD/rules.txt index cef9585e..95a408fa 100644 --- a/Source/TwilightPrincessHD/rules.txt +++ b/Source/TwilightPrincessHD/rules.txt @@ -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