Change VR Limit [XeR]
#11
It's a signed 16 bit (halfword) value. 0x7FFF is the maximum value and anything past that is negative
Super Mario Eclipse, what Super Mario Sunshine could've been.
Reply
#12
(11-14-2020, 11:04 PM)JoshuaMK Wrote: It's a signed 16 bit (halfword) value. 0x7FFF is the maximum value and anything past that is negative
Thank you for specifying lul.
~MarioKartWii.com #1~
Reply
#13
(03-07-2018, 10:55 PM)Vega Wrote: Change VR Limit [XeR]

Formerly known as Extend VR Limit.

This code changes the standard VR Limit barrier to the value contained in XXXX.

XXXX = VR Limit; any number from 0 thru 7FFF

NTSC-U
02528E12 0000XXXX
02528E1A 0000XXXX
0261C3C6 0000XXXX
0261C3D2 0000XXXX
0283A7AE 0000XXXX
0283A7B6 0000XXXX

PAL
0252D286 0000XXXX
0252D28E 0000XXXX
0264F6DA 0000XXXX
0264F6E6 0000XXXX
0285C23E 0000XXXX
0285C246 0000XXXX

NTSC-J
0252CC06 0000XXXX
0252CC0E 0000XXXX
0264ED46 0000XXXX
0264ED52 0000XXXX
0285B8AA 0000XXXX
0285B8B2 0000XXXX

NTSC-K
0251B2DE 0000XXXX
0251B2E6 0000XXXX
0263D9F2 0000XXXX
0263D9FE 0000XXXX
0284A5FE 0000XXXX
0284A606 0000XXXX

Code creator: XeR
I plan on attempting to either raise the limit that this code can push, or maybe shorten this code down if that is possible.
~MarioKartWii.com #1~
Reply
#14
(11-26-2020, 02:58 AM)TheNinjaKingOW Wrote:
(03-07-2018, 10:55 PM)Vega Wrote: Change VR Limit [XeR]

Formerly known as Extend VR Limit.

This code changes the standard VR Limit barrier to the value contained in XXXX.

XXXX = VR Limit; any number from 0 thru 7FFF

NTSC-U
02528E12 0000XXXX
02528E1A 0000XXXX
0261C3C6 0000XXXX
0261C3D2 0000XXXX
0283A7AE 0000XXXX
0283A7B6 0000XXXX

PAL
0252D286 0000XXXX
0252D28E 0000XXXX
0264F6DA 0000XXXX
0264F6E6 0000XXXX
0285C23E 0000XXXX
0285C246 0000XXXX

NTSC-J
0252CC06 0000XXXX
0252CC0E 0000XXXX
0264ED46 0000XXXX
0264ED52 0000XXXX
0285B8AA 0000XXXX
0285B8B2 0000XXXX

NTSC-K
0251B2DE 0000XXXX
0251B2E6 0000XXXX
0263D9F2 0000XXXX
0263D9FE 0000XXXX
0284A5FE 0000XXXX
0284A606 0000XXXX

Code creator: XeR
I plan on attempting to either raise the limit that this code can push, or maybe shorten this code down if that is possible.

I can't remember if this code effects BR too. If not, could be something for you to also work on.
Reply
#15
(11-26-2020, 03:16 AM)Vega Wrote:
(11-26-2020, 02:58 AM)TheNinjaKingOW Wrote:
(03-07-2018, 10:55 PM)Vega Wrote: Change VR Limit [XeR]

Formerly known as Extend VR Limit.

This code changes the standard VR Limit barrier to the value contained in XXXX.

XXXX = VR Limit; any number from 0 thru 7FFF

NTSC-U
02528E12 0000XXXX
02528E1A 0000XXXX
0261C3C6 0000XXXX
0261C3D2 0000XXXX
0283A7AE 0000XXXX
0283A7B6 0000XXXX

PAL
0252D286 0000XXXX
0252D28E 0000XXXX
0264F6DA 0000XXXX
0264F6E6 0000XXXX
0285C23E 0000XXXX
0285C246 0000XXXX

NTSC-J
0252CC06 0000XXXX
0252CC0E 0000XXXX
0264ED46 0000XXXX
0264ED52 0000XXXX
0285B8AA 0000XXXX
0285B8B2 0000XXXX

NTSC-K
0251B2DE 0000XXXX
0251B2E6 0000XXXX
0263D9F2 0000XXXX
0263D9FE 0000XXXX
0284A5FE 0000XXXX
0284A606 0000XXXX

