Custom Laps (Full) v2.0 [JoshuaMK]
#1
I noticed some issues and it's potential of the Custom Laps (Full) code by JoshuaMK. It's basically the same code just that one part has been removed and ported the code to PAL and NTSC-J.

(PAL)
C0000000 00000004
3D808000 3960XXXX
2C0B0000 41810008
39600003 B16C05B0
4E800020 00000000
C2009680 0000001A
9421FF70 D8210008
BC610010 3D808140
3D608000 886B06FF
A10B05B0 896C1799
280B0000 41820098
816C17A2 A8EB0025
28030002 41A00028
41810084 A92B00E7
48000035 4C617020
50312C20 25642050
322C2025 64000000
4800001C 2C080008
4081005C 48000011
4C617020 25642F25
64000000 7CC802A6
28030002 41800014
3860003C 3880006F
38A00001 48000010
38600009 388000DC
38A00001 3D808002
618C1DF0 7D8803A6
4E800021 3D808002
618C1DD0 7D8803A6
4E800021 B8610010
C8210008 38210090
81830000 00000000
C25328b0 00000002
3D808000 A00C05B0
B0040B8D 00000000
C2535508 00000004
A87E0023 3D808140
816C17A2 280B0000
40820008 93CC17A2
60000000 00000000
C2719fc4 00000007
4800002D 00000000
00000000 00000000
3F800000 40000000
40400000 40800000
40A00000 40C00000
40E00000 7CA802A6
38800003 00000000
C279a680 00000002
3D808140 8B84F0B0
9B8C1799 00000000
C2860608 00000002
3D808000 80030124
980C06FF 00000000
065328b4 00000010
A0A40B8D 3805FFFF
60000000 28007FFE
065336b8 00000014
60000000 A0640B8D
3803FFFF 60000000
28007FFE 00000000
06534bbc 00000024
60000000 A0850B8D
3804FFFF 60000000
28007FFE 40810008
38800003 A07D0025
7C802378 00000000
06534350 00000014
60000000 A0A60B8D
3805FFFF 60000000
28007FFE 00000000
045349f8 A8830023
04534a00 B0A30023
04534a14 A8030025
04534c58 A81D0023
04534c5c B01D0025
045351cc A87A0023
045351d8 B01A0023
04723d10 281D7FFF
04723d40 3BA07FFF

(NTSC-U)
C0000000 00000004
3D808000 3960XXXX
2C0B0000 41810008
39600003 B16C05B0
4E800020 00000000
C2009640 0000001A
9421FF70 D8210008
BC610010 3D808140
3D608000 886B06FF
A10B05B0 896C1799
280B0000 41820098
816C17A2 A8EB0025
28030002 41A00028
41810084 A92B00E7
48000035 4C617020
50312C20 25642050
322C2025 64000000
4800001C 2C080008
4081005C 48000011
4C617020 25642F25
64000000 7CC802A6
28030002 41800014
3860003C 3880006F
38A00001 48000010
38600009 388000DC
38A00001 3D808002
618C1DF0 7D8803A6
4E800021 3D808002
618C1DD0 7D8803A6
4E800021 B8610010
C8210008 38210090
81830000 00000000
C252DD68 00000002
3D808000 A00C05B0
B0040B8D 00000000
C25309C0 00000004
A87E0023 3D808140
816C17A2 280B0000
40820008 93CC17A2
60000000 00000000
C27120F8 00000007
4800002D 00000000
00000000 00000000
3F800000 40000000
40400000 40800000
40A00000 40C00000
40E00000 7CA802A6
38800003 00000000
C2791674 00000002
3D808140 8B84F0B0
9B8C1799 00000000
C283B9BC 00000002
3D808000 80030124
980C06FF 00000000
0652DD6C 00000010
A0A40B8D 3805FFFF
60000000 28007FFE
0652EB70 00000014
60000000 A0640B8D
3803FFFF 60000000
28007FFE 00000000
06530074 00000024
60000000 A0850B8D
3804FFFF 60000000
28007FFE 40810008
38800003 A07D0025
7C802378 00000000
0652F808 00000014
60000000 A0A60B8D
3805FFFF 60000000
28007FFE 00000000
0452FEB0 A8830023
0452FEB8 B0A30023
0452FECC A8030025
04530110 A81D0023
04530114 B01D0025
04530684 A87A0023
04530690 B01A0023
0471F8E0 281D7FFF
0471F910 3BA07FFF

