Giter Club home page Giter Club logo

pkg-merge's Introduction

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++.

Usage

User-friendly

  1. Download the lastest release from the Release Page
  2. Extract pkg-merge.exe
  3. Go to where you extracted pkg-merge.exe, and locate/create a folder with all your PKG pieces inside.
  4. Drag the folder of PKG files ontop of the pkg-merge.exe program. The merging process should begin.

Development

  1. Clone the repo
  2. Open project using Visual Studio (I used VS 2017 Community with the C++ build tools installed)
  3. Build and run

pkg-merge's People

Contributors

tustin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

pkg-merge's Issues

Feature Request

Hey is it possiable for you to make it so you can merge the game with updates and also merge dlc content, it would help alot and make it easier to store and compress the files a little bit

ps5 pkg support

Hello there, is possible update the tool to merge ps5 pkgs too?

Tks in advice

Pieces may be omitted if it tried to use it as the root initially

This may be dependent on how the files get ordered in the directed on the file table but it seems that when pkg-merge starts checking files it does so in the order they were added to the folder and if the file it checked was not the root it skips it but then doesn't bother to add it in as a possible part of the pkg later.

Example: 3 part update pkg. Attempts to use part 3 (2) as root but fails and skips it. Later only detects 1 additional part to the update which is wrong.

E:\>pkg-merge-x64 UP0082-CUSA12031_00-KINGDOMHEARTSX30-A0110-V0100
[warn] assumed root PKG file 'UP0082-CUSA12031_00-KINGDOMHEARTSX30-A0110-V0100_2.pkg' doesn't match PKG magic (is 6b6ff148, wants b35bea60). skipping...
[success] found root PKG file for UP0082-CUSA12031_00-KINGDOMHEARTSX30-A0110-V0100
[success] found piece 1 for PKG file UP0082-CUSA12031_00-KINGDOMHEARTSX30-A0110-V0100
[work] beginning to merge 1 piece for package UP0082-CUSA12031_00-KINGDOMHEARTSX30-A0110-V0100...
        [work] copying root package file to new file...done
        [work] merged 4294967296/4294967296 bytes (100%) for part 1...done

[success] completed

Example: Here I moved the last part out of the folder then put it back relocating it in the file table. Now a normal directory listing shows them in order by default...

E:\>pkg-merge-x64 UP0082-CUSA12031_00-KINGDOMHEARTSX30-A0110-V0100
[success] found root PKG file for UP0082-CUSA12031_00-KINGDOMHEARTSX30-A0110-V0100
[success] found piece 1 for PKG file UP0082-CUSA12031_00-KINGDOMHEARTSX30-A0110-V0100
[success] found piece 2 for PKG file UP0082-CUSA12031_00-KINGDOMHEARTSX30-A0110-V0100
[work] beginning to merge 2 pieces for package UP0082-CUSA12031_00-KINGDOMHEARTSX30-A0110-V0100...
        [work] copying root package file to new file...done
        [work] merged 4294967296/4294967296 bytes (100%) for part 1...done
        [work] merged 3679125504/3679125504 bytes (100%) for part 2...done

[success] completed

Get System error when dragging folder onto exe

im sure this is something simple im overlooking but i download the exe and extract it and get all the files and when i make a folder with the pkg files and drag it onto top of the exe i get 2 errors below

Code excution cannot proceed because libstdc++6.dll was not found

Code excution cannot procedd because libgcc_s_seh-1.dll was not found

I have visual studios installed so am i needed a specific one? If so which one and possibly a link as i searched and ya cant narrow down which version. Any help be appreciated thank u

Pkg error

Pkg files merged with the latest version give errors when try to install it. With the old version this problem does not happen. I also noticed that the merged file with the new version produces a bigger file compared with the old one.

Feature Request - Output directory as argument

Would it be possible to add a argument to the program to specify the output directory? Like have it read from one folder but output the merged pkg files into another? Would be really useful if it could be added, thanks for the tool!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.