Hacking [Release] - GUI version of - PS4 pkg repackager by Duxa (aka Chrushev) - v6.22.18

Boombay

New Member
Newbie
Joined
Jan 24, 2022
Messages
4
Trophies
0
Age
34
XP
24
Country
Kazakhstan
what are the names of your packages? you can extract the update with orbis-pub-chk, then rebuild the pkg with the base that you have.
Game file names:
EP1018-CUSA03991_00-DLEEGAME00000000-A0100-V0100
EP1018-CUSA03991_00-DLEEGAME00000000-A0100-V0131

Patch:
EP1018-CUSA03991_00-DLEEGAME0DEVMENU-A0131-V0100
 
  • Like
Reactions: chronoss

sephikun

Member
Newcomer
Joined
Aug 23, 2018
Messages
6
Trophies
0
Age
36
XP
88
Country
Brazil
Simple bat file for remarry game with update.
1. Create New Folder and put this bat file game.pkg and update.pkg inside.
2. You need to rename game and update as Game.pkg and Update.pkg. Also new games needs PS4-Fake-PKG-Tools-3.87, change path in bat file.
3. Run bat file and input on prompt CUSA number without CUSA. Wait to finish. If you don't know CUSA Number, open Cusa Number.txt which will appear in folder.

Code:
set mypath=%cd%
echo %mypath%
set "pubCmd="E:\PS4-Fake-PKG-Tools-3.87-main\orbis-pub-cmd.exe""
set "gengp4="E:\PS4-Fake-PKG-Tools-3.87-main\gengp4_patch.exe""


"%pubCmd%" img_info "%cd%\Game.pkg" >"%cd%\info.txt"

findstr /RC:"CUSA[0-9]" "%cd%\info.txt" >"%cd%\Cusa Number.txt"


set /p CUSA="->CUSA"

mkdir "%cd%\Update-pkg"

"%pubCmd%" img_extract --passcode 00000000000000000000000000000000  "%cd%\Update.pkg" "%cd%\Update-pkg"

xcopy /e "%cd%\Update-pkg\Sc0\*" "%cd%\Update-pkg\Image0\sce_sys\"
rmdir /s /q "%cd%\Update-pkg\Sc0\"

move "%cd%\Update-pkg\Image0" "%cd%"

rmdir /s /q "%cd%\Update-pkg\"

Ren "%cd%\Image0" CUSA%CUSA%-patch

"%gengp4%" "%cd%\CUSA%CUSA%-patch

"%pubCmd%" gp4_proj_update --app_path "%cd%\Game.pkg" "%cd%\CUSA%CUSA%-patch".gp4"

"%pubCmd%" img_create --oformat pkg  "%cd%\CUSA%CUSA%-patch.gp4" "%cd%"
Sorry! but I have no idea how to do that. I would like a more detailed tutorial
 
  • Haha
Reactions: chronoss

chronoss

Well-Known Member
Member
Joined
May 26, 2015
Messages
3,007
Trophies
1
XP
4,895
Country
Congo, Republic of the
Sorry! but I have no idea how to do that. I would like a more detailed tutorial
  • Create a New Folder
  • Put this .bat file inside
  • Put your pkg game and update inside
  • Rename your game pkg to "game.pkg"
  • Rename the update of your pkg to "update.pkg"
  • Download PS4-Fake-PKG-Tools-3.87 (go to google)
  • Put PS4-Fake-PKG-Tools-3.87 folder on the same folder with the .bat
  • Change the path in the .bat file to open orbis-pub-cmd.exe and gengp4_patch.exe
    • ex : set "pubCmd="E:\PS4-Fake-PKG-Tools-3.87-main\orbis-pub-cmd.exe""
    • set "gengp4="E:\PS4-Fake-PKG-Tools-3.87-main\gengp4_patch.exe""
  • Run bat file
  • Input on prompt CUSA number without CUSA. Wait to finish. If you don't know CUSA Number, open Cusa Number.txt which will appear in folder.
:grog::grog::grog::grog::grog::grog::grog:

Capture d’écran 2022-06-18 080913.png
 
Last edited by chronoss,

chronoss

Well-Known Member
Member
Joined
May 26, 2015
Messages
3,007
Trophies
1
XP
4,895
Country
Congo, Republic of the
Simple bat file for remarry game with update.
1. Create New Folder and put this bat file game.pkg and update.pkg inside.
2. You need to rename game and update as Game.pkg and Update.pkg. Also new games needs PS4-Fake-PKG-Tools-3.87, change path in bat file.
3. Run bat file and input on prompt CUSA number without CUSA. Wait to finish. If you don't know CUSA Number, open Cusa Number.txt which will appear in folder.

Code:
set mypath=%cd%
echo %mypath%
set "pubCmd="E:\PS4-Fake-PKG-Tools-3.87-main\orbis-pub-cmd.exe""
set "gengp4="E:\PS4-Fake-PKG-Tools-3.87-main\gengp4_patch.exe""


"%pubCmd%" img_info "%cd%\Game.pkg" >"%cd%\info.txt"

findstr /RC:"CUSA[0-9]" "%cd%\info.txt" >"%cd%\Cusa Number.txt"


set /p CUSA="->CUSA"

mkdir "%cd%\Update-pkg"

"%pubCmd%" img_extract --passcode 00000000000000000000000000000000  "%cd%\Update.pkg" "%cd%\Update-pkg"

xcopy /e "%cd%\Update-pkg\Sc0\*" "%cd%\Update-pkg\Image0\sce_sys\"
rmdir /s /q "%cd%\Update-pkg\Sc0\"

