Choose Character+Vehicle For All Opponents [Vega] - Printable Version +- Mario Kart Wii Gecko Codes, Cheats, & Hacks (https://mariokartwii.com) +-- Forum: Cheat Codes (https://mariokartwii.com/forumdisplay.php?fid=51) +--- Forum: Offline Non-Item (https://mariokartwii.com/forumdisplay.php?fid=53) +--- Thread: Choose Character+Vehicle For All Opponents [Vega] (/showthread.php?tid=1563) |
Choose Character+Vehicle For All Opponents [Vega] - Vega - 07-26-2020 Choose Character+Vehicle For All Opponents [Vega] This code will allow you to choose every character+vehicle combo for every opponent in the race. Remember to choose valid combos for all opponents! Value Explanation: KKKK = CPU 1's Character then Vehicle Values NNNN = CPU 2's Character then Vehicle Values PPPP = CPU 3's Character then Vehicle Values RRRR = CPU 4's Character then Vehicle Values SSSS = CPU 5's Character then Vehicle Values TTTT = CPU 6's Character then Vehicle Values UUUU = CPU 7's Character then Vehicle Values VVVV = CPU 8's Character then Vehicle Values XXXX = CPU 9's Character then Vehicle Values YYYY = CPU 10's Character then Vehicle Values ZZZZ = CPU 11's Character then Vehicle Values List of Character & Vehicle Values Code: Characters Example Value Usage: First combo is Mario+Mach. Second combo is Baby Peach+Bullet Bike, etc etc.. 00160115 02170317 04150515 06150716 08150917 0A16 NTSC-U C252B7F8 0000000E 90C4000C 4800001D KKKKNNNN PPPPRRRR SSSSTTTT UUUUVVVV XXXXYYYY ZZZZ0000 7CC802A6 38C6FFFF 38E40008 3980000B 7D8903A6 8D860001 918700F4 8D860001 958700F0 4200FFF0 3CC04800 60C60010 3CE08052 60E7B7EC 90C70000 7C00386C 7C0004AC 7C003FAC 4C00012C 00000000 PAL C2530340 0000000E 90C4000C 4800001D KKKKNNNN PPPPRRRR SSSSTTTT UUUUVVVV XXXXYYYY ZZZZ0000 7CC802A6 38C6FFFF 38E40008 3980000B 7D8903A6 8D860001 918700F4 8D860001 958700F0 4200FFF0 3CC04800 60C60010 3CE08053 60E70334 90C70000 7C00386C 7C0004AC 7C003FAC 4C00012C 00000000 NTSC-J C252FCC0 0000000E 90C4000C 4800001D KKKKNNNN PPPPRRRR SSSSTTTT UUUUVVVV XXXXYYYY ZZZZ0000 7CC802A6 38C6FFFF 38E40008 3980000B 7D8903A6 8D860001 918700F4 8D860001 958700F0 4200FFF0 3CC04800 60C60010 3CE08052 60E7FCB4 90C70000 7C00386C 7C0004AC 7C003FAC 4C00012C 00000000 NTSC-K C251E398 0000000E 90C4000C 4800001D KKKKNNNN PPPPRRRR SSSSTTTT UUUUVVVV XXXXYYYY ZZZZ0000 7CC802A6 38C6FFFF 38E40008 3980000B 7D8903A6 8D860001 918700F4 8D860001 958700F0 4200FFF0 3CC04800 60C60010 3CE08051 60E7E38C 90C70000 7C00386C 7C0004AC 7C003FAC 4C00012C 00000000 Code creator: Vega Code credits: Bully (Force Character/Vehicle On Everyone) Source: #Address Ports #NTSC-U 8052B7F8 #PAL 80530340 #NTSC-J 8052FCC0 #NTSC-K 8051E398 .set region, '' #Plug in e,p,j,k for compilation region stw r6, 0x000C (r4) #Default Instruction, Player 1's Character and Vehicle already complete bl table #Character + Vehicle Table .llong 0x1111111111111111 #CPU's 1 thru 4 #Random non-working values used just to allow quick compilation .llong 0x2222222222222222 #CPU's 5 thru 8 .llong 0x3333333333330000 #CPU's 9 thru 11, final halfword left null since there's only 11 CPUs table: mflr r6 addi r6, r6, -1 #Adjust for first loading address in upcoming loop addi r7, r4, 0x8 #To allow upcoming 0xF0 increments in stwu instruction within loop li r12, 11 #Amount of Opponents to Modify mtctr r12 loop: lbzu r12, 0x1 (r6) #After loading, update address so next byte can be loaded stw r12, 0xF4 (r7) #Character Byte is loaded first, store it to its spot for the current opponent lbzu r12, 0x1 (r6) #Load next byte, update address stwu r12, 0xF0 (r7) #Vehicle Byte is loaded next, store it, update address to next CPU bdnz+ loop lis r6, 0x4800 #Compiled instruction for Unconditional Branch w/ jump amount of 0x10, so code only executes once ori r6, r6, 0x0010 #Set Address of where new instruction will be written (to branch over all 4 character+vehicle related instructions, so this code only executes once) .if (region == 'E' || region == 'e') lis r7, 0x8052 ori r7, r7, 0xB7EC .elseif (region == 'P' || region == 'p') lis r7, 0x8053 ori r7, r7, 0x0334 .elseif (region == 'J' || region == 'j') lis r7, 0x8052 ori r7, r7, 0xFCB4 .elseif (region == 'K' || region == 'k') lis r7, 0x8051 ori r7, r7, 0xE38C .else # Invalid Region .err .endif stw r6, 0 (r7) #Write new instruction to memory. Have to use zero offset for upcoming cache clear dcbst 0, r7 #Clear cache so new instruction updates instantly, this is needed sync icbi 0, r7 isync RE: Choose Character+Vehicle For All Opponents [Vega] - vladimir520 - 07-26-2020 Nice! Can I use the same combo for more characters, or do they still have to be different so they can be told apart from each other? The game crashed when I tried Funky Kong+Flame Runner for all CPUs. RE: Choose Character+Vehicle For All Opponents [Vega] - vladimir520 - 07-26-2020 (07-26-2020, 06:11 PM)vladimir520 Wrote: Nice!Nevermind, Bully's code you posted in 2018 worked! https://mkwii.com/showthread.php?tid=609 RE: Choose Character+Vehicle For All Opponents [Vega] - Vega - 07-28-2020 (07-26-2020, 06:11 PM)vladimir520 Wrote: Nice! The code works for me. I've only tested this code so far on Offline VS using Dolphin. Are you on console? What game mode are you trying this on? How are you applying your cheats? RE: Choose Character+Vehicle For All Opponents [Vega] - Wii_Xploit - 08-14-2024 The code doesnt work when I choose Miis as opponents it just goes into a black screen RE: Choose Character+Vehicle For All Opponents [Vega] - Zeraora - 09-22-2024 I was talking with Wingcapman and I thought of something for this code. Is there anyway to force CPUs to use a specific kart/bike in battle? He is working on a mod that allows all karts/bikes in battles with their correct team colors and for testing purposes, he was looking for some sort of code that forces a specific team variant of a kart/bike onto all CPUs. RE: Choose Character+Vehicle For All Opponents [Vega] - bryanoflegends17 - 09-23-2024 Hey, from what I know, there's no direct code to force CPUs to use a specific kart or bike in battle. Did yuo try modifying game files to assign specific vehicles to CPUs? and if he's working on a mod it would be cool seeing an option for choosing vehicles for CPUs in the mod menu bryan RE: Choose Character+Vehicle For All Opponents [Vega] - Wingcapman - 09-23-2024 (09-22-2024, 11:35 PM)Zeraora Wrote: I was talking with Wingcapman and I thought of something for this code. Is there anyway to force CPUs to use a specific kart/bike in battle? He is working on a mod that allows all karts/bikes in battles with their correct team colors and for testing purposes, he was looking for some sort of code that forces a specific team variant of a kart/bike onto all CPUs. I just tried out this code in battle and apparently it forces the CPU players their combos to use team-color vehicles as well. Interestingly this code also forces player 2, 3 and 4 their combos, which also makes use of team-color vehicles. Footage of it is shown here: https://youtu.be/YkDMkOpComc which also includes a glimpse of what models it actually loads in. With the code posted here, it is only meant for every opponent, so player 1 is never affected. It's still funny to see how player 2, 3 and 4 still count, so the code really changes player 2 through 12. Thanks for sharing the code, it definitely helped me out quite a bit! RE: Choose Character+Vehicle For All Opponents [Vega] - Zeraora - 09-24-2024 (09-23-2024, 05:05 PM)Wingcapman Wrote: I just tried out this code in battle and apparently it forces the CPU players their combos to use team-color vehicles as well. Nice to see the results! Glad everything worked out in the end and hopefully this project gains more traction. |