summaryrefslogtreecommitdiff
path: root/bugfixes.yaml
blob: bc0c1306f80e49258ff83f20c5e5947820fdd1f6 (plain)
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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
---
# This has kind of turned into the "random stuff that we don't want to make a yaml for"
# yaml, hasn't it...
source_files: [../src/randomcrap.S, ../src/music.cpp, ../src/fix38.S, ../src/nullsub.S, ../src/newer.cpp]#, ../src/anmconstruct.S]
hooks:
  - name: TryAndFixScoreGlitch
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x8010D014
    target_func: 'TryAndFixScoreGlitch'

  - name: ReplaceExceptionOccurred
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80234CE0
    target_func: 'ReplaceExceptionOccurred'
  - {name: DeleteMainInfo, type: patch, addr_pal: 0x8034D410, data: '00000000'}
  - {name: DeleteTrace, type: patch, addr_pal: 0x8034D590, data: '00000000'}
  - {name: DeleteTraceHeadings, type: patch, addr_pal: 0x8034D5B8, data: '00000000'}
  - {name: DeleteContextExc, type: patch, addr_pal: 0x8034D614, data: '00000000'}
  - {name: DeleteContext, type: patch, addr_pal: 0x8034D634, data: '00000000'}
  - {name: DeleteDsisrDar, type: patch, addr_pal: 0x8034D770, data: '00000000'}

  - name: RedRingEventControl
    type: branch_insn
    branch_type: b
    src_addr_pal: 0x80A93038
    target_func: 'RedRingEventControl'

  - name: HigherBobombTileExplosionRadius
    type: patch
    addr_pal: 0x809CB118
    data: '2C1C0003'
  - name: DisableTerrainShading
    type: patch
    addr_pal: 0x8008E6F8
    data: '38600000'

  - name: TitleScreenFucker
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x8010191C
    target_func: 'TitleScreenFucker'
  - name: AnotherTSThing
    type: patch
    addr_pal: 0x8015D850
    data: '38600000'

  - name: TitleReplayLevels
    type: patch
    addr_pal: 0x802F4CD0
    data: '0402 0002 0101 0104 0202 0002 0301 0306 0400 0402 0501 0503 0104 0900 0900'

  - name: NoTitleScreenMovie
    type: nop_insn
    area_pal: 0x80781FB8

