Updated Item Rain Code
#41
(11-07-2024, 11:34 AM)Unnamed Wrote: I have never tested it on Custom Tracks. What is the issue there?

when I replace one of the wii tracks on dolphin with a custom, it just loads the usual wii tracks instead.
Reply
#42
(11-07-2024, 11:34 AM)Unnamed Wrote: I have never tested it on Custom Tracks. What is the issue there?

Hi again. I'm just checking to see if you saw my response to my problem and if your working on fixing the code yet.
Reply
#43
You didn't replace the track correctly then. That isn't an issue related to this code.
~MarioKartWii.com #1~
Reply
#44
That is actually a "problem" with the code. The code forces the multiplayer tracks to load, the _d variants. Remove the "0453B328 60000000" line for normal track loading (NTSC-U, you can easily identify what line it is for other regions, it is at the near end of the code), or simply replace the _d file instead
Reply
#45
One thing also to mention here is the usage of this code with tracks that have very large scope. The items, especially item routes, will get trouble if the coordinates reach arbitary high numbers.
Reply
#46
The code is amazing thank you very much !
Is it possible to change the probabilities? And if so, how? I would like to modify them to only rain bombs for example.
Reply
#47
The code will create a random number between 0 and 0x7FFF (32767) and this number is compared to specific ranges. The ranges are different in the size, hence the probailities. If a range is hit, then the corresponding item is used.

The item determination starts at the line

4E800421 2C031480

and ends at

3940000D 38800000

If you want e. g. to only rain bombs, simply replace all 3940000X in that part with 39400009. But if you do so, you should remove the other item limits and increase the limit for bombs so that they not dissapear when they are falling.

If you want customized probabilities, you have to modify the source. You could use PyIIASM-3 for this.
Reply
#48
(12-16-2024, 12:31 AM)Zeraora Wrote: You didn't replace the track correctly then. That isn't an issue related to this code.

I did. I used all methods to do it but got nothing.

(12-16-2024, 05:20 AM)_Ro Wrote: That is actually a "problem" with the code. The code forces the multiplayer tracks to load, the _d variants. Remove the "0453B328 60000000" line for normal track loading (NTSC-U, you can easily identify what line it is for other regions, it is at the near end of the code), or simply replace the _d file instead

neither of the methods that you gave me worked.
Reply
#49
That is impossible
Reply
#50
(01-25-2025, 06:49 PM)_Ro Wrote: That is impossible

Could you show me if it works for you then?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)