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...