Jump to content

Recommended Posts

Posted

Mod edit: RESOLVED ON LATEST COMMITS, use latest release (after 5/21) or dev build if no release yet.

Exception Text:

Spoiler

Exception Details:
System.TypeInitializationException: 'PKHeX.WinForms.Main' tür başlatıcısı özel durum döndürdü. ---> System.TypeInitializationException: 'PKHeX.Core.GameInfo' tür başlatıcısı özel durum döndürdü. ---> System.IndexOutOfRangeException: Dizin, dizi sınırlarının dışındaydı.
   konum: PKHeX.Core.GameStrings..ctor(String l)
   konum: PKHeX.Core.GameInfo.GetStrings(Int32 index)
   konum: PKHeX.Core.GameInfo..cctor()
   --- İç özel durum yığını izlemesinin sonu ---
   konum: PKHeX.WinForms.Main..cctor()
   --- İç özel durum yığını izlemesinin sonu ---
   konum: PKHeX.WinForms.Main.FormLoadInitialSettings(String[] args, Boolean& showChangelog, Boolean& BAKprompt)
   konum: PKHeX.WinForms.Main..ctor()
   konum: 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\MURAT\Desktop\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


mscorlib.resources, Version=4.0.0.0, Culture=tr, PublicKeyToken=b77a5c561934e089
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\mscorlib.resources\v4.0_4.0.0.0_tr_b77a5c561934e089\mscorlib.resources.dll

--------------------
User Message:
An unhandled exception has occurred.
PKHeX must now close.

 

Win 10 with all updates. with yuzu emulator

i did check every topic but still not working for me. İf anyone will help me i will be happy 

 

Posted
20 hours ago, Kaphotics said:

Not able to replicate with various language settings.

Please attach your cfg.json file.

where can i find that file?

Posted
On 6/3/2021 at 3:39 PM, Kaphotics said:

Try putting this pdb file next to the exe and see if the error message is any different.

PKHeX.pdb 339.76 kB · 0 downloads

sorry but still same error

Spoiler

 

Exception Details:
System.TypeInitializationException: 'PKHeX.WinForms.Main' tür başlatıcısı özel durum döndürdü. ---> System.TypeInitializationException: 'PKHeX.Core.GameInfo' tür başlatıcısı özel durum döndürdü. ---> System.IndexOutOfRangeException: Dizin, dizi sınırlarının dışındaydı.
   konum: PKHeX.Core.GameStrings..ctor(String l)
   konum: PKHeX.Core.GameInfo.GetStrings(Int32 index)
   konum: PKHeX.Core.GameInfo..cctor()
   --- İç özel durum yığını izlemesinin sonu ---
   konum: PKHeX.WinForms.Main..cctor()
   --- İç özel durum yığını izlemesinin sonu ---
   konum: PKHeX.WinForms.Main.FormLoadInitialSettings(String[] args, Boolean& showChangelog, Boolean& BAKprompt)
   konum: PKHeX.WinForms.Main..ctor()
   konum: 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\MURAT\AppData\Downloads\PKHeX (210521) (4)\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


mscorlib.resources, Version=4.0.0.0, Culture=tr, PublicKeyToken=b77a5c561934e089
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\mscorlib.resources\v4.0_4.0.0.0_tr_b77a5c561934e089\mscorlib.resources.dll

--------------------
User Message:
An unhandled exception has occurred.
PKHeX must now close.

 

 

Posted

Please try running the development build, hopefully there's a better error message:

If not, might have to try debugging it yourself (installing Visual Studio Community 2019, and building the .sln yourself), unless someone else can replicate the error.

I can also try recompiling a build that has some manual dumping for that call site...

Posted
On 6/3/2021 at 4:15 PM, Kaphotics said:

Please try running the development build, hopefully there's a better error message:

If not, might have to try debugging it yourself (installing Visual Studio Community 2019, and building the .sln yourself), unless someone else can replicate the error.

I can also try recompiling a build that has some manual dumping for that call site...

thanks for all but still same error

 

Spoiler

 

