Category PS4 Guides and Tutorials       Thread starter XVortex       Start date Jan 19, 2018 at 10:35 PM       103,532       209            
Ok, guys, let me introduce the PKG Kitchen - the toolset for the easy creation of PS4 packages.

First sorry for my ugly English. I hope you understand me ;)

Toolset does not use flat_z method to assume gp4 package structure and (probably) has a issues, but it allows you to create more or less working packages and use it as a base for experiments.

Related Files:
Brief Instructions:

0) Extract Fake PKG Generator into the tools folder;
1) Clean the kitchen environment (run _clean.bat);
2) Turn on the console;
3) Insert disc, make sure it is fully installed/copied (skip for PSN title);
4) Run the ps4-ftp-vtx payload, connect into the ps4 by FTP client;
5) Minimize (PS Button), but do not close the WWW Browser;
6) Run your game, make sure to get main menu, minimize game (PS Button);
7) Copy files:
Code:
   a) /mnt/sandbox/pfsmnt/CUSAxxxxx-app0-nest/pfs_image.dat --> dump\pfs
      (please note your Title ID - CUSAxxxxx)
   b) /user/app/CUSAxxxxx/app.pkg --> dump\pkg
   c) /mnt/sandbox/pfsmnt/CUSAxxxxx-app0/eboot.bin    --> dump\app
      /mnt/sandbox/pfsmnt/CUSAxxxxx-app0/sce_module/* --> dump\app\sce_module\*
      /mnt/sandbox/pfsmnt/CUSAxxxxx-app0/???          --> dump\app\???
      (??? is other prx modules, if any, depends on title)
   d) /system_data/priv/appmeta/CUSAxxxxx/*           --> dump\appmeta
8) Restart your console, remove disc, uninstall the game (for further testing);
9) Run the _extract_pkg.bat script. You should get the 'Image extract succeeded' message;
10) Run the tools\ArchiveExplorer.exe, open pfs_image.dat in dump\pfs dir,
select all files, and extract selected files into the app folder.
Wait until the end of the process (this can take a long time)!
11) Copy (overwrite) dump\app\* files into the app folder
(take care of the 7-c-??? files paths too)
12) Copy (overwrite) dump\appmeta\* files into the app\sce_sys folder;
13) Run the _gen_gp4.bat script. You should get the 'Done.' message and
CUSAxxxxx.gp4 project file;
14) Open CUSAxxxxx.gp4 in Fake PKG Generator and build your .pkg project;
15) Run PS4HEN payload, install and test your .pkg;
16) Profit.

Paths (for reference):
Code:
/user/app/CUSAxxxxx/app.pkg                  --FTP--> dump\pkg

/mnt/sandbox/pfsmnt/CUSAxxxxx-app0-nest/pfs_image.dat --FTP--> dump\pfs            --A_E--> app

/mnt/sandbox/pfsmnt/CUSAxxxxx-app0/eboot.bin         --FTP--> dump\app            --CPY--> app
/mnt/sandbox/pfsmnt/CUSAxxxxx-app0/sce_module/*       --FTP--> dump\app\sce_module --CPY--> app\sce_module
/mnt/sandbox/pfsmnt/CUSAxxxxx-app0/???                --FTP--> dump\app\???        --CPY--> app\???

/system_data/priv/appmeta/CUSAxxxxx/*             --FTP--> dump\appmeta\*      --CPY--> app\sce_sys\*
PKG Kitchen - PS4 Guides, Tools and Scripts for Fake PKG Creation.jpg
 
:idea: Reminder: Those without a Verified Badge yet on Discord to access the private areas we recommend Joining Us! Why? The waiting process takes a week for new Members, and there's a lot we're unable to share on public forums including the latest PS4 PKG Games. 🏴‍☠️

Comments

rocknard

Member
Contributor
Verified
Great. So many info, apps... Hours reading to deduce how all of this can make me play pkg, and "retail backup" soon.

Thank you. Now i will try if i buy Slim or PRO and where...
 

XVortex

Developer
Senior Member
Contributor
many? I think it is easiest method before we get something like a dumping homebrew (multiman, lol) with flat_z method of gp4 or even .pkg building implementation :whistle:
 

rocknard

Member
Contributor
Verified
Sorry, i say to install pkg and play, not for dumping.

I'm trying to figure out how to do the whole process to install a pkg (unpkg.py, fakepkg, overwrite files make_fself, etc).

Great tutorial and thank you -all- of course.

P.S: Fake PKG Generator doesn't like my Windows XP, hahaha. Well, unpkg.py do the same (?)
 

Andrew Mr

Member
Contributor
@XVortex, I used your tutorial line by line and i'm getting
"Format of the SELF file is not valid during package building"

Does your .bat's utilize the make_fself.py to decrypt eboots and prx.? It's necessary to build proper SELFs

also the built .gp4 chooses the Paid Standalone Full App rather than Freemium, was that intended?
 

XVortex

Developer
Senior Member
Contributor
About self format is just a warning, ignore it if is does not interrupts the build process.

Yes, paid app is right option if we want to keep saves and other functions.
 
Recent Articles
PS5 Hacking-Themed Platformer Recompile Gameplay Trailer Video
Earlier this week we saw a first look at the PS5 hacking-themed indie platformer Recompile by Phigames, and below is a Recompile PlayStation 5 gameplay trailer video for sceners who can't wait to...
PS5 & Xbox Series X Next-Gen Video Game Prices to Go Up Says IDG
According to video game research firm IDG Consulting, publishers are likely to raise the price of next-gen games for PlayStation 5 and Xbox Series X following the PS5 News that NBA 2K21 will...
Sony Introduces PlayStation Indies for PS5 and PS4 with Montage Video
Proceeding the Indie PS5 game Soulborn Alpha Trailer, Sony introduced their PlayStation Indies initiative featuring nine captivating new independent games including Worms Rumble (PS5 / PS4), Haven...
Cyberpunk 2077 4K Footage and New NBA 2K21 Zion PS5 Trailer Video
Since the last batch of PS5 Trailers some 4K gameplay footage of the upcoming RPG Cyberpunk 2077 by CD Projekt Red surfaced with a 2021 tentative release scheduled alongside a new NBA 2K21 PS5...
Top