- 14
- Posts
- 4
- Years
- Seen Jul 29, 2021
**7/28 EDIT: Found a workaround, see the second spoiler**
Hi, all. Another newbie to romhacking with a question regarding Leon and UltimaSoul's Ultimate FireRed base.
I've been trying to insert new pokemon into the ROM. For this, I've been using the Pokemon Game Editor (PGE) that came in the tools folder of the download. Editing pokemon who already have data (basically everything besides the ????? entries) works swimmingly, but whenever I try to edit the ????? entries, the program crashes.
Is there a workaround for this, or another program/method to edit the placeholder pokemon entries? If desperate, I'll just get rid of some of the alternate forms to make room for the new mons (sorry, Silvally) but I'm hoping someone else here has encountered this issue and has some advice to give.
Thanks in advance!
Also, here is the error message PGE gives me below the spoiler.
Hi, all. Another newbie to romhacking with a question regarding Leon and UltimaSoul's Ultimate FireRed base.
I've been trying to insert new pokemon into the ROM. For this, I've been using the Pokemon Game Editor (PGE) that came in the tools folder of the download. Editing pokemon who already have data (basically everything besides the ????? entries) works swimmingly, but whenever I try to edit the ????? entries, the program crashes.
Is there a workaround for this, or another program/method to edit the placeholder pokemon entries? If desperate, I'll just get rid of some of the alternate forms to make room for the new mons (sorry, Silvally) but I'm hoping someone else here has encountered this issue and has some advice to give.
Thanks in advance!
Also, here is the error message PGE gives me below the spoiler.
Spoiler:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentException: Parameter is not valid.
at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
at PokemonGameEditor.CryFunctions.GetCryImage(Cry cry)
at PokemonGameEditor.Pokemonedit.MediaLoad()
at PokemonGameEditor.Pokemonedit.PKMNames_SelectedIndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m)
at System.Windows.Forms.ComboBox.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4180.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
PokemonGameEditor
Assembly Version: 3.8.1.0
Win32 Version: 3.8.1.0
CodeBase: file:///C:/Users/versionELEVEN/Documents/DOWNLOADS/Rom%20Base%202.0/807%20Plus%20Version/Tools/Pokemon%20Game%20Editor%20by%20Gamer2020/PokemonGameEditor.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 14.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4180.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4150.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentException: Parameter is not valid.
at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
at PokemonGameEditor.CryFunctions.GetCryImage(Cry cry)
at PokemonGameEditor.Pokemonedit.MediaLoad()
at PokemonGameEditor.Pokemonedit.PKMNames_SelectedIndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m)
at System.Windows.Forms.ComboBox.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4180.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
PokemonGameEditor
Assembly Version: 3.8.1.0
Win32 Version: 3.8.1.0
CodeBase: file:///C:/Users/versionELEVEN/Documents/DOWNLOADS/Rom%20Base%202.0/807%20Plus%20Version/Tools/Pokemon%20Game%20Editor%20by%20Gamer2020/PokemonGameEditor.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 14.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4180.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4150.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3752.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Spoiler:
Okay so I found a workaround in the tools files that came with the Rombase (that is, Leon and UltimaSoul's Rombase) and since I know other users in the forum experienced similar issues, here is the workaround in case it can help someone else:
Adding new pokemon to the base
1) Go to the Gen 3 Tools folder (>807 version > tools)
2) Click Gen3Tools (make sure you're using the ini file attached to the Rom download!)
3) Load the rom and manually input the new pokemon's name and corresponding data (stats, egg group, hatch rate, etc.)
At this point, you have a new dex entry, but it's missing battle sprites and PC sprites and a cry.
So get your sprites and cries from elsewhere and when you have them:
4) Go to Cry Editor 1.4 (also in the Tools folder).
4a) Make sure to read Leon's Notes, which basically sayswhen you're saving the new cry, the offset needs to end in 0, 4, 8, or C. So keep searching for free space with the Free Space Finder until you find a correct offset. Make sure to start your searches with 0xA00000!
5) Open the Cry Editor (recommended to have FSF open at this point) and scroll down to your newly-named pokemon. It shouldn't have a cry. Click Import, upload the cry, and then click save.
5a) When saving, you'll get a message box prompting you to look for free space, this is where FSF comes in.
As for the sprites, unfortunately the version of Nameless Sprite Editor I have can't seem to register any pokemon past 483 so I had to use Advance Series by Wichu (also in the Tools folder). But inserting the sprites works with the rombase this way so I have no complaints. Please refer to a sprite insertion tutorial for how to go about that. (Too new to the forum to post a link)
Hope this helps someone!
Adding new pokemon to the base
1) Go to the Gen 3 Tools folder (>807 version > tools)
2) Click Gen3Tools (make sure you're using the ini file attached to the Rom download!)
3) Load the rom and manually input the new pokemon's name and corresponding data (stats, egg group, hatch rate, etc.)
At this point, you have a new dex entry, but it's missing battle sprites and PC sprites and a cry.
So get your sprites and cries from elsewhere and when you have them:
4) Go to Cry Editor 1.4 (also in the Tools folder).
4a) Make sure to read Leon's Notes, which basically sayswhen you're saving the new cry, the offset needs to end in 0, 4, 8, or C. So keep searching for free space with the Free Space Finder until you find a correct offset. Make sure to start your searches with 0xA00000!
5) Open the Cry Editor (recommended to have FSF open at this point) and scroll down to your newly-named pokemon. It shouldn't have a cry. Click Import, upload the cry, and then click save.
5a) When saving, you'll get a message box prompting you to look for free space, this is where FSF comes in.
As for the sprites, unfortunately the version of Nameless Sprite Editor I have can't seem to register any pokemon past 483 so I had to use Advance Series by Wichu (also in the Tools folder). But inserting the sprites works with the rombase this way so I have no complaints. Please refer to a sprite insertion tutorial for how to go about that. (Too new to the forum to post a link)
Hope this helps someone!
Last edited: