diff --git a/README.md b/README.md index 3ca578c..480df73 100644 --- a/README.md +++ b/README.md @@ -79,11 +79,13 @@ brew install llvm # clang 21 OO_PS4_TOOLCHAIN=~/PS4Toolchain/OpenOrbis/PS4Toolchain \ LLD=/Users/mac/lldbuild/build/bin/ld.lld \ ./scripts/build.sh -# -> build/orbisrpc.elf, build/orbisrpc.fself, build/orbisrpc.bin +# -> build/orbisrpc.elf (raw payload), build/orbisrpc.fself, build/orbisrpc-eboot.bin ``` -The runtime artifact is `build/orbisrpc.fself` (GoldHEN payload) or -`build/orbisrpc.bin` (PKG route). No toolchain = no build. +The GoldHEN payload to deploy is the **raw ELF**, `build/orbisrpc.elf`, +uploaded as `orbisrpc.bin` (the `orbisrpc.fself`/`orbisrpc-eboot.bin` outputs +are for the PKG/fself route, not GoldHEN's auto-payload loader). No toolchain += no build. --- @@ -91,9 +93,9 @@ The runtime artifact is `build/orbisrpc.fself` (GoldHEN payload) or 1. Build `orbisrpc.pkg` (or grab the `.elf` payload) on any Mac/computer. 2. Transfer to the PS4 over FTP, or on a USB stick. -3. **Daemon route (recommended):** put `orbisrpc.fself` in - `/data/GoldHEN/payloads/` — it auto-loads on every boot and runs in the - background while you game. (GoldHEN 2.2.) +3. **Daemon route (recommended):** put `orbisrpc.elf` in + `/data/GoldHEN/payloads/` (named `orbisrpc.bin`) — it auto-loads on every + boot and runs in the background while you game. (GoldHEN 2.2.) 4. Or install `orbisrpc.pkg` like any homebrew app if you prefer a foreground launcher (note: it suspends once a game opens, so the daemon route is what powers presence-during-play). diff --git a/deploy/SETUP.md b/deploy/SETUP.md index bf77115..a0adb2b 100644 --- a/deploy/SETUP.md +++ b/deploy/SETUP.md @@ -4,10 +4,12 @@ Target: GoldHEN 2.2 jailbroken PS4 (FW 9.00), daemon route. ## 1. Copy the payload to the console -Via FTP (the console must be awake and online): +Via FTP (the console must be awake and online). GoldHEN's `/data/GoldHEN/payloads/` +auto-loader takes a **raw ELF** payload named `.bin`, so deploy `orbisrpc.elf` +(the real ELF — `build/orbisrpc.bin` is the fself tool's eboot output, not this): ``` -put build/orbisrpc.fself -> /data/GoldHEN/payloads/orbisrpc.fself +put build/orbisrpc.elf -> /data/GoldHEN/payloads/orbisrpc.bin ``` GoldHEN auto-loads payloads from `/data/GoldHEN/payloads/` at boot and keeps diff --git a/scripts/build.sh b/scripts/build.sh index 26d3169..25a2b3d 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -28,7 +28,8 @@ echo "ELF -> $OUT/orbisrpc.elf" MODE="${1:-all}" if [ "$MODE" = "fself" ] || [ "$MODE" = "all" ]; then "$SDK/bin/macos/create-fself-macos" -in="$OUT/orbisrpc.elf" \ - -out="$OUT/orbisrpc.fself" --eboot "$OUT/orbisrpc.bin" --paid 0x3800000000000011 + -out="$OUT/orbisrpc.fself" --eboot "$OUT/orbisrpc-eboot.bin" --paid 0x3800000000000011 echo "FSELF -> $OUT/orbisrpc.fself" + echo " (GoldHEN payload to deploy is $OUT/orbisrpc.elf -> /data/GoldHEN/payloads/orbisrpc.bin)" fi echo "done." \ No newline at end of file