diff options
author | Treeki <treeki@gmail.com> | 2011-03-12 23:17:12 +0100 |
---|---|---|
committer | Treeki <treeki@gmail.com> | 2011-03-12 23:17:12 +0100 |
commit | 7d4e4c0b34a613dd3c0220475ae4e448197522c1 (patch) | |
tree | 4f5cee367de3fdef4f9a7c84af59ffe76a2bb1c3 /processed | |
download | kamek-7d4e4c0b34a613dd3c0220475ae4e448197522c1.tar.gz kamek-7d4e4c0b34a613dd3c0220475ae4e448197522c1.zip |
initial commit. now I can start playing with stuff!
Diffstat (limited to '')
-rw-r--r-- | processed/3dlib.yaml | 8 | ||||
-rw-r--r-- | processed/animtiles.yaml | 10 | ||||
-rw-r--r-- | processed/anotherhax.yaml | 41 | ||||
-rw-r--r-- | processed/bugfixes.yaml | 26 | ||||
-rw-r--r-- | processed/fix2-24.yaml | 33 | ||||
-rw-r--r-- | processed/gakenoko.yaml | 5 | ||||
-rw-r--r-- | processed/heapbar.yaml | 4 | ||||
-rw-r--r-- | processed/levelnames.yaml | 5 | ||||
-rw-r--r-- | processed/linegod.yaml | 14 | ||||
-rw-r--r-- | processed/msgbox.yaml | 5 | ||||
-rw-r--r-- | processed/poweruphax.yaml | 109 | ||||
-rw-r--r-- | processed/spritetex.yaml | 4 | ||||
-rw-r--r-- | processed/tilegod.yaml | 7 | ||||
-rw-r--r-- | processed/worldmap.yaml | 15 |
14 files changed, 286 insertions, 0 deletions
diff --git a/processed/3dlib.yaml b/processed/3dlib.yaml new file mode 100644 index 0000000..e02b94d --- /dev/null +++ b/processed/3dlib.yaml @@ -0,0 +1,8 @@ +hooks: +- {branch_type: b, name: CallT3DInit, src_addr_ntsc: 2148908760, src_addr_ntsc2: 2148908760, + src_addr_pal: 2148909080, src_addr_pal2: 2148908760, target_func: 'T3D::Init(bool)', + type: branch_insn} +- {branch_type: b, name: CallT3DDrawQueue, src_addr_ntsc: 2157017700, src_addr_ntsc2: 2157017716, + src_addr_pal: 2157017700, src_addr_pal2: 2157017700, target_func: 'T3D::DrawQueue(void)', + type: branch_insn} +source_files: [../3dlib/treeki3d.cpp, ../3dlib/tpl_ext.S] diff --git a/processed/animtiles.yaml b/processed/animtiles.yaml new file mode 100644 index 0000000..9e4b056 --- /dev/null +++ b/processed/animtiles.yaml @@ -0,0 +1,10 @@ +hooks: +- {branch_type: bl, name: AnimatedTiles, src_addr_ntsc: 2148038296, src_addr_ntsc2: 2148038296, + src_addr_pal: 2148038296, src_addr_pal2: 2148038296, target_func: DoTiles(void *), + type: branch_insn} +- {branch_type: b, name: AnimatedTilesDestroy, src_addr_ntsc: 2148037896, src_addr_ntsc2: 2148037896, + src_addr_pal: 2148037896, src_addr_pal2: 2148037896, target_func: DestroyTiles(void + *), type: branch_insn} +- {addr_ntsc: 2148037956, addr_ntsc2: 2148037956, addr_pal: 2148037956, addr_pal2: 2148037956, + data: 3880 1000, name: AnimTileFrameHeapPatch, type: patch} +source_files: [../src/animtiles.cpp] diff --git a/processed/anotherhax.yaml b/processed/anotherhax.yaml new file mode 100644 index 0000000..61c7ca9 --- /dev/null +++ b/processed/anotherhax.yaml @@ -0,0 +1,41 @@ +hooks: +- {addr_ntsc: 2147536996, addr_ntsc2: 2147536996, addr_pal: 2147536996, addr_pal2: 2147536996, + data: 280000FF, name: Fix1, type: patch} +- {addr_ntsc: 2147982288, addr_ntsc2: 2147982288, addr_pal: 2147982288, addr_pal2: 2147982288, + data: 280000FF, name: Fix2, type: patch} +- {addr_ntsc: 2147983200, addr_ntsc2: 2147983200, addr_pal: 2147983200, addr_pal2: 2147983200, + data: 280000FF, name: Fix3, type: patch} +- {addr_ntsc: 2147985560, addr_ntsc2: 2147985560, addr_pal: 2147985560, addr_pal2: 2147985560, + data: 280000FF, name: Fix4, type: patch} +- {addr_ntsc: 2148022912, addr_ntsc2: 2148022912, addr_pal: 2148022912, addr_pal2: 2148022912, + data: '38600000', name: Fix5, type: patch} +- {addr_ntsc: 2148449492, addr_ntsc2: 2148449492, addr_pal: 2148449764, addr_pal2: 2148449492, + data: 280000FF, name: Fix6, type: patch} +- {addr_ntsc: 2148539216, addr_ntsc2: 2148539216, addr_pal: 2148539488, addr_pal2: 2148539216, + data: 280000FF, name: Fix7, type: patch} +- {addr_ntsc: 2148880844, addr_ntsc2: 2148880844, addr_pal: 2148881164, addr_pal2: 2148880844, + data: 280000FF, name: Fix8, type: patch} +- {addr_ntsc: 2155564712, addr_ntsc2: 2155564728, addr_pal: 2155564712, addr_pal2: 2155564712, + data: 280000FF, name: Fix9, type: patch} +- {addr_ntsc: 2155565864, addr_ntsc2: 2155565880, addr_pal: 2155565864, addr_pal2: 2155565864, + data: 280000FF, name: Fix10, type: patch} +- {addr_ntsc: 2156431704, addr_ntsc2: 2156431720, addr_pal: 2156431704, addr_pal2: 2156431704, + data: 280000FF, name: Fix11, type: patch} +- {addr_ntsc: 2156432248, addr_ntsc2: 2156432264, addr_pal: 2156432248, addr_pal2: 2156432248, + data: 280000FF, name: Fix12, type: patch} +- {branch_type: b, name: Fix38WithJumpCoin, src_addr_ntsc: 2155789404, src_addr_ntsc2: 2155789420, + src_addr_pal: 2155789404, src_addr_pal2: 2155789404, target_func: fix38WithJumpCoin, + type: branch_insn} +- {addr_ntsc: 2155356092, addr_ntsc2: 2155356156, addr_pal: 2155356092, addr_pal2: 2155356092, + data: 60000000 60000000 60000000, name: RemoveTitleReplay, type: patch} +- {addr_ntsc: 2148541672, addr_ntsc2: 2148541672, addr_pal: 2148541944, addr_pal2: 2148541672, + data: '60000000', name: RemoveSGSwitch, type: patch} +- {addr_ntsc: 2156902772, addr_ntsc2: 2156902788, addr_pal: 2156902772, addr_pal2: 2156902772, + data: '60000000', name: RemoveToadHouseMsg1, type: patch} +- {addr_ntsc: 2156902760, addr_ntsc2: 2156902776, addr_pal: 2156902760, addr_pal2: 2156902760, + data: '60000000', name: RemoveToadHouseMsg2, type: patch} +- {addr_ntsc: 2157070484, addr_ntsc2: 2157070500, addr_pal: 2157070484, addr_pal2: 2157070484, + data: '38600000', name: RemovePeachCastleMsg, type: patch} +- {addr_ntsc: 2150568332, addr_ntsc2: 2150568332, addr_pal: 2150569100, addr_pal2: 2150568332, + data: 616E6F746865722E, name: NewSaveFilename, type: patch} +source_files: [../src/anotherhax.S] diff --git a/processed/bugfixes.yaml b/processed/bugfixes.yaml new file mode 100644 index 0000000..c36da6f --- /dev/null +++ b/processed/bugfixes.yaml @@ -0,0 +1,26 @@ +hooks: +- {addr_ntsc: 2157868528, addr_ntsc2: 2157868560, addr_pal: 2157868496, addr_pal2: 2157868528, + data: 38800008 B0830364 4e800020, name: FixCoinJump, type: patch} +- {addr_ntsc: 2148630380, addr_ntsc2: 2148630380, addr_pal: 2148630700, addr_pal2: 2148630380, + data: '38000003', name: 1-1 BG Fix, type: patch} +- {addr_ntsc: 2147813624, addr_ntsc2: 2147813624, addr_pal: 2147813624, addr_pal2: 2147813624, + data: A01E0010540007FF41820014A0E300043807FFFEB01F042C4800000C38000001B01F042CA0A30002A89F042C80C6003C7C052214540020367CA60214A8850002, + name: PipeFix_NodeCalc, type: patch} +- {addr_ntsc: 2147813980, addr_ntsc2: 2147813980, addr_pal: 2147813980, addr_pal2: 2147813980, + data: '88030013', name: PipeFix_ExitPatch1, type: patch} +- {addr_ntsc: 2147813984, addr_ntsc2: 2147813984, addr_pal: 2147813984, addr_pal2: 2147813984, + data: 2C000000, name: PipeFix_ExitPatch2, type: patch} +- {addr_ntsc: 2147813992, addr_ntsc2: 2147813992, addr_pal: 2147813992, addr_pal2: 2147813992, + data: 2C000001, name: PipeFix_ExitPatch3, type: patch} +- {addr_ntsc: 2147814000, addr_ntsc2: 2147814000, addr_pal: 2147814000, addr_pal2: 2147814000, + data: 2C000002, name: PipeFix_ExitPatch4, type: patch} +- {addr_ntsc: 2147814008, addr_ntsc2: 2147814008, addr_pal: 2147814008, addr_pal2: 2147814008, + data: 2C000003, name: PipeFix_ExitPatch5, type: patch} +- {addr_ntsc: 2147814024, addr_ntsc2: 2147814024, addr_pal: 2147814024, addr_pal2: 2147814024, + data: 389F065C, name: PipeFix_ExitPatch6, type: patch} +- {addr_ntsc: 2150670800, addr_ntsc2: 2150670800, addr_pal: 2150671568, addr_pal2: 2150670800, + data: 00C8 0000 00000008 FFFFFFF0 00000000 00000000 0000000A 0000000A 0000 0000 + 0000 0000 0002 0000, name: ChestnutGoombaForTargets, type: patch} +- {addr_ntsc: 2155747024, addr_ntsc2: 2155747040, addr_pal: 2155747024, addr_pal2: 2155747024, + data: 88D2038F, name: TileGodLayerFix, type: patch} +source_files: [../src/randomcrap.S] diff --git a/processed/fix2-24.yaml b/processed/fix2-24.yaml new file mode 100644 index 0000000..0283301 --- /dev/null +++ b/processed/fix2-24.yaml @@ -0,0 +1,33 @@ +hooks: +- {addr_ntsc: 2147536996, addr_ntsc2: 2147536996, addr_pal: 2147536996, addr_pal2: 2147536996, + data: 280000FF, name: Fix1, type: patch} +- {addr_ntsc: 2147982288, addr_ntsc2: 2147982288, addr_pal: 2147982288, addr_pal2: 2147982288, + data: 280000FF, name: Fix2, type: patch} +- {addr_ntsc: 2147983200, addr_ntsc2: 2147983200, addr_pal: 2147983200, addr_pal2: 2147983200, + data: 280000FF, name: Fix3, type: patch} +- {addr_ntsc: 2147985560, addr_ntsc2: 2147985560, addr_pal: 2147985560, addr_pal2: 2147985560, + data: 280000FF, name: Fix4, type: patch} +- {addr_ntsc: 2148022912, addr_ntsc2: 2148022912, addr_pal: 2148022912, addr_pal2: 2148022912, + data: '38600000', name: Fix5, type: patch} +- {addr_ntsc: 2148449492, addr_ntsc2: 2148449492, addr_pal: 2148449764, addr_pal2: 2148449492, + data: 280000FF, name: Fix6, type: patch} +- {addr_ntsc: 2148539216, addr_ntsc2: 2148539216, addr_pal: 2148539488, addr_pal2: 2148539216, + data: 280000FF, name: Fix7, type: patch} +- {addr_ntsc: 2148880844, addr_ntsc2: 2148880844, addr_pal: 2148881164, addr_pal2: 2148880844, + data: 280000FF, name: Fix8, type: patch} +- {addr_ntsc: 2155564712, addr_ntsc2: 2155564728, addr_pal: 2155564712, addr_pal2: 2155564712, + data: 280000FF, name: Fix9, type: patch} +- {addr_ntsc: 2155565864, addr_ntsc2: 2155565880, addr_pal: 2155565864, addr_pal2: 2155565864, + data: 280000FF, name: Fix10, type: patch} +- {addr_ntsc: 2156431704, addr_ntsc2: 2156431720, addr_pal: 2156431704, addr_pal2: 2156431704, + data: 280000FF, name: Fix11, type: patch} +- {addr_ntsc: 2156432248, addr_ntsc2: 2156432264, addr_pal: 2156432248, addr_pal2: 2156432248, + data: 280000FF, name: Fix12, type: patch} +- {branch_type: b, name: Fix38WithJumpCoin, src_addr_ntsc: 2155789404, src_addr_ntsc2: 2155789420, + src_addr_pal: 2155789404, src_addr_pal2: 2155789404, target_func: fix38WithJumpCoin, + type: branch_insn} +- {addr_ntsc: 2155356092, addr_ntsc2: 2155356156, addr_pal: 2155356092, addr_pal2: 2155356092, + data: 60000000 60000000 60000000, name: RemoveTitleReplay, type: patch} +- {addr_ntsc: 2148541672, addr_ntsc2: 2148541672, addr_pal: 2148541944, addr_pal2: 2148541672, + data: '60000000', name: RemoveSGSwitch, type: patch} +source_files: [anotherdummy.S] diff --git a/processed/gakenoko.yaml b/processed/gakenoko.yaml new file mode 100644 index 0000000..a73b818 --- /dev/null +++ b/processed/gakenoko.yaml @@ -0,0 +1,5 @@ +hooks: +- {branch_type: b, name: gakenoko_create, src_addr_ntsc: 2157979072, src_addr_ntsc2: 2157979104, + src_addr_pal: 2157979040, src_addr_pal2: 2157979072, target_func: gakenoko_create, + type: branch_insn} +source_files: [../src/gakenoko.S] diff --git a/processed/heapbar.yaml b/processed/heapbar.yaml new file mode 100644 index 0000000..fb565bd --- /dev/null +++ b/processed/heapbar.yaml @@ -0,0 +1,4 @@ +hooks: +- {branch_type: b, name: heapbar_draw, src_addr_ntsc: 2148207424, src_addr_ntsc2: 2148207424, + src_addr_pal: 2148207424, src_addr_pal2: 2148207424, target_func: doHeapBar, type: branch_insn} +source_files: [../src/heapbar.S, ../src/heapbar.cpp] diff --git a/processed/levelnames.yaml b/processed/levelnames.yaml new file mode 100644 index 0000000..a620804 --- /dev/null +++ b/processed/levelnames.yaml @@ -0,0 +1,5 @@ +hooks: +- {branch_type: b, name: CallNameHack, src_addr_ntsc: 2159461544, src_addr_ntsc2: 2159461576, + src_addr_pal: 2159461512, src_addr_pal2: 2159461544, target_func: DoNames(int), + type: branch_insn} +source_files: [../src/levelnames.cpp] diff --git a/processed/linegod.yaml b/processed/linegod.yaml new file mode 100644 index 0000000..3fe892e --- /dev/null +++ b/processed/linegod.yaml @@ -0,0 +1,14 @@ +hooks: +- {name: LineGodCreate, src_addr_ntsc: 2157417840, src_addr_ntsc2: 2157417856, src_addr_pal: 2157417840, + src_addr_pal2: 2157417840, target_func: LineGod_Create(LineGod *), type: add_func_pointer} +- {name: LineGodExecute, src_addr_ntsc: 2157417864, src_addr_ntsc2: 2157417880, src_addr_pal: 2157417864, + src_addr_pal2: 2157417864, target_func: LineGod_Execute(LineGod *), type: add_func_pointer} +- {branch_type: b, name: LineGodSpawnFix, src_addr_ntsc: 2148002456, src_addr_ntsc2: 2148002456, + src_addr_pal: 2148002456, src_addr_pal2: 2148002456, target_func: BgActorSpawnFix, + type: branch_insn} +- {branch_type: b, name: BgActorSetInfoFix, src_addr_ntsc: 2148002400, src_addr_ntsc2: 2148002400, + src_addr_pal: 2148002400, src_addr_pal2: 2148002400, target_func: BgActorSetInfoFix, + type: branch_insn} +- {addr_ntsc: 2156496792, addr_ntsc2: 2156496808, addr_pal: 2156496792, addr_pal2: 2156496792, + data: 3860 0400, name: LineGodMemFix, type: patch} +source_files: [../src/linegod.cpp, ../src/linegod.S] diff --git a/processed/msgbox.yaml b/processed/msgbox.yaml new file mode 100644 index 0000000..aba3a7b --- /dev/null +++ b/processed/msgbox.yaml @@ -0,0 +1,5 @@ +hooks: +- {branch_type: b, name: QueryGlobal5758, src_addr_ntsc: 2148219728, src_addr_ntsc2: 2148219728, + src_addr_pal: 2148219728, src_addr_pal2: 2148219728, target_func: Query5758Replacement, + type: branch_insn} +source_files: [../src/msgbox.S, ../src/msgbox.cpp] diff --git a/processed/poweruphax.yaml b/processed/poweruphax.yaml new file mode 100644 index 0000000..1747ec5 --- /dev/null +++ b/processed/poweruphax.yaml @@ -0,0 +1,109 @@ +hooks: +- {branch_type: b, name: GetInfoFromDumbTable, src_addr_ntsc: 2148803856, src_addr_ntsc2: 2148803856, + src_addr_pal: 2148804176, src_addr_pal2: 2148803856, target_func: GetInfoFromDumbTable, + type: branch_insn} +- {branch_type: b, name: FukidashiFix, src_addr_ntsc: 2148211280, src_addr_ntsc2: 2148211280, + src_addr_pal: 2148211280, src_addr_pal2: 2148211280, target_func: FukidashiFix, + type: branch_insn} +- {branch_type: b, name: PlayerGetHeightFix, src_addr_ntsc: 2148738352, src_addr_ntsc2: 2148738352, + src_addr_pal: 2148738672, src_addr_pal2: 2148738352, target_func: PlayerGetHeight, + type: branch_insn} +- {branch_type: b, name: DealWithBlahTable, src_addr_ntsc: 2148802096, src_addr_ntsc2: 2148802096, + src_addr_pal: 2148802416, src_addr_pal2: 2148802096, target_func: DealWithBlahTable, + type: branch_insn} +- {branch_type: b, name: GetAsdfTable, src_addr_ntsc: 2148820352, src_addr_ntsc2: 2148820352, + src_addr_pal: 2148820672, src_addr_pal2: 2148820352, target_func: GetAsdfTable, + type: branch_insn} +- {branch_type: bl, name: GetBlahTableOffset, src_addr_ntsc: 2148802668, src_addr_ntsc2: 2148802668, + src_addr_pal: 2148802988, src_addr_pal2: 2148802668, target_func: GetBlahTableOffset, + type: branch_insn} +- {branch_type: bl, name: GetWeirdScaleTable, src_addr_ntsc: 2148820524, src_addr_ntsc2: 2148820524, + src_addr_pal: 2148820844, src_addr_pal2: 2148820524, target_func: GetWeirdScaleTable, + type: branch_insn} +- {branch_type: bl, name: WtfEver, src_addr_ntsc: 2148744456, src_addr_ntsc2: 2148744456, + src_addr_pal: 2148744776, src_addr_pal2: 2148744456, target_func: WtfEver, type: branch_insn} +- {branch_type: bl, name: YetAnother, src_addr_ntsc: 2148763392, src_addr_ntsc2: 2148763392, + src_addr_pal: 2148763712, src_addr_pal2: 2148763392, target_func: YetAnother, type: branch_insn} +- {addr_ntsc: 2155858856, addr_ntsc2: 2155858872, addr_pal: 2155858856, addr_pal2: 2155858856, + data: 3860 045C, name: ExtendHammerStruct, type: patch} +- {branch_type: b, name: ThrowHammer, src_addr_ntsc: 2148777380, src_addr_ntsc2: 2148777380, + src_addr_pal: 2148777700, src_addr_pal2: 2148777380, target_func: ThrowHammer, type: branch_insn} +- {branch_type: b, name: MoreProjectileStuff_Fix, src_addr_ntsc: 2148778592, src_addr_ntsc2: 2148778592, + src_addr_pal: 2148778912, src_addr_pal2: 2148778592, target_func: MoreProjectileStuff_Fix, + type: branch_insn} +- {addr_ntsc: 2148776508, addr_ntsc2: 2148776508, addr_pal: 2148776828, addr_pal2: 2148776508, + data: 4181003C, name: ProjectileShootCheck_Fix1, type: patch} +- {branch_type: b, name: ProjectileShootCheck_Fix2, src_addr_ntsc: 2148776568, src_addr_ntsc2: 2148776568, + src_addr_pal: 2148776888, src_addr_pal2: 2148776568, target_func: ProjectileShootCheck_Fix, + type: branch_insn} +- {addr_ntsc: 2150556456, addr_ntsc2: 2150556456, addr_pal: 2150557224, addr_pal2: 2150556456, + data: '00000006', name: QBlockItemChange, type: patch} +- {addr_ntsc: 2147625100, addr_ntsc2: 2147625100, addr_pal: 2147625100, addr_pal2: 2147625100, + data: '60000000', name: QBlockItemFix, type: patch} +- {addr_ntsc: 2147623340, addr_ntsc2: 2147623340, addr_pal: 2147623340, addr_pal2: 2147623340, + data: 2800 0003, name: FixMushroomIfSmallBlock, type: patch} +- {addr_ntsc: 2158149304, addr_ntsc2: 2158149336, addr_pal: 2158149272, addr_pal2: 2158149304, + data: 2800 0003, name: SomeEnItemFix, type: patch} +- {addr_ntsc: 2158134712, addr_ntsc2: 2158134744, addr_pal: 2158134680, addr_pal2: 2158134712, + data: 2800 0003, name: MushroomEnItemFix, type: patch} +- {addr_ntsc: 2147881412, addr_ntsc2: 2147881412, addr_pal: 2147881412, addr_pal2: 2147881412, + data: '60000000', name: DisablePowerupValidityCheck, type: patch} +- {addr_ntsc: 2150586348, addr_ntsc2: 2150586348, addr_pal: 2150587116, addr_pal2: 2150586348, + data: '00000001', name: TinyTableFix, type: patch} +- {name: AlwaysLoadBrosArc, src_addr_ntsc: 2157495464, src_addr_ntsc2: 2157495480, + src_addr_pal: 2157495432, src_addr_pal2: 2157495464, target_func: BrosArcFileName, + type: add_func_pointer} +- {name: AlwaysLoadBrosArc, src_addr_ntsc: 2157495472, src_addr_ntsc2: 2157495488, + src_addr_pal: 2157495440, src_addr_pal2: 2157495472, target_func: I_hammerArcFilename, + type: add_func_pointer} +- {name: ChangeHammerBrres, src_addr_ntsc: 2158956488, src_addr_ntsc2: 2158956520, + src_addr_pal: 2158956456, src_addr_pal2: 2158956488, target_func: I_hammerResFile, + type: add_func_pointer} +- {name: ChangeHammerArc, src_addr_ntsc: 2158956268, src_addr_ntsc2: 2158956300, src_addr_pal: 2158956236, + src_addr_pal2: 2158956268, target_func: I_hammerArcFilename, type: add_func_pointer} +- {name: ChangeHammerModel, src_addr_ntsc: 2158956576, src_addr_ntsc2: 2158956608, + src_addr_pal: 2158956544, src_addr_pal2: 2158956576, target_func: I_hammerModelName, + type: add_func_pointer} +- {branch_type: bl, name: LetPlayerGetHammerItem, src_addr_ntsc: 2158134812, src_addr_ntsc2: 2158134844, + src_addr_pal: 2158134780, src_addr_pal2: 2158134812, target_func: TryToGiveMarioHammerSuit, + type: branch_insn} +- {branch_type: bl, name: WeirdAnimLoadHack, src_addr_ntsc: 2158132484, src_addr_ntsc2: 2158132516, + src_addr_pal: 2158132452, src_addr_pal2: 2158132484, target_func: WeirdAnimLoadHack, + type: branch_insn} +- {name: SetHammerToEnItemDCA, src_addr_ntsc: 2158956956, src_addr_ntsc2: 2158956988, + src_addr_pal: 2158956924, src_addr_pal2: 2158956956, target_func: SetHammerToEnItemDCA, + type: add_func_pointer} +- {branch_type: b, name: PlumberSetPowerupFix, src_addr_ntsc: 2148353764, src_addr_ntsc2: 2148353764, + src_addr_pal: 2148354004, src_addr_pal2: 2148353764, target_func: PlumberSetPowerupFix, + type: branch_insn} +- {branch_type: b, name: PlumberSetPowerupFix2, src_addr_ntsc: 2148799440, src_addr_ntsc2: 2148799440, + src_addr_pal: 2148799760, src_addr_pal2: 2148799440, target_func: PlumberSetPowerupFix2, + type: branch_insn} +- {branch_type: b, name: PlumberSetPowerupTextureFix, src_addr_ntsc: 2148312584, src_addr_ntsc2: 2148312584, + src_addr_pal: 2148312824, src_addr_pal2: 2148312584, target_func: PlumberSetPowerupTextureFix, + type: branch_insn} +- {branch_type: bl, name: FixPowerupScale_First, src_addr_ntsc: 2148364012, src_addr_ntsc2: 2148364012, + src_addr_pal: 2148364252, src_addr_pal2: 2148364012, target_func: GetPowerupScaleFloatAddr_r6_trash_r0_valshl2_r4_dest, + type: branch_insn} +- {branch_type: bl, name: FixPowerupScale_Second, src_addr_ntsc: 2147798144, src_addr_ntsc2: 2147798144, + src_addr_pal: 2147798144, src_addr_pal2: 2147798144, target_func: GetPowerupScaleFloatAddr_r6_trash_r0_valshl2_r3_dest, + type: branch_insn} +- {branch_type: bl, name: FixPowerupScale_Third, src_addr_ntsc: 2148364148, src_addr_ntsc2: 2148364148, + src_addr_pal: 2148364388, src_addr_pal2: 2148364148, target_func: GetPowerupScaleFloatAddr_r8_trash_r0_valshl2_r7_dest, + type: branch_insn} +- {branch_type: bl, name: FixPowerupScale_Fourth, src_addr_ntsc: 2148700816, src_addr_ntsc2: 2148700816, + src_addr_pal: 2148701136, src_addr_pal2: 2148700816, target_func: GetPowerupScaleFloatAddr_r6_trash_r0_valshl2_r3_dest, + type: branch_insn} +- {branch_type: bl, name: FixPowerupScale_Fifth, src_addr_ntsc: 2148760476, src_addr_ntsc2: 2148760476, + src_addr_pal: 2148760796, src_addr_pal2: 2148760476, target_func: GetPowerupScaleFloatAddr_r6_trash_r0_valshl2_r3_dest, + type: branch_insn} +- {branch_type: b, name: FixPowerupScale_Sixth, src_addr_ntsc: 2148802228, src_addr_ntsc2: 2148802228, + src_addr_pal: 2148802548, src_addr_pal2: 2148802228, target_func: GetPowerupScaleFloatAddr_fixForSixth, + type: branch_insn} +- {branch_type: bl, name: FixPowerupScale_Seventh, src_addr_ntsc: 2148808268, src_addr_ntsc2: 2148808268, + src_addr_pal: 2148808588, src_addr_pal2: 2148808268, target_func: GetPowerupScaleFloatAddr_r6_trash_r0_valshl2_r3_dest, + type: branch_insn} +- {branch_type: bl, name: FixPowerupScale_Eighth, src_addr_ntsc: 2148808516, src_addr_ntsc2: 2148808516, + src_addr_pal: 2148808836, src_addr_pal2: 2148808516, target_func: GetPowerupScaleFloatAddr_r8_trash_r0_valshl2_r7_dest, + type: branch_insn} +source_files: [../src/poweruphax.S] diff --git a/processed/spritetex.yaml b/processed/spritetex.yaml new file mode 100644 index 0000000..5a08f39 --- /dev/null +++ b/processed/spritetex.yaml @@ -0,0 +1,4 @@ +hooks: +- {branch_type: bl, name: TEX_Bush, src_addr_ntsc: 2156354484, src_addr_ntsc2: 2156354500, + src_addr_pal: 2156354484, src_addr_pal2: 2156354484, target_func: TEX_Bush, type: branch_insn} +source_files: [../src/spritetex.S] diff --git a/processed/tilegod.yaml b/processed/tilegod.yaml new file mode 100644 index 0000000..f258edb --- /dev/null +++ b/processed/tilegod.yaml @@ -0,0 +1,7 @@ +hooks: +- {branch_type: b, name: TileGodHack, src_addr_ntsc: 2155746920, src_addr_ntsc2: 2155746936, + src_addr_pal: 2155746920, src_addr_pal2: 2155746920, target_func: TileGodHack, type: branch_insn} +- {branch_type: b, name: GetTileFromTileTableHack, src_addr_ntsc: 2148021392, src_addr_ntsc2: 2148021392, + src_addr_pal: 2148021392, src_addr_pal2: 2148021392, target_func: NEW_GetTileFromTileTable, + type: branch_insn} +source_files: [../src/tilegod.S] diff --git a/processed/worldmap.yaml b/processed/worldmap.yaml new file mode 100644 index 0000000..194f475 --- /dev/null +++ b/processed/worldmap.yaml @@ -0,0 +1,15 @@ +hooks: +- {name: BuildWorldMap, src_addr_ntsc: 2157501712, src_addr_ntsc2: 2157501728, src_addr_pal: 2157501680, + src_addr_pal2: 2157501712, target_func: 'dScNewerWorldMap_c::build(void)', type: add_func_pointer} +- {name: BuildWMPlayer, src_addr_ntsc: 2157481436, src_addr_ntsc2: 2157481452, src_addr_pal: 2157481436, + src_addr_pal2: 2157481436, target_func: 'daWMPlayer_c::build(void)', type: add_func_pointer} +- {name: BuildWorldCamera, src_addr_ntsc: 2157506280, src_addr_ntsc2: 2157506296, + src_addr_pal: 2157506248, src_addr_pal2: 2157506280, target_func: 'dWorldCamera_c::build(void)', + type: add_func_pointer} +- {addr_ntsc: 2148536592, addr_ntsc2: 2148536592, addr_pal: 2148536864, addr_pal2: 2148536592, + data: 4E800020, name: StockItemFix, type: patch} +- {addr_ntsc: 2157078528, addr_ntsc2: 2157078544, addr_pal: 2157078528, addr_pal2: 2157078528, + data: '60000000', name: WMDrawFuncFix, type: patch} +source_files: [../src/worldmap_new.cpp, ../src/wm_player.cpp, ../src/world_camera.cpp, + ../src/worldmapdata.cpp, ../src/fileload.cpp, ../src/asmlib.S, ../src/levelinfo.cpp, + ../src/layoutlib.S, ../src/scene.S] |