A command line util for encrypting and decrypting resource packs.
- Encrypt and decrypt resource packs
- Support resource pack that contains sub packs
Download the latest executable file from github action
Command: EncryptMyPack.exe encrypt <inputZip> <outputZip> [key]
-
The key should be a 32 character long string. If you don't provide a key, the key will be
liulihaocai123456789123456789123
-
Make sure your pack is a zip file, and in your pack should be a manifest.json
After the encryption, a contents.json
should now be in output zip file, and the key will be displayed in the console
Command: EncryptMyPack.exe decrypt <inputZip> <outputZip> <key>
- Again, the key should be a 32 character long string.
- To decrypt the pack, you must provide its key
This project use graalvm native image to transform the jar to a native executable
So you should set up graalvm and set project JDK to graalvm before building
Thanks to mcrputil for their great work!
LGPL-3.0 © AllayMC