mirror of
https://github.com/itsPLK/ps5-payload-manager.git
synced 2026-10-19 02:19:53 -05:00
1.1 KiB
1.1 KiB
Development
This document describes how to build and deploy the Payload Manager.
How to Build
1. Build the Frontend
You must build the React UI first. This converts the JSX into the dist/index.html file that gets embedded.
make frontend-build
2. Build the SDK Docker Image
If you haven't already, build the SDK environment:
docker build -t ps5-payload-sdk -f Dockerfile.sdk .
3. Build the ELF
Use the Docker container to compile the Payload Manager. It is recommended to run make clean if you updated the frontend.
docker run --rm -v $(pwd):/src -w /src ps5-payload-sdk make clean all
The resulting pldmgr.elf will be created in the root directory.
Automated Deploy
For a quick build & deploy cycle, use the deploy.sh script. It will automatically call /shutdown on the PS5, run the docker build, and send the new ELF via socat.
./deploy.sh [PS5_IP]
(Requires PS5 IP as the first argument).
Manual Deploy
- Upload
pldmgr.elfto your PS5 (e.g., via port 9021). - The menu will be available at
http://[PS5_IP]:8084.