Category PS4 Guides and Tutorials       Thread starter RetroGamer74       Start date May 3, 2018 at 7:08 PM       20,030       31            
Hi everyone, I was finally able to compile and run packages using Unity, many of you ask to me how to do it so I wrote a tutorial which can also be found below.

I hope many of you join to the PlayStation 4 scene and help developing PS4 homebrew, or follow THIS guide via VitaHex covering how to setup Unity to develop PS Vita games :)

Also @jocover has made available both a Space Shooter.pkg and tank.pkg HERE for those interested!

Let me know if everything goes fine.

Best regards.

How To Build With Unity PS4 FakePKG

In order to build with success using Unity PS4 you need to be sure your setup is complete.

Setup

1. Install PS4 ***. There is a release out there you have to look for. (Krome Mods)

2. Install Unity 2017.2.0p2. (You have to look for the version capable to build for 4.55 PS4 release).

3. Install Unity PS4 2017.2.0p2 for the same release than Unity 2017 release.

4. You can also install Monodevelop from the preferences menu option within Unity Editor. You can, anyway, install Visual Studio as IDE.

5. Once PS4 *** is installed you have to replace the Publishing Tools which are located in PATH_***/ORBIS/Tools/Publishing Tools/ with the FakePKG tools you can download from: Publishing Tools.zip (4.6 MB)

6.- Create a Unity account if you still don't have one.

7.- Set the license. You can do this in first Unity startup, or in the Help menu, by selecting Manage License. Then, select Activate License, and set yours.

Building

1. Create a new project, or open an existing one, or just import one of the packages as samples you can also find out there.

2. When you ready to build the project select File -> Build Settings.

3. Set the window as show in next image.

How to Compile and Build with Unity for PS4 FPKG by RetroGamer74.PNG

4. Now click in Player Settings button on the bottom left side of the Build Settings window.

How to Compile and Build with Unity for PS4 FPKG by RetroGamer74 2.PNG

5. Usually the environment variables of the *** are set in the system, and Unity does not require you set the *** path, but I prefer to set it.

6. Now press build Button. Take in mind, this build won't work. We do this build to retrieve 3 files we need for the final build. So in the File Dialog, create a new folder out of the project and set it a name. For example Build. And then select the folder and continue.

How to Compile and Build with Unity for PS4 FPKG by RetroGamer74 3.PNG

7. When the built is complete browse the folder Build or the name you set and go to the sce_sys folder.

How to Compile and Build with Unity for PS4 FPKG by RetroGamer74 4.PNG

8. Copy next 3 files from sce_sys folder.

How to Compile and Build with Unity for PS4 FPKG by RetroGamer74 5.PNG

9. Paste the 3 files copied into the upper project folder

How to Compile and Build with Unity for PS4 FPKG by RetroGamer74 6.PNG

10. We'll use those 3 files in the Publishing Settings of the Player Settings. So go back again to the Build Settings window. Press Player Settings button, and in the Inspector select the Publishing Settings. Now you have to use those 3 files in the options: Share parameter file to set shareparam.json, pronunciation.xml set to pronunciation.xml, and pronunciation.sig to pronunciation.sig. We have to do this because we're going to build a non development package, and to use that we have to set those 3 files.

How to Compile and Build with Unity for PS4 FPKG by RetroGamer74 7.PNG

11. Finally set Build Settings -> Build Type: PS4 Package and remove any check from the checkboxes.

How to Compile and Build with Unity for PS4 FPKG by RetroGamer74 8.PNG

12. Set parental control to 1 in Publishing Settings. If you keep in value 11 which is default you will get an error about invalid parental control number.

13. Now you can click Build, and you can do more builds without repeating all the steps shown here. You have to do this only once for the project. Remember you empty the folder Build before you try to compile again, because Unity requires build folder be empty if you are going to create a different Build Type, which is the case. We changed Build Type from PC Hosted to PS4 Package. After that you can build more times without clean folder while you create always PS4 Packages.
 

Comments

RetroGamer74

Developer
Senior Member
Contributor
@PSXHAX Hi, I need to do an small fix in this tutorial.
Step 12 should be now Step 13.
Step 12 should be next:

12.- Set parental control to 1 in Publishing Settings. If you keep in value 11 which is default you will get an error about invalid parental control number.

Best regards.
 
Recent Articles
Red Dead Redemption 2 Modding Demos by RDR2 Modder JediJosh920
Following the Spider-Man PS4 Models & Textures Tool and IG PS4 Modding Tools, this weekend RDR2 modder @jedijosh920 (Web site / Twitter) shared on his YouTube Channel some demonstration videos of...
Action-RPG Oninaki Joins New PlayStation 4 Games Next Week
Next week Tokyo RPG Factory's latest action-RPG Oninaki hits PlayStation 4 on August 22nd casting you as a Watcher, tasked with helping usher the souls of the departed into their next life. šŸ—¼...
Electric Purple, Red Camouflage, Titanium Blue & Rose Gold DS4 Controllers!
Earlier this year we saw an Alpine Green DualShock 4 PS4 Controller, and now Sony announced their latest batch of DualShock 4 PS4 Controllers will include Electric Purple, Red Camouflage, Titanium...
Iconit: PS4 Tool to Change PlayStation 4 Game Icons by OfficialAhmed
Following his PS4HEN Trophy Calculator release, developer OfficialAhmed shared Iconit v1.00 on Twitter today, which allows jailbroken console owners with PS4 HEN to change PlayStation 4 game icons...
Top