PKG Kitchen - PS4 Guides, Tools and Scripts for Fake PKG Creation - All credit to XVortex at PSXHAX

Discussion in 'PS4 - Tutorials' started by taxco, Jan 20, 2018.

  1. taxco
    OP

    taxco GBAtemp Regular

    Member
    2
    Jan 20, 2016
    Netherlands
    NL
    All credit to XVortex at PSXHAX.
    Iam only pastig his tutorial here.

    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

    image: https://www.psxhax.com/styles/default/xenforo/clear.png

    ;)

    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\*


     
    KiiWii likes this.
  2. Zero72463

    Zero72463 GBAtemp Maniac

    Member
    6
    Jun 27, 2016
    United States
    What does this do? Does this let us create a .pkg out of our disc/hdd games the install them to any PS4 and run the game with PS4hen? Or is it for something else?
     
  3. KiiWii

    KiiWii GBAtemp Guru

    Member
    14
    Nov 17, 2008
    United Kingdom
    Doesnt use Flat_z's method: but somehow works?

    What?!
     
    cearp likes this.
  4. Ronhero

    Ronhero Too Weird to Live, Too Rare to Die

    Member
    9
    Jun 28, 2014
    United States
    Arizona Bay
    If I'm reading this correctly it does exactly what you said. Allows for a backup to be made from a disk into a working pkg file
     
  5. dontay0100

    dontay0100 GBAtemp Advanced Fan

    Member
    4
    Mar 18, 2007
    United States
    can someone please explain to me how to send these PKG files that are way bigger than such GB via FTP, I've tried using the tutorials that are out but just doesn't make since.. I'm not trying to make any pkg just trying to copy to ps4... like which folder do I need to copy it to and how can i copy it to it..
     
  6. DRAGONBALLVINTAGE

    DRAGONBALLVINTAGE Black Tempters Unite!

    Member
    5
    Jun 27, 2017
    United States
    Sacred World of the Kai
    I have a PS4 that might be on 5.00 but will you add/do a PS2 on PS4 guide?
     
  7. azoreseuropa

    azoreseuropa GBAtemp Guru

    Member
    8
    Nov 6, 2002
    Portugal
    Proud to be Portuguese but I am in USA.
    An android with a file called PS4_Serv apk that come with PS4-HEX-VTX MASTER 1.5 (The latest update today) is much easier and less hassle! Try it!
     
    DRAGONBALLVINTAGE likes this.
  8. jaimy7b
    This message by jaimy7b has been removed from public view by WeedZ, Jun 27, 2018, Reason: Necrobump.
    Jun 27, 2018