The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   Binary ROM Hacking (https://www.pokecommunity.com/forumdisplay.php?f=284)
-   -   Script Error when trying to edit Pokemon after using DPE? (https://www.pokecommunity.com/showthread.php?t=449166)

DevidraGaming April 20th, 2021 10:50 AM

Error when trying to edit Pokemon after using DPE?
 
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:


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?)

Meister_anon~Master_o f_None April 20th, 2021 9:19 PM

Quote:

Originally Posted by DevidraGaming (Post 10340900)
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:


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,

DevidraGaming April 21st, 2021 8:03 PM

Quote:

Originally Posted by Meister_anon~Master_o f_None (Post 10341124)
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

Tacobell24 April 21st, 2021 10:41 PM

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.

Meister_anon~Master_o f_None April 22nd, 2021 12:57 PM

Quote:

Originally Posted by Tacobell24 (Post 10341811)
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.

Meister_anon~Master_o f_None April 22nd, 2021 1:02 PM

Quote:

Originally Posted by DevidraGaming (Post 10341778)
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.

DevidraGaming April 23rd, 2021 12:46 AM

Quote:

Originally Posted by Meister_anon~Master_o f_None (Post 10342157)
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

Meister_anon~Master_o f_None April 23rd, 2021 6:26 PM

Quote:

Originally Posted by DevidraGaming (Post 10342397)
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?

DevidraGaming April 24th, 2021 10:33 AM

Quote:

Originally Posted by Meister_anon~Master_o f_None (Post 10343052)
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

Meister_anon~Master_o f_None April 24th, 2021 7:05 PM

Quote:

Originally Posted by DevidraGaming (Post 10343356)
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.


All times are GMT -8. The time now is 9:14 AM.


Like our Facebook Page Follow us on Twitter © 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.