• 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!
  • Our weekly protagonist poll is now up! Vote for your favorite Legends: Z-A protagonist in the poll by clicking here.
  • 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.

[Script] Error when trying to edit Pokemon after using DPE?

  • 17
    Posts
    4
    Years
    • Seen Jul 5, 2022
    So I used DPE to expand the dex to support all the national dex mons, but now that I've started editing them (First using HMA but now that I need to implement movesets, attempted to use both PGE and Gen III Suite), I'm encountering a weird error that I don't know how to fix. I can't find the .ini file for my rom, and even if I could, there's supposed to be 370 moves, because I'd added some using PGE before expanding the dex anyways

    Error:
    Spoiler:


    How can I fix this?
    (Side note: After using DPE, none of the pokemons cries play when they should, instead theyre just silent, how can I fix that?)
     
    So I used DPE to expand the dex to support all the national dex mons, but now that I've started editing them (First using HMA but now that I need to implement movesets, attempted to use both PGE and Gen III Suite), I'm encountering a weird error that I don't know how to fix. I can't find the .ini file for my rom, and even if I could, there's supposed to be 370 moves, because I'd added some using PGE before expanding the dex anyways

    Error:
    Spoiler:


    How can I fix this?
    (Side note: After using DPE, none of the pokemons cries play when they should, instead theyre just silent, how can I fix that?)

    I recommend starting over from a backup and trying moveset edits with just HMA. pge is buggy, and also to my knowledge not really good for expanded roms like dpe is.

    I never had the cry issue, so Im inclined to think it may be an error caused by one of the other programs over just dpe use.

    if it happens again after patching try seeing if it still persists after applying cfru.

    Also I may not have made it clear in the tutorial I shared but you can still use HMA to edit movesets on a rom after its been patched with cfru, or leons base.

    Its just that dpe is most important for certain types of changes, so getting dpe just how you want it , before editing is more important,
     
    I recommend starting over from a backup and trying moveset edits with just HMA. pge is buggy, and also to my knowledge not really good for expanded roms like dpe is.

    I never had the cry issue, so Im inclined to think it may be an error caused by one of the other programs over just dpe use.

    if it happens again after patching try seeing if it still persists after applying cfru.

    Also I may not have made it clear in the tutorial I shared but you can still use HMA to edit movesets on a rom after its been patched with cfru, or leons base.

    Its just that dpe is most important for certain types of changes, so getting dpe just how you want it , before editing is more important,

    So it turns out HMA was bugged, I couldn't edit movesets in the rom I was editing. I switched to a different rom and I'm using that one now, but it's working smoothly now
     
    I'm confused.

    What do you need an external tool for if you're using the DPE.

    Anything you want to edit is contained within the files already.

    Like, even the cries and such.
     
    I'm confused.

    What do you need an external tool for if you're using the DPE.

    Anything you want to edit is contained within the files already.

    Like, even the cries and such.

    because its easier and faster to edit with hma than dpe.
     
    So it turns out HMA was bugged, I couldn't edit movesets in the rom I was editing. I switched to a different rom and I'm using that one now, but it's working smoothly now

    Might not be a bug, if you couldn't find the moveset tab, than that was part of that tutorial I sent about setting up hma to work with expanded data.
    Like any editing tool hma looks for the specific data in a certain place within the rom, dpe & cfru move things around, so you need to check the offsets file it generates, and adjust the toml hma generates for that rom.


    I'd say open offsets file find the start of learnset data and put that as the offset for moveset in the toml file. Save and then reopen the rom, if the problem was that it couldn't find the data that should solve it. But either way make sure you're using the latest version. think it should be 4.1.2.
     
    Might not be a bug, if you couldn't find the moveset tab, than that was part of that tutorial I sent about setting up hma to work with expanded data.
    Like any editing tool hma looks for the specific data in a certain place within the rom, dpe & cfru move things around, so you need to check the offsets file it generates, and adjust the toml hma generates for that rom.


    I'd say open offsets file find the start of learnset data and put that as the offset for moveset in the toml file. Save and then reopen the rom, if the problem was that it couldn't find the data that should solve it. But either way make sure you're using the latest version. think it should be 4.1.2.

    What specifically makes me thing it was a bug was that I opened a different rom in HMA and I was able to edit movesets just fine, unless I set something up wrong when I first downloaded it. Yes, I have 4.1.2
     
    What specifically makes me thing it was a bug was that I opened a different rom in HMA and I was able to edit movesets just fine, unless I set something up wrong when I first downloaded it. Yes, I have 4.1.2

    gotcha, yeah it could possibly be a rom thing, what you look causes problems with hma is when the source values for a table are moved/have their format changed.

    For example the stats, table is built using the pokemon names data. same for several others.

    so if names was altered, or the learnset data was moved that could be the issue.

    But like more specifically, why couldn't you edit movesets, was the field not there, was the stats table missing?
     
    The table itself just didn't show up. Probably because I had edited some pokémon/movesets in PGE before actually expanding the dex, and I'd imagine that had something to do with it

    sounds about right, after expanding learnsets and species with dpe or cfru, you usually have to go in and adjust the toml or other field anchors in the program based on the dpe/cfru number of species added and the new offset for the learnset data shown in the generated offsets file before they appear correctly.

    (the actual process may be slightly different than what I said because I haven't used cfru in a while.)

    If its just that then there's no problem, and once the edits are made, saved and the rom is reopened everything should show up correctly.
     
    Back
    Top