mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-26 03:24:15 +01:00
Updating MK8 UW patches (#76)
* Update patches.txt Edits aspect ratio a different way. Resolves 2p split screen, and 3d models on multiplayer character select screen from having incorrect aspect ratio. Though the latter was close enough that most people probably didn't notice. * Update patches.txt Edits aspect ratio a different way. Resolves 2p split screen, and 3d models on multiplayer character select screen from having incorrect aspect ratio. Though the latter was close enough that most people probably didn't notice. * Update patches.txt Separating 4.1 from 4.0 just in case the changed rodata constant causes problems. * Update patches.txt Separating v4.1 from v4 just in case the changed rodata constant causes issues.
This commit is contained in:
parent
787eb73abd
commit
1e1c5af472
@ -2,34 +2,98 @@
|
|||||||
moduleMatches = 0x2A2DC82C
|
moduleMatches = 0x2A2DC82C
|
||||||
0x10097D94 = .float 2.370
|
0x10097D94 = .float 2.370
|
||||||
0x100F3430 = .float 2.370
|
0x100F3430 = .float 2.370
|
||||||
_aspectAddr = 0x10097D94
|
|
||||||
|
|
||||||
0x02416758 = lis r7, _aspectAddr@ha
|
#aspect scaling
|
||||||
0x02416760 = lfs f7, _aspectAddr@l(r7)
|
codeCaveSize = 0x18
|
||||||
|
|
||||||
|
_scaleAspect = 0x00000004
|
||||||
|
0x00000000 = .float 1.333333
|
||||||
|
_scaleAddr = 0x00000000
|
||||||
|
0x00000004 = fdivs f9, f13, f12
|
||||||
|
0x00000008 = lis r7, _scaleAddr@ha
|
||||||
|
0x0000000C = lfs f12, _scaleAddr@l(r7)
|
||||||
|
0x00000010 = fmuls f7, f9, f12
|
||||||
|
0x00000014 = blr
|
||||||
|
|
||||||
|
#replace math with branch
|
||||||
|
0x02416760 = bla _scaleAspect
|
||||||
|
|
||||||
[MK8AspectVer2]
|
[MK8AspectVer2]
|
||||||
moduleMatches = 0x62A5F023
|
moduleMatches = 0x62A5F023
|
||||||
0x1009E9DC = .float 2.370
|
0x1009E9DC = .float 2.370
|
||||||
0x100FC030 = .float 2.370
|
0x100FC030 = .float 2.370
|
||||||
_aspectAddr = 0x1009E9DC
|
|
||||||
|
|
||||||
0x024376CC = lis r7, _aspectAddr@ha
|
#aspect scaling
|
||||||
0x024376D4 = lfs f7, _aspectAddr@l(r7)
|
codeCaveSize = 0x18
|
||||||
|
|
||||||
|
_scaleAspect = 0x00000004
|
||||||
|
0x00000000 = .float 1.333333
|
||||||
|
_scaleAddr = 0x00000000
|
||||||
|
0x00000004 = fdivs f9, f13, f12
|
||||||
|
0x00000008 = lis r7, _scaleAddr@ha
|
||||||
|
0x0000000C = lfs f12, _scaleAddr@l(r7)
|
||||||
|
0x00000010 = fmuls f7, f9, f12
|
||||||
|
0x00000014 = blr
|
||||||
|
|
||||||
|
#replace math with branch
|
||||||
|
0x024376D4 = bla _scaleAspect
|
||||||
|
|
||||||
[MK8AspectVer3]
|
[MK8AspectVer3]
|
||||||
moduleMatches = 0xBA6B1E20
|
moduleMatches = 0xBA6B1E20
|
||||||
0x100AC25C = .float 2.370
|
0x100AC25C = .float 2.370
|
||||||
0x1010A730 = .float 2.370
|
0x1010A730 = .float 2.370
|
||||||
_aspectAddr = 0x100AC25C
|
|
||||||
|
|
||||||
0x024642E0 = lis r7, _aspectAddr@ha
|
#aspect scaling
|
||||||
0x024642E8 = lfs f7, _aspectAddr@l(r7)
|
codeCaveSize = 0x18
|
||||||
|
|
||||||
|
_scaleAspect = 0x00000004
|
||||||
|
0x00000000 = .float 1.333333
|
||||||
|
_scaleAddr = 0x00000000
|
||||||
|
0x00000004 = fdivs f9, f13, f12
|
||||||
|
0x00000008 = lis r7, _scaleAddr@ha
|
||||||
|
0x0000000C = lfs f12, _scaleAddr@l(r7)
|
||||||
|
0x00000010 = fmuls f7, f9, f12
|
||||||
|
0x00000014 = blr
|
||||||
|
|
||||||
|
#replace math with branch
|
||||||
|
0x024642E8 = bla _scaleAspect
|
||||||
|
|
||||||
[MK8AspectVer4]
|
[MK8AspectVer4]
|
||||||
moduleMatches = 0x1D398493, 0xD09700CE
|
moduleMatches = 0x1D398493
|
||||||
0x100C359C = .float 2.370
|
0x100C359C = .float 2.370
|
||||||
0x10121D30 = .float 2.370
|
0x10121D30 = .float 2.370
|
||||||
_aspectAddr = 0x100C359C
|
|
||||||
|
|
||||||
0x024AEBE4 = lis r7, _aspectAddr@ha
|
#aspect scaling
|
||||||
0x024AEBEC = lfs f7, _aspectAddr@l(r7)
|
codeCaveSize = 0x18
|
||||||
|
|
||||||
|
_scaleAspect = 0x00000004
|
||||||
|
0x00000000 = .float 1.333333
|
||||||
|
_scaleAddr = 0x00000000
|
||||||
|
0x00000004 = fdivs f9, f13, f12
|
||||||
|
0x00000008 = lis r7, _scaleAddr@ha
|
||||||
|
0x0000000C = lfs f12, _scaleAddr@l(r7)
|
||||||
|
0x00000010 = fmuls f7, f9, f12
|
||||||
|
0x00000014 = blr
|
||||||
|
|
||||||
|
#replace math with branch
|
||||||
|
0x024AEBEC = bla _scaleAspect
|
||||||
|
|
||||||
|
[MK8AspectVer4.1]
|
||||||
|
moduleMatches = 0xD09700CE
|
||||||
|
0x100C359C = .float 2.370
|
||||||
|
0x10121E30 = .float 2.370
|
||||||
|
|
||||||
|
#aspect scaling
|
||||||
|
codeCaveSize = 0x18
|
||||||
|
|
||||||
|
_scaleAspect = 0x00000004
|
||||||
|
0x00000000 = .float 1.333333
|
||||||
|
_scaleAddr = 0x00000000
|
||||||
|
0x00000004 = fdivs f9, f13, f12
|
||||||
|
0x00000008 = lis r7, _scaleAddr@ha
|
||||||
|
0x0000000C = lfs f12, _scaleAddr@l(r7)
|
||||||
|
0x00000010 = fmuls f7, f9, f12
|
||||||
|
0x00000014 = blr
|
||||||
|
|
||||||
|
#replace math with branch
|
||||||
|
0x024AEBEC = bla _scaleAspect
|
||||||
|
@ -2,34 +2,98 @@
|
|||||||
moduleMatches = 0x2A2DC82C
|
moduleMatches = 0x2A2DC82C
|
||||||
0x10097D94 = .float 2.370
|
0x10097D94 = .float 2.370
|
||||||
0x100F3430 = .float 2.370
|
0x100F3430 = .float 2.370
|
||||||
_aspectAddr = 0x10097D94
|
|
||||||
|
|
||||||
0x02416758 = lis r7, _aspectAddr@ha
|
#aspect scaling
|
||||||
0x02416760 = lfs f7, _aspectAddr@l(r7)
|
codeCaveSize = 0x18
|
||||||
|
|
||||||
|
_scaleAspect = 0x00000004
|
||||||
|
0x00000000 = .float 1.333333
|
||||||
|
_scaleAddr = 0x00000000
|
||||||
|
0x00000004 = fdivs f9, f13, f12
|
||||||
|
0x00000008 = lis r7, _scaleAddr@ha
|
||||||
|
0x0000000C = lfs f12, _scaleAddr@l(r7)
|
||||||
|
0x00000010 = fmuls f7, f9, f12
|
||||||
|
0x00000014 = blr
|
||||||
|
|
||||||
|
#replace math with branch
|
||||||
|
0x02416760 = bla _scaleAspect
|
||||||
|
|
||||||
[MK8AspectVer2]
|
[MK8AspectVer2]
|
||||||
moduleMatches = 0x62A5F023
|
moduleMatches = 0x62A5F023
|
||||||
0x1009E9DC = .float 2.370
|
0x1009E9DC = .float 2.370
|
||||||
0x100FC030 = .float 2.370
|
0x100FC030 = .float 2.370
|
||||||
_aspectAddr = 0x1009E9DC
|
|
||||||
|
|
||||||
0x024376CC = lis r7, _aspectAddr@ha
|
#aspect scaling
|
||||||
0x024376D4 = lfs f7, _aspectAddr@l(r7)
|
codeCaveSize = 0x18
|
||||||
|
|
||||||
|
_scaleAspect = 0x00000004
|
||||||
|
0x00000000 = .float 1.333333
|
||||||
|
_scaleAddr = 0x00000000
|
||||||
|
0x00000004 = fdivs f9, f13, f12
|
||||||
|
0x00000008 = lis r7, _scaleAddr@ha
|
||||||
|
0x0000000C = lfs f12, _scaleAddr@l(r7)
|
||||||
|
0x00000010 = fmuls f7, f9, f12
|
||||||
|
0x00000014 = blr
|
||||||
|
|
||||||
|
#replace math with branch
|
||||||
|
0x024376D4 = bla _scaleAspect
|
||||||
|
|
||||||
[MK8AspectVer3]
|
[MK8AspectVer3]
|
||||||
moduleMatches = 0xBA6B1E20
|
moduleMatches = 0xBA6B1E20
|
||||||
0x100AC25C = .float 2.370
|
0x100AC25C = .float 2.370
|
||||||
0x1010A730 = .float 2.370
|
0x1010A730 = .float 2.370
|
||||||
_aspectAddr = 0x100AC25C
|
|
||||||
|
|
||||||
0x024642E0 = lis r7, _aspectAddr@ha
|
#aspect scaling
|
||||||
0x024642E8 = lfs f7, _aspectAddr@l(r7)
|
codeCaveSize = 0x18
|
||||||
|
|
||||||
|
_scaleAspect = 0x00000004
|
||||||
|
0x00000000 = .float 1.333333
|
||||||
|
_scaleAddr = 0x00000000
|
||||||
|
0x00000004 = fdivs f9, f13, f12
|
||||||
|
0x00000008 = lis r7, _scaleAddr@ha
|
||||||
|
0x0000000C = lfs f12, _scaleAddr@l(r7)
|
||||||
|
0x00000010 = fmuls f7, f9, f12
|
||||||
|
0x00000014 = blr
|
||||||
|
|
||||||
|
#replace math with branch
|
||||||
|
0x024642E8 = bla _scaleAspect
|
||||||
|
|
||||||
[MK8AspectVer4]
|
[MK8AspectVer4]
|
||||||
moduleMatches = 0x1D398493, 0xD09700CE
|
moduleMatches = 0x1D398493
|
||||||
0x100C359C = .float 2.370
|
0x100C359C = .float 2.370
|
||||||
0x10121D30 = .float 2.370
|
0x10121D30 = .float 2.370
|
||||||
_aspectAddr = 0x100C359C
|
|
||||||
|
|
||||||
0x024AEBE4 = lis r7, _aspectAddr@ha
|
#aspect scaling
|
||||||
0x024AEBEC = lfs f7, _aspectAddr@l(r7)
|
codeCaveSize = 0x18
|
||||||
|
|
||||||
|
_scaleAspect = 0x00000004
|
||||||
|
0x00000000 = .float 1.333333
|
||||||
|
_scaleAddr = 0x00000000
|
||||||
|
0x00000004 = fdivs f9, f13, f12
|
||||||
|
0x00000008 = lis r7, _scaleAddr@ha
|
||||||
|
0x0000000C = lfs f12, _scaleAddr@l(r7)
|
||||||
|
0x00000010 = fmuls f7, f9, f12
|
||||||
|
0x00000014 = blr
|
||||||
|
|
||||||
|
#replace math with branch
|
||||||
|
0x024AEBEC = bla _scaleAspect
|
||||||
|
|
||||||
|
[MK8AspectVer4.1]
|
||||||
|
moduleMatches = 0xD09700CE
|
||||||
|
0x100C359C = .float 2.370
|
||||||
|
0x10121E30 = .float 2.370
|
||||||
|
|
||||||
|
#aspect scaling
|
||||||
|
codeCaveSize = 0x18
|
||||||
|
|
||||||
|
_scaleAspect = 0x00000004
|
||||||
|
0x00000000 = .float 1.333333
|
||||||
|
_scaleAddr = 0x00000000
|
||||||
|
0x00000004 = fdivs f9, f13, f12
|
||||||
|
0x00000008 = lis r7, _scaleAddr@ha
|
||||||
|
0x0000000C = lfs f12, _scaleAddr@l(r7)
|
||||||
|
0x00000010 = fmuls f7, f9, f12
|
||||||
|
0x00000014 = blr
|
||||||
|
|
||||||
|
#replace math with branch
|
||||||
|
0x024AEBEC = bla _scaleAspect
|
||||||
|
Loading…
Reference in New Issue
Block a user