# nodix-tech/dlss-5-manager architecture

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

- Interactive diagram: https://gitdiagram.com/nodix-tech/dlss-5-manager
- Repository: https://github.com/nodix-tech/dlss-5-manager

## Overview

The README presents DLSS 5 Manager as a Windows mod manager and one-click installer for DLSS 5, ReShade, OptiScaler, and Live Flow, with locally stored metadata, layouts, and configuration backups. The available tree and source excerpts are limited to ScreenNative, especially a frame-feeding host for 32-bit games; they do not expose the manager UI, installer, or storage implementation. The graph therefore distinguishes documented product capabilities from the evidenced native rendering path and omits uncertain wiring.

Main entry points: [`ScreenNative/screen_worker.cpp`](https://github.com/nodix-tech/dlss-5-manager/blob/main/ScreenNative/screen_worker.cpp) (64-bit screen host), [`ScreenNative/src/feed_ipc.h`](https://github.com/nodix-tech/dlss-5-manager/blob/main/ScreenNative/src/feed_ipc.h) (32-bit game add-on), [`ScreenNative/flow_shader.h`](https://github.com/nodix-tech/dlss-5-manager/blob/main/ScreenNative/flow_shader.h) (Motion and HUD analysis), [`ScreenNative/dll_trust.h`](https://github.com/nodix-tech/dlss-5-manager/blob/main/ScreenNative/dll_trust.h) (Runtime trust gate)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_manager["Manager capabilities"]
  node_manager_app["DLSS 5 Manager"]
  node_mod_installer["Mod installer"]
  node_mod_targets["DLSS 5 · ReShade · OptiScaler · Live Flow"]
  node_local_data[("Local metadata, layouts, backups")]
end

subgraph group_feed["Frame feeding"]
  node_game_addon["32-bit game add-on<br/>[feed_ipc.h]"]
  node_feed_protocol["Feed IPC protocol<br/>[feed_ipc.h]"]
  node_screen_host["64-bit screen host<br/>[screen_worker.cpp]"]
  node_game_frames["Game frames and shared textures<br/>[feed_ipc.h]"]
end

subgraph group_render["Native rendering"]
  node_ngx["NVIDIA NGX evaluation<br/>[screen_worker.cpp]"]
  node_dll_gate["Runtime trust gate<br/>[dll_trust.h]"]
  node_flow_shader["Motion and HUD analysis<br/>[flow_shader.h]"]
  node_optical_flow["NVIDIA Optical Flow API"]
  node_wgc["Windows Graphics Capture<br/>[screen_worker.cpp]"]
  node_spout["Spout texture sharing<br/>[SpoutDX.h]"]
end

node_user(("Manager user"))
node_nvidia_runtime["NVIDIA runtime"]

node_user -->|"uses"| node_manager_app
node_manager_app -->|"offers"| node_mod_installer
node_mod_installer -->|"installs"| node_mod_targets
node_manager_app -->|"stores locally"| node_local_data
node_game_addon -->|"sends messages"| node_feed_protocol
node_screen_host -->|"handles messages"| node_feed_protocol
node_game_addon -->|"shares frames"| node_game_frames
node_game_frames -->|"feeds frames"| node_screen_host
node_screen_host -->|"evaluates frames"| node_ngx
node_screen_host -->|"checks runtime"| node_dll_gate
node_ngx -.->|"calls"| node_nvidia_runtime
node_screen_host -->|"captures windows"| node_wgc
node_flow_shader -.->|"uses API definitions"| node_optical_flow
node_screen_host -.->|"integration unclear"| node_spout

click node_game_addon "https://github.com/nodix-tech/dlss-5-manager/blob/main/ScreenNative/src/feed_ipc.h"
click node_feed_protocol "https://github.com/nodix-tech/dlss-5-manager/blob/main/ScreenNative/src/feed_ipc.h"
click node_screen_host "https://github.com/nodix-tech/dlss-5-manager/blob/main/ScreenNative/screen_worker.cpp"
click node_game_frames "https://github.com/nodix-tech/dlss-5-manager/blob/main/ScreenNative/src/feed_ipc.h"
click node_ngx "https://github.com/nodix-tech/dlss-5-manager/blob/main/ScreenNative/screen_worker.cpp"
click node_dll_gate "https://github.com/nodix-tech/dlss-5-manager/blob/main/ScreenNative/dll_trust.h"
click node_flow_shader "https://github.com/nodix-tech/dlss-5-manager/blob/main/ScreenNative/flow_shader.h"
click node_optical_flow "https://github.com/nodix-tech/dlss-5-manager/blob/main/ScreenNative/include/nvofa/nvOpticalFlowD3D12.h"
click node_wgc "https://github.com/nodix-tech/dlss-5-manager/blob/main/ScreenNative/screen_worker.cpp"
click node_spout "https://github.com/nodix-tech/dlss-5-manager/blob/main/ScreenNative/include/spout/SpoutDX.h"

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_manager_app,node_mod_installer,node_mod_targets,node_local_data,node_user toneBlue
class node_game_addon,node_feed_protocol,node_screen_host,node_game_frames toneAmber
class node_ngx,node_dll_gate,node_flow_shader,node_optical_flow,node_wgc,node_spout toneMint
class node_nvidia_runtime toneIndigo
```

## Components

### Manager capabilities

- **DLSS 5 Manager**
- **Mod installer**
- **DLSS 5 · ReShade · OptiScaler · Live Flow**
- **Local metadata, layouts, backups**

### Frame feeding

- [32-bit game add-on](https://github.com/nodix-tech/dlss-5-manager/blob/main/ScreenNative/src/feed_ipc.h): `ScreenNative/src/feed_ipc.h`
- [Feed IPC protocol](https://github.com/nodix-tech/dlss-5-manager/blob/main/ScreenNative/src/feed_ipc.h): `ScreenNative/src/feed_ipc.h`
- [64-bit screen host](https://github.com/nodix-tech/dlss-5-manager/blob/main/ScreenNative/screen_worker.cpp): `ScreenNative/screen_worker.cpp`
- [Game frames and shared textures](https://github.com/nodix-tech/dlss-5-manager/blob/main/ScreenNative/src/feed_ipc.h): `ScreenNative/src/feed_ipc.h`

### Native rendering

- [NVIDIA NGX evaluation](https://github.com/nodix-tech/dlss-5-manager/blob/main/ScreenNative/screen_worker.cpp): `ScreenNative/screen_worker.cpp`
- [Runtime trust gate](https://github.com/nodix-tech/dlss-5-manager/blob/main/ScreenNative/dll_trust.h): `ScreenNative/dll_trust.h`
- [Motion and HUD analysis](https://github.com/nodix-tech/dlss-5-manager/blob/main/ScreenNative/flow_shader.h): `ScreenNative/flow_shader.h`
- [NVIDIA Optical Flow API](https://github.com/nodix-tech/dlss-5-manager/blob/main/ScreenNative/include/nvofa/nvOpticalFlowD3D12.h): `ScreenNative/include/nvofa/nvOpticalFlowD3D12.h`
- [Windows Graphics Capture](https://github.com/nodix-tech/dlss-5-manager/blob/main/ScreenNative/screen_worker.cpp): `ScreenNative/screen_worker.cpp`
- [Spout texture sharing](https://github.com/nodix-tech/dlss-5-manager/blob/main/ScreenNative/include/spout/SpoutDX.h): `ScreenNative/include/spout/SpoutDX.h`

### Other components

- **Manager user**
- **NVIDIA runtime**

## Connections

- Manager user → DLSS 5 Manager: uses
- DLSS 5 Manager → Mod installer: offers
- Mod installer → DLSS 5 · ReShade · OptiScaler · Live Flow: installs
- DLSS 5 Manager → Local metadata, layouts, backups: stores locally
- 32-bit game add-on → Feed IPC protocol: sends messages
- 64-bit screen host → Feed IPC protocol: handles messages
- 32-bit game add-on → Game frames and shared textures: shares frames
- Game frames and shared textures → 64-bit screen host: feeds frames
- 64-bit screen host → NVIDIA NGX evaluation: evaluates frames
- 64-bit screen host → Runtime trust gate: checks runtime
- NVIDIA NGX evaluation → NVIDIA runtime: calls
- 64-bit screen host → Windows Graphics Capture: captures windows
- Motion and HUD analysis → NVIDIA Optical Flow API: uses API definitions
- 64-bit screen host → Spout texture sharing: integration unclear
