From a86326efe330a43d2e19a9d211c74112471d164b Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 25 Jul 2017 20:48:37 -0700 Subject: [PATCH] Add 4K MK8 UW Pack --- Quality/MK8_2160pUW/patches.txt | 35 ++++++++++++++ Quality/MK8_2160pUW/rules.txt | 84 +++++++++++++++++++++++++++++++++ 2 files changed, 119 insertions(+) create mode 100644 Quality/MK8_2160pUW/patches.txt create mode 100644 Quality/MK8_2160pUW/rules.txt diff --git a/Quality/MK8_2160pUW/patches.txt b/Quality/MK8_2160pUW/patches.txt new file mode 100644 index 00000000..8911b42e --- /dev/null +++ b/Quality/MK8_2160pUW/patches.txt @@ -0,0 +1,35 @@ +[MK8AspectVer1] +moduleMatches = 0x2A2DC82C +0x10097D94 = .float 2.370 +0x100F3430 = .float 2.370 +_aspectAddr = 0x10097D94 + +0x02416758 = lis r7, _aspectAddr@ha +0x02416760 = lfs f7, _aspectAddr@l(r7) + +[MK8AspectVer2] +moduleMatches = 0x62A5F023 +0x1009E9DC = .float 2.370 +0x100FC030 = .float 2.370 +_aspectAddr = 0x1009E9DC + +0x024376CC = lis r7, _aspectAddr@ha +0x024376D4 = lfs f7, _aspectAddr@l(r7) + +[MK8AspectVer3] +moduleMatches = 0xBA6B1E20 +0x100AC25C = .float 2.370 +0x1010A730 = .float 2.370 +_aspectAddr = 0x100AC25C + +0x024642E0 = lis r7, _aspectAddr@ha +0x024642E8 = lfs f7, _aspectAddr@l(r7) + +[MK8AspectVer4] +moduleMatches = 0x1D398493, 0xD09700CE +0x100C359C = .float 2.370 +0x10121D30 = .float 2.370 +_aspectAddr = 0x100C359C + +0x024AEBE4 = lis r7, _aspectAddr@ha +0x024AEBEC = lfs f7, _aspectAddr@l(r7) \ No newline at end of file diff --git a/Quality/MK8_2160pUW/rules.txt b/Quality/MK8_2160pUW/rules.txt new file mode 100644 index 00000000..5bf66060 --- /dev/null +++ b/Quality/MK8_2160pUW/rules.txt @@ -0,0 +1,84 @@ +[Definition] +titleIds = 000500001010ec00,000500001010ed00,000500001010eb00,ffffffff85887bc1 +name = "Mario Kart 8 - 2160p (4K) (21:9)" +version = 2 + +# Main Screen Resolution +[TextureRedefine] +width = 1280 +height = 720 +formatsExcluded = 0x41A,0x431 # exclude the intro background texture, race end background +overwriteWidth = 5120 +overwriteHeight = 2160 + +# Half Res Alpha (and DOF) +[TextureRedefine] +width = 640 +height = 360 +formatsExcluded = 0x41A # exclude obvious textures +overwriteWidth = 2560 +overwriteHeight = 1080 + +# Quarter Res Alpha (motion blur effect around edges of screen) +[TextureRedefine] +width = 320 +height = 180 +formatsExcluded = 0x41A # exclude obvious textures +overwriteWidth = 1280 +overwriteHeight = 540 + +# Multiplayer-Mode Resolution (2p) +[TextureRedefine] +width = 640 +height = 720 +formatsExcluded = 0x41A # exclude obvious textures +overwriteWidth = 2560 +overwriteHeight = 2160 + +# Multiplayer-Mode Half Res Alpha (2p) +[TextureRedefine] +width = 320 +height = 360 +formatsExcluded = 0x41A # exclude obvious textures +overwriteWidth = 1280 +overwriteHeight = 1080 + +# Multiplayer-Mode Quarter Res Alpha (2p) +[TextureRedefine] +width = 160 +height = 180 +formatsExcluded = 0x41A # exclude obvious textures +overwriteWidth = 640 +overwriteHeight = 540 + +# MKTV screen +[TextureRedefine] +width = 960 +height = 540 +formatsExcluded = 0x41A # exclude obvious textures +overwriteWidth = 3840 +overwriteHeight = 1620 + +# MKTV internal render targets +[TextureRedefine] +width = 960 +height = 536 +formatsExcluded = 0x41A # exclude obvious textures +overwriteWidth = 3840 +overwriteHeight = 1608 + +# MKTV half res alpha +[TextureRedefine] +width = 480 +height = 268 +formatsExcluded = 0x41A # exclude obvious textures +overwriteWidth = 1920 +overwriteHeight = 804 + +# MKTV quarter res alpha +[TextureRedefine] +width = 240 +height = 134 +formatsExcluded = 0x41A # exclude obvious textures +overwriteWidth = 960 +overwriteHeight = 402 \ No newline at end of file