Join Us and become a Member for a Verified Badge to access private areas with the latest PS4 / PS5 PKGs.
Category PS4 CFW and Hacks       Thread starter Thread starter ColdFire0       Date / timeStart date Jan 8, 2022 at 12:56 AM       Replies 27      
Status
Not open for further replies.
This is a forked PKG Merge update by me (@ColdFire0 aka aldoblack) that merges your downloaded retail PS4 .PKG updates. It was throwing one error 'assumed root PKG file doesn't match PKG magic' so I fixed it and added some other functionalities:
  • Added support for MacOS.
  • No need to be in the same directory with the executable.
  • When clicking on executable file, a pop-up will be shown to select the folder.
  • You can also drag and drop like it used to be.
It's still in beta, so those in the PlayStation 4 Scene feel free to report any issues you may run across. I tested it on Immortals: Fenyx Rising, Watch Dogs: Legion and Doom Eternal and I was able to merge and install the updates.

Download: PKG Merge Update v3.0b (MacOS / Windows) / GIT / pkg_merge-win.zip (2.67 MB - includes pkg_merge.exe, msvcp140d.dll, ucrtbased.dll and vcruntime140d.dll)
  • pkg_merge-macos.zip
  • pkg_merge-win.zip
Here's more from the README.md: PKG Merge

A tool to merge parts of a PS4 PKG into one entire PKG file. Useful for installing a full game on your system. Written in C++.

Update v3.0b
  • Added support for MacOS.
  • No need to be in the same directory with the executable.
  • When clicking on executable file, a pop-up will be shown to select the folder.
  • You can also drag and drop like it used to be.
Usage

User-friendly

  1. Download the latest release for MacOS or Windows from the Release Page
  2. Extract pkg-merge.exe (Windows) / pkg-merge (MacOS).
  3. Create a folder with all your PKG pieces inside.
  4. Double click and select the folder.
    • OR
  5. Drag the folder of PKG files on top of the pkg-merge.exe/pkg-merge program. The merging process should begin.
Development
  1. Tools used:
    1. Clion.
    2. CMake GUI. To generate Makefile
    3. CMake (cmd) to build the executable on Windows.
How to compile
  • MacOS
    • Clone the repo.
    • Download CMake GUI, install and open.
    • Choose project folder where CMakeLists.txt is located.
    • Choose destination folder.

      PKG Merge Github Fork by Aldoblack to Join PS4 Package File Parts.png

    • Click Generate.

      PKG Merge Github Fork by Aldoblack to Join PS4 Package File Parts 2.png

    • Click Done.
    • Open Terminal and go to destination folder where Makefile is located.
    • Type make and click Enter. It should be compiled successfully.
  • Windows
    • Pre Requisites.
      • Visual Studio 2022.
    • Clone the repo.
    • Download Visual Studio.
    • Download CMake GUI.
    • Open Visual Studio.
    • Go to Tools -> Command Line -> Developer Command Prompt and click it.
    • On cmd Write cmake-gui and press Enter (Do not close cmd).
    • Choose project folder where CMakeLists.txt is located.
    • Choose destination folder.

      PKG Merge Github Fork by Aldoblack to Join PS4 Package File Parts 3.png

    • Click Generate.
    • Select NMake Makefiles and click Finish.
    • From cmd, go to destination folder.
    • Type cmake --build .. It should be compiled successfully.
If any issue occurs with Cmake, go to File and delete cache.
 

Comments

I'm looking for a tool that can merge basegame and update in one fpkg.
The top would be a tool that works in batch
 
Is this possible to merge game and update together... sorry for... I am noob for this... Thanks all devs and members 🙏
 
@Aladin Toel it's just a merge. I have updated that when you click of the software, a pop up will be shown to choose the folder. I can try and write a gui on this if it's necessary.

@Aftershocker @Zanta unfortunately no. It's a simple pkg merge. To merge base game and update it needs more work. I have to check the app-dumper payload source code on how they make the merge in order to implement it.
 
hi the windows one of this is not working for me it says this message when i open it up: pkg merge.exe system error at the top of this it says that.

in the middle it says this the code execution cannot proceed because ucrtbased.dll and msvcp140d.dll and vcruntime140d.dll was not found. reinstalling the program may fix this problem.

so does anyone know of anyway to get this to work for windows?

i really want to use this to merge all the dlc pkg files of marvel vs capcom infinite cos there is over 50 pkg files of dlc i want to merge them into 1 pkg file and other ps4 pkg files that have more than 1 pkg file.
 
Status
Not open for further replies.
Back
Top