Join Us and become a Member for a Verified Badge to access private areas with the latest PS4 PKGs.
Status
Not open for further replies.
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

Donely i have tried game crash without trophy on your console if well made the pkg will start

files can go where you want doesn't matter but eboot and sce_module ans sys must go in chunk 0
 
if you have any free time can you upload a game file again? maybe i can do a try and release a working pkg i need all file located here /system_data/priv/appmeta/CUSA03388
 
Never give up!
OK, guys, here is update:

PKG Kitchen v1.1

what's new:
- fixes in gp4 generator (add /empty/ Chunks, volume_id, trophies etc..)

So this will avoid many run errors.
Who had problems, upgrade the kitchen and restart _gen_gp4.bat
Who did not have problems, re-create pkg is not necessary!
Also you don't need to re-dump your disc!

@PSXHAX, please, replace the link in OP.
 
Will you share the source code for gengp4.exe or it is not licensed under GPL? I want to create my own PKG from Infamous, but i not have pfs_image and pkg, but i want to check what is missing my handworked PKG.....
 
@Al Azif @XVortex your payload with only 1 IP is not working, Filezilla say refused conection, Al zif your tool dont work too, The only way to work is puttin IP same, for those people that payload refuse connection put in hex edit the 2 ip same to the PS4 ip, i dont know why only works in this way, i tested the alzif tool i dont change nothing and the refused connection shows too, i will show you with a images or a video, im pading ok the file when i used the XVortex file and refuse connection, the last version with only 1 ip from XVortex dont work and im paddding ok the file
 
Status
Not open for further replies.
Back
Top