From de717270c9e0d2460161b6abe82b2e8b6be6a307 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 18 Aug 2018 21:13:29 -0700 Subject: [PATCH] Add Xal's TPHD ultrawide patch --- Source/TwilightPrincessHD/patches.txt | 24 ++++++++++++++++++++++++ build.sh | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 Source/TwilightPrincessHD/patches.txt diff --git a/Source/TwilightPrincessHD/patches.txt b/Source/TwilightPrincessHD/patches.txt new file mode 100644 index 00000000..b41b7d3b --- /dev/null +++ b/Source/TwilightPrincessHD/patches.txt @@ -0,0 +1,24 @@ + +[TPHDv81] +moduleMatches = 0x1A03E108 + +#rodata constants +0x1005AAD8 = .float +_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/build.sh b/build.sh index e180a1ae..4b3f1477 100755 --- a/build.sh +++ b/build.sh @@ -225,7 +225,7 @@ std_respack "Tengami" "${res16by9[@]/$just720p}" std_respack "TokyoMirage" "${res16by9[@]/$just720p}" "${res21by9[@]}" "${res48by9[@]}" std_respack "TropicalFreeze" "${res16by9[@]/$just720p}" "${res21by9[@]}" "${res48by9[@]}" std_respack "TurboSuperStuntSquad" "${res16by9[@]/$just720p}" -std_respack "TwilightPrincessHD" "${res16by9[@]/$just1080p}" +std_respack "TwilightPrincessHD" "${res16by9[@]/$just1080p}" "${res21by9[@]}" "${res48by9[@]}" std_respack "WarriorsOrochi3" "${res16by9[@]/$just720p}" std_respack "WiiUBIOS" "${res16by9[@]/$just720p}" std_respack "WindWakerHD" "${res16by9[@]/$just1080p}" "${res21by9[@]}" "${res48by9[@]}"