(NTSC-J)
C0000000 00000004
3D808000 3960XXXX
2C0B0000 41810008
39600003 B16C05B0
4E800020 00000000
C20095dc 0000001A
9421FF70 D8210008
BC610010 3D808140
3D608000 886B06FF
A10B05B0 896C1799
280B0000 41820098
816C17A2 A8EB0025
28030002 41A00028
41810084 A92B00E7
48000035 4C617020
50312C20 25642050
322C2025 64000000
4800001C 2C080008
4081005C 48000011
4C617020 25642F25
64000000 7CC802A6
28030002 41800014
3860003C 3880006F
38A00001 48000010
38600009 388000DC
38A00001 3D808002
618C1DF0 7D8803A6
4E800021 3D808002
618C1DD0 7D8803A6
4E800021 B8610010
C8210008 38210090
81830000 00000000
C2532230 00000002
3D808000 A00C05B0
B0040B8D 00000000
C2534e88 00000004
A87E0023 3D808140
816C17A2 280B0000
40820008 93CC17A2
60000000 00000000
C2719630 00000007
4800002D 00000000
00000000 00000000
3F800000 40000000
40400000 40800000
40A00000 40C00000
40E00000 7CA802A6
38800003 00000000
C273DC74 00000002
3D808140 8B84F0B0
9B8C1799 00000000
C285fc74 00000002
3D808000 80030124
980C06FF 00000000
06532234 00000010
A0A40B8D 3805FFFF
60000000 28007FFE
06533038 00000014
60000000 A0640B8D
3803FFFF 60000000
28007FFE 00000000
0653453c 00000024
60000000 A0850B8D
3804FFFF 60000000
28007FFE 40810008
38800003 A07D0025
7C802378 00000000
06533cd0 00000014
60000000 A0A60B8D
3805FFFF 60000000
28007FFE 00000000
04534378 A8830023
04534380 B0A30023
04534394 A8030025
045345d8 A81D0023
045345dc B01D0025
04534b4c A87A0023
04534b58 B01A0023
0472337c 281D7FFF
047233ac 3BA07FFF

XXXX values: Amount of laps to drive. FFFF = 65535 Laps

I've also created a menu that supports up to 50 laps. The edited parts of the menu can be downloaded in the attachments.

Code Creator: JoshuaMK


Attached Files
.zip   Race_E.d.zip (Size: 2.01 KB / Downloads: 4)
Reply
#2
Some things:

Porting codes doesn't qualify to be in the Creator or the Credits. Therefore I removed your name from the Creator field (names withing brackets). A better breakdown of proper crediting can be found in Chapter 4 of this link - https://mariokartwii.com/showthread.php?tid=10

Regarding your questions on Discord..
- C0 codes may need to be ported, it depends. You would need to know some ASM and look at the C0's source to determine this
- Some C2 codes require "non-standard" porting. If you have a very beginner level understanding of ASM, you can get these types of ports completed.
- When auto-porting, ditch MKWCG completely. Only use Wimm's tools. If the tools don't work, you will need to port manually.
Reply
#3
All regions have been tested successfully without crashes
Reply
#4
Thread moved.
Reply
#5
I mean, In very technical terms, this is an incomplete code cuz no NTSC-K.
~MarioKartWii.com #1~
Reply
#6
You're right. Somehow I've missed that. Thread moved.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)