***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!- Unpack the target .pak file
- Unpack the target .anb file
- Edit the extracted images
- Repack the folder where the edited images are using ANB_EXTRACT
- Replace the original .ANB with your modded.anb file
- Repack the folder using PPACKER
- Replace the original .pak file with your modded .pak
- 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
