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 Apr 9, 2018 at 10:20 AM       92      
Status
Not open for further replies.
Recently PlayStation 4 developer Duxa (aka @Chrushev) made available a PS4 PKG Repackager which allows you to repackage fake patch update PKGs to work with your games on a jailbroken PS4 console. ;)

Download: Duxas PS4 patch repackager 7.2.18.zip (17.84 MB)

Spoiler: Depreciated

Here's what Chrushev had to say on the release, to quote: Hi all,

Few things off the bat:

1. I wrote this for myself in order to automate the tedious part of repackaging (see below as to what it does).

2. I tested it on Win 10 and Win 7, both worked for me but this was not tested beyond my machines, so please report any problems

3. Please do not tell me it has a exploit, some obscure exploit scanners mark it with a false positive (probably because its not a signed exe). It does not have a exploit, I do not want to mine crypto with your machines, nor am I interested in your personal info. There is no exploit... all mainstream AVs mark it as clean. If you dont trust it, dont use it (good rule to follow in general). exploit report is available here and you are of course welcome to run your own.

4. Do not ask what the passcode is for your package. Try the default (simply press enter), if it doesnt work then you may be SOL. No one knows what it is other than the original pkg creator. Everyone should use the all zero default.

Now to the good stuff...

What is this thing?

Its nothing more than an automation tool. It unpacks a fake update .pkg for you and prepares it to be repackaged.

Why would you want to do that?

Because there is a requirement that update pkg is created with the same image that you have installed. Matching CUSA is not enough. So for example, if you and your friend both live in London. You both have UK version of Horizon Zero Dawn, same exact CUSA. You go home and create a .pkg of the game, and your friend creates .pkg of the update on his console. That update will not work with your .pkg. It is imperative that the update pkg is created off of the exact game pkg that it will be installed on.

PS4 scene is young, a lot of dumps are done without updates, and you cant simply create an update later (not easily). To "fix" this, we can repackage the update with the game .pkg that you have (even if it was not created from that pkg) and the update will work. NOTE: CUSA of game pkg and update pkg still HAS TO match!

Will this allow me to run updates that require higher FW that mine (4.55 at this time)?


No

Can I use this with official update files?

No! This is only for fake pkg updates. This essentially re-pairs the fake pkg update to a new master fake pkg game

What is required?

You will need:
  • .pkg of the game
  • .pkg update (with matching CUSA)
  • this program
  • gengp4 v1.8 or later
  • orbis-pub-gen
What is the process?
  1. Put this program in the same folder as the update .pkg, to avoid headaches please make sure there are no spaces in the pkg names
  2. Run the program. It will ask you for the 5 digit CUSA
  3. It will then ask you for the pkg name (remember to use Tab to auto complete, if you dont know how that works, enter first few letters and press Tab... handy for long names. Will only work if in the same directory.)
  4. You will be asked for passcode. The default is already coded in, so press Enter without entering anything. Alternatively you can enter one.
  5. The program will execute (timing depends on the size of pkg, about 2 min per Gb from my testing, it will give an estimate).
  6. If all goes well green text will appear with remaining instructions you have to do manually with gengp4 and orbis-pub-gen. Luckily these are just a few clicks. I do a lot of checks during the process, if something is wrong you will get an error.
How To Repackage a FPKG Update
How to Install Older PS4 Game Updates on Any PS4 7.02/7.50
PS4 PKG Repackager to Repackage Fake Updates by Duxa (Chrushev).png

PS4 PKG Repackager to Repackage Fake Updates by Duxa (Chrushev) 2.png
 

Comments

Awesome!! thank you so much for an updated version! I have had this work on 3 updates for games.. (3 fails one being the update V1.32 for uncharted once a thief grrrrr)

But I got it to work on 3 games :)

@Chrushev --so im trying to rebuild an update pkg for doom that is on my F: Drive

