Exception Details:
System.FormatException: Format string can be only "G", "g", "X", "x", "F", "f", "D" or "d".
at System.Enum.TryFormatPrimitiveNonDefault[TUnderlying,TStorage](RuntimeType enumType, TUnderlying value, Span`1 destination, Int32& charsWritten, ReadOnlySpan`1 format)
at System.Runtime.CompilerServices.DefaultInterpolatedStringHandler.AppendFormatted[T](T value, String format)
at PKHeX.WinForms.SAV_Misc4.ReadPoketch(SAV4Sinnoh s)
at PKHeX.WinForms.SAV_Misc4.ReadMain()
at PKHeX.WinForms.SAV_Misc4..ctor(SAV4 sav)
at PKHeX.WinForms.Controls.SAVEditor.B_OpenMiscEditor_Click(Object sender, EventArgs e)
Loaded Assemblies:
--------------------
PKHeX, Version=23.12.23.0, Culture=neutral, PublicKeyToken=null
Z:\home\****\Documents\pkhex\PKHeX.dll
--------------------
User Message:
An unhandled exception has occurred.
You can continue running PKHeX, but please report this error.
I first ran into this error in Wine, but it does reproduce on Windows 10 proper.
This only happens when editing a Diamond, Pearl, or Platinum save; HGSS have no such issues.