Skip to content

PPSSPWPPSSPP WebAssembly Runtime in the Browser

8 MiB windowed ISO reads, OPFS persistent saves, SHA-256 chunked resume, and multi-threaded WebGL2 emulation.

Delivered Capabilities (How Far It Goes)

  • Streams local 1.5 GB+ .iso/.cso/.chd images on-demand (256 KiB slices / 8 MiB LRU / 4 concurrent reads), verifies HTTP 206 + per-block SHA-256 chunks into OPFS under Web Locks, and streams 1 MiB ZSTD savestates.
  • Provides 1x–3x 3D scaling, an 8 ms SAB SP-shim AudioWorklet, sanitized telemetry exports, and a PRO/PU1/PT1 WebSocket relay stack — explore every module and CLI flag in API & Components.

Explicit Non-Goals & Hard Boundaries

  • Zero ROMs/credentials & hidden Netplay UI (LOCAL_ONLY = true): Ships zero games or keys; default frontend sets LOCAL_ONLY = true (ppsspp-runtime.js:31), keeping tabNetwork and tabDrive hidden and inert.
  • Requires COOP/COEP & HTTPS outside localhost: Without crossOriginIsolated === true, pthreads and SAB audio rings cannot run; 1x–3x scaling enhances 3D geometry only (never 2D textures).
  • No runtime core rebuild & no HTTP admin panel: docker-compose.yml mounts prebuilt dist only (emsdk:6.0.12 needed to rebuild C++), and relay_admin.py is CLI-only with zero HTTP endpoints.

Architecture Overview ​

PPSSPW Browser WebAssembly Runtime Architecture (Archify interactive diagram; pan / zoom / inspect)
Open Fullscreen ↗

Quick Start Demo ​

bash
# 1. Start local preview server with COOP/COEP isolation headers
python3 scripts/serve-player.py --root web/player --port 8080

# 2. Run offline verification suite (manifest, deployment gates, and relay tests)
python3 -m unittest discover -s tests -p "test_*.py" -v

Documentation Guide ​

Quick Navigation by Goal