Jump to content
Swaqq

[RELEASE] PS4 SPRX (Creating/Loading)

Recommended Posts

Posted (edited)

Hello Everyone!

 

Today I'll be showing you guys how PRX module loading works on PS4 and how to create them!

 

First things first I wanted to make some notes about this topic.

 

As you may know if your from the PS3 scene, the SPRX compiler is absolute garbage. This is no longer an issue anymore, as everything I've tested has worked just fine!

 

    I also wanted to mention some of the issues Sabotage and I ran into while working on this project. When I first started this project, I just built an SPRX and loaded it into WebKit and it worked just fine. The next challenge was getting it to load in-game. My first thought was to use 2much4u's method of loading a payload into the game, which we did and executed the SPRX through his payload. Then we realized it wasn't working because the path didn't exist. The game couldn't find the path because we were stuck in the sandbox... So we broke out of it. Finally! We had it working! But then we realized... this is a lot of extra work, so Sabotage ported the jailbreak into ASM aswell as the rest of the code which loaded the SPRX, and we loaded it like that. The next problem we ran into was that the game kept crashing randomly. Eventually we realized that removing the game from the sandbox was creating the problem. This was because the game uses the path "/app0/", and while you're in the sandbox, the real path is "/mnt/sandbox/CUS.../app0/". By removing the process from it's sandbox, it was looking for the game in "/" which it wasn't there, and therefore crashing your game. We got around this by re-jailing the process and putting it back into the sandbox after our module was loaded.

 

 

Everything you'll need for creating and loading SPRX modules is in the zip file I've provided. This is using Sony's PS4 SDK which is not included, so get that on your own.

Currently, the app only supports COD4 1.02, but you can add support to other games on your own. There's a mini-tutorial in the PDF as-well as the tool it-self.

 

I WILL NOT be including my menu base anywhere, because it's literally just copied from my Xbox menu, however I'll release my research on the games.

 

 

VirusTotal (0/60)

Download (MediaFire)

PS4Prx.exe (Fixed)

 

Thanks and Happy Modding!

 

COD4.png

Edited by Swaqq

Share this post


Link to post
Share on other sites
18 minutes ago, Swaqq said:

Hello Everyone!

 

Today I'll be showing you guys how PRX module loading works on PS4 and how to create them!

 

First things first I wanted to make some notes about this topic.

 

As you may know if your from the PS3 scene, the SPRX compiler is absolute garbage. This is no longer an issue anymore, as everything I've tested has worked just fine!

 

    I also wanted to mention some of the issues Sabotage and I ran into while working on this project. When I first started this project, I just built an SPRX and loaded it into WebKit and it worked just fine. The next challenge was getting it to load in-game. My first thought was to use 2much4u's method of loading a payload into the game, which we did and executed the SPRX through his payload. Then we realized it wasn't working because the path didn't exist. The game couldn't find the path because we were stuck in the sandbox... So we broke out of it. Finally! We had it working! But then we realized... this is a lot of extra work, so Sabotage ported the jailbreak into ASM aswell as the rest of the code which loaded the SPRX, and we loaded it like that. The next problem we ran into was that the game kept crashing randomly. Eventually we realized that removing the game from the sandbox was creating the problem. This was because the game uses the path "/app0/", and while you're in the sandbox, the real path is "/mnt/sandbox/CUS.../app0/". By removing the process from it's sandbox, it was looking for the game in "/" which it wasn't there, and therefore crashing your game. We got around this by re-jailing the process and putting it back into the sandbox after our module was loaded.

 

 

Everything you'll need for creating and loading SPRX modules is in the zip file I've provided. This is using Sony's PS4 SDK which is not included, so get that on your own.

Currently, the app only supports COD4 1.02, but you can add support to other games on your own. There's a mini-tutorial in the PDF as-well as the tool it-self.

 

I WILL NOT be including my menu base anywhere, because it's literally just copied from my Xbox menu, however I'll release my research on the games.

 

 

VirusTotal (0/60)

Download (MediaFire)

 

Thanks and Happy Modding!

 

COD4.png

Gr8 release bloke!

Share this post


Link to post
Share on other sites
25 minutes ago, Swaqq said:

Hello Everyone!

 

Today I'll be showing you guys how PRX module loading works on PS4 and how to create them!

 

First things first I wanted to make some notes about this topic.

 

