Universal Meter [SwareJonge] - Printable Version +- Mario Kart Wii Gecko Codes, Cheats, & Hacks (https://mariokartwii.com) +-- Forum: Cheat Codes (https://mariokartwii.com/forumdisplay.php?fid=51) +--- Forum: Time Trials & Battle (https://mariokartwii.com/forumdisplay.php?fid=54) +--- Thread: Universal Meter [SwareJonge] (/showthread.php?tid=990) |
Universal Meter [SwareJonge] - SwareJonge - 12-16-2018 Universal Meter [SwareJonge] Works everywhere. Instead of having separate codes/threads for Air, Mini-Turbo Charge, Shroom Boost, etc. This code will allow you to choose one of those options to use within one whole code. The Universal Meter can be broken up with the following... Air-O-Meter Boost from MT Release Meter Boost from both MT & Stand Still Release Meter Blue Mini Turbo Only Charge Meter** Orange Mini Turbo Only Charge Meter** Mushroom/Zipper Boost Meter Stand Still Charge Meter Trick Boost Meter **If you are looking for the MT Charge Meter that reads both Blue & Orange levels, that is HERE. ***If you are looking for the Speed-O-Meter, that is HERE. This code will read the output value of the selected option on the millisecond section of your timer. XXX Values: 0FE = Blue Mini Turbo Only Charge Meter 100 = Orange Mini Turbo Only Charge Meter 102 = Boost from Mini Turbo Release Meter 10C = Boost from Both MT and Stand Still Release Meter 110 = Mushroom/Zipper Boost Meter 114 = Trick Boost Meter 14C = Stand Still Charge Meter 21A = Air Time Meter There are more to find here: https://github.com/SeekyCt/mkw-structures/blob/master/player.h#L16 (NTSC-U) 047ED9F8 48D12608 07500000 00000040 7C6B1B78 7C8E2378 3C60809B 60638F68 38800000 4B02D415 7C641B78 3C60809C 8063D110 4B0898B9 4B089F31 A3830XXX 7D635B78 7D846378 4B2ED9C4 00000000 (PAL) 047F84F8 48D07B08 07500000 00000040 7C6B1B78 7C8E2378 3C60809B 6063D728 38800000 4B031F5D 7C641B78 3C60809C 806318F8 4B0900DD 4B090755 A3830XXX 7D635B78 7D846378 4B2F84C4 00000000 (NTSC-J) 047F7B64 48D0849C 07500000 00000040 7C6B1B78 7C8E2378 3C60809B 6063C788 38800000 4B0318DD 7C641B78 3C60809C 80630958 4B08FA5D 4B0900D5 A3830XXX 7D635B78 7D846378 4B2F7B30 00000000 (NTSC-K) 047E68B8 48D19748 07500000 00000040 7C6B1B78 7C8E2378 3C60809A 6063BD68 38800000 4B01FFB5 7C641B78 3C60809B 8063FF38 4B07E135 4B07E7AD A3830XXX 7D635B78 7D846378 4B2E6884 00000000 Code Creator: SwareJonge Code Contributor: JoshuaMK(Miliseconds Display Modifier) Code Credits: Seeky, Stebler, 1superchip(https://github.com/SeekyCt/mkw-structures) Code: # First ASM(04) Code: # Second ASM(06) TODO: perhaps find the function that returns raceData and PlayerHolder to save some lines of code RE: Air-O-Meter (SwareJonge's version) - Vega - 12-17-2018 Thread approved, nice work!! This is currently outdated by my version i posted today in main codes forum so I moved this thread to the incomplete/outdated subforum. I'm pretty sure this won't work with karts since you are using Mdmwii's original speedometer address utilizing the pointer method in your asm. If you can make a version shorter in length of compiled code than the one in the codes forum, or get yours to work in more modes such as Battle, I'll move mines to outdated, and yours will be in the main forum. RE: Air-O-Meter (SwareJonge's version) - SwareJonge - 12-17-2018 (12-17-2018, 01:07 AM)Vega Wrote: Thread approved, nice work!! This is currently outdated by my version i posted today in main codes forum so I moved this thread to the incomplete/outdated subforum. mdmwii used the wrong offset(0x260 instead of 0x20) for speed in his code, this one does work with karts RE: Universal Meter - Vega - 03-21-2019 all air/trik/boost meters combined to one thread. major revisions done to source. renamed code to universal meter RE: Universal Meter - FancyWheelies - 03-23-2019 okkko RE: Universal Meter [SwareJonge] - jared_s2 - 01-30-2020 i'm wondering if anyone has the a gct that displays analog input x and y values in the lower left (or right or wherever) that sware jonge used in conjunction with star's speedometer gct. RE: Universal Meter [SwareJonge] - JoshuaMK - 01-30-2020 not here currently RE: Universal Meter [SwareJonge] - Vega - 01-02-2021 Hey I noticed you updated the thread, nice usage of the various branches. Got around to testing the new versions. Only version not working is Japan (blackscreens once race is loaded). Your updates reminded me that I needed to update the speedometer and mt charge meter codes using JoshuaMK's millisecnod hook address. so I updated them all. They are still using the old style of pointer loading which is incorrect, but it does result in a shorter code using just the C2 type. EDIT: Noticed the 04 RAM Write (NTSC-J) address port is incorrect, still blackscreens though using correct port. RE: Universal Meter [SwareJonge] - SwareJonge - 01-02-2021 (01-02-2021, 03:54 PM)Vega Wrote: Hey I noticed you updated the thread, nice usage of the various branches. Got around to testing the new versions. Only version not working is Japan (blackscreens once race is loaded). i see the patterns of me releasing codes that don't work for regions besides PAL, however i just found a really good hook address for the PlayerSub10 class, i've no idea how to apply it in this code but it can be used really easy with my new Draw text to screen code RE: Universal Meter [SwareJonge] - Vega - 01-03-2021 Got NTSC-J working, my dumbself forgot to update the 04 RAM Write branching to 0x81500000 after updating the right address. |