Jump to content

PKHeX is not working on Win10: Turkish System Language


Levent Oguz
 Share

Recommended Posts

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 

 

Link to comment
Share on other sites

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.

 

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

  • 2 weeks later...

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?

Link to comment
Share on other sites

  • 2 weeks later...

İ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
Link to comment
Share on other sites

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...