From 56e703d7baac9d8aefb37afac687464022295939 Mon Sep 17 00:00:00 2001 From: Joel Date: Tue, 10 Oct 2017 19:50:20 +0200 Subject: [PATCH 1/4] [BOTW] Remove x2.5 shadow scaling cap --- Enthusiast/BreathOfTheWild_2880p/rules.txt | 8 ++++---- Enthusiast/BreathOfTheWild_4320p/rules.txt | 8 ++++---- Enthusiast/BreathOfTheWild_5760p/rules.txt | 8 ++++---- Quality/BreathOfTheWild_2160p/rules.txt | 8 ++++---- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/Enthusiast/BreathOfTheWild_2880p/rules.txt b/Enthusiast/BreathOfTheWild_2880p/rules.txt index e0e7b455..da5d5626 100644 --- a/Enthusiast/BreathOfTheWild_2880p/rules.txt +++ b/Enthusiast/BreathOfTheWild_2880p/rules.txt @@ -222,12 +222,12 @@ height = 305 width = 360 height = 360 formats = 0x005 -overwriteWidth = 900 #x2.5 -overwriteHeight = 900 #x2.5 +overwriteWidth = 1440 #x4 +overwriteHeight = 1440 #x4 [TextureRedefine] #shadows width = 720 height = 720 formats = 0x005 -overwriteWidth = 1800 #x2.5 -overwriteHeight = 1800 #x2.5 \ No newline at end of file +overwriteWidth = 2880 #x4 +overwriteHeight = 2880 #x4 \ No newline at end of file diff --git a/Enthusiast/BreathOfTheWild_4320p/rules.txt b/Enthusiast/BreathOfTheWild_4320p/rules.txt index 32e77760..022ca3e6 100644 --- a/Enthusiast/BreathOfTheWild_4320p/rules.txt +++ b/Enthusiast/BreathOfTheWild_4320p/rules.txt @@ -221,12 +221,12 @@ height = 305 width = 360 height = 360 formats = 0x005 -overwriteWidth = 900 #x2.5 -overwriteHeight = 900 #x2.5 +overwriteWidth = 2160 #x6 +overwriteHeight = 2160 #x6 [TextureRedefine] #shadows width = 720 height = 720 formats = 0x005 -overwriteWidth = 1800 #x2.5 -overwriteHeight = 1800 #x2.5 \ No newline at end of file +overwriteWidth = 4320 #x6 +overwriteHeight = 4320 #x6 \ No newline at end of file diff --git a/Enthusiast/BreathOfTheWild_5760p/rules.txt b/Enthusiast/BreathOfTheWild_5760p/rules.txt index 3f258967..c9ac3cd0 100644 --- a/Enthusiast/BreathOfTheWild_5760p/rules.txt +++ b/Enthusiast/BreathOfTheWild_5760p/rules.txt @@ -221,12 +221,12 @@ height = 305 width = 360 height = 360 formats = 0x005 -overwriteWidth = 900 #x2.5 -overwriteHeight = 900 #x2.5 +overwriteWidth = 2880 #x8 +overwriteHeight = 2880 #x8 [TextureRedefine] #shadows width = 720 height = 720 formats = 0x005 -overwriteWidth = 1800 #x2.5 -overwriteHeight = 1800 #x2.5 \ No newline at end of file +overwriteWidth = 5760 #x8 +overwriteHeight = 5760 #x8 \ No newline at end of file diff --git a/Quality/BreathOfTheWild_2160p/rules.txt b/Quality/BreathOfTheWild_2160p/rules.txt index bd2ddebb..bda49e3a 100644 --- a/Quality/BreathOfTheWild_2160p/rules.txt +++ b/Quality/BreathOfTheWild_2160p/rules.txt @@ -236,12 +236,12 @@ height = 305 width = 360 height = 360 formats = 0x005 -overwriteWidth = 900 #x2.5 -overwriteHeight = 900 #x2.5 +overwriteWidth = 1080 #x3 +overwriteHeight = 1080 #x3 [TextureRedefine] #shadows width = 720 height = 720 formats = 0x005 -overwriteWidth = 1800 #x2.5 -overwriteHeight = 1800 #x2.5 \ No newline at end of file +overwriteWidth = 2160 #x3 +overwriteHeight = 2160 #x3 \ No newline at end of file From cb2c77084f531853ecd0dab31b1a9a50332e69a2 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 10 Oct 2017 20:04:12 -0700 Subject: [PATCH 2/4] [Splatoon] set up player icon for 2160p In preparation of the next Cemu version. --- Quality/Splatoon_2160p/rules.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Quality/Splatoon_2160p/rules.txt b/Quality/Splatoon_2160p/rules.txt index f9e6ab70..5f1eb051 100644 --- a/Quality/Splatoon_2160p/rules.txt +++ b/Quality/Splatoon_2160p/rules.txt @@ -53,10 +53,16 @@ overwriteHeight = 756 [TextureRedefine] # player icon - GL_SRGB8_ALPHA8 width = 128 height = 128 +#formats = 0x41A +#overwriteWidth = 384 +#overwriteHeight = 384 #Need working confirmation on next Cemu version [TextureRedefine] # player icon - GL_RGBA8 width = 256 height = 256 +#formats = 0x +#overwriteWidth = 768 +#overwriteHeight = 768 #Need working confirmation on next Cemu version [TextureRedefine] # gamepad width = 854 From 712bffb2b164254b042508acdcb5bd8c3b52caf9 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 10 Oct 2017 20:08:50 -0700 Subject: [PATCH 3/4] [Splatoon] Add player icon setup to other resolution Once again, for next Cemu version preparation. --- Enthusiast/Splatoon_2880p/rules.txt | 6 ++++++ Enthusiast/Splatoon_4320p/rules.txt | 6 ++++++ Enthusiast/Splatoon_5760p/rules.txt | 6 ++++++ Quality/Splatoon_1080p/rules.txt | 6 ++++++ Quality/Splatoon_1080pUW/rules.txt | 6 ++++++ Quality/Splatoon_1440p/rules.txt | 6 ++++++ Quality/Splatoon_1800p/rules.txt | 6 ++++++ Quality/Splatoon_2160p/rules.txt | 8 ++++---- 8 files changed, 46 insertions(+), 4 deletions(-) diff --git a/Enthusiast/Splatoon_2880p/rules.txt b/Enthusiast/Splatoon_2880p/rules.txt index e59fa0fc..c668b525 100644 --- a/Enthusiast/Splatoon_2880p/rules.txt +++ b/Enthusiast/Splatoon_2880p/rules.txt @@ -58,10 +58,16 @@ overwriteHeight = 1008 [TextureRedefine] # player icon - GL_SRGB8_ALPHA8 width = 128 height = 128 +formats = 0x41A +#overwriteWidth = 384 +#overwriteHeight = 384 #Need to confirm on next Cemu version [TextureRedefine] # player icon - GL_RGBA8 width = 256 height = 256 +formats = 0x01a +#overwriteWidth = 768 +#overwriteHeight = 768 #Need to confirm on next Cemu version [TextureRedefine] # gamepad width = 854 diff --git a/Enthusiast/Splatoon_4320p/rules.txt b/Enthusiast/Splatoon_4320p/rules.txt index d48ee916..05dd13e8 100644 --- a/Enthusiast/Splatoon_4320p/rules.txt +++ b/Enthusiast/Splatoon_4320p/rules.txt @@ -58,10 +58,16 @@ overwriteHeight = 1512 [TextureRedefine] # player icon - GL_SRGB8_ALPHA8 width = 128 height = 128 +formats = 0x41A +#overwriteWidth = 384 +#overwriteHeight = 384 #Need to confirm on next Cemu version [TextureRedefine] # player icon - GL_RGBA8 width = 256 height = 256 +formats = 0x01a +#overwriteWidth = 768 +#overwriteHeight = 768 #Need to confirm on next Cemu version [TextureRedefine] # gamepad width = 854 diff --git a/Enthusiast/Splatoon_5760p/rules.txt b/Enthusiast/Splatoon_5760p/rules.txt index ee2c469e..6eecfe7e 100644 --- a/Enthusiast/Splatoon_5760p/rules.txt +++ b/Enthusiast/Splatoon_5760p/rules.txt @@ -58,10 +58,16 @@ overwriteHeight = 2016 [TextureRedefine] # player icon - GL_SRGB8_ALPHA8 width = 128 height = 128 +formats = 0x41A +#overwriteWidth = 384 +#overwriteHeight = 384 #Need to confirm on next Cemu version [TextureRedefine] # player icon - GL_RGBA8 width = 256 height = 256 +formats = 0x01a +#overwriteWidth = 768 +#overwriteHeight = 768 #Need to confirm on next Cemu version [TextureRedefine] # gamepad width = 854 diff --git a/Quality/Splatoon_1080p/rules.txt b/Quality/Splatoon_1080p/rules.txt index 75c7350e..684bc050 100644 --- a/Quality/Splatoon_1080p/rules.txt +++ b/Quality/Splatoon_1080p/rules.txt @@ -50,10 +50,16 @@ overwriteHeight = 378 [TextureRedefine] # player icon - GL_SRGB8_ALPHA8 width = 128 height = 128 +formats = 0x41A +#overwriteWidth = 384 +#overwriteHeight = 384 #Need to confirm on next Cemu version [TextureRedefine] # player icon - GL_RGBA8 width = 256 height = 256 +formats = 0x01a +#overwriteWidth = 768 +#overwriteHeight = 768 #Need to confirm on next Cemu version [TextureRedefine] # multiplayer width = 848 diff --git a/Quality/Splatoon_1080pUW/rules.txt b/Quality/Splatoon_1080pUW/rules.txt index 7f018093..6255c671 100644 --- a/Quality/Splatoon_1080pUW/rules.txt +++ b/Quality/Splatoon_1080pUW/rules.txt @@ -50,10 +50,16 @@ overwriteHeight = 378 [TextureRedefine] # player icon - GL_SRGB8_ALPHA8 width = 128 height = 128 +formats = 0x41A +#overwriteWidth = 384 +#overwriteHeight = 384 #Need to confirm on next Cemu version [TextureRedefine] # player icon - GL_RGBA8 width = 256 height = 256 +formats = 0x01a +#overwriteWidth = 768 +#overwriteHeight = 768 #Need to confirm on next Cemu version [TextureRedefine] # multiplayer width = 848 diff --git a/Quality/Splatoon_1440p/rules.txt b/Quality/Splatoon_1440p/rules.txt index bc3013c2..761fb3a4 100644 --- a/Quality/Splatoon_1440p/rules.txt +++ b/Quality/Splatoon_1440p/rules.txt @@ -50,10 +50,16 @@ overwriteHeight = 504 [TextureRedefine] # player icon - GL_SRGB8_ALPHA8 width = 128 height = 128 +formats = 0x41A +#overwriteWidth = 384 +#overwriteHeight = 384 #Need to confirm on next Cemu version [TextureRedefine] # player icon - GL_RGBA8 width = 256 height = 256 +formats = 0x01a +#overwriteWidth = 768 +#overwriteHeight = 768 #Need to confirm on next Cemu version [TextureRedefine] # multiplayer width = 848 diff --git a/Quality/Splatoon_1800p/rules.txt b/Quality/Splatoon_1800p/rules.txt index 0d83fd02..3f073cce 100644 --- a/Quality/Splatoon_1800p/rules.txt +++ b/Quality/Splatoon_1800p/rules.txt @@ -50,10 +50,16 @@ overwriteHeight = 630 [TextureRedefine] # player icon - GL_SRGB8_ALPHA8 width = 128 height = 128 +formats = 0x41A +#overwriteWidth = 384 +#overwriteHeight = 384 #Need to confirm on next Cemu version [TextureRedefine] # player icon - GL_RGBA8 width = 256 height = 256 +formats = 0x01a +#overwriteWidth = 768 +#overwriteHeight = 768 #Need to confirm on next Cemu version [TextureRedefine] # multiplayer width = 848 diff --git a/Quality/Splatoon_2160p/rules.txt b/Quality/Splatoon_2160p/rules.txt index 5f1eb051..c7166fcf 100644 --- a/Quality/Splatoon_2160p/rules.txt +++ b/Quality/Splatoon_2160p/rules.txt @@ -53,16 +53,16 @@ overwriteHeight = 756 [TextureRedefine] # player icon - GL_SRGB8_ALPHA8 width = 128 height = 128 -#formats = 0x41A +formats = 0x41A #overwriteWidth = 384 -#overwriteHeight = 384 #Need working confirmation on next Cemu version +#overwriteHeight = 384 #Need to confirm on next Cemu version [TextureRedefine] # player icon - GL_RGBA8 width = 256 height = 256 -#formats = 0x +formats = 0x01a #overwriteWidth = 768 -#overwriteHeight = 768 #Need working confirmation on next Cemu version +#overwriteHeight = 768 #Need to confirm on next Cemu version [TextureRedefine] # gamepad width = 854 From 383bfe96182937f8a897a76901eb034784693567 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 10 Oct 2017 22:33:38 -0700 Subject: [PATCH 4/4] [BotW] Add FPS++ (made by Xalphenos) This marks v2-100 on the AppVeyor! --- .../BreathOfTheWild_FPS++/patches.txt | 149 ++++++++++++++++++ Modifications/BreathOfTheWild_FPS++/rules.txt | 2 +- 2 files changed, 150 insertions(+), 1 deletion(-) create mode 100644 Modifications/BreathOfTheWild_FPS++/patches.txt diff --git a/Modifications/BreathOfTheWild_FPS++/patches.txt b/Modifications/BreathOfTheWild_FPS++/patches.txt new file mode 100644 index 00000000..6d8ae802 --- /dev/null +++ b/Modifications/BreathOfTheWild_FPS++/patches.txt @@ -0,0 +1,149 @@ +[Botw60fpsv112] +moduleMatches = 0x6FD41A61 + +#rodata constants + +_float1 = 0x1026E518 +_float3 = 0x100005D4 + +#TestCave +codeCaveSize = 0x9C + +_fpsCalc = 0x00000008 +0x00000000 = .float 3 ;edit me +_lowlimit = 0x00000000 +0x00000004 = .float 6294724 +_busSpeed = 0x00000004 +0x00000008 = stw r0, 0x78(r30) +0x0000000C = xoris r12, r12, 0x8000 +0x00000010 = stw r12, 0x12C(r30) +0x00000014 = lis r12, 0x4330 +0x00000018 = stw r12, 0x128(r30) +0x0000001C = lfd f10, 0x128(r30) +0x00000020 = stw r12, 0x138(r30) +0x00000024 = lis r12, 0x8000 +0x00000028 = stw r12, 0x13C(r30) +0x0000002C = lfd f12, 0x138(r30) +0x00000030 = fsub f10, f10, f12 +0x00000034 = frsp f10, f10 +0x00000038 = lis r12, _float1@ha +0x0000003C = lfs f12, _float1@l(r12) +0x00000040 = fdivs f10, f12, f10 +0x00000048 = lis r12, _busSpeed@ha +0x0000004C = lfs f12, _busSpeed@l(r12) +0x00000050 = fmuls f10, f12, f10 +0x00000054 = lis r12, _float3@ha +0x00000058 = lfs f12, _float3@l(r12) +0x0000005C = fdivs f7, f12, f10 +0x00000060 = lis r12, _lowlimit@ha +0x00000064 = lfs f12, _lowlimit@l(r12) +0x00000068 = fcmpu cr0, f7, f12 +0x0000006C = bge .+0x0C +0x00000070 = stfs f7, 0x130(r30) +0x00000074 = blr +0x00000078 = stfs f12, 0x130(r30) +0x0000007C = blr + +_fullspeed = 0x00000080 +0x00000080 = lis r3, 0x1126 +0x00000084 = lis r12, 0xB42C +0x00000088 = srawi r12, r12, 0x10 +0x0000008c = xoris r12, r12, 0xFFFF +0x00000090 = or r3, r3, r12 +0x00000094 = lfs f0, 0x0(r3) +0x00000098 = blr + +#Branch +0x030D5080 = bla _fpsCalc +0x03653634 = nop +0x03653640 = nop +0x03653684 = bla _fullspeed +0x032E4130 = bla _fullspeed + +#break all forms of frame limiting +0x030D5200 = nop +0x030D53D4 = nop +0x030D53f8 = nop +0x030D5808 = li r0, 1 +0x030D57C4 = li r0, 1 + +#experimental +;0x02F7ECB8 = li r3, 0 +;0x02F7ED60 = li r3, 0 +;0x02F87224 = li r7, 1 +;0x02F87474 = li r7, 1 + +[Botw60fpsv97] +moduleMatches = 0xD71D859D + +#rodata constants + +_float1 = 0x10000660 +_float3 = 0x100031fC + +#TestCave +codeCaveSize = 0x9C + +_fpsCalc = 0x00000008 +0x00000000 = .float 3 ;edit me +_lowlimit = 0x00000000 +0x00000004 = .float 6294724 +_busSpeed = 0x00000004 +0x00000008 = stw r0, 0x78(r30) +0x0000000C = xoris r12, r12, 0x8000 +0x00000010 = stw r12, 0x12C(r30) +0x00000014 = lis r12, 0x4330 +0x00000018 = stw r12, 0x128(r30) +0x0000001C = lfd f10, 0x128(r30) +0x00000020 = stw r12, 0x138(r30) +0x00000024 = lis r12, 0x8000 +0x00000028 = stw r12, 0x13C(r30) +0x0000002C = lfd f12, 0x138(r30) +0x00000030 = fsub f10, f10, f12 +0x00000034 = frsp f10, f10 +0x00000038 = lis r12, _float1@ha +0x0000003C = lfs f12, _float1@l(r12) +0x00000040 = fdivs f10, f12, f10 +0x00000048 = lis r12, _busSpeed@ha +0x0000004C = lfs f12, _busSpeed@l(r12) +0x00000050 = fmuls f10, f12, f10 +0x00000054 = lis r12, _float3@ha +0x00000058 = lfs f12, _float3@l(r12) +0x0000005C = fdivs f7, f12, f10 +0x00000060 = lis r12, _lowlimit@ha +0x00000064 = lfs f12, _lowlimit@l(r12) +0x00000068 = fcmpu cr0, f7, f12 +0x0000006C = bge .+0x0C +0x00000070 = stfs f7, 0x130(r30) +0x00000074 = blr +0x00000078 = stfs f12, 0x130(r30) +0x0000007C = blr + +_fullspeed = 0x00000080 +0x00000080 = lis r3, 0x1126 +0x00000084 = lis r12, 0xA824 +0x00000088 = srawi r12, r12, 0x10 +0x0000008c = xoris r12, r12, 0xFFFF +0x00000090 = or r3, r3, r12 +0x00000094 = lfs f0, 0x0(r3) +0x00000098 = blr + +#Branch +0x030D4120 = bla _fpsCalc +0x03652620 = nop +0x0365262C = nop +0x03652670 = bla _fullspeed +0x032E31D0 = bla _fullspeed + +#break all forms of frame limiting +0x030D42A0 = nop +0x030D4474 = nop +0x030D4498 = nop +0x030D48A8 = li r0, 1 +0x030D4864 = li r0, 1 + +#experimental +;0x02F7DD58 = li r3, 0 +;0x02F7DE00 = li r3, 0 +;0x02F862C4 = li r7, 1 +;0x02F86514 = li r7, 1 \ No newline at end of file diff --git a/Modifications/BreathOfTheWild_FPS++/rules.txt b/Modifications/BreathOfTheWild_FPS++/rules.txt index 2f0aebb2..405c5997 100644 --- a/Modifications/BreathOfTheWild_FPS++/rules.txt +++ b/Modifications/BreathOfTheWild_FPS++/rules.txt @@ -1,4 +1,4 @@ [Definition] titleIds = 00050000101C9300,00050000101C9400,00050000101C9500 -name = "The Legend of Zelda: Breath of the Wild - FPS++ (dummy pack, nothing here yet)" +name = "The Legend of Zelda: Breath of the Wild - FPS++" version = 2 \ No newline at end of file