Offline Hide and Seek
#1
Hi.
I need help. 
I am making my own version of hide and seek (Credit to CLF78 for the idea, brilliant) for offline multiplayer. However, I have run into multiple issues.

1. First and foremost, I want to make it a Pulsar Custom Track Distribution (w/ Gecko Codes). However, I CANNOT figure out how to add Gecko Codes to a Pulsar Distribution, seeing as there is no information on this ANYWHERE!!!

2. I would like to hide the place counter (the thing that shows you what place you are in in the race), as well as the lap counter, because they can show if you are ahead of or behind someone on the track. Edit: Alternatively, there is a gecko code I can use to make the number of positions you jump when you pass someone 0, so that no one can use the place counter to screen cheat. I can do the same thing with laps.

3. Also, is there any way to add in a timer offline? Or at least a time count like in grand prix to show how long you are into the race. (I currently use a watch's stopwatch mode. Not pretty.

Once this works fully, I can list all the codes I used if anyone else wants to try.
He is kinda fluffy tho
Reply
#2
You can patch a main.dol file with your gecko codes inside of a GCT (Gecko Code Table) file using WSZST. You'll then have to modify the pack's XML file to include the main.dol folder. For example, I have a folder called "Codes" in my Pulsar pack so you can choose from several different modes.

Also, I'm not sure what your goal with point 3 is.
Reply
#3
Actually here's a random mini tutorial I had in case I published the mod, but it should work for you as well:


If you would like to make your own custom modes, download Wiimms SZS Tools and use the following command in a folder with main.dol:
wstrt patch main.dol --clean-dol --add-section RMCX01.gct --gct-move=AUTO
You can get your RMCX01.gct at https://tt-rec.com/gct or with Code Manager Reborn
(X = your region)


Let me know if you have more questions
Reply
#4
Thanks so much! I will try that today.


I am using the end race early code by ComputerBot2016 instead of the 5 minute timer thing b/c it doesn't work offline afaik.
Being able to see how much time you have left to find someone, etc. would be a lot nicer than me having to say "You have 2:07 left," and sometimes, I even end up ending the race 5 minutes after I should have.
He is kinda fluffy tho
Reply
#5
(12-20-2024, 08:31 PM)Fifty Wrote: You can patch a main.dol file with your gecko codes inside of a GCT (Gecko Code Table) file using WSZST.


You'll then have to modify the pack's XML file to include the main.dol folder. For example, I have a folder called "Codes" in my Pulsar pack so you can choose from several different modes.

1. As in the original main.dol of mkwii? Or does Pulsar make one that I haven't found?
2. Where am I putting the main.dol in the pack filesystem?
3. How do I modify the Xml to include the main.dol folder? I have very little experience with Xmls.
He is kinda fluffy tho
Reply
#6
(Yesterday, 10:20 PM)WaluigiisFluffy Wrote: 1. As in the original main.dol of mkwii? Or does Pulsar make one that I haven't found?

You patch the original main.dol of MKW using the command I sent.

---

(Yesterday, 10:20 PM)WaluigiisFluffy Wrote: 2. Where am I putting the main.dol in the pack filesystem?

Anywhere you want, as long as you get the XML to acknowledge it. If you don't want to modify the XML, putting the main.dol file in the "My Stuff" folder should work.

---

(Yesterday, 10:20 PM)WaluigiisFluffy Wrote: 3. How do I modify the Xml to include the main.dol folder? I have very little experience with Xmls.

Let's say you want Item Rain.
It will look something like this in the "options" section of the XML:

Code:
            <option name="Item Rain">
                    <choice name="With Boxes">
                    <patch id="ItemRain"/>
            </choice>
                    <choice name="No Boxes">
                    <patch id="ItemRainNoBox"/>
            </choice>
            </option>

Now, let's get the XML to acknowledge the folder you will be putting the codes in.
It will resemble this in the "patch" section of the XML:

Code:
    <patch id="ItemRain">
        <folder external="/[yourmodfolder]/Codes/ItemRain/WithBox" recursive="false"/>
        <folder external="/[yourmodfolder]/Codes/ItemRain/WithBox" disc="/"/>
    </patch>
    <patch id="ItemRainNoBox">
        <folder external="/[yourmodfolder]/Codes/ItemRain/NoBox" recursive="false"/>
        <folder external="/[yourmodfolder]/Codes/ItemRain/NoBox" disc="/"/>
    </patch>


You don't have to make it a folder called "Codes" or "NoBox"; they're variables that you can name to anything you want.

By the way, it's worth noting that what I sent was for optional mods. If you want to make it required / non-optional, let me know. (though you could probably figure it out yourself)
Reply
#7
Ok great, thanks!

Time to get to work...
He is kinda fluffy tho
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)