I'm getting ERROR 8
but i also noticed above that:
Code:
{Error} Could not open or writecompressed file (C:Users\IMMORTAL\AppData|Local|Temp|ps4pub|build00000e989e9dc8ae\00000171.tpfs)
{Error}Could not create compressed file. (C:Users\IMMORTAL\AppData|Local|Temp|ps4pub|build00000e989e9dc8ae\00000171.tpfs)
{Debug} Disk Free Space (C:) = 0
I thought this newer version you didn't have to use C: drive? Is there any way to not have the program using the C: Drive? ( I hadn't noticed this error mentioning the C:drive until I tried this Doom update package that is bigger in size - The other 3 successful repackages I assumed were being resigned/repackaged from my F: Drive, but they were also smaller pkgs)??

@Chrushev made sure to grab the latest tool. tried my doom update V1.11 again ERROR 3 (checked the C: Drive out of curiosity and there was 15 gb free..after this program ran..422 mb??? So it must still be trying to use the c: drive?? - which for me I can't modify because it is a work computer but we have our work drives.. mines F:
 
@stripnwild
There is now a GUI version, is that the one you tried? And yes unfortunately it will use whatever drive you have your windows installed on since it uses temp directory for temporary files directory (same one that all other programs use) while unpacking/repacking etc. Surely there is a computer where you have admin rights that you can use? Or install a VM?

On older (non GUI) version Error 3 means no write permissions on the PC. its hard to create files when you dont have write permission. Error 8 is a general failure, means something prevented the final .pkg from being created. But in this case its clear, its because you dont have admin rights.

@sleepingnight
Install Visual C++ Redistributable from Microsoft. What version of Windows are you on?
and do you have .net 4.6.1 or later installed (as it says in the post)? You need these things to run programs written in C++. most people already have these from running other C++ programs like games. https://www.microsoft.com/en-us/download/details.aspx?id=53840
 
@Chrushev i use windows 7 ultimate sp1 and yes i already installed net 4.6.1, but not sure for visual c++

i was installed visual c++ redistribute too and the error massage still occurred, please help sir
 
@Chrushev Ya I can not create more free space on the C: drive as the stuff that is installed on there is proprietary software/programs.

I do have admin rights but I can not remove anything to free room up so I guess I'm out of luck for resigning/repackaging updates (that are bigger) :(
Oh and ya, using the gui version (latest)
 
@stripnwild

Yeah I mean we need space to unpack the pkg and then repack it. No way around it sorry. At least you can do smaller sized ones. Generally whatever size the update pkg is you need 3 times that space. So if its 1Gb you need 1 to unpack (unpacked is sometimes actually bigger) and 1 for new one. So total of 3 (but if unpacked is larger in size maybe 4). You can cut it down though by having original pkg on a different drive, and saving to a different drive. Then you will only need the size of the pkg on the Windows drive (for unpacked files).

@sleepingnight

Interesting. Which VS redistributable did you install? Was it 2015 version? Was it 32bit or 64bit version? If you installed 64bit try installing 32bit (x86) since my application is 32bit.

if it still doesnt work try 2017 version:

Microsoft Visual C++ Visual Studio 2017

X64

https://go.microsoft.com/fwlink/?LinkId=746572

x86

https://go.microsoft.com/fwlink/?LinkId=746571
 
@Chrushev - If you change your windows environment variables you can change the c: temp extraction to another drive!

@BigWadger just described - walked me through - how to do it! Now I will hopefully be able to repack big game updates :) You might want to add this to the front page "the ability to extract to another drive other then c: Drive" :)
 
@stripnwild

yes i should have mentioned that (About env vars) but I figured that was a bit too complicated for most users (and easy to really mess up your PC if you dont know what you are doing). Glad it worked for you.

Also, I just posted a new version v7.2.18, just a few bugfixes related to paths (also included the redistributable required and .net installer for those that need them)
 
Status
Not open for further replies.
Back
Top