This is a lightweight installation manager for pkg files. It comes with a fully dynamic front-end using only jquery, jquery-ui and js-cookie (for storing tasks). NodeJS/NPM is the only component required to run the webserver.
The manager can run on a headless server (no desktop needed). Ideally this server should be have direct and fast access to pkg files!
- NodeJS
- NPM (Node Package Manager)
- PS4 Remote Package Installer
- Clone repository,
cdinto extracted directory - Install modules:
npm install - Edit
config.json(see below) - Start server:
- To start in foreground (e.g. in
screen):node index.js - To start in background:
nohup node index.js &
Edit config.json:
- pkgfolder: Full path to the folder containing your pkg files, must be accessible from server!
- myip: IP address of your server
- ps4ip: IP address of your PS4
optional:
- myport: Port of server / landing page
Remember to enable the configured port in your firewall!
With all your devices connected via Gigabit LAN (1000BASE-T) you should be able to reach transfer speeds of more than 20 MB/s. Given that, the installation of a 40GB pkg file takes around 30 mins.
To optimize transfer speed check the following points:
- Server has 'fast' access to the configured
pkgfolder, either directly or via Gigabit connection (for SMB share make sure to use SMB v3.0) - Server and PS4 are connected to eachother via Gigabit LAN (1000 Mbit/s router/switch + Cat 5e/6/7 cables)
Needed: Docker
- Edit
config.json(see "Configuration" section) - Build Docker container with:
docker build -t xna_rpkgman . - Run Docker container with:
docker run -d -v <pkgfolder>:<pkgfolder> -p <myport>:<myport> xna_rpkgman:latest
Note: <pkgfolder> and <myport> corresponds to 'pkgfolder' and 'myport' in config.json.
- 'Unable to set up prerequisites for package': Make sure that patched Kernel (e.g. unofficial Mira) is loaded, also check that the package file name does not contain any special characters!
- UI does not update: Remote Package Installer needs to be running in the foreground for UI status updates! Make sure it's not hanging: restart it by pressing and holding the PS button, close application and launching again.
Credit goes to flatz for creating the Remote Package Installer!
BTC: bc1qut876f99mqs9etd827mhgxew25t5s6drxzz2ks ETH: 0x3279f75D9656405E6189a4413e0eaE476eeEc7F8