As you may know if your from the PS3 scene, the SPRX compiler is absolute garbage. This is no longer an issue anymore, as everything I've tested has worked just fine!

 

    I also wanted to mention some of the issues Sabotage and I ran into while working on this project. When I first started this project, I just built an SPRX and loaded it into WebKit and it worked just fine. The next challenge was getting it to load in-game. My first thought was to use 2much4u's method of loading a payload into the game, which we did and executed the SPRX through his payload. Then we realized it wasn't working because the path didn't exist. The game couldn't find the path because we were stuck in the sandbox... So we broke out of it. Finally! We had it working! But then we realized... this is a lot of extra work, so Sabotage ported the jailbreak into ASM aswell as the rest of the code which loaded the SPRX, and we loaded it like that. The next problem we ran into was that the game kept crashing randomly. Eventually we realized that removing the game from the sandbox was creating the problem. This was because the game uses the path "/app0/", and while you're in the sandbox, the real path is "/mnt/sandbox/CUS.../app0/". By removing the process from it's sandbox, it was looking for the game in "/" which it wasn't there, and therefore crashing your game. We got around this by re-jailing the process and putting it back into the sandbox after our module was loaded.

 

 

Everything you'll need for creating and loading SPRX modules is in the zip file I've provided. This is using Sony's PS4 SDK which is not included, so get that on your own.

Currently, the app only supports COD4 1.02, but you can add support to other games on your own. There's a mini-tutorial in the PDF as-well as the tool it-self.

 

I WILL NOT be including my menu base anywhere, because it's literally just copied from my Xbox menu, however I'll release my research on the games.

 

 

VirusTotal (0/60)

Download (MediaFire)

 

Thanks and Happy Modding!

 

COD4.png

Awesome hard work from you guys!! 🤠

Share this post


Link to post
Share on other sites

Awesome work as always man, look forward to playing around with it 😄

Share this post


Link to post
Share on other sites

I was messing around with this today and the documentation is neath. I've gotten everything to work fine but when I use flatz prx to sprx it just opens a command prompt which instantly exits not creating the new .sprx file in the process. 

Share this post


Link to post
Share on other sites
On 5/17/2018 at 2:06 PM, Algebra said:

I was messing around with this today and the documentation is neath. I've gotten everything to work fine but when I use flatz prx to sprx it just opens a command prompt which instantly exits not creating the new .sprx file in the process. 

 

On 3/24/2018 at 5:29 PM, Swaqq said:

In reply to your post

 

 

So I decided to not be lazy and figure out what the problem was. There wasn't an issue I just didn't have the correct version of Python installed when running flatz script. I installed Python version 2.7.13 and it worked along side the new updated release of Python for Windows. Thank's for the sweet write up really enjoyed reading it. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By Hydrogen
      Hello everyone,

      I was digging around the other day through GitHub and bumped into this neat programmer named Seth Clydesdale. You can click his name to view his work from GitHub. Recently, he ended up progressing on a long time project that he started a year ago and finally finished it for the community! This is called PS4 Cover Generator. This tool lets you create cover images straight from your PS4 Web Browser. You have every function to use from then once you're done, you can go ahead and screenshot it to your console. This works on any firmware that you can access the web browser.

      You can view his code here or automatically go to his website to make your own cover photo, click here. 


    • By Hydrogen
      Hello everyone,

      Today, an anonymous user has posted download links to the main native emulators Nintendo Entertainment System and SEGA Master System (Proof of Concepts). The emulators are now functional on 4.55. Today, developer Morpheus shared a Pastebin on his Twitter that an anonymous created for the community, thank you for notifying us. 

      Click here to direct to the Pastebin that contains both native emulators.

      Download: NES_EMU_V455.pkg (6.1 MB) / SEGA_EMU_V455 .pkg (6.3 MB)

      Morpheus states, "Well don't expect too much, they are far far away from perfection..." We hope to see more emulators come alive on the PS4, and wondering what will be next. What do you guys think? 
       
       
    • By Matrix
      Hello,

      Today I released by SPRX menu for PS4 Ghosts on 1.00.

      Of course, this isn't really huge news because it is just a port from old gen consoles, but it does give room to show where prx modding will be able to take us on PS4 for cod or any other game. None of this would be possible without Swaqq and Sabotage and the work they put in to get the injector working. If you are looking to make your own menu or want more info on how this works you can visit Swaqq's post here: 
       

      Anyways on to the mods, I have added the needed addresses to Swaqq's tool for injecting on Ghosts 1.00. Here is a download for the SPRX as well as the injector and the NetCat GUI tool for sending payloads to your console:
      Download

      I'm not sure about virus scans since its just an SPRX file and other public tools you can get elsewhere. If one is required just let me know and I'll post one. 

      Happy Modding, 
      Matrix

      Video Tutorial
×