Category PS4 CFW and Hacks       Thread starter PSXHAX       Start date Mar 10, 2018 at 2:24 AM       20,988       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

Status
Not open for further replies.

nikeymikey

Senior Member
Contributor
Verified
You can rename pkgs to whatever you like, the PS4 doesn’t care what they are called, they will still install. This script is useful if like me you have downloaded a load of pkgs and have them all in a folder on your pc with their cusaxxxx original names. I have run this script and now I have a nice excel sheet that tells me which cusaxxxxx pkg is which game and I can now rename them
 

nokodemus

Senior Member
Contributor
A really useful tool, thank you very much for bringing this to life ... already works very well (y)
I'm just wondering about some errors ...

Some of my stored (f)pkg's just won't get recognized and throw errors like:
Code:
ERROR: parsing of param.sfo failed. Invalid app_ver length.
and/or
Code:
ERROR: invalid file magic
Issues related to the pkg i guess?

I used the latest *.py directly from git

Unfortunately the pkg_rename.py is causing issues too ...
It's correctly recognizing the pkg's name, but seems like it can't rename?

Code:
python pkg_rename.py Persona.5.PS4-DUPLEX.pkg
Renaming pkg to EP4062-CUSA06638_00-PERSONA512345678-A0100-V0100.pkg
ERROR: unexpected error: <type 'exceptions.OSError'>
Traceback (most recent call last):
  File "pkg_rename.py", line 252, in <module>
    os.rename(pkg_file_path, pkg_new_file_path)
OSError: [Errno 2] No such file or directory
OS is Ubuntu ...
 
Status
Not open for further replies.
Recent Articles
Ghostwire: Tokyo - Pet the Dog and Deathloop Dev Update PS5 Videos
Sony's latest State of Play August 2020 may be done, but here's a few more PlayStation 5 videos headlining this weekend's PS5 News to enjoy while eagerly awaiting the next-generation console's...
PS4HEN 2.1.3 with 7.51 FW Version Spoof 6.72 Port via Joonie86 / SiSTR0
Following PS4HEN v2.1.3, the PS4HEN v2.1.4 Fork, ESP8266 Xploit Host 2.84g, the PS4 6.72 Jailbreak Exploit Menu v5 updates and PS4 Cheater 1.4.8 with 6.72 support by GiantPluto, today PlayStation...
PS4 PKG Sender v1.03 for PlayStation 4 Package Files by FrostySo
Proceeding the PS4 Package Sender 1.2 Update by @MODDEDWARFARE, this weekend PlayStation 4 developer FrostySo of FrostySo.Github.io shared on Twitter his own PS4 PKG Sender v1.0 followed by v1.01...
PSXHAX Member Verification & PS4 Fake PKG (FPKG) Sharing Guide
Since the 6.72 PS4JB release last month we've received several requests to make a detailed guide for getting Verified on PSXHAX and sharing PS4 Fake PKG (FPKG) backports / dumps with other...
Top