# richardmo-lab301/borderlands-4-save-editor architecture

> Architecture diagram of the GitHub repository richardmo-lab301/borderlands-4-save-editor, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/richardmo-lab301/borderlands-4-save-editor
- Repository: https://github.com/richardmo-lab301/borderlands-4-save-editor

## Overview

The README presents a Windows Borderlands utility suite with overlay, filtering, telemetry, input smoothing, configuration, and emergency-unload capabilities. The sampled implementation is much smaller: a polling loop handles INSERT/END hotkeys, while the header defines runtime defaults. The feature branches below are documented capabilities, not verified implementations; their relationships are shown as unverified. The excerpts do not establish a save-editing, profile-decryption, or key-management workflow.

Main entry points: [`config/settings.json`](https://github.com/richardmo-lab301/borderlands-4-save-editor/blob/main/config/settings.json) (JSON settings), [`src/borderlands_4_save_editor_core.cpp`](https://github.com/richardmo-lab301/borderlands-4-save-editor/blob/main/src/borderlands_4_save_editor_core.cpp) (Hotkey polling), [`README.md`](https://github.com/richardmo-lab301/borderlands-4-save-editor/blob/main/README.md) (Viewport overlay)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Runtime"]
  node_loop["Runtime loop"]
  node_hotkeys["Hotkey polling"]
  node_defaults["Runtime defaults"]
end

subgraph group_configuration["Configuration"]
  node_settings["JSON settings<br/>[settings.json]"]
end

subgraph group_features["Documented features"]
  node_overlay["Viewport overlay<br/>[README.md]"]
  node_filter["Entity and loot filter<br/>[README.md]"]
  node_smoothing["Input smoothing<br/>[README.md]"]
  node_hud["Telemetry HUD<br/>[README.md]"]
  node_radar["Item radar<br/>[README.md]"]
  node_unload["Emergency unload<br/>[README.md]"]
end

node_user(("User"))

node_user -->|"presses keys"| node_hotkeys
node_loop -->|"polls"| node_hotkeys
node_loop -->|"repeats"| node_loop
node_settings -.->|"configures"| node_overlay
node_settings -.->|"configures"| node_filter
node_settings -.->|"configures"| node_smoothing
node_settings -.->|"configures"| node_hud
node_settings -.->|"configures"| node_radar
node_hotkeys -.->|"toggles"| node_overlay
node_hotkeys -.->|"triggers"| node_unload

click node_loop "https://github.com/richardmo-lab301/borderlands-4-save-editor/blob/main/src/borderlands_4_save_editor_core.cpp"
click node_hotkeys "https://github.com/richardmo-lab301/borderlands-4-save-editor/blob/main/src/borderlands_4_save_editor_core.cpp"
click node_defaults "https://github.com/richardmo-lab301/borderlands-4-save-editor/blob/main/include/borderlands_4_save_editor_runtime.hpp"
click node_settings "https://github.com/richardmo-lab301/borderlands-4-save-editor/blob/main/config/settings.json"
click node_overlay "https://github.com/richardmo-lab301/borderlands-4-save-editor/blob/main/README.md"
click node_filter "https://github.com/richardmo-lab301/borderlands-4-save-editor/blob/main/README.md"
click node_smoothing "https://github.com/richardmo-lab301/borderlands-4-save-editor/blob/main/README.md"
click node_hud "https://github.com/richardmo-lab301/borderlands-4-save-editor/blob/main/README.md"
click node_radar "https://github.com/richardmo-lab301/borderlands-4-save-editor/blob/main/README.md"
click node_unload "https://github.com/richardmo-lab301/borderlands-4-save-editor/blob/main/README.md"

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_loop,node_hotkeys,node_defaults,node_user toneBlue
class node_settings toneAmber
class node_overlay,node_filter,node_smoothing,node_hud,node_radar,node_unload toneMint
```

## Components

### Runtime

- [Runtime loop](https://github.com/richardmo-lab301/borderlands-4-save-editor/blob/main/src/borderlands_4_save_editor_core.cpp): `src/borderlands_4_save_editor_core.cpp`
- [Hotkey polling](https://github.com/richardmo-lab301/borderlands-4-save-editor/blob/main/src/borderlands_4_save_editor_core.cpp): `src/borderlands_4_save_editor_core.cpp`
- [Runtime defaults](https://github.com/richardmo-lab301/borderlands-4-save-editor/blob/main/include/borderlands_4_save_editor_runtime.hpp): `include/borderlands_4_save_editor_runtime.hpp`

### Configuration

- [JSON settings](https://github.com/richardmo-lab301/borderlands-4-save-editor/blob/main/config/settings.json): `config/settings.json`

### Documented features

- [Viewport overlay](https://github.com/richardmo-lab301/borderlands-4-save-editor/blob/main/README.md): `README.md`
- [Entity and loot filter](https://github.com/richardmo-lab301/borderlands-4-save-editor/blob/main/README.md): `README.md`
- [Input smoothing](https://github.com/richardmo-lab301/borderlands-4-save-editor/blob/main/README.md): `README.md`
- [Telemetry HUD](https://github.com/richardmo-lab301/borderlands-4-save-editor/blob/main/README.md): `README.md`
- [Item radar](https://github.com/richardmo-lab301/borderlands-4-save-editor/blob/main/README.md): `README.md`
- [Emergency unload](https://github.com/richardmo-lab301/borderlands-4-save-editor/blob/main/README.md): `README.md`

### Other components

- **User**

## Connections

- User → Hotkey polling: presses keys (evidence: `src/borderlands_4_save_editor_core.cpp`)
- Runtime loop → Hotkey polling: polls (evidence: `src/borderlands_4_save_editor_core.cpp`)
- Runtime loop → Runtime loop: repeats (evidence: `src/borderlands_4_save_editor_core.cpp`)
- JSON settings → Viewport overlay: configures (evidence: `README.md`)
- JSON settings → Entity and loot filter: configures (evidence: `README.md`)
- JSON settings → Input smoothing: configures (evidence: `README.md`)
- JSON settings → Telemetry HUD: configures (evidence: `README.md`)
- JSON settings → Item radar: configures (evidence: `README.md`)
- Hotkey polling → Viewport overlay: toggles (evidence: `README.md`)
- Hotkey polling → Emergency unload: triggers (evidence: `README.md`)
