Scribble65 Posted June 1 Posted June 1 Hello, I will put my system specifications/notes below before I go into the issue: System: Steam Deck OLED Browser: Firefox Supporting Apps: Lutris, Wine (Helps Lutris run PKHex) Games: Pokemon Ultra Sun, Pokemon Omega Ruby Notes: I am not a programmer in the slightest, my best guidance for this sort of thing is either written or Youtube tutorials, many of which are outdated. Problem: Before today, I'd been using PKHex for months with no issue after installing. However, I finally decided to try updating to the newest version, but this has only led me in circles. I can get the program to appear on Lutris like before, but now I get this Non-UI issue appearing whenever I try to open it. I tried looking at similar issues to this on the forum, but they reference things like multiple files in the folder, which isn't the case for me as indicated with my pictures. One thing I have noticed is that Wine is at Version 10.0 from the Deck's Discover Page, but I don't know how much that'll help this, as it was able to open PKHex before I tried updating Hex. I'm not sure what I'm missing, and even trying to download older versions haven't led me anywhere. Any help would be very much appreciated! PKHeX_Error_Report 20250531205817.txt
Kaphotics Posted June 1 Posted June 1 Not an issue with PKHeX. Update your compatibility layer, assuming it's Wine. The first line in the error report you uploaded: > Unable to find an entry point named 'GetThreadDpiHostingBehavior' in DLL 'USER32.dll'. The runtime is unable to find the required function on your machine. WineHQ Bugzilla – Bug 55892 – .NET 8 Windows Forms crashes due to missing DPI functions in user32
Scribble65 Posted June 1 Author Posted June 1 Do you know how I can apply this fix to the code, or any good tutorials on how to do so? Sorry, I don't want to mess up the program or systems any more than they already are.
Kaphotics Posted June 1 Posted June 1 You need to configure it to run with an updated version of Wine. PKHeX is a Windows application, and it uses the .NET Runtime as the common code library, which supports interaction with the operating system. Since you are running it on an environment that is not a Windows operating system, it is up to you to provide whatever compatibility is needed. The program updated from .NET 8 to .NET 9 in the February release, so this is not a new requirement in the May release.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now