09-21-2021, 12:12 PM
After long tests I am now back with new findings and an update of the code. I have changed, improved or removed several contents from the code:
1st: I found the address with the star error, and removed that part.
2nd: It is no longer necessary to change the code if you want to play Battles. It automatically detects if the Battle mode is active when determining the item and denies the bullet if so.
3rd: Leserattes region slot patcher code to enter MrBeans test region was included, this has been removed. If you still want a custom region for online play, you can optionally use this code. But on Wiimmfi, don't use it in WW/Continental or in a region you are not the owner from or you probably get banned.
4th: You will have seen the X, Y and Z values. I found out which values are responsible for the height and for the distance of the falling items. You can now change these values yourself:
ZZZZZZZZ = floating point of the height, default value: 453B8000 (3000)
XXXXXXXX and YYYYYYYY = floating point of distance, default values: 3F400000 (0.75) and 42A3D70B (near 81.92)
If you want to change them, I advise to change the X and Y values by about the same factor. Example:
XXXXXXXX = 3EC00000 (0.375, half of the default value) and
YYYYYYYY = 42200000 (40, about half of the default value)
I tried some combinations and found the most reasonable with XXXXXXXX = 3EF00000, YYYYYYYY = 42480000 and ZZZZZZZZ = 44BB8000. This leaves enough time to pick up the items and they also don't show up that high.
5th: Most importantly, though, were item limit codes for the Mega and the Golden Mushroom, since those two seemed to disappear pretty quickly. With the new limit codes, they stay around much longer and this means a big increase in fun, especially online. However, after some testing, these new limits are apparently not compatible with the "Disable Item Poof" code. In many races I ran into freezes, which I did not get without this code. So I would recommend not using the "Disable Item Poof" code in conjunction with the new code unless you absolutely want to. If I would have an Idea how to stop the Freezes, I would try to implement it, but I don't have an Idea how to extend the Item Limits even more.
6th: I rearranged the code, so that now all RAM writes of the Exception Vector Area are on top, while all Item limit are at the end of the code. Furthermore I shortened the code, thanks to @CLF78 who already shortened the old Item Rain code so I had a good basis.
That was all for now, with the new update I overwrote the old version, so you can find it in this thread. I already tested the code with some friends and I'm pretty happy. I hope you also have fun with the update!
And @dankyoso, it is definetely due to the Item Rain because much Items are on their Limits resulting that you cannot grab them from Item boxes, but that is on all Item Rain Versions the Problem (maybe not on CTGP). I can try to write a code snippet that could fix that for you, but in generally I recommend to play without boxes because it is more fun.
1st: I found the address with the star error, and removed that part.
2nd: It is no longer necessary to change the code if you want to play Battles. It automatically detects if the Battle mode is active when determining the item and denies the bullet if so.
3rd: Leserattes region slot patcher code to enter MrBeans test region was included, this has been removed. If you still want a custom region for online play, you can optionally use this code. But on Wiimmfi, don't use it in WW/Continental or in a region you are not the owner from or you probably get banned.
4th: You will have seen the X, Y and Z values. I found out which values are responsible for the height and for the distance of the falling items. You can now change these values yourself:
ZZZZZZZZ = floating point of the height, default value: 453B8000 (3000)
XXXXXXXX and YYYYYYYY = floating point of distance, default values: 3F400000 (0.75) and 42A3D70B (near 81.92)
If you want to change them, I advise to change the X and Y values by about the same factor. Example:
XXXXXXXX = 3EC00000 (0.375, half of the default value) and
YYYYYYYY = 42200000 (40, about half of the default value)
I tried some combinations and found the most reasonable with XXXXXXXX = 3EF00000, YYYYYYYY = 42480000 and ZZZZZZZZ = 44BB8000. This leaves enough time to pick up the items and they also don't show up that high.
5th: Most importantly, though, were item limit codes for the Mega and the Golden Mushroom, since those two seemed to disappear pretty quickly. With the new limit codes, they stay around much longer and this means a big increase in fun, especially online. However, after some testing, these new limits are apparently not compatible with the "Disable Item Poof" code. In many races I ran into freezes, which I did not get without this code. So I would recommend not using the "Disable Item Poof" code in conjunction with the new code unless you absolutely want to. If I would have an Idea how to stop the Freezes, I would try to implement it, but I don't have an Idea how to extend the Item Limits even more.
6th: I rearranged the code, so that now all RAM writes of the Exception Vector Area are on top, while all Item limit are at the end of the code. Furthermore I shortened the code, thanks to @CLF78 who already shortened the old Item Rain code so I had a good basis.
That was all for now, with the new update I overwrote the old version, so you can find it in this thread. I already tested the code with some friends and I'm pretty happy. I hope you also have fun with the update!
And @dankyoso, it is definetely due to the Item Rain because much Items are on their Limits resulting that you cannot grab them from Item boxes, but that is on all Item Rain Versions the Problem (maybe not on CTGP). I can try to write a code snippet that could fix that for you, but in generally I recommend to play without boxes because it is more fun.