# Failed to package patch for PS4: param.sfo missing

**URL:** <https://forums.unrealengine.com/t/failed-to-package-patch-for-ps4-param-sfo-missing/470251>\
**Category:** Platform & Builds\
**Tags:** package, patch, unreal-engine, PS4, question\
**Created:** [August 24, 2020, 2:23pm UTC](https://forums.unrealengine.com/t/failed-to-package-patch-for-ps4-param-sfo-missing/470251 "2020-08-24T14:23:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_a73a6ce8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a73a6ce8](https://forums.unrealengine.com/u/anonymous_user_a73a6ce8)\
**Post date:** [August 24, 2020, 2:23pm UTC](https://forums.unrealengine.com/t/failed-to-package-patch-for-ps4-param-sfo-missing/470251/1 "2020-08-24T14:23:14Z")

</div>

Hi, I am trying to generate patches for PS4 but the patch packaging step fail with:

No LatestPatch found at D:\Perforce\UE4.25.1\_Plus\Applications\UE4\Game\Releases\1.0\PS4\LatestPatch\CUSA77777\_00, patch will be generated against original master  
Generating project of type pkg\_ps4\_patch  
Running: C:\Program Files (x86)\SCE\ORBIS\Tools\Publishing Tools\bin\orbis-pub-cmd.exe img\_create “D:\Perforce\UE4.25.1\_Plus\Applications\UE4\MastermindSample\Binaries/PS4\MastermindSample-patch-CUSA77777\_00.gp4” “D:\Perforce\UE4.25.1\_Plus\Applications\UE4\MastermindSample\Binaries/PS4\MastermindSample-patch-CUSA77777\_00.pkg”  
[Error] Specified path does not exist. (param.sfo)

I followed the instruction in unreal documentation to generate the patch: [How to Create a Patch in Unreal Engine | Unreal Engine 5.1 Documentation](https://docs.unrealengine.com/en-US/Engine/Deployment/HowToCreatePatch/index.html)

---

<div class="post-metadata">

**Author:** ![SethBehunin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SethBehunin](https://forums.unrealengine.com/u/SethBehunin)\
**Post date:** [August 2, 2021, 4:57pm UTC](https://forums.unrealengine.com/t/failed-to-package-patch-for-ps4-param-sfo-missing/470251/2 "2021-08-02T16:57:35Z")

</div>

Did you ever find a solution for this? I found the cause of this but the code is really not easy to follow so it is unclear to me how to fix the issue.

What is happening is that because IgnoreDefaultSfo is true (by way of using GenerateSFO=true) it excludes the param.sfo that would normally go in the root of sce\_sys in the disc layout in favor of the title specific param.sfo. The problem though is that then it maps that param.sfo to sce\_sys/[title\_id]/param.sfo. The Sony packaging tool seems to demand it be in the root of sce\_sys/ and errors.

If you change the targ\_path value for it in the gp4 to sce\_sys/param.sfo and run the sony packaging tool with the same params as buildcookrun used, it will actually make the package.

The problem for me is even knowing what is going on I am unsure of how to proceed to make it work. Should I just hack something into the PS4 automation code that always maps param to sce\_sys root or is there something else I should be doing?

---

<div class="post-metadata">

**Author:** ![zgzg2020](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zgzg2020](https://forums.unrealengine.com/u/zgzg2020)\
**Post date:** [June 20, 2022, 7:21pm UTC](https://forums.unrealengine.com/t/failed-to-package-patch-for-ps4-param-sfo-missing/470251/3 "2022-06-20T19:21:54Z")

</div>

I am stuck with the same problem. Anyone find a solution?

---

<div class="post-metadata">

**Author:** ![ThalesKingBR](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ThalesKingBR](https://forums.unrealengine.com/u/ThalesKingBR)\
**Post date:** [December 22, 2023, 7:47pm UTC](https://forums.unrealengine.com/t/failed-to-package-patch-for-ps4-param-sfo-missing/470251/4 "2023-12-22T19:47:22Z")

</div>

Try to put all files, that are you working with, inside the "D:" not inside any other folder. Worked for me. IDK why but the Patch Builder just doesn’t want to repack te PKG if it’s inside any folder.
