Skip to content

BenNoxXD/PS4-lua-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PS4-lua-loader

Note

This project is largely based on the automatic-lua-loader project which is the PS5's equivalent.


This is an installer script that loads the PS4 Lapse Exploit and the bin_loader from the Lua savegame automatically whenever the game is ready. You can install it natively (eg. on a Raspberry Pi) or in a Docker container. You can find the Lua exploit right here: Remote Lua Loader. Supports PS4 firmware up to version 12.02.

How it works:

  1. Your device checks if port 9026 is open to determine whether the game is ready.
  2. It sends the Lapse exploit followed by the bin_loader.
  3. (Optional) sends a Killgame Payload. All of the Lua games should be supported.
  4. It waits until the FTP server (port 2121) is closed to start the process all over again OR your server will shut down.

Important

Activate GoldHEN's FTP server so that it can track the status better.

Usage

If you are using a Raspberry Pi, it's recommended to connect it to one of the PS4's USB power ports. Now the Raspberry Pi will automatically turn on whenever your PS4 boots up.

  • Install the remote_lua_loader on your PS4 like this.
  • Download hen-vtx from EchoStretch's releases and use one of the .bin that matches your PS4 version and rename it to payload.bin
  • Copy payload.bin to the root dir of your USB drive
  • Plug the USB drive into your PS4 and run the game, it will do the exploit and copy the payload to the internal HDD (it only needs to be copied once)

Update HEN

  • Copy the new HEN and rename it to payload.bin and paste it to the USB drive's root, then run the game to update the payload on the internal HDD.

Configuration options

Required:

  1. -ps4_ip=10.0.0.2
  • Define your PS4 IP.

Optional:

  1. -killgame=on|off
  • default = off
  • When enabled: The server automatically sends a Payload to the PS4, which kills the game process.
  1. -continue=shutdown|ping
  • default = ping
  • Here you can decide what your server will do after the exploit is loaded. You can choose between shutdown and ping. When ping is selected your server will wait until the GoldHEN's FTP server isn't running anymore and then start the jailbreak process again.

Native installation

You can just copy and paste the following command into your terminal (eg., via SSH). You can also use this command to update the Lapse & bin_loader payloads. It should be compatible with all Debian-based OSs; it was tested on Ubuntu and on the Raspberry Pi OS.
Here is the command syntax, [] = optional:

./install.sh -ps4_ip=YOURPS4IP [-killgame=on|off] [-continue=shutdown|ping]

And here is an example install command:

sudo apt update
sudo apt install -y bash git wget python3
wget https://raw.githubusercontent.com/BenNoxXD/PS4-lua-loader/refs/heads/main/install.sh
sudo chmod +x install.sh
sudo ./install.sh -ps4_ip=10.0.0.2 -killgame=on -continue=ping

Uninstall:

systemctl stop ps4lualoader
systemctl disable ps4lualoader
rm /etc/systemd/system/ps4lualoader.service
rm -r /opt/PS4-lua-loader

Docker installation

Make sure you have Docker installed. You can check it like this: docker -v. Now you can download this Dockerfile:

wget https://raw.githubusercontent.com/BenNoxXD/PS4-lua-loader/refs/heads/main/Dockerfile

Then run the following commands to build the image and deploy the container.

docker build \
--build-arg ps4_ip=10.0.0.2 \
--build-arg killgame=on \
--build-arg continue=ping \
-t ps4-lua-loader .

docker run -d -t --name PS4-Lua-Loader --restart always ps4-lua-loader

Credits

Thanks to everyone involved in the scene who made all of this possible:

About

Send the Lapse exploit and the bin_loader automatically to your ps4, when the savegame exploit has finished.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors