# lavavex/rpcs3-ps5 architecture

> Architecture diagram of the GitHub repository lavavex/rpcs3-ps5, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/lavavex/rpcs3-ps5
- Repository: https://github.com/lavavex/rpcs3-ps5

## Overview

This repository packages a PS5 port of RPCS3: its documented workflow builds pinned dependencies and the emulator, links a PS5 title, deploys it, then runs RPCS3 on-console. The runtime path covers game and firmware input, the Big Picture frontend, and PS5 graphics, audio, and controller integrations. Source excerpts were unavailable, so relationships below rely on README statements; the emulator internals are represented only at the documented subsystem level.

Main entry points: [`tools/bootstrap.sh`](https://github.com/lavavex/rpcs3-ps5/blob/main/tools/bootstrap.sh) (Bootstrap), [`src/rpcs3`](https://github.com/lavavex/rpcs3-ps5/tree/main/src/rpcs3) (RPCS3 title), [`tools/build-rpcs3.sh`](https://github.com/lavavex/rpcs3-ps5/blob/main/tools/build-rpcs3.sh) (RPCS3 build), [`tools/link-title.sh`](https://github.com/lavavex/rpcs3-ps5/blob/main/tools/link-title.sh) (Title linking)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_build["Build and title"]
  node_bootstrap["Bootstrap<br/>[bootstrap.sh]"]
  node_dependencies["Pinned sources<br/>[fetch-deps.sh]"]
  node_sdk["Payload SDK<br/>[install-sdk.sh]"]
  node_driver["Vulkan driver chain"]
  node_llvm["PS5 LLVM<br/>[build-llvm.sh]"]
  node_libraries["Support libraries<br/>[build-ffmpeg.sh]"]
  node_config["Game config database"]
  node_rpcs3build["RPCS3 build<br/>[build-rpcs3.sh]"]
  node_link["Title linking<br/>[link-title.sh]"]
  node_metadata["Title metadata<br/>[param.json]"]
end

subgraph group_install["Deployment"]
  node_deploy["Title deployment<br/>[deploy.sh]"]
  node_ftp(("FTP server"))
  node_shadowmount(("ShadowMount+"))
end

subgraph group_runtime["Console runtime"]
  node_emulator["RPCS3 title"]
  node_frontend["Big Picture Mode"]
  node_games[("Game library")]
  node_firmware["PS3 firmware"]
  node_settings[("Settings and caches")]
end

subgraph group_platform["PS5 services"]
  node_vulkan["PS5 Vulkan"]
  node_audio["SceAudioOut"]
  node_controller["ScePad"]
end

node_developer(("Builder"))
node_player(("Console user"))

node_developer -->|"runs"| node_bootstrap
node_bootstrap -->|"runs first"| node_dependencies
node_bootstrap -->|"runs"| node_sdk
node_bootstrap -->|"runs"| node_driver
node_bootstrap -->|"runs"| node_llvm
node_bootstrap -->|"runs"| node_libraries
node_bootstrap -->|"runs"| node_config
node_bootstrap -->|"runs last"| node_rpcs3build
node_rpcs3build -.->|"builds title for"| node_link
node_link -.->|"links title metadata"| node_metadata
node_developer -->|"runs"| node_deploy
node_deploy -->|"uploads via"| node_ftp
node_shadowmount -->|"registers title"| node_emulator
node_player -->|"browses games"| node_frontend
node_frontend -->|"fronts"| node_emulator
node_emulator -->|"reads"| node_games
node_emulator -->|"installs on launch"| node_firmware
node_emulator -->|"stores"| node_settings
node_emulator -->|"renders through"| node_vulkan
node_emulator -->|"plays audio through"| node_audio
node_emulator -->|"reads input through"| node_controller

click node_bootstrap "https://github.com/lavavex/rpcs3-ps5/blob/main/tools/bootstrap.sh"
click node_dependencies "https://github.com/lavavex/rpcs3-ps5/blob/main/tools/fetch-deps.sh"
click node_sdk "https://github.com/lavavex/rpcs3-ps5/blob/main/tools/install-sdk.sh"
click node_driver "https://github.com/lavavex/rpcs3-ps5/blob/main/tools/build-driver-chain.sh"
click node_llvm "https://github.com/lavavex/rpcs3-ps5/blob/main/tools/build-llvm.sh"
click node_libraries "https://github.com/lavavex/rpcs3-ps5/blob/main/tools/build-ffmpeg.sh"
click node_config "https://github.com/lavavex/rpcs3-ps5/blob/main/tools/update-config-database.sh"
click node_rpcs3build "https://github.com/lavavex/rpcs3-ps5/blob/main/tools/build-rpcs3.sh"
click node_link "https://github.com/lavavex/rpcs3-ps5/blob/main/tools/link-title.sh"
click node_metadata "https://github.com/lavavex/rpcs3-ps5/blob/main/title/sce_sys/param.json"
click node_deploy "https://github.com/lavavex/rpcs3-ps5/blob/main/tools/deploy.sh"
click node_emulator "https://github.com/lavavex/rpcs3-ps5/tree/main/src/rpcs3"
click node_frontend "https://github.com/lavavex/rpcs3-ps5/tree/main/src/rpcs3"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_bootstrap,node_dependencies,node_sdk,node_driver,node_llvm,node_libraries,node_config,node_rpcs3build,node_link,node_metadata,node_player toneBlue
class node_deploy,node_ftp,node_shadowmount toneAmber
class node_emulator,node_frontend,node_games,node_firmware,node_settings toneMint
class node_vulkan,node_audio,node_controller toneRose
class node_developer toneIndigo
```

## Components

### Build and title

- [Bootstrap](https://github.com/lavavex/rpcs3-ps5/blob/main/tools/bootstrap.sh): `tools/bootstrap.sh`
- [Pinned sources](https://github.com/lavavex/rpcs3-ps5/blob/main/tools/fetch-deps.sh): `tools/fetch-deps.sh`
- [Payload SDK](https://github.com/lavavex/rpcs3-ps5/blob/main/tools/install-sdk.sh): `tools/install-sdk.sh`
- [Vulkan driver chain](https://github.com/lavavex/rpcs3-ps5/blob/main/tools/build-driver-chain.sh): `tools/build-driver-chain.sh`
- [PS5 LLVM](https://github.com/lavavex/rpcs3-ps5/blob/main/tools/build-llvm.sh): `tools/build-llvm.sh`
- [Support libraries](https://github.com/lavavex/rpcs3-ps5/blob/main/tools/build-ffmpeg.sh): `tools/build-ffmpeg.sh`
- [Game config database](https://github.com/lavavex/rpcs3-ps5/blob/main/tools/update-config-database.sh): `tools/update-config-database.sh`
- [RPCS3 build](https://github.com/lavavex/rpcs3-ps5/blob/main/tools/build-rpcs3.sh): `tools/build-rpcs3.sh`
- [Title linking](https://github.com/lavavex/rpcs3-ps5/blob/main/tools/link-title.sh): `tools/link-title.sh`
- [Title metadata](https://github.com/lavavex/rpcs3-ps5/blob/main/title/sce_sys/param.json): `title/sce_sys/param.json`

### Deployment

- [Title deployment](https://github.com/lavavex/rpcs3-ps5/blob/main/tools/deploy.sh): `tools/deploy.sh`
- **FTP server**
- **ShadowMount+**

### Console runtime

- [RPCS3 title](https://github.com/lavavex/rpcs3-ps5/tree/main/src/rpcs3): `src/rpcs3`
- [Big Picture Mode](https://github.com/lavavex/rpcs3-ps5/tree/main/src/rpcs3): `src/rpcs3`
- **Game library**
- **PS3 firmware**
- **Settings and caches**

### PS5 services

- **PS5 Vulkan**
- **SceAudioOut**
- **ScePad**

### Other components

- **Builder**
- **Console user**

## Connections

- Builder → Bootstrap: runs (evidence: `README.md`)
- Bootstrap → Pinned sources: runs first (evidence: `README.md`)
- Bootstrap → Payload SDK: runs (evidence: `README.md`)
- Bootstrap → Vulkan driver chain: runs (evidence: `README.md`)
- Bootstrap → PS5 LLVM: runs (evidence: `README.md`)
- Bootstrap → Support libraries: runs (evidence: `README.md`)
- Bootstrap → Game config database: runs (evidence: `README.md`)
- Bootstrap → RPCS3 build: runs last (evidence: `README.md`)
- RPCS3 build → Title linking: builds title for
- Title linking → Title metadata: links title metadata
- Builder → Title deployment: runs (evidence: `README.md`)
- Title deployment → FTP server: uploads via (evidence: `README.md`)
- ShadowMount+ → RPCS3 title: registers title (evidence: `README.md`)
- Console user → Big Picture Mode: browses games (evidence: `README.md`)
- Big Picture Mode → RPCS3 title: fronts (evidence: `README.md`)
- RPCS3 title → Game library: reads (evidence: `README.md`)
- RPCS3 title → PS3 firmware: installs on launch (evidence: `README.md`)
- RPCS3 title → Settings and caches: stores (evidence: `README.md`)
- RPCS3 title → PS5 Vulkan: renders through (evidence: `README.md`)
- RPCS3 title → SceAudioOut: plays audio through (evidence: `README.md`)
- RPCS3 title → ScePad: reads input through (evidence: `README.md`)
