Exception Details:
System.TypeInitializationException: The type initializer for 'PKHeX.WinForms.Main' threw an exception. ---> System.TypeInitializationException: The type initializer for 'PKHeX.Core.GameInfo' threw an exception. ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
at PKHeX.Core.GameStrings..ctor(String l)
at PKHeX.Core.GameInfo.GetStrings(Int32 index)
at PKHeX.Core.GameInfo..cctor()
--- End of inner exception stack trace ---
at PKHeX.WinForms.Main..cctor()
--- End of inner exception stack trace ---
at PKHeX.WinForms.Main.FormLoadInitialSettings(String[] args, Boolean& showChangelog, Boolean& BAKprompt)
at PKHeX.WinForms.Main..ctor()
at PKHeX.WinForms.Program.Main()
Loaded Assemblies:
--------------------
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll
PKHeX, Version=21.5.21.0, Culture=neutral, PublicKeyToken=null
C:\Users\snakt\Desktop\PKHeX-master\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
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
PKHeX.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
PKHeX.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
--------------------
User Message:
An unhandled exception has occurred.
PKHeX must now close.