Join Us and become a Member for a Verified Badge to access private areas with the latest PS4 PKGs.
PS4 CFW and Hacks       Thread starter PSXHAX       Start date Mar 10, 2018 at 2:24 AM       34      
Status
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: pkg_list-v100-bin.zip (3.4 MB) / pkg_list-v101-bin.zip (3.4 MB) / PKG_List (Latest) / PKG_List GIT / pkg_rename-v100-bin.zip (3.1 MB) / PKG_Rename (Latest) / PKG_Rename GIT / PKG_Tools (Latest) / PKG_Tools GIT

From the README.md, 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.

Usage

python pkg_list.py <paths to pkg directories>

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

pkg_list v1.01 Changelog:
  • added recursive directory parsing
  • fixed file ending case sensitivity
And from the other README.md, 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)

Usage

python pkg_rename.py <your_pkg_file>

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

:arrow: Developer pearlxcore also made available a PKG Tools GUI which according to the README.md 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) / PKG-Tools-GUI-master.zip / 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
 

Comments

Oh! After all the work i had to rename them FROM sony standard to something i can read? I.E how i'm i supose to find games if they aren't sorted alphabetcly?
 
I dont get the point of this... surely you DONT want the Sony naming convention you want a sensible human readable filename?

What would be useful would be a script that checks the CRC of packages released on scene and renames them to either HumanReadable or Sonyformat at users choice!!
 
i could not rename the files.. lol

what is the command to make readable format (%TITLE% (%TITLE_ID%) [v%VER%])?

nevermind just sort it out. nice tools by the way
 
Status
Not open for further replies.
Back
Top