Skip to content

Repository files navigation

PS PKG Server

A simple HTTP server for self hosting PS4 & PS5 packages. Pulls metadata out of each package for easy content identification regardless of file name. Transparently serves split packages as one contiguous pkg. Identifies fpkg updates not married to the base game. Supports pushing directly to consoles running MangoScango/ps5-ezremote-dpi or similar services.

See docker-compose.yml for Docker deployment. To run on bare metal:

set PKG_DIRS=D:\PS4\pkgs
py -m pip install -r requirements.txt
py -m uvicorn app:app --host 0.0.0.0 --port 8000

Then open http://localhost:8000.

Variable Purpose Default
PKG_LIBRARY Host path to your PKG library (mounted read-only at /pkgs) ./pkgs
PKG_DIRS Colon-separated dirs to scan inside the container /pkgs
SCAN_WORKERS Parallel parse workers 8
PUBLIC_HOST Force the host:port the console downloads from auto-detect
  • Icons and other runtime data persist in ./data (mounted at /data).
  • Add more libraries by adding :ro volumes in docker-compose.yml and listing them all in PKG_DIRS (e.g. /pkgs:/pkgs2).

Special Thanks

OpenOrbis/LibOrbisPkg for PS4 Pkg Format Reference

hippie68/msum for PS4 Update Pkg Marriage Checksum

SvenGDK/LibProsperoPKG for PS5 Pkg Format Reference

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages