# ape-xcv/nika-read-only architecture

> Architecture diagram of the GitHub repository ape-xcv/nika-read-only, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-04). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/ape-xcv/nika-read-only
- Repository: https://github.com/ape-xcv/nika-read-only

## Overview

Nika Read Only is a QEMU/KVM-based setup whose README describes running a Windows VM alongside a Linux host for Apex Legends, with an in-game overlay and related features. The tree also contains host configuration utilities, a game-data dumper, and a QEMU RTL8125 device implementation. The principal runtime feature implementation is not sampled; capability links below reflect README documentation, not inspected call paths.

Main entry points: [`nika`](https://github.com/ape-xcv/nika-read-only/blob/main/nika) (Nika features), [`SMBIOS.py`](https://github.com/ape-xcv/nika-read-only/blob/main/SMBIOS.py) (SMBIOS sanitizing), [`r5dumper/Main.cpp`](https://github.com/ape-xcv/nika-read-only/blob/main/r5dumper/Main.cpp) (Game data dumper), [`rtl8125.c`](https://github.com/ape-xcv/nika-read-only/blob/main/rtl8125.c) (RTL8125 emulation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["VM and game runtime"]
  node_qemu["QEMU/KVM"]
  node_rtl8125["RTL8125 emulation<br/>[rtl8125.c]"]
  node_windows["Windows VM"]
  node_apex["Apex Legends"]
  node_nika["Nika features"]
  node_overlay["Overlay ESP"]
  node_aimbot["Aim and triggers"]
  node_radar["Radar and spectators"]
  node_item_controls["Item controls"]
end

subgraph group_host["Host configuration"]
  node_vm_patches["VM patching<br/>[qemupatch.sh]"]
  node_display_setup["Display setup<br/>[headless.sh]"]
  node_smbios["SMBIOS sanitizing<br/>[SMBIOS.py]"]
  node_smbios_file["SMBIOS output"]
end

subgraph group_tools["Support utilities"]
  node_dumper["Game data dumper<br/>[Main.cpp]"]
  node_offsets["Offsets configuration<br/>[offsets.ini]"]
end

node_linux(("Linux host"))

node_linux -->|"runs"| node_qemu
node_qemu -->|"hosts"| node_windows
node_windows -->|"runs"| node_apex
node_qemu -.->|"emulates"| node_rtl8125
node_nika -->|"includes"| node_overlay
node_nika -->|"includes"| node_aimbot
node_nika -->|"includes"| node_radar
node_nika -->|"includes"| node_item_controls
node_linux -->|"configures"| node_vm_patches
node_linux -->|"configures"| node_display_setup
node_linux -.->|"runs"| node_smbios
node_smbios -->|"writes"| node_smbios_file
node_dumper -.->|"updates"| node_offsets

click node_rtl8125 "https://github.com/ape-xcv/nika-read-only/blob/main/rtl8125.c"
click node_nika "https://github.com/ape-xcv/nika-read-only/blob/main/nika"
click node_overlay "https://github.com/ape-xcv/nika-read-only/blob/main/nika"
click node_aimbot "https://github.com/ape-xcv/nika-read-only/blob/main/nika"
click node_radar "https://github.com/ape-xcv/nika-read-only/blob/main/nika"
click node_item_controls "https://github.com/ape-xcv/nika-read-only/blob/main/nika"
click node_vm_patches "https://github.com/ape-xcv/nika-read-only/blob/main/qemupatch.sh"
click node_display_setup "https://github.com/ape-xcv/nika-read-only/blob/main/headless.sh"
click node_smbios "https://github.com/ape-xcv/nika-read-only/blob/main/SMBIOS.py"
click node_dumper "https://github.com/ape-xcv/nika-read-only/blob/main/r5dumper/Main.cpp"
click node_offsets "https://github.com/ape-xcv/nika-read-only/blob/main/offsets.ini"

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_qemu,node_rtl8125,node_windows,node_apex,node_nika,node_overlay,node_aimbot,node_radar,node_item_controls toneBlue
class node_vm_patches,node_display_setup,node_smbios,node_smbios_file toneAmber
class node_dumper,node_offsets toneMint
class node_linux toneIndigo
```

## Components

### VM and game runtime

- **QEMU/KVM**
- [RTL8125 emulation](https://github.com/ape-xcv/nika-read-only/blob/main/rtl8125.c): `rtl8125.c`
- **Windows VM**
- **Apex Legends**
- [Nika features](https://github.com/ape-xcv/nika-read-only/blob/main/nika): `nika`
- [Overlay ESP](https://github.com/ape-xcv/nika-read-only/blob/main/nika): `nika`
- [Aim and triggers](https://github.com/ape-xcv/nika-read-only/blob/main/nika): `nika`
- [Radar and spectators](https://github.com/ape-xcv/nika-read-only/blob/main/nika): `nika`
- [Item controls](https://github.com/ape-xcv/nika-read-only/blob/main/nika): `nika`

### Host configuration

- [VM patching](https://github.com/ape-xcv/nika-read-only/blob/main/qemupatch.sh): `qemupatch.sh`
- [Display setup](https://github.com/ape-xcv/nika-read-only/blob/main/headless.sh): `headless.sh`
- [SMBIOS sanitizing](https://github.com/ape-xcv/nika-read-only/blob/main/SMBIOS.py): `SMBIOS.py`
- **SMBIOS output**

### Support utilities

- [Game data dumper](https://github.com/ape-xcv/nika-read-only/blob/main/r5dumper/Main.cpp): `r5dumper/Main.cpp`
- [Offsets configuration](https://github.com/ape-xcv/nika-read-only/blob/main/offsets.ini): `offsets.ini`

### Other components

- **Linux host**

## Connections

- Linux host → QEMU/KVM: runs (evidence: `README.md`)
- QEMU/KVM → Windows VM: hosts (evidence: `README.md`)
- Windows VM → Apex Legends: runs (evidence: `README.md`)
- QEMU/KVM → RTL8125 emulation: emulates (evidence: `rtl8125.c`)
- Nika features → Overlay ESP: includes (evidence: `README.md`)
- Nika features → Aim and triggers: includes (evidence: `README.md`)
- Nika features → Radar and spectators: includes (evidence: `README.md`)
- Nika features → Item controls: includes (evidence: `README.md`)
- Linux host → VM patching: configures (evidence: `README.md`)
- Linux host → Display setup: configures (evidence: `README.md`)
- Linux host → SMBIOS sanitizing: runs
- SMBIOS sanitizing → SMBIOS output: writes (evidence: `SMBIOS.py`)
- Game data dumper → Offsets configuration: updates (evidence: `README.md`)
