Skip to content

issacyee/PvrDecrypter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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


usage: batch_prv_decrypter.py [-h] [-b BASE] [-o OUTPUT] [-k KEY] [-s]

Batch decrypt pvr.ccz to png with content protection key

optional arguments:
  -h, --help            show this help message and exit
  -b BASE, --base BASE  base path of .pvr.ccz
  -o OUTPUT, --output OUTPUT
                        png will be saved to base/output/
  -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
batch_pvr_decrypter.py -b C:\game\assets -o output -k CONTENT_PROTECTION_KEY -s

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)

About

Decrypt pvr.ccz to png with content protection key

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%