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.
~MKWii.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.
~MKWii.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!
~MKWii.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.
~MKWii.com #1~
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)