forked from masagrator/FPSLocker-Warehouse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
9B4E43650501A4D4.yaml
177 lines (174 loc) · 3.78 KB
/
9B4E43650501A4D4.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
# The Legend of Zelda: Tears of The Kingdom 1.2.1
# BID: 9B4E43650501A4D4
Addons:
- atmosphere/contents/0100F2C0115B6000/exefs/main.npdm
unsafeCheck: true
MASTER_WRITE:
# Remove double buffer
-
type: bytes
main_offset: 0x21BE6D0
value_type: uint32
value:
- 0x52800021
- 0x52800068
- 0x39029661
# CODE CAVE
-
type: bytes
main_offset: 0x2B19A50
value_type: uint32
value:
- 0xD63F0100
- 0x97FFF72F
- 0xB000E081
- 0xF9455828
- 0xF9055820
- 0xB5000048
- 0x17E5BF5A
- 0xCB080000
- 0x97FFF820
- 0x528502A2
- 0x72A00FE2
- 0x52881541
- 0x72A07F21
- 0xEB01001F
- 0x9A80C020
- 0xEB02001F
- 0x9A80B040
- 0x1E630000
- 0x52800042
- 0x1AC20821
- 0x1E630021
- 0x1E611800
- 0xB000E081
- 0x1E624000
- 0xBD0AB820
- 0x14000008
- 0xB000E081
- 0xB90ABC22
- 0x178E31AD
- 0x52800042
- 0xB000E081
- 0xB90ABC22
- 0x17FFFF0C
- 0xB94ABC22
- 0x34000102
- 0xF85F0260
- 0x7100045F
- 0x540000CC
- 0x12800021
- 0xF000DAA8
- 0xF9451508
- 0xD63F0100
- 0x17E5BF36
- 0xB000E082
- 0xB94AC041
- 0xB90AC05F
- 0xF000DAA8
- 0xF9451508
- 0xD63F0100
- 0x17E5BF2F
- 0x52800022
- 0x17FFFFE7
- 0x1E202048
- 0x54000041
- 0x1E2E1000
- 0x1E222808
- 0x1E202028
- 0x1770F360
- 0xB000E081
- 0xBD4AB821
- 0xBD4C5400
- 0x1E210800
- 0xD65F03C0
# Connect game speed to code cave's calculation
-
type: bytes
main_offset: 0x24897CC
value_type: uint32
value: 0x141A40A1
# Lock prerendered cutscenes to 30 FPS and unlock after while reading expected interval from MAIN + 0x472AAC0
-
type: bytes
main_offset: 0x2484F30
value_type: uint32
value: 0x941A52FA
-
type: bytes
main_offset: 0xEA42E8
value_type: uint32
value: 0x1471D5F7
# Adjust DR timing to FPS target by reading factor from MAIN + 0x472AAC4
-
type: bytes
main_offset: 0x972C14
value_type: uint32
value:
- 0x9001EDC8
- 0xBD4AC501
# Read game's speed from bss caved game speed at MAIN + 0x472AAB8
-
type: bytes
main_offset: 0x7EDE7C
value_type: uint32
value:
- 0xB001F9E1
- 0x1E27D001
- 0xBD4AB820
- 0xD503201F
- 0xF001F228
- 0xAA0003F3
- 0x1E211801
- 0xD503201F
# Fix black background for D-pad menu
-
type: bytes
main_offset: 0x7568B0
value_type: uint32
value: 0x148F0C9C
# Fix vertical aiming speed for Ultrahand (thanks to Last Breath for pointer)
-
type: bytes
main_offset: 0x1D48D40
value_type: uint32
value: 0x9437437E
# Default values
-
type: bytes
main_offset: 0x472AAB8
value_type: float
value: 1.0
-
type: bytes
main_offset: 0x472AAC0
value_type: int32
value: -2
-
type: bytes
main_offset: 0x472AAC4
value_type: float
value: 0.001
ALL_FPS:
# Set default interval to use by patch when exiting prerender cutscene
-
type: evaluate_write
address: [MAIN, 0x472AAC0]
value_type: int32
value: "VSYNC_TARGET * -1"
# DR GPU Time Factor
-
type: evaluate_write
address: [MAIN, 0x472AAC4]
value_type: float
value: "(FPS_TARGET / 30) * 0.001"
ALL_REFRESH_RATES:
-
type: compare
compare_address: [MAIN, 0x472AABC]
compare_type: "=="
compare_value_type: uint32
compare_value: 1
address: [MAIN]
value_type: refresh_rate
value: 30