#  - name: MPPauseFix1
#    type: branch_insn
#    branch_type: bl
#    target_func: 'mpPauseFix1'
#    src_addr_pal: 0x801410C4
#This one disables the player freezing and doing the grow animation
#skawo didn't like it
#  - name: MPPauseFix2
#    type: branch_insn
#    branch_type: bl
#    target_func: 'mpPauseFix2'
#    src_addr_pal: 0x801410DC
#  - name: MPPauseFix3
#    type: branch_insn
#    branch_type: b
#    target_func: 'mpPauseFix3'
#    src_addr_pal: 0x801412A0
#  - name: MPPauseFix4
#    type: branch_insn
#    branch_type: bl
#    target_func: 'mpPauseFix4'
#    src_addr_pal: 0x8014169C

  - name: MPDeathPauseFix
    type: nop_insn
    area_pal: 0x8013DA70

  - name: FixMemoryLeaks
    type: patch
    addr_pal: 0x800E53E0
    data: '4E800020'

  - name: ClimbSounds
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80132EFC
    target_func: 'newClimbSounds'

  - name: ClimbSoundsJumpS
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80133120
    target_func: 'newClimbSoundsJumpS'
  - name: ClimbSoundsJumpSS
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80133134
    target_func: 'newClimbSoundsJumpSS'
  - name: ClimbSoundsJump
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80133148
    target_func: 'newClimbSoundsJump'

  - name: ClimbSoundsLand
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80132AE8
    target_func: 'newClimbSoundsLand'

  - name: ClimbSoundsAttack
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x801334E4
    target_func: 'newClimbSoundsAttack'

  - name: MusicHax
    type: branch_insn
    src_addr_pal: 0x8008E5E4
    branch_type: b
    target_func: 'after_course_getMusicForZone'

  # IDs to nuke: 1, 2, 4, 10
  - name: MusicNukeBahpsNormal1
    type: patch
    addr_pal: 0x802F6BC8
    data: '00000000 00000000 00000000 00000000'
  - name: MusicNukeBahpsNormal2
    type: patch
    addr_pal: 0x802F6BE0
    data: '00000000 00000000'
  - name: MusicNukeBahpsNormal3
    type: patch
    addr_pal: 0x802F6C10
    data: '00000000 00000000'

  - name: MusicNukeBahpsFast1
    type: patch
    addr_pal: 0x802F6CB0
    data: '00000000 00000000 00000000 00000000'
  - name: MusicNukeBahpsFast2
    type: patch
    addr_pal: 0x802F6CC8
    data: '00000000 00000000'
  - name: MusicNukeBahpsFast3
    type: patch
    addr_pal: 0x802F6CF8
    data: '00000000 00000000'

  - name: Fix38WithJumpCoin
    src_addr_pal: 0x807EBC5C
    type: branch_insn
    branch_type: b
    target_func: 'fix38WithJumpCoin'

  - name: 1-1 BG Fix
    type: patch
    addr_ntsc: 0x80117F6C
    addr_pal: 0x801180AC
    data: '38000003'
    
  - name: PipeFix_NodeCalc
    type: patch
    addr_ntsc: 0x800508F8
    addr_pal: 0x800508F8
    data: 'A01E0010540007FF41820014A0E300043807FFFEB01F042C4800000C38000001B01F042CA0A30002A89F042C80C6003C7C052214540020367CA60214A8850002'
    
  - name: PipeFix_ExitPatch1
    type: patch
    addr_ntsc: 0x80050A5C
    addr_pal: 0x80050A5C
    data: '88030013'
    
  - name: PipeFix_ExitPatch2
    type: patch
    addr_ntsc: 0x80050A60
    addr_pal: 0x80050A60
    data: '2C000000'
    
  - name: PipeFix_ExitPatch3
    type: patch
    addr_ntsc: 0x80050A68
    addr_pal: 0x80050A68
    data: '2C000001'
    
  - name: PipeFix_ExitPatch4
    type: patch
    addr_ntsc: 0x80050A70
    addr_pal: 0x80050A70
    data: '2C000002'
    
  - name: PipeFix_ExitPatch5
    type: patch
    addr_ntsc: 0x80050A78
    addr_pal: 0x80050A78
    data: '2C000003'
    
  - name: PipeFix_ExitPatch6
    type: patch
    addr_ntsc: 0x80050A88
    addr_pal: 0x80050A88
    data: '389F065C'
    
  - name: ChestnutGoombaForTargets # sprite 10
    type: patch
    addr_ntsc: 0x8030A1D0
    addr_pal: 0x8030A4D0
    data: '00C8 0000 00000008 FFFFFFF0 00000000 00000000 0000000A 0000000A 0000 0000 0000 0000 0002 0000'
    
  - name: TileGodLayerFix
    type: patch
    addr_ntsc: 0xdeadbeef
    addr_pal: 0x807E16D0
    data: '88D2038F'
    
  - name: EN_BIGPILEFix
    type: patch
    addr_pal: 0x8001F93C
    data: '48000014'

  - name: RockyWrenchFix
    type: patch
    addr_pal: 0x808A9448
    data: '60000000'

