Hybrid Drift v2.0 [Ismy, CLF78]
#1
I've been working on this code for a while. Basically, if you select Automatic Drift in the menu, you can both drift automatically and manually during the same race (one excludes the other, you can't do both at the exact same time, though). Whenever the player isn't drifting, the default mode is Automatic Drift, so wheelie nudging is possible without losing speed.

Shoutouts to CLF78 and stebler for helping me with Ghidra, documentation and with some ASM stuff.

Big thanks to CLF78 again for v2.0 where it fixed the B button behavior on Wiimote and the buggy glitchy camera.

Showcase on rDKM Time Trials
Commented Assembly Code
Updated THP movie for the drift selection screen


PAL
C2578DCC 00000006
819C0000 818C0000
818C0014 818C0000
818C0004 2C0C0002
4182000C 38000000
48000008 80030014
60000000 00000000
C257930C 00000006
819C0000 818C0000
818C0014 818C0000
818C0004 2C0C0002
4182000C 38000000
48000008 80030014
60000000 00000000
C257DFA8 00000004
80030014 540C04A5
4182000C 60000010
90030014 80030004
60000000 00000000
C257E018 00000004
80040014 540C04A5
4182000C 60000010
90040014 80040004
60000000 00000000
C257E108 00000003
540006F7 4082000C
38000000 900301C8
60000000 00000000
C257E3C4 00000004
80040014 540C04A5
4182000C 60000010
90040014 80040004
60000000 00000000
C2594AA8 00000005
807E0004 70640084
41820018 809E0014
54840734 909E0014
54630104 907E0004
7FC3F378 00000000
0059450E 00000020
04594A60 60000000
045A35BC 38600000
02745AB0 00004800
028CB70A 00000000


NTSC-U
C2572568 00000006
819C0000 818C0000
818C0014 818C0000
818C0004 2C0C0002
4182000C 38000000
48000008 80030014
60000000 00000000
C2572AA8 00000006
819C0000 818C0000
818C0014 818C0000
818C0004 2C0C0002
4182000C 38000000
48000008 80030014
60000000 00000000
C2577744 00000004
80030014 540C04A5
4182000C 60000010
90030014 80030004
60000000 00000000
C25777B4 00000004
80040014 540C04A5
4182000C 60000010
90040014 80040004
60000000 00000000
C25778A4 00000003
540006F7 4082000C
38000000 900301C8
60000000 00000000
C2577B60 00000004
80040014 540C04A5
4182000C 60000010
90040014 80040004
60000000 00000000
C258E284 00000005
807E0004 70640084
41820018 809E0014
54840734 909E0014
54630104 907E0004
7FC3F378 00000000
0058DCEA 00000020
0458E23C 60000000
04598584 38600000
02735BE4 00004800
028C6202 00000000


NTSC-J
C257874C 00000006
819C0000 818C0000
818C0014 818C0000
818C0004 2C0C0002
4182000C 38000000
48000008 80030014
60000000 00000000
C2578C8C 00000006
819C0000 818C0000
818C0014 818C0000
818C0004 2C0C0002
4182000C 38000000
48000008 80030014
60000000 00000000
C257D928 00000004
80030014 540C04A5
4182000C 60000010
90030014 80030004
60000000 00000000
C257D998 00000004
80040014 540C04A5
4182000C 60000010
90040014 80040004
60000000 00000000
C257DA88 00000003
540006F7 4082000C
38000000 900301C8
60000000 00000000
C257DD44 00000004
80040014 540C04A5
4182000C 60000010
90040014 80040004
60000000 00000000
C2594428 00000005
807E0004 70640084
41820018 809E0014
54840734 909E0014
54630104 907E0004
7FC3F378 00000000
00593E8E 00000020
045943E0 60000000
045A2F3C 38600000
0274511C 00004800
028CA85A 00000000


NTSC-K
C2566E24 00000006
819C0000 818C0000
818C0014 818C0000
818C0004 2C0C0002
4182000C 38000000
48000008 80030014
60000000 00000000
C2567364 00000006
819C0000 818C0000
818C0014 818C0000
818C0004 2C0C0002
4182000C 38000000
48000008 80030014
60000000 00000000
C256C000 00000004
80030014 540C04A5
4182000C 60000010
90030014 80030004
60000000 00000000
C256C070 00000004
80040014 540C04A5
4182000C 60000010
90040014 80040004
60000000 00000000
C256C160 00000003
540006F7 4082000C
38000000 900301C8
60000000 00000000
C256C41C 00000004
80040014 540C04A5
4182000C 60000010
90040014 80040004
60000000 00000000
C2582B00 00000005
807E0004 70640084
41820018 809E0014
54840734 909E0014
54630104 907E0004
7FC3F378 00000000
00582566 00000020
04582AB8 60000000
04591614 38600000
02733E70 00004800
028B9BA2 00000000
Reply
#2
Neat :o
Reply
#3
The new v2 code has an issue where if you hit a wall in a drift, SSMT, or hop without drifting; you stay in manual until you release a manual drift normally.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)