move "%cd%\Update-pkg\Image0" "%cd%"

rmdir /s /q "%cd%\Update-pkg\"

Ren "%cd%\Image0" CUSA%CUSA%-patch

"%gengp4%" "%cd%\CUSA%CUSA%-patch

"%pubCmd%" gp4_proj_update --app_path "%cd%\Game.pkg" "%cd%\CUSA%CUSA%-patch".gp4"

"%pubCmd%" img_create --oformat pkg  "%cd%\CUSA%CUSA%-patch.gp4" "%cd%"
Can u do something for merge game and update ?
 
Last edited by chronoss,

jation

Member
Newcomer
Joined
Jul 9, 2018
Messages
24
Trophies
0
Age
37
XP
112
Country
Serbia, Republic of
Can u do something for merge game and update ?

Option 2: Merge Game + Update, put game fpkg in GAME folder, update fpkg in UPDATE folder.
https://www115.zippyshare.com/v/FuLf68eP/file.html
mirror
https://1fichier.com/?x52zph4oxrp7saga1bv5

After merging game with update you can, also, use option 6 - Fix game info. Final result will me small update file around 5-10mb which will display proper version of game on PS4.

Sorry! but I have no idea how to do that. I would like a more detailed tutorial
You can now, just put game pkg in Game folder, update pkg in Update folder, everything will be auto finished. No need to input anything. Just download link above.
 
  • Love
Reactions: chronoss

badblood08

Active Member
Newcomer
Joined
Feb 5, 2022
Messages
37
Trophies
0
XP
178
Country
United States
I tried running this in my Drive E, all PKG files are saved in Drive E, and even the App is saved in Drive E. However, when I tried to run it, it fills up my Drive C, and produces an error. Could you please provide the temporary download location of this app? Can't seem to find it. Now my Drive C is full because of the temporary package files.

UPDATE: Found it. It's stored in %temp%. Apparently, you need to have enough space in Drive C before you can run this app. Can't seem to change the temporary location - ideally in Drive D.
 
Last edited by badblood08,

jation

Member
Newcomer
Joined
Jul 9, 2018
Messages
24
Trophies
0
Age
37
XP
112
Country
Serbia, Republic of
I tried running this in my Drive E, all PKG files are saved in Drive E, and even the App is saved in Drive E. However, when I tried to run it, it fills up my Drive C, and produces an error. Could you please provide the temporary download location of this app? Can't seem to find it. Now my Drive C is full because of the temporary package files.

UPDATE: Found it. It's stored in %temp%. Apparently, you need to have enough space in Drive C before you can run this app. Can't seem to change the temporary location - ideally in Drive D.
---- not working ---

or check post above.
 
Last edited by jation,
  • Love
Reactions: badblood08

badblood08

Active Member
Newcomer
Joined
Feb 5, 2022
Messages
37
Trophies
0
XP
178
Country
United States
If you want to change temp folder for Duxa repackager. Save this as .bat and run.

Code:
FOR /D %%p IN ("%TEMP%\ps4pub") DO rmdir "%%p" /s /q
mkdir "D:\PS4 Temp\ps4pub"
mklink /j "%TEMP%\ps4pub" "D:\PS4 Temp\ps4pub"

You can change this line "D:\PS4 Temp\ps4pub" for another location on hdd

or check post above.
I'm not really that great in batch files and all, but from what I understood from this code, you need to have a directory of %temp%\ps4pub before this can run. Apparently, my temp files is saved in %temp%\CUSA17776....\.
Having said that, can this code still run, given my situation?
 

jation

Member
Newcomer
Joined
Jul 9, 2018
Messages
24
Trophies
0
Age
37
XP
112
Country
Serbia, Republic of
I'm not really that great in batch files and all, but from what I understood from this code, you need to have a directory of %temp%\ps4pub before this can run. Apparently, my temp files is saved in %temp%\CUSA17776....\.
Having said that, can this code still run, given my situation?

Sorry, my mistake. Duxa repackager auto make that CUSAxxxx-patch folder at some point, so previous way not working.
Anyway if you want to try:
https://www38.zippyshare.com/v/PuOeykhk/file.html

Just run remarry.bat, on first launch fpkg tools will be auto downloaded
After that:
- drag and drop game pkg in cmd window and press Enter,
- drag and drop update pkg in cmd window and press Enter,
This folder remarry will be also temp folder.
 
  • Love
Reactions: badblood08

badblood08

Active Member
Newcomer
Joined
Feb 5, 2022
Messages
37
Trophies
0
XP
178
Country
United States
Sorry, my mistake. Duxa repackager auto make that CUSAxxxx-patch folder at some point, so previous way not working.
Anyway if you want to try:
https://www38.zippyshare.com/v/PuOeykhk/file.html

Just run remarry.bat, on first launch fpkg tools will be auto downloaded
After that:
- drag and drop game pkg in cmd window and press Enter,
- drag and drop update pkg in cmd window and press Enter,
This folder remarry will be also temp folder.
Tried it and it doesn't work, unfortunately :(. I just tried this instead, and worked perfectly
 

jation

Member
Newcomer
Joined
Jul 9, 2018
Messages
24
Trophies
0
Age
37
XP
112
Country
Serbia, Republic of
Here's the error. And here's one thing I noticed. The directory it creates in my %temp% is not a folder, but rather a shortcut file. Is this supposed to happen?
It' not a error, because ps4pub folder is now in remarry folder. So if you have extract remarry on D partition, all temp files during converting and final fpkg will be also on D, in remarry folder.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    OctoAori20 @ OctoAori20: Nice nice-