#  - name: HeapChangeAttempt
#    type: branch_insn
#    branch_type: bl
#    src_addr_ntsc: 0xdeadbeef
#    src_addr_pal: 0x80081E34
#    target_func: 'HeapChangeAttempt'
    
  - name: StarsDontKillSpikesUD
    type: add_func_pointer
    src_addr_pal: 0x80AFF4D8
    target_func: 'ReturnNone'

  - name: StarsDontKillSpikesD
    type: add_func_pointer
    src_addr_pal: 0x80AFF784
    target_func: 'ReturnNone'

  - name: StarsDontKillSpikesU
    type: add_func_pointer
    src_addr_pal: 0x80AFFA30
    target_func: 'ReturnNone'

  - name: StarsDontKillSpikesLR
    type: add_func_pointer
    src_addr_pal: 0x80AFFCDC
    target_func: 'ReturnNone'

  - name: StarsDontKillSpikesR
    type: add_func_pointer
    src_addr_pal: 0x80AFFF88
    target_func: 'ReturnNone'

  - name: StarsDontKillSpikesL
    type: add_func_pointer
    src_addr_pal: 0x80B00234
    target_func: 'ReturnNone'

  - name: DisableBowserPow
    type: add_func_pointer
    src_addr_pal: 0x80B7E854
    target_func: 'ReturnNone'

  - {name: PowEvent1, type: branch_insn, branch_type: b, src_addr_pal: 0x80892DFC, target_func: 'PowEvent'}
  - {name: PowEvent2, type: branch_insn, branch_type: b, src_addr_pal: 0x80893044, target_func: 'PowEvent'}

  - {name: AlwaysDrawPictureFontWhite, type: branch_insn, branch_type: b, src_addr_pal: 0x800E596C, target_func: 'TextWriterCrap'}
  - {name: DebugSCM, type: branch_insn, branch_type: b, src_addr_pal: 0x8006A6C4, target_func: 'EndSCM'}

  - {name: FrontCrow, type: patch, addr_pal: 0x80ACF6A0, data: '45ABE000'} # 5500.0f

  - name: DisableBigMetPenguinSlideIgnoring
    type: patch
    addr_pal: 0x809B6EF0
    data: '38600000'

  - name: DisableBigMetFireballIgnoring
    type: patch
    addr_pal: 0x809B6EC0
    data: '38600000'

  - name: DisableBigMetIceballIgnoring
    type: patch
    addr_pal: 0x809B6EB0
    data: '38600000'

  - name: GiganticBackgrounds
    type: branch_insn
    branch_type: b
    src_addr_pal: 0x8011857C
    target_func: 'GiganticBackgrounds'

  - name: FixFireballSensorSetup
    type: branch_insn
    branch_type: b
    src_addr_pal: 0x8011A82C
    target_func: 'FixFireballSensorSetup'

  - name: BigMetSlidingFix
    type: branch_insn
    branch_type: b
    src_addr_pal: 0x809B6F60
    target_func: 'BigMetSlidingFix'

  - name: FuckLineLiftWithARake
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x808399D4
    target_func: 'FuckLineLiftWithARake'
  - name: AlsoFuckTheLineLiftActivation
    type: branch_insn
    branch_type: b
    src_addr_pal: 0x80839B00
    target_func: 'AlsoFuckTheLineLiftActivation'

  - name: ThwompNewAutoDestruction
    type: branch_insn
    branch_type: b
    src_addr_pal: 0x809F5E44
    target_func: 'ThwompNewAutoDestruction'

  - name: ThwompNeverDieOutOfZone
    type: nop_insn
    area_pal: 0x809F5E40

  - name: FixRunAnimTypo
    type: add_func_pointer
    src_addr_pal: 0x802F2A4C
    target_func: 'Rrun'

  # - name: FuckUpYoshi
  #   type: branch_insn
  #   branch_type: b
  #   src_addr_pal: 0x809FEFBC
  #   target_func: 'FuckUpYoshi'
  # - name: FuckUpYoshi2
  #   type: branch_insn
  #   branch_type: b
  #   src_addr_pal: 0x800A7638
  #   target_func: 'FuckUpYoshi2'
  # - name: YoshiStartAnimWrapper
  #   type: add_func_pointer
  #   src_addr_pal: 0x8031C5F4
  #   target_func: 'YoshiStartAnimWrapper'
  # - name: YoshiStateWrapper
  #   type: add_func_pointer
  #   src_addr_pal: 0x80326D70
  #   target_func: 'YoshiStateWrapper'
  # - name: AnmChrConstructWrapper
  #   type: branch_insn
  #   branch_type: b
  #   src_addr_pal: 0x80248AD0
  #   target_func: 'AnmChrConstructWrapper'

  - name: BroozerCrashAvoidance2
    type: patch
    addr_pal: 0x809EB284
    data: '60000000'

  - name: BroozerCrashAvoidance3
    type: patch
    addr_pal: 0x809EC5B4
    data: '38600001'

  - name: JrFloorFireHax
    type: branch_insn
    branch_type: bl
    src_addr_pal: 0x80816370
    target_func: 'JrFloorFireHax'