Guest User

HOWTO for backporting ps4 games from 6.72 to 5.05

a guest
Jul 19th, 2020
400
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.54 KB | None | 0 0
  1.  
  2. 1- orbis-pub-cmd.exe img_extract --passcode 00000000000000000000000000000000 "GAME.pkg" PATH\
  3. Note: passcode is 32 zeros
  4. Example:
  5. \BackPort>orbis-pub-cmd.exe img_extract --passcode 00000000000000000000000000000000 "D:\Games\ps4\RESIDENTEVIL_2_Remake\RESIDENT EVIL 2 (CUSA09171) [v01.04(U)].pkg" D:\Games\ps4\RESIDENTEVIL_2_Remake\
  6. [Warn] Output of the command may contain confidential information.
  7. [Debug] Image extract succeeded.
  8. (This step takes a while, be patient)
  9.  
  10. 2- After step 1, you have two folders. Sc0 and Image0. Move all the files from Sc0 into Image0\sce_sys
  11. 3- Delete Sc0 (which should be empty after step 2)
  12. 4- Rename Image0 folder to CUSA_ID of the game (e.g. CUSA09171)
  13. 5- Find all the files with *.prx, *.sprx extentions. Take a note of their path for later.
  14. Example:
  15. CUSA09171\sce_sys\about\right.sprx
  16. CUSA09171\sce_module\libc.prx
  17. CUSA09171\sce_module\libSceFios2.prx
  18. 6- Copy files found in step 4 AND , CUSA09171\eboot.bin, CUSA09171\sce_sys\param.sfo into a temporary folder
  19. Example: Copy them into BackPort\CUSA09171_temp
  20. 7- Drag eboot.bin, and all prx, sprs files (one by one) over UnfSelf.exe file. Each time you do that, you'll get a new file that has -decrypted added to end of the file name. (do not do this step for .sfo file) Example: You should get: eboot.bin-decrypted, libc.prx-decrypted, libSceFios2.prx-decrypted, right.sprx-decrypted
  21. 8- Delete all the original files from BackPort\CUSA09171_temp\ (eboot.bin, libc.prx, libSceFios2.prx, right.sprx) (do not delete param.sfo)
  22. 9- Run following command for all the files expect for param.sfo.
  23. downgrade_elf.exe --sdk-version 05.050.001 --verbose "decryptedFile" "DowngradedFile"
  24. Example:
  25. BackPort>downgrade_elf.exe --sdk-version 05.050.001 --verbose CUSA09171_temp\eboot.bin-decrypted CUSA09171_temp\eboot.bin
  26. BackPort>downgrade_elf.exe --sdk-version 05.050.001 --verbose CUSA09171_temp\libc.prx-decrypted CUSA09171_temp\libc.prx
  27. BackPort>downgrade_elf.exe --sdk-version 05.050.001 --verbose CUSA09171_temp\libSceFios2.prx-decrypted CUSA09171_temp\libSceFios2.prx
  28. BackPort>downgrade_elf.exe --sdk-version 05.050.001 --verbose CUSA09171_temp\right.sprx-decrypted CUSA09171_temp\right.sprx
  29.  
  30. Now you can delete all the files that have -decrypted in their name. We do not need them anymore.
  31.  
  32. 10- Run following
  33. downgrade_sfo.exe --sdk-version 05.050.001 --system-version 05.050.000 --verbose CUSA09171_temp\param.sfo CUSA09171_temp\param_new.sfo
  34. Now, delete param.sfo, and rename param_new.sfo to param.sfo
  35.  
  36. 11- Copy/overwrite all the downgraded files into their respective locations in the original unpacked game folder (In step 5 you were supposed to take a note of the original locations).
  37. Example:
  38. CUSA09171_temp\eboot.bin to CUSA09171\eboot.bin
  39. CUSA09171_temp\libc.prx to USA09171\sce_module\libc.prx
  40. CUSA09171_temp\libSceFios2.prx to CUSA09171\sce_module\libSceFios2.prx
  41. CUSA09171_temp\param.sfo to CUSA09171\sce_sys\param.sfo
  42.  
  43. 12- Open gengp4.exe. Navigate to the location that you have the original game unpacked into (from step 1). open CUSA_ID (from step 4), then click "Generate .GP4 and then click on "Save .GP4". To keep it simple, save the GP4 file in same location as CUSA_ID of the game.
  44. 13- Create a directory that you want to save the pkg into it (e.g. CUSA09171_downgraded)
  45. 14- Run following command to repack the game.
  46. orbis-pub-cmd.exe img_create --oformat pkg GP4File PATH_TO_SAVE_THE_NEW_PKG
  47. Example:
  48. BackPort>orbis-pub-cmd.exe img_create --oformat pkg "D:\Games\ps4\RESIDENTEVIL_2_Remake\CUSA09171.gp4" D:\Games\ps4\RESIDENTEVIL_2_Remake\CUSA09171_downgraded
Add Comment
Please, Sign In to add comment