Jump to content
  • StatsUtil Mod

    evandixon

    Sky Editor comes bundled with psy_commando's tools, and this project is a wrapper for StatsUtil, letting you edit scripts, Pokémon data, and more.

    Before continuing, please make sure you've reached the "Making Mods" section of the Sky Editor guide to ROM editing.

    Instructions

    1. On the New Project window, choose "Stats Util Project" in the drop-down, and fill in the name with something that makes sense. Then click OK.
      image.png
    2. Wait for the loading to complete. This may take a while depending on your computer.
    3. All of the XML files that statsutil created are in (Solution Directory)/(Project Directory). Do not touch the "Raw Files" directory, since that's for Sky Editor's use only.

    Editing Scripts

    Due to the lack of documentation regarding the XML statusutil generates, the best way to learn how to modify it is to look at the existing scenes and compare it to what happens in-game. However, it's important to have a basic understanding of the script nodes:

    • LSDTable - This is basically a list of script definitions. 
    • ScriptSet
      • ScriptData - controls how the map is set up (like which actors are on the map and their locations)
      • ScriptSequence - controls what happens afterward (this is where the bulk of the stuff happens).

    Remarks

    Refer to psy_commando's thread for additional instructions regarding statsutil. You shouldn't have to worry about any of the command-line stuff, since Sky Editor handles that.

    At the time of writing, he has an imgur album with instructions on how to deal with the XML. You can skip to the 7th image, where the XML files have already been created, and you can stop at the 3rd to last one, since building the modpack with Sky Editor accomplishes the same thing:https://imgur.com/a/bBnmQ

    If you have any additional questions, you can either ask in psy_commando's thread or create your own thread in the ROM Editing Help forum.

    Edited by evandixon


    User Feedback


    Just to add to this. The XML outputed is in a very similar structure the data inside the script files, its just a bit more organized. So the details on the script op codes in my notes and etc work with those as well.

    Share this comment


    Link to comment
    Share on other sites

    So about the XML files for the Pokemon and moves, I want to try adding Arceus to the game. would editing the XML files for the placeholder pokemon and $$$ work?  Or is there more to it than just that?

    Share this comment


    Link to comment
    Share on other sites
    4 hours ago, mr ki said:

    So about the XML files for the Pokemon and moves, I want to try adding Arceus to the game. would editing the XML files for the placeholder pokemon and $$$ work?  Or is there more to it than just that?

    You'd also need to take care of the graphics and animations. @psy_commando's gfx_crunch can help with that, but I don't even know everything that'd be involved with inserting Pokemon.

    If you try out what you can, I'd love to hear your findings.

    Share this comment


    Link to comment
    Share on other sites


    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×