Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 00:33, 29 May 2025 by HydeWing (talk | contribs)
Pkg Pfs Tool
General
Authorflatz
TypePC Utilities
Version2022
LicenseMixed
Last Updated2022/06/06
Links
Download
Website
Source

PS4 PKG/PFS unpacker by flatz.

Windows X64 build by Zecoxao.

User guide

COMMANDS
-h, --help                                            help
-i, --info                                  Show information about image
-l, --list                                  List of entries
-u, --unpack   [file1 file2...]    Unpack files from image
-r, --repack   [elfs dir] Repack image file (with plaintext elfs)

OPTIONS
------------------------------------------------------------------------------
--key-content-id                          Use keyset of specific content ID
--content-id                              Replace content ID on repacking
--passcode                                  Use specific passcode
--sealed-key-file                    Use sealed key file for keys generation
--encdec-tweak-key                               Use specific AES XTS tweak key for enc/dec
--encdec-data-key                                Use specific AES XTS data key for enc/dec
--sign-key                                       Use specific HMAC SHA256 key for signing
--sc0-key                                        Use specific Sc0 key for enc/dec
--use-meta-data-file                 Load GP4 meta data from file
--dump-meta-data-file                Save GP4 meta data to file
--pfs-image-data-file             Use plain pfs_image.dat as PFS content of PKG file
--generate-gp4                              Generate GP4 project from PKG file
--unpack-inner-pfs                                    Unpack inner PFS file from PKG file
--unpack-outer-pfs                                    Unpack outer PFS file from PKG file
--unpack-sc-entries                                   Unpack SC entries from PKG file
--unpack-extra-sc-entries                             Unpack extra SC entries from PKG file
--use-splitted-files                                  Use splitted PKG chunks
--no-unpack                                           Don't unpack main PFS files from PKG file
--no-signature-check                                  Skip signature checking
--no-icv-check                                        Skip ICV hash checking
--no-hash-recalc                                      Skip recalculation of hashes on repacking
--no-elf-repack                                       Skip ELFs repacking
--dump-sfo                                            Dump SFO structure from PKG file
--dump-playgo                                         Dump Playgo structure from PKG file
--dump-final-keys                                     Dump final keys to use with the tool
--dump-sd-info                                        Dump SD info
--use-random-passcode                                 Use random passcode for GP4 project
--all-compressed                                      Use compression for all files in GP4 project

Screenshots

=link

Changelog

v2022

  • First Release.

External links

Advertising: