This is a cross platform Command Line Interface (CLI) tool for interacting with Pokémon save files. It provides various functionalities to manage and modify Pokémon save data.
- Load Save File: Load a Pokémon save file from a specified path.
- View Trainer Info: View information about the trainer in the save file.
- View/Edit Inventory: View and edit the inventory of the trainer.
- View/Edit Party: View and edit your party.
- View/Edit Pokemon Box: View and edit all pokemons in your box.
- Backups: When exiting the program, if changes were made, a backup will be created.
brew tap arleypadua/homebrew-pkhex-cli
brew install pkhex-cli
curl -sL https://raw.githubusercontent.com/arleypadua/PKHeX.Everywhere/main/install.sh | sudo bash
PKHeX.CLI is compatible with batocera:
- Make sure you can access batocera with SSH. (Details here).
- Open an ssh session:
ssh root@batocera
the default password is usuallylinux
- run
curl -sL https://raw.githubusercontent.com/arleypadua/PKHeX.Everywhere/main/install.sh | bash
- note that because we are accessing as
root
there's no need to runsudo bash
- note that because we are accessing as
- You should be able to use it as stated here.
- Make sure
chocolatey
is properly installed - Open
powershell
as administrator - Run the following:
choco install pkhex-cli
- Download the latest version for your system here
- Put the file somewhere that's visible from your PATH directory
pkhex-cli --version
should print out
PKHeX CLI: x.y.z
pkhex-cli /path/to/savefile.bin
- savefile: (Optional) The path to the save file. Defaults to "./data/savedata.bin".
- --version: Shows the version
- .NET Core SDK 8.x
- Clone this repository to your local machine.
- Make sure that the submodules are also cloned:
git submodule update --init --recursive
- Navigate to the project directory.
- Compile the program using
dotnet build
. - Run the program using
dotnet run -- [options]
.
Example
dotnet run --project ./src/PKHeX.CLI ./src/PKHeX.CLI/data/savedata.bin
- Go to the Release workflow
- Choose whether it is a
major
,minor
orpatch
bump - Run it
- By the end of the workflow, you should have a new Release
This CLI tool utilizes the following libraries:
- PKHeX.Core for interacting with Pokémon save files.
- Spectre.Console for enhancing the command line interface.