Jump to content
  • PKHeX is a save editor for core-series Pokémon games. With it, users can manipulate various save files including: .sav, .dsv, .dat, .gci, .raw, and .bin types. PKHeX can also read and write: .pk files, which are individual Pokémon files, and .pgt, .pcd, .pgf, .wc, which are Mystery Gift files.

    Version 24.06.03 of PKHeX has been released, with initial trash bytes checks for Switch-era game formats. See the changelog for further details.

    PKHeX requires the .NET Desktop Runtime 8.0.0 to run. If you receive an error when trying to run, ensure you have it installed.

    Take note that other related applications will still need time to update, and updated versions of Plugins or SysBot may not be immediately available.

    Change log:

    Quote

    24/06/03 - New Update:
     - Legality: Added automatic (basic) Trash Byte checks for Switch-era (Gen7b+) files. Further refinement & expansion in the future.
     - - Fixed: Mystery gifts distributed with nicknames no longer flag IsNicknamed as invalid.
     - Added: Entity editor move dropdown now displays the move's type on the left side.
     - Added: Entire boxes can be dragged & dropped. Must enable via setting as it is not intuitive. Drag from the Box tab rectangle.
     - Added: Report grid can now specify extra properties to show, as well as properties to hide. Change via settings.
     - Added: Gen1-3 save file language/version detection updated for more edge cases.
     - Added: Gen2-5 localization text files added for less popular languages. Thanks @abcboy101 !
     - Added: Gen3 GBA<->GC string conversion logic to handle special text entry. Thanks @abcboy101 !
     - Added: Gen4 Seal/Accessory/Backdrop editors. Thanks @abcboy101 !
     - Added: Gen5 Geonet/Unity Tower can now edit country/region data. Thanks @abcboy101 !
     - Fixed: Gen6/7 entities now save the volatile status effect rather than wiping it (see previous release notes).
     - Fixed: Gen3-7 Nidoran/Farfetch'd text char quirks updated to better align with GameFreak's mess.
     - Fixed: Gen1/2 quirks with box data have been rewritten and resolved.
     - Changed: Gen1-3 emulator save formats that store RTC data are now detected more reliably.
     - Changed: More performance improvements as always! Additionally, translations can now handle Enum localization.

     

     

    Download      |     FAQ     |     Support Forum

    • Confused 1

    User Feedback

    Recommended Comments



    Dami0n

    Posted

    Somehow when i load my Pokemon Crystal save from PXhex it claims it corrupted and wipes it clean to start from the beginning of the game 

    But save files are good when PxHex does not touch the .dat file 

    BlackShark

    Posted

    1 hour ago, Dami0n said:

    Somehow when i load my Pokemon Crystal save from PXhex it claims it corrupted and wipes it clean to start from the beginning of the game 

    But save files are good when PxHex does not touch the .dat file 

    Wait for the next release or use the dev build, should already be fixed.

     

    GlowGreen

    Posted

    I just found this happening with Emerald after a Pokemon Box Ruby and Sapphire save. It seems the gamecube games (or I should say, games with an indirect connection as Ranch is for Wii) save back to the .sav file with some extra data or something? It saves a 129kb file instead of 128, VBA has an issue with loading it as well. I ended up opening it with the mGBA Retroarch core (had to change filename to .srm), saving again with save compression disabled in Retroarch settings (then changed it to .sav), then trying to edit again and it works perfectly. I suspect this error is similar since you mention Ranch.

    I do see that you mentioned the new build will fix this issue, but I figured I'd post this in case this issue persists for some.

    Fran Away

    Posted

    I'm attempting to run PKHeX on a MacBook (through crossover) and I've gotten to the point where I can look around the app and load my save file into it, but whenever I click on a Pokemon or attempt to change anything it hits me with this:

    Exception Details:
    System.Runtime.InteropServices.COMException (0x80029C4A): 0x80029C4A (TYPE_E_CANTLOADLIBRARY)
       at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode, IntPtr errorInfo)
       at Windows.Win32.Foundation.HRESULT.ThrowOnFailure(IntPtr errorInfo)
       at Windows.Win32.Foundation.GlobalInterfaceTable.RegisterInterface[TInterface](TInterface* interface)
       at Windows.Win32.Foundation.AgileComPointer`1..ctor(TInterface* interface, Boolean takeOwnership)
       at System.Windows.Forms.AccessibleObject.UseStdAccessibleObjects(IntPtr handle, Int32 objid)
       at System.Windows.Forms.PictureBox.CreateAccessibilityInstance()
       at System.Windows.Forms.Control.get_AccessibilityObject()
       at PKHeX.WinForms.Controls.SelectablePictureBox.OnEnter(EventArgs e)
       at System.Windows.Forms.ContainerControl.UpdateFocusedControl()

    Loaded Assemblies:
    --------------------
    System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.Private.CoreLib.dll

    PKHeX, Version=24.7.3.0, Culture=neutral, PublicKeyToken=null
    C:\users\crossover\Temp\.net\PKHeX\0JCk+1Xx7NGwnsTAIDqMbFmcVZOu_zM=\PKHeX.dll

    System.Runtime, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.Runtime.dll

    System.Windows.Forms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\8.0.6\System.Windows.Forms.dll

    System.ComponentModel.Primitives, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.ComponentModel.Primitives.dll

    System.Windows.Forms.Primitives, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\8.0.6\System.Windows.Forms.Primitives.dll

    System.Drawing.Primitives, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.Drawing.Primitives.dll

    System.Collections.Specialized, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.Collections.Specialized.dll

    System.Threading.Thread, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.Threading.Thread.dll

    System.Collections, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.Collections.dll

    System.Runtime.InteropServices, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.Runtime.InteropServices.dll

    System.Threading, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.Threading.dll

    System.Diagnostics.TraceSource, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.Diagnostics.TraceSource.dll

    System.Drawing.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
    C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\8.0.6\System.Drawing.Common.dll

    Microsoft.Win32.Primitives, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\Microsoft.Win32.Primitives.dll

    System.ComponentModel.EventBasedAsync, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.ComponentModel.EventBasedAsync.dll

    Accessibility, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\8.0.6\Accessibility.dll

    System.Resources.Extensions, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
    C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\8.0.6\System.Resources.Extensions.dll

    System.Memory, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.Memory.dll

    System.Drawing, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\8.0.6\System.Drawing.dll

    System.Numerics.Vectors, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.Numerics.Vectors.dll

    PKHeX.Core, Version=24.7.3.0, Culture=neutral, PublicKeyToken=null
    C:\users\crossover\Temp\.net\PKHeX\0JCk+1Xx7NGwnsTAIDqMbFmcVZOu_zM=\PKHeX.Core.dll

    System.Linq, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.Linq.dll

    System.Collections.Concurrent, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.Collections.Concurrent.dll

    Microsoft.Win32.SystemEvents, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
    C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\8.0.6\Microsoft.Win32.SystemEvents.dll

    System.Collections.NonGeneric, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.Collections.NonGeneric.dll

    System.Text.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.Text.Json.dll

    System.Text.Encodings.Web, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.Text.Encodings.Web.dll

    System.Text.Encoding.Extensions, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.Text.Encoding.Extensions.dll

    System.ComponentModel.TypeConverter, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.ComponentModel.TypeConverter.dll

    System.ComponentModel, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.ComponentModel.dll

    System.Runtime.Intrinsics, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.Runtime.Intrinsics.dll

    PKHeX.Drawing.PokeSprite, Version=24.7.3.0, Culture=neutral, PublicKeyToken=null
    C:\users\crossover\Temp\.net\PKHeX\0JCk+1Xx7NGwnsTAIDqMbFmcVZOu_zM=\PKHeX.Drawing.PokeSprite.dll

    System.ObjectModel, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.ObjectModel.dll

    System.Private.Uri, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.Private.Uri.dll

    System.Runtime.Loader, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.Runtime.Loader.dll

    System.Runtime.Serialization.Formatters, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.Runtime.Serialization.Formatters.dll

    System.Windows.Extensions, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
    C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App\8.0.6\System.Windows.Extensions.dll

    System.Net.Http, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.Net.Http.dll

    System.Net.Primitives, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.Net.Primitives.dll

    System.Diagnostics.Tracing, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.Diagnostics.Tracing.dll

    System.Diagnostics.DiagnosticSource, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.Diagnostics.DiagnosticSource.dll

    System.Net.Security, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.Net.Security.dll

    System.Security.Cryptography, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.Security.Cryptography.dll

    PKHeX.Drawing, Version=24.7.3.0, Culture=neutral, PublicKeyToken=null
    C:\users\crossover\Temp\.net\PKHeX\0JCk+1Xx7NGwnsTAIDqMbFmcVZOu_zM=\PKHeX.Drawing.dll

    PKHeX.Drawing.Misc, Version=24.7.3.0, Culture=neutral, PublicKeyToken=null
    C:\users\crossover\Temp\.net\PKHeX\0JCk+1Xx7NGwnsTAIDqMbFmcVZOu_zM=\PKHeX.Drawing.Misc.dll

    System.Net.Sockets, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.Net.Sockets.dll

    System.Threading.Overlapped, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.Threading.Overlapped.dll

    System.Net.NameResolution, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.Net.NameResolution.dll

    System.Threading.ThreadPool, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.Threading.ThreadPool.dll

    System.Security.Principal.Windows, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.Security.Principal.Windows.dll

    System.Security.Claims, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.Security.Claims.dll

    System.Text.RegularExpressions, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.Text.RegularExpressions.dll

    System.Diagnostics.StackTrace, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.Diagnostics.StackTrace.dll

    System.Reflection.Metadata, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.Reflection.Metadata.dll

    System.Collections.Immutable, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.6\System.Collections.Immutable.dll

    --------------------
    User Message:
    An error occurred in PKHeX. Please report this error to the PKHeX author.

     

    Can anyone tell me what I'm doing wrong?

    DJTrevor

    Posted

    I'm trying to edit OT of my event shiny lucario of pokemon scarlet, but i cant! idk why but when i change OT from PKhex is all OKAY, but when i change TID or SID the pokemon became not shiny and became invalid... why?image.thumb.png.7900db042aa3803795111942f9d43ba3.pngimage.thumb.png.af596925177183e161295863eee77463.png

    Kaphotics

    Posted

    56 minutes ago, DJTrevor said:

    I'm trying to edit OT of my event shiny lucario of pokemon scarlet, but i cant! idk why but when i change OT from PKhex is all OKAY, but when i change TID or SID the pokemon became not shiny and became invalid... why?image.thumb.png.7900db042aa3803795111942f9d43ba3.pngimage.thumb.png.af596925177183e161295863eee77463.png

    Shininess is determined from PID and trainer ID. Changing one, of course you're going to have issues especially if there is a PID/Trainer ID correlation for the encounter.

    llamacatatta

    Posted (edited)

    On 6/6/2024 at 8:24 AM, SkyLink98 said:

     

    CTRL+Click on the OT Field, then click Clear.

    Nothing happens when I CRTL+Click OT

    Edited by llamacatatta
    Kaphotics

    Posted

    1 minute ago, llamacatatta said:

    Nothing happens when I CRTL+Click OT

    Inside the text box.




    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

  • Our picks

    • Since they released over a decade ago, the Pokémon Mystery Dungeon games for the Nintendo DS have not had much in the way of ROM editors. Over the past few years, hackers have slowly learned more and more about the inner workings of the games, culminating in the most advanced PMD editor to date: Sky Temple. 

      SkyTemple is a user-friendly level editor for Pokémon Mystery Dungeon: Explorers of Sky that gives the user full control over graphics, scripts, Pokémon data, and more, enabling a great amount of creative freedom to prospective ROM hackers to create not just edits of the game, but entirely new levels and plots.

      See the trailer for the version 1.0.0 release for quick samples of what can be accomplished:

      Additional reading:

      Download:

       
        • Amazed
        • Like
      • 10 replies
    • The #1 issue with Gates to Infinity is the super slow text speed. Luckily, @shutterbug2000 discovered how to fix it.
      • 39 replies
    • PKHeX 20.01.10
      PKHeX is a save editor for core-series Pokémon games. With it, users can manipulate various save files including: .sav, .dsv, .dat, .gci, .raw, and .bin types. PKHeX can also read and write: .pk files, which are individual Pokémon files, and .pgt, .pcd, .pgf, .wc, which are Mystery Gift files.

      Version 20.01.10 of PKHeX has been released! PKHeX now supports the latest patch (1.1.0) Full change log below!

       

       

      Change log:

      Download      |     FAQ     |     Support Forum
        • Thanks
        • Like
      • 1 reply
    • Website Updates
      After a few hours of being offline, we're finally back! Not only are we on a shiny new server, we have some new goodies.
        • Hahaha
        • Amazed
        • V-Wheeeeeel!!!
        • Thanks
        • Like
      • 6 replies
    • Following the success of his fan dub of Pokémon Super Mystery Dungeon, YouTuber TheGoldCrow has started a new project: a fan dub of Pokémon Mystery Dungeon: Explorers of Sky.
        • V-Wheeeeeel!!!
        • Like
      • 2 replies
×
×
  • Create New...