Join Us and become a Member for a Verified Badge to access private areas with the latest PS4 PKGs.
PS4 CFW and Hacks       Thread starter PSXHAX       Start date Jul 31, 2022 at 10:29 PM       69      
Following his handy PS4 AIO Batch File Script for Games & Updates with FPKG Tools, this weekend PlayStation 4 Scene developer @jation released PS4 Tools: Context Menu allowing Windows users to perform a wide variety of useful operations in a single (right) click on PS4 .PKG extension files... and is the first tool supporting Remaster PKGs (BASE games with a higher version than v1.00) creation automatically! 🥳

Download: PS4 Tools v35.rar (3.16 MB)

Spoiler: Depreciated

🎓 Before diving into the release, a brief Remaster PKG lesson for those interested:

Since covering How to Remarry PS4 PKGs previously, @Archi55 (who tested PS4 Tools: Context Menu) notes that new users are merging game BASE + UPDATE into a single v1.00 file because they don't know how to create a higher version... resulting in a second 'fake' patch required simply to increase the app version displayed leaving them with (2) files unnecessarily.

:note: A Remaster PKG acts as both the game BASE v1.00 and UPDATE (for example, v2.03) in single file to save time and save space... as you don't need a BASE v1.00 with UPDATE v2.03 inside and then another 'fake' patch to correctly display the app version as v2.03 in order to trick the PS4 System into showing the proper (higher) version.

:idea: It's important to note when building Remaster PKGs a BASE v1.00 game file (doesn't matter which, it can be a fake base out of sce_sys) is necessary to link to during the creation process.

This means, for example, a Remaster PKG with UPDATE v2.03 can be installed without first installing the BASE v1.00 (saving time and saving space) since the Remaster PKG overwrites BASE v1.00 as you can't have both with the same Content ID on the PS4 System. :sneaky:

PS4 Tools - Context Menu

1. Installation

  • After the PS4 Tools .rar has been extracted, folder PS4 Tools needs to be placed on partition with enough free space. That folder will be also an temp folder for operations on files.
  • Inside folder, only for the first time "1 - Run.cmd" should be executed.
  • If folder PS4 Tools is moved on another location "1 - Run.cmd" should be run again.
  • If menu is too bloated with options, unwanted can be easily removed.
    • Just run "2 - Delete unwanted.cmd" and choose which options you want to remove.
  • Now we can forget that folder, as folder is for tools and temp files. Only be sure to have enough free space, because operation like merge and remarry needs a lot of hdd space and time to be processed.
  • Every option now is under Right Mouse Button on .PKG Extension files and everything can be done with only one click.
PS4 Tools Context Menu for 1-Click PS4 .PKG Operations by Jation.png

2. Usage

Remarry

To remarry Game and Update both files needs to be selected, after that just click Right Mouse Button on them and select 'Remarry' in PS4 Tools context menu.

Merge Game + Update
To Merge Game and Update both files need to be selected, after that just click Right Mouse Button on them and select 'Merge Game + Update' in PS4 Tools menu. Merged game will be Remaster Type with already proper display version in PS4 System Menu in single PKG file.

Fix Game Info
For files which already exists as base game with update inside or already merged, but display option on PS4 System shows v1.00. This option will create small PKG update around 5-10MB. After that PKG should be installed on PS4 and you will have proper displayed version of game on PS4 System Menu.

Extract eboot.bin
This option will extract only eboot.bin from PKG in current directory.

Extract param.sfo
Only param.sfo will be extracted from PKG in current directory.

Extract Icon0.png
This option will extract only Icon0.png from PKG in current directory.

Extract trophy
Only trophy00.trp will be extracted from PKG in current directory.

Extract Important PS4 Files
This option will create folder with name of game and extract only those files in that directory:
  • eboot.bin
  • icon0.png
  • npbind.dat
  • nptitle.dat
  • param.sfo
  • trophy00.trp
Extract by File Type
This option will create folder with name of game and extract specific extension of files in that directory: Example input:
Code:
.png
or when extract multiple file extensions:
Code:
.png .bin .prx
No comma between extensions, just space bar.

Extract Full PKG
This option will create folder with name of game and Extract full PKG in that directory.

PKG info
This option will open cmd windows and display some basic info about PKG file like: name, app version, $DK, required firmware version, etc...

Merge PKG Parts
If patch is downloaded from orbispatches and split into parts, this option will merge them into single PKG file. Only one part needs to be selected.

Notes:

Thanks to @Archi55 for testing, bug hunting and instructions for creating Remaster PKG with proper display version in PS4 System menu.

Changelog:

v35

  • Because windows limit of 16 items per menu, menu is split:
    • PS4 Tools for all file operations
    • Extract for all extract options
  • No need for pkg_merge anymore, because wrong numerical order. CMD will now proper merge parts with correct numerical order.
  • Merge Game + Update will merge game and update as 1.00 version and will create small patch to fix game info on PS4
  • Merge Game + Update - Remaster, as previous version just changed name
  • Added Finished message
Added:
  • Backup Backported Files
  • Rebuild Backport from Backuped Files
  • Merge Game + Update + Backported Files
  • Extract Game Modules
Backup Backported Files
Will backup all backported files from backported pkg in zip file. For < 9.00 users who want to keep Game & untouched Update. After backup is done, user can delete backported pkg to save space on hdd.

Rebuild Backport from Backuped Files
Will rebuild untouched update to backported pkg again. Just need to select all three files: Game, untouched update & zip archive from backup.

Merge Game + Update + Backported Files
Same as option above, only difference is Game, untouched Update & zip with backuped backported files will be merged to remaster Game pkg with backported files.

Extract Game Modules
Only for backporters. All files which need to be backported will be extracted, while folder structure is preserved, for easier work.

Thanks also to hippie68 (sfo, pkgrename), aldoblack (pkg_merge tool) and @CyB1K for fpkg tools.
 

Comments

jation

Developer
Senior Member
Contributor
Verified
@Chronoss09
Sorry for late answer, I only have win 7/10, so I can't test on 11. Anyway you can restore classic right click context menu on Win 11 just google for it, but still not sure if it will work.

All temporary files are inside PS4 Tools v25 folder but everything is cleaned after operation is completed.
 

yeilnoung

Member
Contributor
Verified
thanks for this tool, it's really useful. It's also possible to drag'n'drop the 2 pkgs onto the "merge fast.cmd" for those that don't want/can't install the context menu once the prerequisites are done.

I have 2 questions/things: If I merge game + update into a new package with the correct version: is it possible to add a later patch if one is released? Or can the patches only be applied to V01.00?

It would be nice if the windows would not close automatically in case the process fails. So one would be able to see what caused the error.

Aside from that: A really useful tool.
 

jation

Developer
Senior Member
Contributor
Verified
@yeilnoung
1. Probably not, you will must again merge new patch with 01.00
2. Just open merge fast.cmd with notepad and on the end add new lines:
Code:
pause
exit

or if you want message Finished

Code:
ECHO. ___________________________________
ECHO.
ECHO.              Finished
ECHO. ___________________________________
ECHO.
pause
exit
 

yeilnoung

Member
Contributor
Verified
@jation thanks for the input. Shame on me for not thinking about inserting the pause command.

Just to clarify the other question ... currently I manually merge base + patch as follows:

1. extract base game
2. extract patch to the same folder, overwriting existing files
3. renaming Image0 to CUSAXXXXX-app
4. move files in Sc0 to CUSAXXXXX-app\sce_sys
5. delete the now empty Sc0 folder
6. generate gp4
7. build pkg

This generates a merged pkg with V01.00. But I can live with that.

For example, If i created a merged pkg with base game + patch 01.08 and somehow later a patch 01.09 is released ... would it be possible to merge it again
a) using the manual method (as the merged pkg still appears as V01.00)
b) using your method (showing the correct version with the merged patch)?
 

pcunhaK9

Member
Contributor
Verified
@yeilnoung
i also do manual merges when i see i can remove some audios. After some testing i found that:

1. if you manually merged, you can manual merge later with future patch updates.
2. if can fix the version of the manual merge with the script "fix game info" and you can also manual merge later with future patch update, then create a new info fix pkg.
3. if you merge with script "merge game+update" you cannot merge later with future patch updates because game is "remaster" and orbis-pub-gen will give you the error because of that.

I edited the Merge Game + Update script to let you delete/edit files on the merged folder before it creates the fpkg, this way you can "rip" the game as you like (ex: delete audio files, edit changeinfo.xml...)

It will pause the progress and beep so you can delete/edit the game folder.

edit "merge fast.cmd" file with notepad++ and in the line 103 to 109 copy/past like this:

Code:
echo --------------------------------------------------------------------------------------
echo - You can now delete files on PS4 Tools v25\tools\Work\Game-app
echo - Press enter after delete files
echo --------------------------------------------------------------------------------------
echo •
pause

and in lines 201 to 206

Code:
echo --------------------------------------------------------------------------------------
echo - You can now delete files on PS4 Tools v25\tools\Work\Game-app
echo - Press enter after delete files
echo --------------------------------------------------------------------------------------
echo •
pause
 

Archi55

Staff Member
Moderator
Developer
Senior Member
Verified
Most of options on v35 is tested by me personally, but still feel free to ask if you noticed something weird ;)
 

:fire: Latest Forum Topics

Top