• You use an Adblocker to hide advertisements. This type of program makes it difficult to keep this website up and running, since displaying advertisements is the only way to pay for hosting. Would you like to make an exception for this site? We promise that you will not be bothered by the advertisements.
  • Get upgrade the account to (Anti-ads Super Silver or Gold, Titanium - LifeTime for free and no yearly!) ----> "Click".
  • Our forum is an English speaking community. If you reply to a thread using non-English languages(French/Spanish/etc), staff will review your post and may delete it.
Forum - DKS

Tutorial HOW TO make a custom patch FPKG for game modding.

J00n3

DKS Member
Trusted developer
Apr 22, 2018
1
94
0
Requirement
Hidden content
To see this hidden content, you must like this content.
How-TO

Unpack the FPKG that contains EBOOT.BIN and sc0 folder by using orbis-pub-chk (I won't provide it here, you will have to google PS4 SDK 4.50 or FPKG tool)

upload_2018-4-22_13-45-44.png

upload_2018-4-22_13-46-18.png

You need to have passcode for the base FPKG otherwise you won't be able to extract contents (including EBOOT.BIN) inside image0

upload_2018-4-22_13-47-32.png

Select EBOOT.BIN and everything in the sc0 folder.

Go to the extracted folder, in this case I chose "PATCHPKG"

upload_2018-4-22_13-50-41.png

Merge sc0 with image0. contents inside sc0 should be placed inside image0/sce_sys/

upload_2018-4-22_13-52-2.png

upload_2018-4-22_13-51-54.png

Use gengp4.exe to generate GP4 file, (for modders modding patch.pkg, save your param.sfo before using gengp4.exe, because gengp4 changes param.sfo to disc game type so you will have to edit param.sfo after generating gp4, if you saved your param.sfo before using that tool then you can replace the modified one with your backup)

upload_2018-4-22_13-55-13.png

upload_2018-4-22_13-55-28.png

Go to GP4, and change following

"<volume_type>pkg_ps4_app</volume_type>" to "<volume_type>pkg_ps4_patch</volume_type>"
"digital50" to "digital25"

Then save your GP4

upload_2018-4-22_13-59-3.png

Open a HEX editor and change following from PARAM.SFO

BuRlZoC.png


This is where you setup the pkg format and app version. Since I'm modding the original 1.00 I change this value to anything higher than 1.00 , in this case I'll do 1.01,

"gd" means game disc, you need to change this to "gp" which is game patch.

w7BRm5V.png


Then save this file, you're almost done.

Open that GP4 you previously generated via gengp4 v1.8 with orbis-pub-gen,

h6qJOPP.png


Open Project Setting via Command (C)

MylEoOC.png


CONTENT ID should already be set as well as the passcode if you used GP4 made by gengp4.exe

Passcode must match with the base game, in this case mine was 00000000000000000000000000000000

Go to the Patch tab and select your base game for Application Package:

QvOthpu.png


Then start building

UbAosOJ.png


bUj2Xcv.png


Done you successfully built your 1.01 pkg.

Now, let's test our pkg.

HbnS3WC.png


hUhnE3g.png


Now the version is 1.01 :)

The game booted fine too

3OkaVpH.jpg


Enjoy
 
Last edited by a moderator:

peterandre1234

회원 | Member
회원 | Member
Mar 9, 2018
20
14
0
nice
 

AlexLeoni

회원 | Member
회원 | Member
Jun 5, 2018
1
0
0
Where can I find passcode's for the base FPKG?
 

lewisddt11

회원 | Member
회원 | Member
Jun 6, 2018
1
0
0
could you use this to mod a game and transfer to another ps4 like on ps3?
 

nate72.

회원 | Member
회원 | Member
Jun 1, 2018
23
88
0
,
 

JosephBullet

회원 | Member
회원 | Member
May 31, 2018
14
230
0
Where can I find passcode's for the base FPKG?
you should ask at the place you got the package. Usually the pass is all zerrows so try that.
 

JosephBullet

회원 | Member
회원 | Member
May 31, 2018
14
230
0
Can I use this to change the keystone file of the game? How would I do that?
1) In the step where you extract the fpkg do I need to extract the keystone also? Or Should I just put the original keystone in that place and then follow the rest of the steps?

2) If this works should I patch the original game with the keystone patch first and then apply the update of the game? Does the order matter?
 

LyuboA

회원 | Member
회원 | Member
Jun 2, 2018
15
12
0
so i can use this method to make Retail Update pkg to work with my FPKG game ??
 

kamlidadhola

회원 | Member
회원 | Member
Jul 12, 2018
2
2
0
great tutorial...
 

shaundre

THEGR81
회원 | Member
May 31, 2018
33
27
0
South Africa
QUESTION if u are able to make a custom patch file for a title use hex and edit some code why cant u just reverese this process by downgrading a title requiring sys ofw 6+ and make a patch file for the game so it can run on<5.05?
 

shaundre

THEGR81
회원 | Member
May 31, 2018
33
27
0
South Africa
this will save time in working on kernel exploit and spoofers
 

shaundre

THEGR81
회원 | Member
May 31, 2018
33
27
0
South Africa
REPACK a pkg so it will run on 5.05 like spiderman and so on
 

shaundre

THEGR81
회원 | Member
May 31, 2018
33
27
0
South Africa
o 1 more question these custom home made patches will this allow u to run dlc on them that's released on a higher firmware and if that's the case then why not do it for games requiring higher firmware
 

RiPPERD

회원 | Member
회원 | Member
Aug 9, 2018
229
2,112
1
REPACK a pkg so it will run on 5.05 like spiderman and so on
not sure if this was aimed at me but from what i know we cannot rip 5.5X games with a 5.05 console
 

shaundre

THEGR81
회원 | Member
May 31, 2018
33
27
0
South Africa
not sure if this was aimed at me but from what i know we cannot rip 5.5X games with a 5.05 console
well from what i know you can download official PKG's 5.xx i know where and due to policies i cant mention it but if u can get the opkg and fake sign it repack it erase or rather patch the file that let the system know that this game needs to run on a higher firmware then boom we can enjoy the latest games
 

RiPPERD

회원 | Member
회원 | Member
Aug 9, 2018
229
2,112
1
well from what i know you can download official PKG's 5.xx i know where and due to policies i cant mention it but if u can get the opkg and fake sign it repack it erase or rather patch the file that let the system know that this game needs to run on a higher firmware then boom we can enjoy the latest games
im pretty sure if this was the case... the new spiderman would have been posted... not seen it come up anywhere yet
 

shaundre

THEGR81
회원 | Member
May 31, 2018
33
27
0
South Africa
hold up lemme show u.
 

Attachments

  • Capture.PNG
    Capture.PNG
    23.3 KB · Views: 14