1. 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.
    Dismiss Notice
  2. Before you agree with rules DKS Forum, If you haven't read yet, please click this "Forum Rules 2.2 has been updated."
  3. Get upgrade the account (anti-ads - Silver or Gold) ----> "Click".
    Dismiss Notice
  4. Check out: DKS-Discord
    Dismiss Notice
  5. Forum - DKS 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.
    Dismiss Notice

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

Discussion in 'PS4 - Tutorials' started by J00n3, Apr 22, 2018.

  1. J00n3

    J00n3 Trusted developer
    Trusted developer

    Joined:
    Apr 22, 2018
    Messages:
    1
    Likes Received:
    63
    Requirement
    Hidden Content:
    **Hidden Content: You must click 'Like' before you can see the hidden data contained here.**
    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

    [​IMG]

    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.

    [​IMG]

    Then save this file, you're almost done.

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

    [​IMG]

    Open Project Setting via Command (C)

    [​IMG]

    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:

    [​IMG]

    Then start building

    [​IMG]

    [​IMG]

    Done you successfully built your 1.01 pkg.

    Now, let's test our pkg.

    [​IMG]

    [​IMG]

    Now the version is 1.01 :)

    The game booted fine too

    [​IMG]

    Enjoy
     
    #1 J00n3, Apr 22, 2018
    Last edited by a moderator: Dec 9, 2018
  2. chronoss

    DKS Member

    Joined:
    Apr 23, 2018
    Messages:
    21
    Likes Received:
    13
    Thanks for this great tuto, i make one for French user on modconsoles !
     
  3. peterandre1234

    DKS Member

    Joined:
    Mar 9, 2018
    Messages:
    20
    Likes Received:
    11
  4. AlexLeoni

    DKS Member

    Joined:
    Jun 5, 2018
    Messages:
    1
    Likes Received:
    0
    Where can I find passcode's for the base FPKG?
     
  5. lewisddt11

    DKS Member

    Joined:
    Jun 6, 2018
    Messages:
    1
    Likes Received:
    0
    could you use this to mod a game and transfer to another ps4 like on ps3?
     
  6. nate72.

    DKS Member

    Joined:
    Jun 1, 2018
    Messages:
    10
    Likes Received:
    27
  7. JosephBullet

    DKS Member

    Joined:
    May 31, 2018
    Messages:
    13
    Likes Received:
    203
    you should ask at the place you got the package. Usually the pass is all zerrows so try that.
     
  8. JosephBullet

    DKS Member

    Joined:
    May 31, 2018
    Messages:
    13
    Likes Received:
    203
    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?
     
  9. LyuboA

    DKS Member

    Joined:
    Jun 2, 2018
    Messages:
    10
    Likes Received:
    6
    so i can use this method to make Retail Update pkg to work with my FPKG game ??
     
  10. peterandre1234

    DKS Member

    Joined:
    Mar 9, 2018
    Messages:
    20
    Likes Received:
    11
    Yea, just extract the retail package.
     
    Belafontep likes this.
  11. kamlidadhola

    DKS Member

    Joined:
    Jul 12, 2018
    Messages:
    1
    Likes Received:
    0
    great tutorial...
     
  12. RiPPERD

    DKS Member

    Joined:
    Aug 9, 2018
    Messages:
    226
    Likes Received:
    1,627
    #12 RiPPERD, Oct 17, 2018
    Last edited: Oct 17, 2018
  13. shaundre

    shaundre THEGR81
    DKS Member

    Joined:
    May 31, 2018
    Messages:
    38
    Likes Received:
    16
    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?
     
  14. shaundre

    shaundre THEGR81
    DKS Member

    Joined:
    May 31, 2018
    Messages:
    38
    Likes Received:
    16
    this will save time in working on kernel exploit and spoofers
     
  15. shaundre

    shaundre THEGR81
    DKS Member

    Joined:
    May 31, 2018
    Messages:
    38
    Likes Received:
    16
    REPACK a pkg so it will run on 5.05 like spiderman and so on
     
  16. shaundre

    shaundre THEGR81
    DKS Member

    Joined:
    May 31, 2018
    Messages:
    38
    Likes Received:
    16
    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
     
  17. RiPPERD

    DKS Member

    Joined:
    Aug 9, 2018
    Messages:
    226
    Likes Received:
    1,627
    not sure if this was aimed at me but from what i know we cannot rip 5.5X games with a 5.05 console
     
  18. shaundre

    shaundre THEGR81
    DKS Member

    Joined:
    May 31, 2018
    Messages:
    38
    Likes Received:
    16
    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
     
  19. RiPPERD

    DKS Member

    Joined:
    Aug 9, 2018
    Messages:
    226
    Likes Received:
    1,627
    im pretty sure if this was the case... the new spiderman would have been posted... not seen it come up anywhere yet
     
  20. shaundre

    shaundre THEGR81
    DKS Member

    Joined:
    May 31, 2018
    Messages:
    38
    Likes Received:
    16
    hold up lemme show u.
     

    Attached Files:

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice