• 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 Conquest 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.

PBS Shape Appender

  • 971
    Posts
    8
    Years
    • Age 22
    • Seen Nov 28, 2022
    There's a very good chance you've seen an error like this one before.
    [PokeCommunity.com] PBS Shape Appender

    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:
    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.
     
    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:
    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?
     
    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
     
    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