Jump to content

Pokémon Showdown Importable To Legit PKHeX Files Converter


FullLifeGames

Recommended Posts

Hey guys,

today I want to present you my "Pokémon Showdown Importable To Legit PKHeX Files Converter". The whole project originated from my Smogon Set Database, which made all Smogon Sets for every Pokémon for every tier to PKHeX files, where most also were made legit (by having the data of for example legends saved and replaced and what not).

So what does this tool actually do? Let's have a look at it:

http://puu.sh/meLem/43757bf52b.PNG

This is how the tool looks like. In the left text field you paste in the importable. After that you can choose if you want to create normal PKHeX files, boxdata files or Cyber Sav files. It's important that you specify for single PKHeX files or boxdata files the extract path or for Cyber Sav files the Cyber Sav File Path. You can also select for the Cyber Sav File the boxes which will be overwritten. When that's done you just click "Convert" and after a short period of time you should find your files in the specified folder. You can use those files then to import those Pokémon into your main game via Homebrew!

Most of the Pokémon generated should be legit and can be used immediately on Wi-Fi but there will be of course some cases which I didn't thought of. If you encounter any, just tell me and I will probably fix them!

The tool is Open Source and can be found here: https://github.com/FullLifeGames/ImportableToPKHeX

You can download the tool from here (v2.0.0): https://drive.google.com/file/d/0BzWQTIjOghQLLTdnUXZhT2wtc0E/view?usp=sharing&resourcekey=0-GTvwxtiknvySn1J2G4lTwg

Edited by FullLifeGames
v2.0.0
  • Like 2
Link to comment
Share on other sites

  • 2 weeks later...

Hi, thanks for the program, which is very nice. I've been using it to quick gen showdown teams on my ORAS. I've got a few questions, though.

I've successfully modified the ek6 files in the "gen files" folder, allowing me to generate oras hatched pokemon having my trainer id.

But I'd like to add the latest events, such as shiny Diancie / Yveltal / Xerneas.

Can you tell me how to add specific pokemon ? I mean only available as event shinies, for example ?

I added the legit shiny xerneas pk6 file in the "gold folder", but when I generate a shiny Xerneas, the program uses the "caught in pokemon X" Xerneas, making it shiny and thus, illegal.

Thanks again for the nice program and for your answers :)

Link to comment
Share on other sites

  • 3 weeks later...

So I can't directly quote you for some reason Sorcier_malgache, but if you could send me the shiny files, I can edit them. Another possibility would be for you to replace the regular diance, xerneas and yveltal files with their shiny files in the gold folder, so they already have the correct met stuff.

Link to comment
Share on other sites

  • 3 months later...

Okay, so I understand how the program works. but how exactly are you able to generate the text that is used to put into the converter?

I imagine that you have a program that is able to get the sets that are current on Smogon, and put it into the converter.

RE: In case anyone is seeing this message, I am merely thinking that there has to be an way to get the Smogon sets off the website with relative ease so that the collections can be updated like what our friend has done here.

Edited by wind_waker4631
Link to comment
Share on other sites

  • 3 weeks later...

This sounds really good! I will try it out now! :D

EDIT - I am getting an unhandled exception when I try to convert a smogon set. I have attached the bug report. The set which I tried to import was -

Victini
IVs: 26 Atk / 24 Def / 7 SpD / 25 Spe
Ability: Victory Star
Level: 50
Bold Nature
- V-create
- Fusion Flare
- Fusion Bolt
- Searing Shot

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

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at PKHeX.WinForms.Main.Form1_Load(Object sender, EventArgs e)
   at PKHeX.Converter.convert_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.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.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
ImportableConverter
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/Program%20Files/PKHeX/Importable%20Converter/ImportableConverter.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    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.6.1586.0 built by: NETFXREL2
    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.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
PKHeX.WinForms
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/Program%20Files/PKHeX/Importable%20Converter/PKHeX.WinForms.DLL
----------------------------------------
PKHeX.Core
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/Program%20Files/PKHeX/Importable%20Converter/PKHeX.Core.DLL
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    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.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Deployment
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1586.0 built by: NETFXREL2
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.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.

 

Edited by Sonic Blader
Bug Report
Link to comment
Share on other sites

  • 3 weeks later...

A standard valid Showdown Importable should have the IVs and Ability row swapped.

This is why it doesn't work, since it's not seeing it as a valid importable.

This works:

Victini
Ability: Victory Star
IVs: 26 Atk / 24 Def / 7 SpD / 25 Spe
Level: 50
Bold Nature
- V-create
- Fusion Flare
- Fusion Bolt
- Searing Shot

Link to comment
Share on other sites

  • 1 month later...
  • 2 years later...

Hello if i run your program with any pokemon from showdown i get this message

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

************** Exception Text **************
System.TypeLoadException: Could not load type 'PKHeX.WinForms.Pokemon' from assembly 'PKHeX, Version=19.7.5.0, Culture=neutral, PublicKeyToken=null'.
   at PKHeX.Converter.convert_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.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.7.3416.0 built by: NET472REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
ImportableConverter
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/admin/Desktop/PkHeX/ImportableConverter.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_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.7.3416.0 built by: NET472REL1LAST_B
    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.7.3056.0 built by: NET472REL1
    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.7.3056.0 built by: NET472REL1
    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.7.3429.0 built by: NET472REL1LAST_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.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
PKHeX
    Assembly Version: 19.7.5.0
    Win32 Version: 19.07.05.0
    CodeBase: file:///C:/Users/admin/Desktop/PkHeX/PKHeX.EXE
----------------------------------------

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


any ideas?

 

thank you

Edited by SystemLukas
Link to comment
Share on other sites

  • 7 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...