• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Scripting Question] Editing scripts in v19

  • 6
    Posts
    4
    Years
    • Seen Jul 13, 2024
    I'm porting my project to Essentials v19, but when I click on the script editor in RPGMXP, the only script that shows up is Main and there's nothing to edit. How do I access the scripts in v19?
     
    I'm porting my project to Essentials v19, but when I click on the script editor in RPGMXP, the only script that shows up is Main and there's nothing to edit. How do I access the scripts in v19?

    Are you using the Github version? It sounds like your Scripts.rxdata is decompiled (best way to work with the scripts if you ask me).
     
    Are you using the Github version? It sounds like your Scripts.rxdata is decompiled (best way to work with the scripts if you ask me).

    Yeah, I have to use the github version because the AI wasn't making moves in battle otherwise. Where do I go to edit the scripts if they're decompiled? Or do I need to compile them first?
     
    Yeah, I have to use the github version because the AI wasn't making moves in battle otherwise. Where do I go to edit the scripts if they're decompiled? Or do I need to compile them first?

    The scripts will be in Data/Scripts. You can edit the .rb files within the subfolders you see and any changes (once saved) should be reflected in your game.
    If you download a bit of software called Atom, you can "open" the entire Scripts folder to work on the scripts in a similar way to the script editor in RMXP, just more user-friendly (and dark mode is available). Alternatively, you can edit the .rb files using Notedpad++ or other software. Avoid regular Notepad, though.

    If you prefer to use the script editor in RMXP, then you need to run the scripts_combine.rb file that should be in your project's main folder. I wouldn't recommend doing this because it'll make pulling future updates from Github a pain since you'll need to remember to always run scripts_extract.rb before merging with the Github branch of your choosing, and then combining them again afterwards.
     
    The scripts will be in Data/Scripts. You can edit the .rb files within the subfolders you see and any changes (once saved) should be reflected in your game.
    If you download a bit of software called Atom, you can "open" the entire Scripts folder to work on the scripts in a similar way to the script editor in RMXP, just more user-friendly (and dark mode is available). Alternatively, you can edit the .rb files using Notedpad++ or other software. Avoid regular Notepad, though.

    That seems to be working. Thanks!
     
    Back
    Top