Skip to content

kwsch/pkNX

Repository files navigation

pkNX

License

pkNX: A package of Pokémon (Nintendo Switch) ROM Editing Tools, programmed in C#.

Similar to pk3DS for the Nintendo 3DS, pkNX provides an editing environment to manipulate game binary assets such as stats, learnsets, trainers, and more!

Main Window

Download

Download the latest version here.

(click on latest run at the top, then click Artifacts - published, and download the folder)

Note: To run the app it is required to have the .NET Desktop Runtime installed

Features

Supports the following games:

  • Let's Go, Pikachu! / Let's Go, Eevee!
  • Sword / Shield
  • Legends: Arceus
  • Scarlet / Violet (Currently only for dumping information, not to edit files!)

For Sword, Shield, Scarlet, and Violet, pkNX operates under the assumption that your dumped ROM includes the latest available update data.

Editors can be launched from the program's main window after opening a dumped & unpacked ROM.

  • To lessen read/write lag, data is only saved when the user cleanly quits the program.
  • Edited files do not overwrite the original dumped file; instead, they are redirected to a "patch folder" for easy use with layeredFS.
  • When the program requests to read a set of files, it will first check to see if an edited version exists, and if not, falls back to the original dump file.

With custom firmware, layeredFS functionality will selectively redirect file loading to files that are present in the patch folder, removing the need to rebuild a custom ROM.

pkNX also provides some utility to extract from supported container types, e.g. gfpak. Simply drag & drop a container (or many) into the main window, and pkNX will unpack all files to a new folder.

Building

pkNX is a Windows Forms application which requires .NET 6 for Windows.

The executable can be built with any compiler that supports C# 12.

Dependencies

pkNX's shiny sprite collection is taken from pokesprite, which is licensed under the MIT license.