Search the Community
Showing results for tags 'linux'.
-
Whenever I type in a search box in PKHeX (e.g. to search for a Pokemon species, move, nature, etc.) it will crash immediately. I'm currently using Ubuntu 22.04, but this was also a problem on Ubuntu 21.10. Every other aspect of the program works perfectly fine, it's just very annoying having to manually search through the massive lists to find what I'm looking for. Any help is appreciated! Here's the crash log:
-
Ubuntu LTS 18.04 Mono 6.6.0 Stable (6.6.0.161) Crash log attached Attempting to run PKHeX on Ubuntu with mono PKHeX.exe fails. Terminal log: https://pastebin.com/ujb3qTcs mono_crash.5c91bb4ff.0.json
-
Im a Pc guy and I just necessarily just want to know what you guys have to say Please explain why you say so and yes ... arguements about the platforms are allowed untill/Unless the mods have a say in that (or stop it) I like pc's for gaming..... yeah thats why
-
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: 26.01.22 (development builds should also work unless major changes, but my thread will only keep the latest 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 to/from a save file, and then drag another save file into the program's window. Always make a backup or try to avoid drag & drop at all by only using File > Open; 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. If it doesn't work at first try, make some more CTRL + Left Click; When importing a Fire Red or Leaf Green save file, a dialog box will ask you to manually select if the game is Fire Red or Leaf Green. Clicking any of the option doesn't work. Rename the save file to something like FR or LG so that PKHeX can automatically load the correct game. Some plugins won't work. --------------------------------------------------- 1) Installing Wine Vanilla Wine is more than enough to run and use PKHeX. Make sure to be on the latest version (version 10.20 seems to be problematic, but everything else from 10.X or 11.X works). 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 10 PKHeX needs the 64 bit version of .NET Desktop Runtime 10 to work. You can download the latest executable from here. Launch the following command to start the installer: WINEPREFIX=/path/to/your/prefix/pkhex wine /path/to/the/installer/windowsdesktop-runtime-10.0.2-win-x64.exe As seen before replace the paths with your own ones. For example: WINEPREFIX=/home/anon/Prefix/pkhex wine /home/anon/Downloads/windowsdesktop-runtime-10.0.2-win-x64.exe 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: