Interested in investing time and money into PSXHAX.COM? Read More and Contact Us for details!
Category PS4 CFW and Hacks       Thread starter Thread starter PSXHAX       Date / timeStart date Jul 31, 2022 at 10:29 PM       Replies 309      
Status
Not open for further replies.
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 v46.rar (4.32 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 (Ko-fi Page - 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.

v36
  • Already remastered pkg file can be merged with new update (same button Merge Game + Update - Remaster)
  • pkg info will now display pkg size and decrypted size (size of all files after extracting)
v40

Merge Game + Update - Remaster

  • Final size of PKG Remaster will be displayed before process start. Some games are not worth merging with update because size is same.
  • Total time needed for creating remaster pkg will be displayed at the end, just for info.
v41
  • PS5: Merge Game + Update - Remaster
v46
  • remarry - If game and update are already remarried than message will be displayed.
  • Folder Operations (right click on folder)
    • Folder - This option will prepare folder for further operations (Move Sc0 to Image0\sce_sys, Rename Folder|Image0 to proper CUSAxxxxx-app/-patch...)
    • Game and Update - From selected folder Game or Update will be created as fpkg. If folder is update than base Game also must be selected. If folder contain remaster, non-remaster will be created.
    • Remaster - Remaster will be created from folder
  • Merge Game Remaster + Backported files - Now Game Remaster can be rebuilded with backported files from archive.
Thanks also to hippie68 (sfo, pkgrename), aldoblack (pkg_merge tool) and @CyB1K for fpkg tools.
 

Comments

If i use the 'PS5: Merge Game + Update - Remaster' option to merge my PS4 Game & Update, is the new file (fpkg) only usable on the PS5? Or can I install it on the PS4 as well?

I'm not sure what the difference is between,
PS5: Merge Game + Update - Remaster and Merge Game + Update - Remaster.

Thanks for any information you can provide.
 
@SourMilkNPenny
I don't remember anymore why Game + Update = Remaster don't worked on PS5, but in both cases the game should work on PS4.

For PS4:
if normal base Game detected, example:
Normal Game 1.00 + Update 1.15 = Remaster 1.15

if new update appear, example 1.20, we cant merge Remaster 1.15 with Update 1.20, so if game is already Remaster, script will first make a fake mini base normal game 1.00, than will merge already remastered game with new update, and make new Remaster
Normal Game (fake mini base normal game 1.00) + Update (merged remaster 1.15 with update 1.20) = Remaster 1.20

For PS5 in both cases mentioned above:
script will first make a fake mini base game 1.00, than will merge normal/remastered game with new update, and make Remaster
 
@jation
I just made and tested both options for the Remaster using the following game,
Uncharted 4 (Base)
Uncharted 4 (Update 1.33)

Merge Game + Update - Remaster
This installed and played with no issues on my PS4.
The game also shows up as "CUSA00341 1.33" on the XMB.

PS5: Merge Game + Update - Remaster
This installed and played with no issues on my PS4.
The game shows up as "CUSA00341 1.00" on the XMB.

Question:
If i choose to merge the game+update using the Non-PS5 option (that way the correct game version shows in XMB and cheats) will i be able to use that PS4 merged .pkg file to convert it to the PS5 version in the future?

Or is it better to just keep the Base and Update seperate for when i want to install on the PS5?
 
@jation
I am 1000% sure!

On a side note, I tried installing both Remasters on the PS5, and both .pkg files installed, played, and showed the correct game version under Options -> Information

So i'm not sure what the PS5 Remaster does differently, other than NOT showing the correct game version on the PS4.
 
@jation Love your tool. 😍 I'm modifying your scripts for my needs and can't think of any advantages to create remasters vs merged packages.

With GoldHEN loaded, merged pkgs show the correct version for cheats; so why would one prefer not being able to install updates on top of that? Thanks for all the time saves with this 😙
 
Very good, your work helped me a lot to unite my games and updates, especially the remaster mode, I just have to thank you.

However, in an attempt to help, there is an error in the SET DURATION code in :gfix3, causing the script to close abruptly at the end.

I'm not a programmer, I can barely understand the code, but I studied the structure to understand it.

I even made some changes so that the package was renamed to my liking.

As there is no log, but the process ended and created the pkg file, I put pause after the end until I found the error.

Also when PKG was not created I can't see the CMD windows to knew what happened, and that was the motivation to find the error.

Anyways Thanks.
 
@Droby25 Highlighting the merged game and new update, select remarry in the context menu, simple as that. For official updates you would merged again to save space, but this is really useful for installing mods, as AFR doesn't work with all games.
 
@Droby25
Both merged pkg and remastered pkg can be updated with new update. Just select merged/remastered pkg and new update and repeat merge/remaster option again.

Only on PS4 remastered pkg can't be updated with new update.

@tristanbr
If, for some reason, you have problem with timer just add this two lines and test again.

goto finish
:finish


to look like below:
Code:
goto finish
REM Final Calculations

Code:
:finish
ECHO. ___________________________________
ECHO.
ECHO.              Finished
ECHO. ___________________________________
 
Status
Not open for further replies.
Back
Top