Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 899 Bytes

File metadata and controls

39 lines (29 loc) · 899 Bytes

pvr_decrypter

Decrypt pvr.ccz to png with content protection key

Requirements

Usage

Run pvr_decrypter with python 3.x or executable in release.

usage: pvr_decrypter.py [-h] [-k KEY] [-s] input output

Decrypt pvr.ccz to png with content protection key

positional arguments:
  input              path to input .pvr.ccz
  output             path to output .png

optional arguments:
  -h, --help         show this help message and exit
  -k KEY, --key KEY  content protection key
  -s, --suppress     suppress output from TexturePacker

For example:

pvr_decrypter.py input.pvr.ccz output.png -k CONTENT_PROTECTION_KEY

Script

from pvr_decrypter import pvr_to_png
pvr_path = "input.pvr.ccz"
png_path = "output.png"
key = "CONTENT_PROTECTION_KEY"
pvr_to_png(pvr_path, png_path, key)