Jump to content

Taku86

Member
  • Posts

    11
  • Joined

  • Last visited

  • Days Won

    1

Taku86 last won the day on February 25

Taku86 had the most liked content!

Reputation

13 Good

About Taku86

  • Birthday 09/10/1994

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. 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, especially for what happened recently when the program switched from .NET 7 to .NET 8, 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: 24.03.10 Status: WORKING Known bugs: 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. --------------------------------------------------- 1) Installing Wine Vanilla Wine is more than enough for this. It’s 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. You must have Wine version 9.3 (or higher). Please refer to your distribution's documentation if you don’t know how to install it. 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 8 PKHeX needs the 64 bit version of .NET Desktop Runtime 8 to work. You can download it from here. This is the global page with every download link, just in case the given link dies because of a version change (it is currently 8.0.3). Launch the following command to start the installer: WINEPREFIX=/path/to/your/prefix/pkhex wine /path/to/the/installer/windowsdesktop-runtime-8.0.3-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-8.0.3-win-x64.exe Go through the installation process. 3.1) CJK fonts CJK stands for Chinese, Japanese and Korean. These fonts are not shipped by default with Wine, therefore names or OTs of Pokémon in these languages won't be displayed. The "shinify" icon is also affected by this. Although this is optional, we can fix this by installing CJK fonts with Winetricks (you have to install the package first): WINEPREFIX=/path/to/your/prefix/pkhex winetricks cjkfonts Again, replace the path with the one of your prefix. WINEPREFIX=/home/anon/Prefix/pkhex winetricks cjkfonts This could take a while, so be patient. 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 4.1) Note on .NET If you have .NET installed on your system (it is available natively for Linux, it's the Desktop Runtime needed by PKHeX that isn't) PKHeX might not launch. If this is the case for you make sure to add the following arguments to the command: WINEPREFIX=/path/to/your/prefix/pkhex env -u DOTNET_ROOT -u DOTNET_BUNDLE_EXTRACT_BASE_DIR wine /path/to/pkhex/executable/PKHeX.exe In my case: WINEPREFIX=/home/anon/Prefix/pkhex env -u DOTNET_ROOT -u DOTNET_BUNDLE_EXTRACT_BASE_DIR 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. Of course this can also be the command seen in paragraph 4.1: #!/bin/bash WINEPREFIX=/home/anon/Prefix/pkhex env -u DOTNET_ROOT -u DOTNET_BUNDLE_EXTRACT_BASE_DIR wine /home/anon/Games/Pokémon/PKHeX/PKHeX.exe 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.
  2. 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.
  3. Taku86

    PKHeX on Linux

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

    PKHeX on Linux

    This should be fixed with 9.0-rc1.
  5. Taku86

    PKHeX on Linux

    Thanks for sharing! I actually hadn't thought of directly installing NET 7 in the Wine prefix. I can finally delete the Windows virtual machine A little note to @Chillsmeit's post. You don't actually need to install all of the dotnet dependencies. Installing the NET 7 one from the provided link is enough. I'm using a clean prefix with Wine 8 and it's working perfectly fine.
  6. Oh, I see. In the previous version it used to throw the error "can't hyper train a perfect IV Pokémon", that's why I thought there was something wrong.
  7. Latest version seems to have a bug with hyper training and legality check. Here you can see my Iron Bundle having a natural IV of 31 in HP. Setting the hyper training to it doesn't trigger the legality check.
  8. Sei Italiano? Grazie ho scaricato e funziona, posso chiederti da che cosa è stato causato il problema e come hai risolto?
  9. Before to start, I apologize for my poor English. I'm Italian. Today I found my old cartridge of Pokémon Diamond. Back in 2007 I was a kid and a friend of mine convinced me to use the Action Replay. I used a lot of codes to find shiny Pokémon in the grass and much more. Now, when I scroll down the Pokédex my game freezes on Rhydon. So, with Savegame Manager tool I ported my save file to my PC and tryed it with the Emulator (No$Gba). The game doesn't freeze on Rhydon but then on Chansey this appears: Then also with Kangaskhan, Jynx and Tauros. Is there a way to fix this problem? I attached my save file if you would like to find more. It's from the Italian version of the game. POKEMON D.0.sav
  10. There is a code on the Power Saves that let you change the PokéBall of a Pokémon. Maybe they used this code.
×
×
  • Create New...