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

PKG Kitchen v1.3 has been released (see OP link):

- All (except system) files are assigned to all chunks (you may need to reassign them manually);
- playgo-chunk.dat is dumped by flatz method to dump\pkg\playgo.txt (for analysis and manual gp4 editing);
- Minor changes in .elf processing;
 
[Debug] 2018-01-21 15:06:36 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))
[Debug] nptitle.dat: NP Title file.
[Error] 2018-01-21 15:06:36 Create image Process finished with error(s).
 
Would be nice to have some little faq

==============
Errors

Error np-34927-5 : missing folders in pkg
- system_data\priv\appmeta\CUSA00xxx
- user\trophy\conf\NPWR0xxxx_00


=================================
For Patching

you've to
1.) install pkg
2.) reboot
3.) patch only user folder
-> what about multi users ?

======================================

Open questions (please edit/answer if you know more)
- Old 1.76 dumps -> download patch + create pkg for 4.05 from folder
or redownload new already made pkg ?

=================================

Dumps upload

: use multi up service
http://www.multiup.org/ or similar (https://www.jheberg.net/desktop/uploader/)
 
[Debug] 2018-01-21 15:06:36 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))
[Dqebug] nptitle.dat: NP Title file.
[Error] 2018-01-21 15:06:36 Create image Process finished with error(s).
The sfo you have used is invalid maybe an game patch sfo
 
always error with this payload ftp (WSAEADDRNOTAVAIL)
(other ftp payload work perfectly)

and error nptitle.dat same as midos when i create pkg with bat
and if i take param sfo from appmeta same error as midos too (i must take param sfo in app0 unpacked to create the others dont work)
 
hi everyone, i'm trying to do a pkg from The Last of Us Remastered game (CUSA00552) using this method (PKG kitchen v1.2). unfortunately, once installed and started, it only appears the splash screen and a error message "Cannot start the application (CE-30008-1)".

can i patch the game directly over ftp? maybe is a eboot.bin error? please help me, and once this issues is solved i'll upload a final pkg.

any help is welcome, thanks!
 
magicseb have find/resolve few of my problem...
now the payload work (juste wait few minutes before acces ftp)

for nptitle: no problem if you extract by this payload but if you use other ftp payload, pkg generator give you an error

for param.sfo: is my case the game disc have update inside, so the param.sfo from appmeta is the param of the update, not from the game. the good param sfo in my case is only param sfo from unpacking app.pkg (you can probably update that?)

THANKS for all magicseb and xvortex
 
@juliotec it works, you just have to wait for around a minute after sending the payload for the FTP server to startup on the PS4 before you can successfully connect.

I had the same issue, I thought it wasn't working because I wasn't waiting long enough. Then I waited for about a minute after sending the payload and then it worked.

If you put the same ip in both in hex edit, you dont need wait, i have been dumped 2 games, but I dont have a 64 gb usb right now to tested, because the pkg is more than 32 gb
 
Status
Not open for further replies.
Back
Top