Category PS4 Guides and Tutorials       Thread starter XVortex       Start date Jan 19, 2018 at 10:35 PM       96,358       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
 

Comments

iSCORPION

Senior Member
Contributor
Verified
The weiredest thing happened here! ive dump Mafia 3 with update 1.8 and create the fpkg with no error. (this is not my first time, dumped more than 100 games so far without any issue)
After install the fpkg on the Console, game boots up then the installation screen appears again! Installation progress keeps stay on 0%!

Used tools :
  • Ps4 Serve 1.9 (use old exploit checked)
  • Ps4 Dumper 1.7 (ps4 serve included) also dumper.cfg in root of hdd and set split option to Zero
  • GenGP4 1.8
  • Fake PKG Generator 2.89
What the hell happening here...
 

PSGuy

Member
Contributor
got an error saying The directory depth is deeper than maximum. PS: I don't wanna remove any directories because I'm create a Skyrim mod patch PKG and the mod requires these many directories. Any solutions?
 

4404

Member
Contributor
Any solution for this please????
Code:
[Debug]    2020-01-13 01:14:03 Create image Process started.
[Error]    Format of the param file is not valid. (sce_sys/param.sfo, unexpected Category)
[Error]    Format of the param file is not valid. (sce_sys/param.sfo, unexpected Application Version (APP_VER))
[Warn]    The required file is missing (sce_sys/changeinfo/changeinfo.xml). The created package will not be imported into GEMS.
[Debug]    nptitle.dat: NP Title file.
[Error]    2020-01-13 01:14:25 Create image Process finished with error(s).
 
Recent Articles
PlayStation 5 User Interface (PS5 UI) Rumored Image Leak Surfaces
An image that is rumored to be a screenshot of the current PlayStation 5 User Interface (PS5 UI) has reportedly leaked by an Anonymous game studio employee on the popular 4Chan bulletin board. 🤩...
Frost4 (PS4 Frostbite Engine) Toolkit & GNMF (BA2) Tools by SockNastre
Recently developer SockNastre made available on Github both a Frost4 Toolkit for modifying the proprietary Frostbite engine on PS4 alongside some BethesdaArchive2 GNMF tools to read / write in...
Grand Theft Auto V (GTA V) ArabicGuy Mod Menu for PS4 2020 Demo
Following the ArabicGuy v1.1 GTA V Mod Menu by @RF0oDxM0Dz and the Ghosts 1.00 SilentShadowV3 Mod Menu, PlayStation 4 scene developer @CustomHooker shared on Twitter a new Grand Theft Auto V (GTA...
PS4: The Best Place to Play Showcases Exclusives in Latest TV Spot
Sony's latest PS4 promotional TV spot titled The Best Place to Play can be seen below, and spotlights some current and upcoming PlayStation 4 exclusive games including The Last of Us: Part II...
Top