xqwtxon / mcrputil

Minecraft Resource Pack Util for encrypting and decrypting resource packs.

Home Page:https://valaphee.com/article/1-minecraft-resource-pack-util/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mcrputil

license version

Lang-简体中文

Minecraft Resource Pack Util for encrypting and decrypting resource packs.

Usage

mcrputil is a command-line tool, and does not have a GUI.

Usage: mcrputil <COMMAND>

Commands:
  encrypt  Encrypts the folder with a given or auto-generated key
  decrypt  Decrypts the folder with a given key
  help     Print this message or the help of the given subcommand(s)

Options:
  -h, --help  Print help information

Encryption

Usage: mcrputil encrypt [OPTIONS] <INPUT> <OUTPUT>

Arguments:
  <INPUT>   Input file or folder
  <OUTPUT>  Output folder

Options:
  -k, --key <KEY>          Key used for encryption
  -e, --exclude <EXCLUDE>  Specifies files which should not be encrypted
  -h, --help               Print help information

Step-by-step

  1. Make sure your pack is unzipped, and in your pack folder should be a manifest.json
  2. mcrputil encrypt <path to your unzipped pack/output folder>
  3. A .key file and a contents.json should now be in your pack/output folder
  4. Create a zip file with the contents of your pack/output folder, and rename your .key file to the same name as the created zip file (MyPack.zip.key)

Decryption

Usage: mcrputil decrypt [OPTIONS] <INPUT> <OUTPUT>

Arguments:
  <INPUT>   Input file or folder
  <OUTPUT>  Output folder

Options:
  -k, --key <KEY>  Key used for decryption
  -h, --help       Print help information

Please make sure, to not publish any of the resulting files, or only with the consent of the copyright holder, as it is a violation, and note that there will be no support for decrypting resource packs.

About

Minecraft Resource Pack Util for encrypting and decrypting resource packs.

https://valaphee.com/article/1-minecraft-resource-pack-util/

License:Apache License 2.0


Languages

Language:Rust 96.7%Language:C 3.3%