-
Posts
21 -
Joined
-
Last visited
-
Days Won
2
Taku86 last won the day on September 8 2024
Taku86 had the most liked content!
Reputation
16 GoodAbout Taku86
- Birthday 09/10/1994
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
Thanks, I've added this to the OP. If anyone else can confirm this fixes the problem, that would be great. I've also tried Wine 10.3 and 10.4 recently and PKHeX crashes when launching it. I don't know if this is the case for you (and for others), but at the moment I recommend using version 10.2, which is now the recommended one in the OP. If the problem persists with the future versions of Wine I'll report the bug to the Wine devs.
-
I'm using PKHeX on two machines, one with LXQt+OpenBox (running on X) and one with KDE Plasma (running on Wayland). I've never experienced this issue and I'm unable to reproduce. I've also tried to move them to different desktops, but it still works. Wine version 10.2 and .NET 9.0.2 here.
-
@Blood-PawWerewolfThread updated with the latest version! And yes, it works indeed
-
@ErFuyl What new version are you referring to? If you mean the development build then you need to install the 9.0 version of .NET Desktop Runtime, as it looks like PKHeX has been ported to it (I'll update the OP only when the stable version will be out).
-
9.17 is higher. In the third log file there's a line which shows the path of an Arabic font. My question is: did the installation of .NET work? Was it on a clean Wine prefix? Also, post a screen of the empty title bar please.
-
You don't need Wine 9.3 in particular, it can be a newer version too. 9.3 is only the version that first included the patch needed to run PKHeX. Quoting the OP: be at least on version 9.3 (or higher). I'm on 9.16 for example. You should use whatever version is shipped by your distribution as long as it's ≥9.3. Post the terminal output. EDIT: saw the logs you attached. I don't see anything wrong with Wine. Did the .NET installation run fine? Are you perhaps using an Arabic font on your system (saw that on the logs)? There might be something wrong with your fonts configuration and this is preventing PKHeX to load. EDIT2: @hongtm77 sorry, I forgot to reply to you as I haven't been home for a while. Did you solve your problem?
-
Are you on the latest Wine version or at least on Wine 9.3? Please check with: wine --version Also, post the Wine output from the terminal when you are launching PKHeX. That might be more useful than the PKHeX logs in this case.
-
Are you sure that you installed the latest .NET version? I see from your logs that the program is complaining about the 8.0.2 version, but we are now on 8.0.7. PKHeX currently requires version 8.0.5 at least.
-
Taku86 started following The ultimate guide on how to run PKHeX on Linux [updated 04/2025]
-
@ExNerved You can make dot files visible to Wine by running winecfg and enabling the option in the Drive section of the panel. I've added it to the OP, thanks for pointing that out!
-
I know there are already some threads about running PKHeX on Linux (like this or this) but they are all outdated and none of them is simple and straightforward enough. I feel like there’s still a lot of confusion about PKHeX and Linux, so I’m making this thread hoping for it to become the ultimate reference for this subject. I'll keep it up to date. --------------------------------------------------- Latest PKHeX version: 25.02.23 (development builds should also work unless major changes, but my thread will only keep the stable release as reference) Status: WORKING Known bugs (if you know more please tell me): Drag & dropping save files into the program's window isn't really stable and could lead to a crash. This usually happens when you import/export boxes in a save file, and then import another one into the program. Always make a backup or try to avoid drag & drop at all by only using the File > Open option; Pointing to a Pokémon in the box with the cursor should display a little window with a summary of the information of the Pokémon. This is a little bit buggy as the window will only show for some seconds. Use CTRL + Left Click on a Pokémon to display it; Opening "Block Data" from the SAV tab often results in a crash. Some plugins won't work. --------------------------------------------------- 1) Installing Wine Normal Wine is more than enough to run and use PKHeX. The recommended version at the moment is 10.2 (10.3+ seems to break PKHeX in some cases). If your distribution has outdated packages, make sure to be at least on version 9.3 (or higher), this is very important. Please refer to your distribution's documentation if you don’t know how to install Wine. If you notice that some plugins (.dll files from the plugins folder) prevent the program from starting, it's a good idea to also try Wine Staging, which includes more up-to-date patches. Using PKHeX is a matter of a couple of commands and everything will work fine without having to go through a bunch of settings in programs like Lutris and Bottles, which I don't recommend unless you know what you are doing. 2) Creating a Wine prefix It's better to create a separated Wine prefix (the “Windows environment”, for those who don’t know what a prefix is) so that it won't conflict with others (if you have any). You can do that with the following command: WINEPREFIX=/path/to/your/prefix/pkhex wineboot Replace /path/to/your/prefix/pkhex with the folder you want to create the prefix in. For example: WINEPREFIX=/home/anon/Prefix/pkhex wineboot Let it set up everything. If it asks for the Mono installation you don’t need it, so you can click on cancel. 3) Installing .NET Desktop Runtime 9 PKHeX needs the 64 bit version of .NET Desktop Runtime 9 to work. You can install it with Winetricks (make sure that you have the package installed on your system) with the following command: WINEPREFIX=/path/to/your/prefix/pkhex winetricks dotnetdesktop9 Always replace the path with yours. For example: WINEPREFIX=/home/anon/Prefix/pkhex winetricks dotnetdesktop9 Winetricks will install both the 32 bit and 64 bit versions, so you have to go through two installation processes. Alternatively, if you don't have Winetricks installed on your system, you can install .NET Desktop Runtime manually: 4) Launching PKHeX PKHeX can now be launched with this command: WINEPREFIX=/path/to/your/prefix/pkhex wine /path/to/pkhex/executable/PKHeX.exe In my case: WINEPREFIX=/home/anon/Prefix/pkhex wine /home/anon/Games/Pokémon/PKHeX/PKHeX.exe 5) Making a launcher for PKHeX In case you don’t want to use the terminal every time you want to launch PKHeX you can create a launcher for it. For example you can make a simple bash script for it. Paste the following content into a text editor and save the file wherever you want and with whatever name you want: #!/bin/bash WINEPREFIX=/home/anon/Prefix/pkhex wine /home/anon/Games/Pokémon/PKHeX/PKHeX.exe As always replace the paths with yours. Now make the file executable by running: chmod +x /path/to/your/script For example: chmod +x /home/anon/Games/Pokémon/PKHeX/Launcher Now you can simply open PKHeX by double-clicking the launcher. 6) Some tips and troubleshooting Chinese, Japanese and Korean fonts are not showing: PKHeX can't see files located in hidden folders: PKHeX window behaves in a strange way: Wine is in conflict with the local version of .NET:
-
From what I can understand PKHeX uses Wishmaker Jirachi Reverse Method 1 to calculate PID for Gen 3 events like 10ANNIV mons, Aura Mew or Space C Deoxys. At least as long as I use that method they are always legal according to PKHeX. Has this method been confirmed as the one used for Gen 3 events? Because I had a brief read of this thread from years ago and there doesn't seem to be a clear answer.
- 655 replies
-
- legality
- question or check
-
(and 1 more)
Tagged with:
-
At the moment a patch is required in order to run the latest PKHeX version. While the 9.0-rc1 fixes the crash at startup, the program still crashes when right clicking on boxes or when opening menus. You have to compile Wine from source with the patch provided here. Currently using 9.0-rc2 with the patch and PKHeX is working fine. Of course .NET 8 needs to be installed in the prefix.
-
This should be fixed with 9.0-rc1.