Code creator: XeR
I plan on attempting to either raise the limit that this code can push, or maybe shorten this code down if that is possible.

I can't remember if this code effects BR too. If not, could be something for you to also work on.
Hmm, I'll look into it, thanks!
~MarioKartWii.com #1~
Reply
#16
Shortening the code? Possibly. The lowest I see it going is 4 lines. As for changing the limit, you would need to remove every s16 cast that may exist, as well as changing where the value is stored in memory since it's going to be stored as a s16 in whatever class it is a member of, and storing as an s32 will therefore clobber data
Super Mario Eclipse, what Super Mario Sunshine could've been.
Reply
#17
(11-26-2020, 09:00 AM)JoshuaMK Wrote: Shortening the code? Possibly. The lowest I see it going is 4 lines. As for changing the limit, you would need to remove every s16 cast that may exist, as well as changing where the value is stored in memory since it's going to be stored as a s16 in whatever class it is a member of, and storing as an s32 will therefore clobber data
Well, It would be a great starter project.
~MarioKartWii.com #1~
Reply
#18
I found out that the Code doesn't protect against DC. So if you DC with a higher VR value, you will still go back to 9999 VR no matter how much you had.

However, I found the adress that also includes this and I found all the addresses that belong to Battle mode. If I going to post the entire code it would have 14 RAM writes. Maybe someone will still find a way to shorten the code, but I wouldn't mind if the code is a bit longer.

So just tell if I should post it.
Reply
#19
(05-12-2021, 08:41 AM)Unnamed Wrote: I found out that the Code doesn't protect against DC. So if you DC with a higher VR value, you will still go back to 9999 VR no matter how much you had.

However, I found the adress that also includes this and I found all the addresses that belong to Battle mode. If I going to post the entire code it would have 14 RAM writes. Maybe someone will still find a way to shorten the code, but I wouldn't mind if the code is a bit longer.

So just tell if I should post it.
That would be cool! I'm pretty sure that in the OG video from like 2013 actually said that was a fault so, it would be almost like finishing the code. Also, ofc is the limit is under 9999vr it won't do that.
~MarioKartWii.com #1~
Reply
#20
Here are the Codes adapted for VR and BR and added the case of DC. I want to mention that the code works for the maximum VR and BR limit. I also found the adresses for the minimum VR/BR limit. Would be fine if the Thread will be changed to Change Max VR/BR limit if the codes are working.

I would appreciate if someone could test the other versions (PAL works). Here are the codes:

Change Max VR/BR Limit

NTSC-U
02528E12 0000XXXX
02528E1A 0000XXXX
0261C3C6 0000XXXX
0261C3D2 0000XXXX
02834ABE 0000XXXX
02834AC6 0000XXXX
0283A7AE 0000XXXX
0283A7B6 0000XXXX
0261C456 0000XXXX
0261C462 0000XXXX
02834B2A 0000XXXX
02834B32 0000XXXX
0283A892 0000XXXX
0283A89A 0000XXXX

PAL
0252D286 0000XXXX
0252D28E 0000XXXX
0264F6DA 0000XXXX
0264F6E6 0000XXXX
0285654E 0000XXXX
02856556 0000XXXX
0285C23E 0000XXXX
0285C246 0000XXXX
0264F76A 0000XXXX
0264F776 0000XXXX
028565BA 0000XXXX
028565C2 0000XXXX
0285C322 0000XXXX
0285C32A 0000XXXX

NTSC-J
0252CC06 0000XXXX
0252CC0E 0000XXXX
0264ED46 0000XXXX
0264ED52 0000XXXX
02855BBA 0000XXXX
02855BC2 0000XXXX
0285B8AA 0000XXXX
0285B8B2 0000XXXX
0264EDD6 0000XXXX
0264EDE2 0000XXXX
02855C26 0000XXXX
02855C2E 0000XXXX
0285B98E 0000XXXX
0285B996 0000XXXX

NTSC-K
0251B2DE 0000XXXX
0251B2E6 0000XXXX
0263D9F2 0000XXXX
0263D9FE 0000XXXX
0284490E 0000XXXX
02844916 0000XXXX
0284A5FE 0000XXXX
0284A606 0000XXXX
0263DA82 0000XXXX
0263DA8E 0000XXXX
0284497A 0000XXXX
02844982 0000XXXX
0284A6E2 0000XXXX
0284A6EA 0000XXXX
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)