Exception Details:
System.TypeInitializationException: 'PKHeX.WinForms.Main' tür başlatıcısı özel durum döndürdü. ---> System.TypeInitializationException: 'PKHeX.Core.GameInfo' tür başlatıcısı özel durum döndürdü. ---> System.IndexOutOfRangeException: Dizin, dizi sınırlarının dışındaydı.
   konum: PKHeX.Core.GameStrings..ctor(String l)
   konum: PKHeX.Core.GameInfo.GetStrings(Int32 index)
   konum: PKHeX.Core.GameInfo..cctor()
   --- İç özel durum yığını izlemesinin sonu ---
   konum: PKHeX.WinForms.Main..cctor()
   --- İç özel durum yığını izlemesinin sonu ---
   konum: PKHeX.WinForms.Main.FormLoadInitialSettings(String[] args, Boolean& showChangelog, Boolean& BAKprompt)
   konum: PKHeX.WinForms.Main..ctor()
   konum: 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.22.0, Culture=neutral, PublicKeyToken=null
C:\Users\MURAT\AppData\Downloads\PKHeX-framework (1)\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=21.5.22.0, Culture=neutral, PublicKeyToken=null
C:\Users\MURAT\AppData\Downloads\PKHeX-framework (1)\PKHeX.Core.dll

mscorlib.resources, Version=4.0.0.0, Culture=tr, PublicKeyToken=b77a5c561934e089
C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\mscorlib.resources\v4.0_4.0.0.0_tr_b77a5c561934e089\mscorlib.resources.dll

--------------------
User Message:
An unhandled exception has occurred.
PKHeX must now close.

 


 

 

i hope anyone will help me.

or if u know any way to edit my pokemons and items i will try.

cheat engine is not enough fot that

Posted

For gen 1 and 2 you can use pikasav. For gen 3 you can use a-save by kazowar. For gen 4 and 5 you can use pokegen by codr. All of which are available in the downloads section. If you want to edit more than pokemon and items I don't think their is anything public to do so except a mystery gift injector for gen 3.

Posted
13 hours ago, Delta Blast Burn said:

For gen 1 and 2 you can use pikasav. For gen 3 you can use a-save by kazowar. For gen 4 and 5 you can use pokegen by codr. All of which are available in the downloads section. If you want to edit more than pokemon and items I don't think their is anything public to do so except a mystery gift injector for gen 3.

is that for pokemon let's go or GO? i did download pikasav but didnt find *.sav file

 

  • 2 weeks later...
Posted

I tryed again and its dosen't work and i found some old versions and they are work but i need ultra sun what can i do for error

Spoiler

Exception Details:
System.TypeInitializationException: 'PKHeX.WinForms.Main' tür başlatıcısı özel durum döndürdü. ---> System.TypeInitializationException: 'PKHeX.Core.GameInfo' tür başlatıcısı özel durum döndürdü. ---> System.IndexOutOfRangeException: Dizin, dizi sınırlarının dışındaydı.
   konum: PKHeX.Core.GameStrings..ctor(String l)
   konum: PKHeX.Core.GameInfo.GetStrings(Int32 index)
   konum: PKHeX.Core.GameInfo..cctor()
   --- İç özel durum yığını izlemesinin sonu ---
   konum: PKHeX.WinForms.Main..cctor()
   --- İç özel durum yığını izlemesinin sonu ---
   konum: PKHeX.WinForms.Main.FormLoadInitialSettings(String[] args, Boolean& showChangelog, Boolean& BAKprompt)
   konum: PKHeX.WinForms.Main..ctor()
   konum: 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\Kaan Savcı\Desktop\Oyunlar\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.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

PKHeX.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null


PKHeX.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null


mscorlib.resources, Version=4.0.0.0, Culture=tr, PublicKeyToken=b77a5c561934e089
C:\Windows\Microsoft.Net\assembly\GAC_MSIL\mscorlib.resources\v4.0_4.0.0.0_tr_b77a5c561934e089\mscorlib.resources.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

--------------------
User Message:
An unhandled exception has occurred.
PKHeX must now close.

 

On 6/3/2021 at 4:15 PM, Kaphotics said:

Please try running the development build, hopefully there's a better error message:

If not, might have to try debugging it yourself (installing Visual Studio Community 2019, and building the .sln yourself), unless someone else can replicate the error.

I can also try recompiling a build that has some manual dumping for that call site...

Can you do?

  • 2 weeks later...
Posted

İts working thx

8 hours ago, Kaphotics said:

I've added some changes that probably allow you to open the program with Turkish system language. lmk if the dev build works, or has a different error.

 

  • Like 1
  • Kaphotics changed the title to PKHeX is not working on Win10: Turkish System Language

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