The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Error when trying to edit Pokemon after using DPE?

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old April 20th, 2021 (10:50 AM).
DevidraGaming's Avatar
DevidraGaming DevidraGaming is offline
 
Join Date: Mar 2021
Posts: 17
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?)
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old April 20th, 2021 (9:19 PM).
Meister_anon~Master_o f_None Meister_anon~Master_o f_None is offline
 
Join Date: Dec 2020
Posts: 852
Quote:
Originally Posted by DevidraGaming View Post
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,
__________________
The A-non Team




Trevenant
Lv. 100 @ 306
Points: 70
Challenge: Souls of the Damned
Legendary: TBA

Chandelure
Lv. 100 @ 213
Points: 100
Challenge: N/A
Legendary: Entei

Rapidash
Lv. 100 @ 497
Points: 70
Challenge: N/A
Legendary: Entei

Flareon
Lv. 100 @ 708
Points: 70
Challenge: TBA
Legendary: TBA

Roselia
Lv. 100 @ 794
Points: 100
Challenge: TBA
Legendary: TBA

Entei
Hatch @ 793
Level 100 @ 1,018
Shiny: No
Points: 100

Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old April 21st, 2021 (8:03 PM).
DevidraGaming's Avatar
DevidraGaming DevidraGaming is offline
 
Join Date: Mar 2021
Posts: 17
Quote:
Originally Posted by Meister_anon~Master_o f_None View Post
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
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old April 21st, 2021 (10:41 PM).
Tacobell24's Avatar
Tacobell24 Tacobell24 is offline
 
Join Date: Nov 2018
Posts: 232
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.
__________________
Praise the Solrock
Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old April 22nd, 2021 (12:57 PM).
Meister_anon~Master_o f_None Meister_anon~Master_o f_None is offline
 
Join Date: Dec 2020
Posts: 852
Quote:
Originally Posted by Tacobell24 View Post
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.
__________________
The A-non Team




Trevenant
Lv. 100 @ 306
Points: 70
Challenge: Souls of the Damned
Legendary: TBA

Chandelure
Lv. 100 @ 213
Points: 100
Challenge: N/A
Legendary: Entei

Rapidash
Lv. 100 @ 497
Points: 70
Challenge: N/A
Legendary: Entei

Flareon
Lv. 100 @ 708
Points: 70
Challenge: TBA
Legendary: TBA

Roselia
Lv. 100 @ 794
Points: 100
Challenge: TBA
Legendary: TBA

Entei
Hatch @ 793
Level 100 @ 1,018
Shiny: No
Points: 100

Reply With Quote
  #6   Link to this post, but load the entire thread.  
Old April 22nd, 2021 (1:02 PM).
Meister_anon~Master_o f_None Meister_anon~Master_o f_None is offline
 
Join Date: Dec 2020
Posts: 852
Quote:
Originally Posted by DevidraGaming View Post
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.
__________________
The A-non Team




Trevenant
Lv. 100 @ 306
Points: 70
Challenge: Souls of the Damned
Legendary: TBA

Chandelure
Lv. 100 @ 213
Points: 100
Challenge: N/A
Legendary: Entei

Rapidash
Lv. 100 @ 497
Points: 70
Challenge: N/A
Legendary: Entei

Flareon
Lv. 100 @ 708
Points: 70
Challenge: TBA
Legendary: TBA

Roselia
Lv. 100 @ 794
Points: 100
Challenge: TBA
Legendary: TBA

Entei
Hatch @ 793
Level 100 @ 1,018
Shiny: No
Points: 100

Reply With Quote
  #7   Link to this post, but load the entire thread.  
Old April 23rd, 2021 (12:46 AM).
DevidraGaming's Avatar
DevidraGaming DevidraGaming is offline
 
Join Date: Mar 2021
Posts: 17
Quote:
Originally Posted by Meister_anon~Master_o f_None View Post
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
Reply With Quote
  #8   Link to this post, but load the entire thread.  
Old April 23rd, 2021 (6:26 PM).
Meister_anon~Master_o f_None Meister_anon~Master_o f_None is offline
 
Join Date: Dec 2020
Posts: 852
Quote:
Originally Posted by DevidraGaming View Post
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 A-non Team




Trevenant
Lv. 100 @ 306
Points: 70
Challenge: Souls of the Damned
Legendary: TBA

Chandelure
Lv. 100 @ 213
Points: 100
Challenge: N/A
Legendary: Entei

Rapidash
Lv. 100 @ 497
Points: 70
Challenge: N/A
Legendary: Entei

Flareon
Lv. 100 @ 708
Points: 70
Challenge: TBA
Legendary: TBA

Roselia
Lv. 100 @ 794
Points: 100
Challenge: TBA
Legendary: TBA

Entei
Hatch @ 793
Level 100 @ 1,018
Shiny: No
Points: 100

Reply With Quote
  #9   Link to this post, but load the entire thread.  
Old April 24th, 2021 (10:33 AM).
DevidraGaming's Avatar
DevidraGaming DevidraGaming is offline
 
Join Date: Mar 2021
Posts: 17
Quote:
Originally Posted by Meister_anon~Master_o f_None View Post
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
Reply With Quote
  #10   Link to this post, but load the entire thread.  
Old April 24th, 2021 (7:05 PM).
Meister_anon~Master_o f_None Meister_anon~Master_o f_None is offline
 
Join Date: Dec 2020
Posts: 852
Quote:
Originally Posted by DevidraGaming View Post
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.
__________________
The A-non Team




Trevenant
Lv. 100 @ 306
Points: 70
Challenge: Souls of the Damned
Legendary: TBA

Chandelure
Lv. 100 @ 213
Points: 100
Challenge: N/A
Legendary: Entei

Rapidash
Lv. 100 @ 497
Points: 70
Challenge: N/A
Legendary: Entei

Flareon
Lv. 100 @ 708
Points: 70
Challenge: TBA
Legendary: TBA

Roselia
Lv. 100 @ 794
Points: 100
Challenge: TBA
Legendary: TBA

Entei
Hatch @ 793
Level 100 @ 1,018
Shiny: No
Points: 100

Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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