• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Forum moderator applications are now open! Click here for details.
  • 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.

PBS Shape Appender

971
Posts
7
Years
  • Age 21
  • Seen Nov 28, 2022
There's a very good chance you've seen an error like this one before.
2JoPUUg.png

This error indicates that you're using old Pokémon PBS.

Pokémon Essentials v17 adds a new property that all your Pokémon entries have to have; Shape. This is used as a "search option" by the Pokédex.

Since manually adding all these Shape fields is super tedious, and some people don't even know what this error means, I've written a very little program that adds an appropriate Shape fields to the appropriate Pokémon.

There's a file called template.txt which contains the internal names of the Pokémon and which Shape value they should get. This works for all species from generation 1 to generation 7, species 1 through 802. I have not made this closed-source as perhaps it could be useful to expand this. So yes, this does mean you can add, remove, or change values.

The program is a stand-alone. As long as you never separate it from template.txt, it can be run from anywhere and everywhere. You are prompted to pick a file manually, it does not detect it.


Download the program
 
Last edited:
423
Posts
13
Years
  • Age 37
  • Seen Aug 31, 2023
added the new ultrabeast from ultra sun and ultra moon for those who want them
 

Attachments

  • template.txt
    9.2 KB · Views: 124
180
Posts
6
Years
  • Age 20
  • Seen Mar 15, 2024
When I use it, the Height and Weight changes.
From this:
Height=7.0
Weight=400.0
To this:
Height=7000.0
Weight=400000.0

For one or another reason, it adds three zero in that propieties.
Sorry my bad English, I talk Spanish.
 

WolfPP

Spriter/ Pixel Artist
1,309
Posts
5
Years
When I use it, the Height and Weight changes.
From this:
Height=7.0
Weight=400.0
To this:
Height=7000.0
Weight=400000.0

For one or another reason, it adds three zero in that propieties.
Sorry my bad English, I talk Spanish.

Same problem.

EDIT:
Well....
Done lol
Just change the position (or reposition) them. And i add in RegionalPokedex the seven region (so, add that too if you wanted or delete or config your pokedex from debug mode):
1-807 shapes and height/weight.
 

Attachments

  • pokemon.txt
    677.9 KB · Views: 127
Last edited:
5
Posts
4
Years
  • Age 26
  • Seen Sep 25, 2023
Same problem.

EDIT:
Well....
Done lol
Just change the position (or reposition) them. And i add in RegionalPokedex the seven region (so, add that too if you wanted or delete or config your pokedex from debug mode):
1-807 shapes and height/weight.

hi, do you know where can I find the file to import abilities and their effect? Because if i copy only this .txt it won't work, right?
 

WolfPP

Spriter/ Pixel Artist
1,309
Posts
5
Years

WolfPP

Spriter/ Pixel Artist
1,309
Posts
5
Years
Sorry if this is a dumb question... how do i use this?

Did you read main post?
Code:
The program is a stand-alone. As long as you never separate it from template.txt, it can be run from anywhere and everywhere. You are prompted to pick a file manually, it does not detect it.
 
8
Posts
4
Years
  • Age 27
  • UK
  • Seen Jul 1, 2019
Did you read main post?
Code:
The program is a stand-alone. As long as you never separate it from template.txt, it can be run from anywhere and everywhere. You are prompted to pick a file manually, it does not detect it.

Yeah, it wouldn't run. But it's ok i added them all in by typing nd it worked lol
 
30
Posts
13
Years
  • Seen Jan 28, 2024
Marin, I'm using .NET Framework 4.8, and get the following exception after selecting my custom pokemon.txt file:
Code:
Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.

Index was outside the bounds of the array.


Details:

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at PBSShapeFix.WorkForm.Form1_Load(Object sender, EventArgs e)
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.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.4042.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
PBSShapeFix
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/INDATA/Downloads/PBS%20Shape%20Appender/PBS%20Shape%20Appender.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4042.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
    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.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.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4042.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.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
----------------------------------------

************** 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.

I have attached my custom 'pokemon.txt' file to this post. Note that it was made in Essentials v15.
 

Attachments

  • pokemon.txt
    679.3 KB · Views: 9
Back
Top