Category PS4 Guides and Tutorials       Thread starter RetroGamer74       Start date May 3, 2018 at 7:08 PM       23,944       35            
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

Recent Articles
PS4 Renesas RL78 Debug Protocol Implementation by Fail0verflow
Following the PS4 SysCon Renesas Chip Image and updates by droogie, PS4 Glitch Pinout research via @juansbeck and their PS4 Aux Hax Parts 1-4 today fail0verflow shared with PlayStation 4 scene...
PS Store Big in Japan Sale Live with Deals on Over 500 PSN Titles
PS Store's latest Big in Japan flash sale features discounts on over 500 PSN titles including Kingdom Hearts All-In-One Package, NieR: Automata Game of the YoRHa Edition, Code Vein and more! šŸŽŽ šŸ—¾...
Hello Games Releases No Man's Sky Living Ship Update for PS4 / PS VR
Since the No Man's Sky initial release and No Man's Sky Beyond Update developer Hello Games released a new Living Ship Update for PS4 and PS VR gamers. :cool: Check out their latest PlayStation 4...
PlayStation Store Essential Picks PSN Sale with Savings Up to 70% Off
PlayStation fans can save up to 70% off critically acclaimed must-have games during the PS Store Essential Picks sale beginning today on select PSN titles including Star Wars Jedi: Fallen Order...
Top