Join Us and become a Member for a Verified Badge on Discord to access private areas with the latest PS4 PKGs.
PS4 CFW and Hacks       Thread starter ColdFire0       Start date Jan 8, 2022 at 12:56 AM       5,217       25      
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

sped

Member
Contributor
Verified
I compiled it on linux, i don't have github to add linux instructions, but here is how I compiled on ubuntu linux.

-install cmake, build-essentials, and git with apt
sudo apt-get install cmake build-essentials git
then, in terminal
Code:
git clone --recursive https://github.com/aldoblack/pkg-merge.git
open pkg-merge directory in file browser and manually edit CMakeLists.txt file with a text editor.

make the first line say:
Code:
cmake_minimum_required(VERSION 3.16)
and make the 4th line say
Code:
set(CMAKE_CXX_STANDARD 20)
and then save it.

run the following commands in terminal:
Code:
cd pkg_merge
mkdir build
cd build
cmake ..
make
The cmake file has to be edited because ubuntu's repositories don't have the newest version of cmake, they use version 3.16
 

BigWadger

Senior Member
Contributor
Verified
your never gonna merge retail pkg updates to retail bases and add dlc with any tools without private decryption keys and pkg digest passcodes

this is a simple tool to just join binary files together it doesnt care whats in the parts you can do this with command line with "copy /b *pkg newfile.pkg" or something like that
 

:fire: Latest Help Topics

Top