/Shovel-Knight-Toolkit

Tools for unpacking and repacking Shovel Knight files and editing game sprites.

Primary LanguagePython

***Update The new version of Shovel Knight has broken the old tool, I had to re-work a few things. You can only unpack assets and view them but cannot pack them back, for now.

Dependencies

Install Python at https://www.python.org/downloads/release/python-371/

Install Pillow Library at https://pypi.org/project/Pillow/

Compatible with Shovel Knight PC versions only

Tool Information

The .pak Packer Tool

To unpack a .pak file using ppacker simply drag/drop the .pak file onto ppacker.py

To re-pack a folder, simply drag/drop the folder onto ppacker.py

The .anb Packer Tool

To unpack a .anb file simply drag/drop the .anb file onto anb_extract.py

To repack the extracted images simply drag/drop the folder where the images are located onto anb_extract.py

Sprite Editing Instructions

!Make sure to make copies of your .PAK files!
  1. Unpack the target .pak file
  2. Unpack the target .anb file
  3. Edit the extracted images
  4. Repack the folder where the edited images are using ANB_EXTRACT
  5. Replace the original .ANB with your modded.anb file
  6. Repack the folder using PPACKER
  7. Replace the original .pak file with your modded .pak
  8. Profit

Warnings

  • Do not rename the images
  • Images must be in RGBA PNG format
  • You don't need to edit all the images, the tools will simply repack the unedited images along with yours
  • The meta.dat file contains repacking information, make sure is always with the images

Happy Modding!