From 33ea51a854b1761ad6bc8c22874b3cfd08e2302b Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 25 Jul 2017 12:50:08 -0700 Subject: [PATCH] Add 4K BotW UW Pack --- Quality/BreathOfTheWild_2160pUW/patches.txt | 79 +++++++++++++++ Quality/BreathOfTheWild_2160pUW/rules.txt | 106 ++++++++++++++++++++ 2 files changed, 185 insertions(+) create mode 100644 Quality/BreathOfTheWild_2160pUW/patches.txt create mode 100644 Quality/BreathOfTheWild_2160pUW/rules.txt diff --git a/Quality/BreathOfTheWild_2160pUW/patches.txt b/Quality/BreathOfTheWild_2160pUW/patches.txt new file mode 100644 index 00000000..d431c92e --- /dev/null +++ b/Quality/BreathOfTheWild_2160pUW/patches.txt @@ -0,0 +1,79 @@ +[BotwAspectsV33] +moduleMatches = 0xD91A406D +# rodata constants +0x10197FC0 = .float 2.370 +0x102CCFC0 = .float 2.370 +0x10331374 = .float 2.370 +_aspectAddr = 0x10197FC0 + +# menu link aspect (calculated every load) +0x02CFC260 = lis r9, _aspectAddr@ha +0x02CFC274 = lfs f4, _aspectAddr@l(r9) + +# 3d aspect (calculated every frame) +0x036AD410 = lis r28, ha16(_aspectAddr) +0x036AD414 = lfs f12, _aspectAddr(r28) + +[BotwAspectsV48] +moduleMatches = 0x0F748D9C +# rodata constants +0x10197FC0 = .float 2.370 +0x102CCFC8 = .float 2.370 +0x103313A4 = .float 2.370 +_aspectAddr = 0x10197FC0 + +# menu link aspect (calculated every load) +0x02CFC2CC = lis r9, _aspectAddr@ha +0x02CFC2E0 = lfs f4, _aspectAddr@l(r9) + +# 3d aspect (calculated every frame) +0x036AD81C = lis r28, ha16(_aspectAddr) +0x036AD820 = lfs f12, _aspectAddr(r28) + +[BotwAspectsV64] +moduleMatches = 0x9A61FF4C +# rodata constants +0x10198250 = .float 2.370 +0x102CD450 = .float 2.370 +0x1033182C = .float 2.370 +_aspectAddr = 0x10198250 + +# menu link aspect (calculated every load) +0x02CFD900 = lis r9, _aspectAddr@ha +0x02CFD914 = lfs f4, _aspectAddr@l(r9) + +# 3d aspect (calculated every frame) +0x036AEF04 = lis r28, ha16(_aspectAddr) +0x036AEF08 = lfs f12, _aspectAddr(r28) + +[BotwAspectsV80] +moduleMatches = 0x8E3324A9 +# rodata constants +0x1019A5A8 = .float 2.370 +0x102D4E30 = .float 2.370 +0x103391B4 = .float 2.370 +_aspectAddr = 0x1019A5A8 + +# menu link aspect (calculated every load) +0x02D056C8 = lis r9, _aspectAddr@ha +0x02D056DC = lfs f4, _aspectAddr@l(r9) + +# 3d aspect (calculated every frame) +0x036D0324 = lis r28, ha16(_aspectAddr) +0x036D0328 = lfs f12, _aspectAddr(r28) + +[BotwAspectsV97] +moduleMatches = 0xD71D859D +# rodata constants +0x1019F980 = .float 2.370 +0x102DF8A0 = .float 2.370 +0x1034122C = .float 2.370 +_aspectAddr = 0x1019F980 + +# menu link aspect (calculated every load) +0x02D2E65C = lis r9, _aspectAddr@ha +0x02D2E670 = lfs f4, _aspectAddr@l(r9) + +# 3d aspect (calculated every frame) +0x03725CE8 = lis r28, ha16(_aspectAddr) +0x03725CEC = lfs f12, _aspectAddr(r28) \ No newline at end of file diff --git a/Quality/BreathOfTheWild_2160pUW/rules.txt b/Quality/BreathOfTheWild_2160pUW/rules.txt new file mode 100644 index 00000000..a517a47a --- /dev/null +++ b/Quality/BreathOfTheWild_2160pUW/rules.txt @@ -0,0 +1,106 @@ +[Definition] +titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 +name = "The Legend of Zelda: Breath of the Wild - 2160p (4K) (21:9)" +version = 2 + +[TextureRedefine] #TV +width = 1280 +height = 720 +formatsExcluded = 0x008 # exclude the intro background texture +tileModesExcluded = 0x001 +overwriteWidth = 5120 +overwriteHeight = 2160 + +[TextureRedefine] #TV2 +width = 1280 +height = 721 +overwriteWidth = 5120 +overwriteHeight = 2164 + +[TextureRedefine] #TV3 +width = 1280 +height = 608 +overwriteWidth = 5120 +overwriteHeight = 1824 + +[TextureRedefine] #TV4 +width = 1152 +height = 648 +overwriteWidth = 2304 +overwriteHeight = 1944 + +[TextureRedefine] #half-res1 +width = 640 +height = 360 +tileModesExcluded = 0x001 +overwriteWidth = 2560 +overwriteHeight = 1080 + +[TextureRedefine] #half-res2 +width = 640 +height = 290 +overwriteWidth = 2560 +overwriteHeight = 870 + +[TextureRedefine] #half-res3 +width = 640 +height = 288 +overwriteWidth = 2560 +overwriteHeight = 864 + +[TextureRedefine] #half-res4 +width = 640 +height = 361 +overwriteWidth = 2560 +overwriteHeight = 1082 + +[TextureRedefine] #q-res1 +width = 320 +height = 180 +formats = 0x001 #Scale depth masking, not bloom +overwriteWidth = 1280 +overwriteHeight = 540 + +#[TextureRedefine] #q-res2 +#width = 320 +#height = 145 +#overwriteWidth = 1280 +#overwriteHeight = 436 + +#[TextureRedefine] #q-res3 +#width = 320 +#height = 144 +#overwriteWidth = 1280 +#overwriteHeight = 432 + +[TextureRedefine] #o-res1 +width = 160 +height = 90 +formats = 0x001 #Scale depth masking, not bloom +overwriteWidth = 640 +overwriteHeight = 270 + +[TextureRedefine] # O +width = 80 +formats = 0x001 #Scale depth masking, not bloom +height = 45 +overwriteWidth = 320 +overwriteHeight = 136 + +[TextureRedefine] # M +width = 80 +height = 44 +overwriteWidth = 320 +overwriteHeight = 132 + +[TextureRedefine] # G +width = 40 +height = 22 +overwriteWidth = 160 +overwriteHeight = 66 + +[TextureRedefine] #fog +width = 720 +height = 360 +overwriteWidth = 2880 +overwriteHeight = 1080 \ No newline at end of file