Category PS4 CFW and Hacks       Thread starter PSXHAX       Start date Mar 10, 2018 at 2:24 AM       19,287       34            
Not open for further replies.
Today MeTheKing let us know (thanks to mtnjustme for testing) of a few useful Python scripts recently released by n1ghty, specifically PKG_List which is a PKG list generator and also PKG_Rename which -as you guessed- is a PKG renamer for PS4 package files based on UnPKG by @flatz. :cool:

Download: (3.4 MB) / (3.4 MB) / PKG_List (Latest) / PKG_List GIT / (3.1 MB) / PKG_Rename (Latest) / PKG_Rename GIT / PKG_Tools (Latest) / PKG_Tools GIT

From the, to quote: pkg_list

PKG list generator for PS4 pkg files by n1ghty

This file is based on
  • UnPKG rev 0x00000008 (public edition), (c) flatz
  • Python SFO Parser by: Chris Kreager a.k.a LanThief
This tool parses all pkg files in the specified directory/directories recursively and then generates an excel sheet from the parsed infos.


python <paths to pkg directories>

e.g.: python "D:\PS4_pkgs" or python "D:\PS4_pkgs" "E:\second_pkg_directory" "C:\third_pkg_directory" or for current directory: python

pkg_list v1.01 Changelog:
  • added recursive directory parsing
  • fixed file ending case sensitivity
And from the other, to quote: pkg_rename

PKG renamer for PS4 pkg files by n1ghty

This file is based on
  • UnPKG rev 0x00000008 (public edition), (c) flatz
  • Python SFO Parser by: Chris Kreager a.k.a LanThief
The pkg files will be renamed to the sony format. (e.g. UP4511-CUSA01127_00-PPPPPPPPTTTTTTTT-A0100-V0100.pkg)


python <your_pkg_file>

e.g.: python "D:\some_random_file.pkg" or python some_random_file.pkg

:arrow: Developer pearlxcore also made available a PKG Tools GUI which according to the is a GUI version of PKG Tools by N1ghty which handle the process of renaming PKG and exporting PKG to excel format (.xlsx).

Download: PS4_PKG_Tools.rar (16.9 MB) / / GIT / PKG.Tool.GUI.exe (12.9 MB) / GIT

This tool require python 2.7.8 to be installed.

Instruction :

1. Assuming python is not installed, launch 'PKG Tools GUI' and click on 'Install python'. Wait until the installation is done.
2. Once installation is done, click again 'PKG Tools GUI' to ensure python is installed.
3. Click on 'Install pip' and wait until installation to finish.
4. Click on 'Install XLSX' to install xlsxwriter.
5. All above step is need to be done once. For the next time you don't need install that again.
6. Click on 'Open folder' and select folder containing PKGs.
7. Now you can choose either to rename the PKG or export the list.

Credit : n1ghty and cfwprophet
PS4PKG_List PKG List Generator & PKG_Rename PKG Renamer by N1ghty.jpg


Not open for further replies.
Not open for further replies.
Recent Articles
PyPS4Controller Module: PS4 Controller Hooks via Python on Linux by ArturSpirin
Since we covered the PS4 Gentoo Linux Installation Guide, developer ArturSpirin shared pyPS4Controller on Github which is a light module designed to provide hooks for PlayStation 4 Controllers in...
GetEventHandlerNames Python Script for PS4 Scene Developers
Following his GhidraOrbisTools PS4 Loader and IDA Script Ports developer @KIWIDOGGIE (aka diwidog on Twitter) recently added a GetEventHandlerNames Python Script ( by...
Lode Runner Legacy by Tozai Games Joins New PS4 Releases Next Week
Ahh, another great classic is coming to PlayStation 4 next week on January 29th... the action puzzle masterpiece Lode Runner Legacy by Tozai Games complete with a local multiplayer mode is among...
PS5 Game Invite System Reworked Rumors Surface via Sony Patent
According to rumors based on a recent patent from Sony Interactive Entertainment (SIE) uncovered at the USPTO, the upcoming PlayStation 5 next-gen console may feature a reworked game invite system...