Jump to content

Multiple exceptions when selecting gen 3 blank saves


BlackShark

Recommended Posts

First of all many thanks for all the new features and fixes that were added over the past months!

So, I tried the recently added blank save selection. So far it works good, but selecting any gen 3 save file will bring up the FRLG version selection window. When you select either FR or LG PKHeX starts throwing multiple exception. Starting with the following

Spoiler

Exception Details:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at PKHeX.Core.SAV3.IsPKMPresent(Int32 Offset)
at PKHeX.WinForms.Controls.SAVEditor.GetSlotFiller(Int32 offset, PictureBox pb)
at PKHeX.WinForms.Controls.SAVEditor.ResetParty()
at PKHeX.WinForms.Controls.SAVEditor.ResetNonBoxSlots()
at PKHeX.WinForms.Controls.SAVEditor.SetPKMBoxes()
at PKHeX.WinForms.Controls.SAVEditor.ToggleInterface()
at PKHeX.WinForms.Main.ResetSAVPKMEditors(SaveFile sav)
at PKHeX.WinForms.Main.OpenSAV(SaveFile sav, String path)
at PKHeX.WinForms.Main.FormLoadInitialFiles(String[] args)

Loaded Assemblies:
--------------------
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll

PKHeX, Version=19.1.14.0, Culture=neutral, PublicKeyToken=null
D:\...\PKHeX.exe

System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll

System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll

System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll

PKHeX.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
D:\...\PKHeX.Core.dll

System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll

System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll

System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll

Accessibility, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Accessibility\v4.0_4.0.0.0__b03f5f7f11d50a3a\Accessibility.dll

System.Windows.Forms.resources, Version=4.0.0.0, Culture=de, PublicKeyToken=b77a5c561934e089
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms.resources\v4.0_4.0.0.0_de_b77a5c561934e089\System.Windows.Forms.resources.dll

--------------------
User Message:
An error occurred while attempting to auto-load your save file.

 

 

And while I'm already talking about it, just a minor suggestion:

Currently there are 2 windows popping up when opening FRLG saves. First an alert telling you that such a save was detected and next the actual selection window. I'm ok with how it currently is, but can't they be merged into a single window by putting the text from the alert window above the dropdown of the selection window?

Thanks for reading 😁

  • Like 2
Link to comment
Share on other sites

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