# florinp93/hells-gate-recomp architecture

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

- Interactive diagram: https://gitdiagram.com/florinp93/hells-gate-recomp
- Repository: https://github.com/florinp93/hells-gate-recomp

## Overview

Hell’s Gate recompiles Dante’s Inferno into a native PC game, with a custom Vulkan renderer and companion launchers. The main player workflow is install/import game files, configure the game in the launcher, start the native executable, and render gameplay with overlays and graphics enhancements. Separate capabilities include DLC startup installation, language and input configuration, achievements, frame-rate controls, and shader precompilation. The graph includes documented features whose implementation was not sampled; links for those features are omitted where no shown caller establishes the connection.

Main entry points: [`src/dantes_inferno_app.h`](https://github.com/florinp93/hells-gate-recomp/blob/main/src/dantes_inferno_app.h) (Native Game App), [`src/renderer/renderer.cpp`](https://github.com/florinp93/hells-gate-recomp/blob/main/src/renderer/renderer.cpp) (Native Renderer), [`launcher/DantesInfernoLauncher/MainWindow.xaml.cs`](https://github.com/florinp93/hells-gate-recomp/blob/main/launcher/DantesInfernoLauncher/MainWindow.xaml.cs) (Windows Launcher), [`launcher/DantesInfernoInstaller/MainWindow.xaml.cs`](https://github.com/florinp93/hells-gate-recomp/blob/main/launcher/DantesInfernoInstaller/MainWindow.xaml.cs) (Windows Installer)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_setup["Install and Configure"]
  node_launcher["Windows Launcher<br/>[MainWindow.xaml.cs]"]
  node_installer["Windows Installer<br/>[MainWindow.xaml.cs]"]
  node_linuxlauncher["Linux Launcher<br/>[main_window.cpp]"]
  node_import["ISO Import<br/>[import_service.cpp]"]
  node_gameconfig["Game Settings<br/>[GameConfig.cs]"]
  node_display["Display Options<br/>[DisplayOptions.cs]"]
  node_language["Language Selection"]
  node_updater["Release Updater<br/>[GitHubUpdater.cs]"]
end

subgraph group_runtime["Game Runtime"]
  node_native["Native Game App"]
  node_recompiler["Recompiled Game"]
  node_dlc["DLC Startup Install"]
  node_input["Input Configuration"]
  node_framehooks["Frame Rate Hooks"]
  node_damagehooks["Gameplay Hooks<br/>[damage_hooks.cpp]"]
end

subgraph group_graphics["Rendering"]
  node_renderer["Native Renderer<br/>[renderer.cpp]"]
  node_vulkan["Vulkan Device<br/>[vulkan_device.cpp]"]
  node_draw["Guest Draw Translation<br/>[draw_renderer.cpp]"]
  node_textures[("Texture Cache<br/>[texture_cache.cpp]")]
  node_pipeline[("Pipeline Storage")]
  node_smaa["SMAA Pass<br/>[smaa_pass.cpp]"]
  node_glyphs["Button Glyphs<br/>[button_glyphs.cpp]"]
  node_ui["Renderer UI Overlay<br/>[ui_overlay.cpp]"]
end

subgraph group_overlays["Player Overlays"]
  node_achievement["Achievement UI<br/>[achievement_ui.cpp]"]
  node_fps["FPS Overlay<br/>[fps_overlay.cpp]"]
  node_progress["Shader Progress"]
  node_style["Overlay Styling<br/>[overlay_style.cpp]"]
end

node_player(("Player"))
node_github["GitHub Releases"]

node_player -.->|"imports ISO"| node_installer
node_installer -.->|"imports files"| node_import
node_player -.->|"configures and launches"| node_launcher
node_player -.->|"configures and launches"| node_linuxlauncher
node_launcher -->|"reads and writes"| node_gameconfig
node_launcher -->|"uses options"| node_display
node_launcher -->|"uses manifest"| node_language
node_launcher -->|"checks updates"| node_updater
node_updater -.->|"checks releases"| node_github
node_launcher -.->|"starts game"| node_native
node_native -.->|"runs game code"| node_recompiler
node_native -->|"initializes and presents"| node_renderer
node_native -->|"installs at startup"| node_dlc
node_native -->|"sets defaults"| node_input
node_renderer -->|"creates device"| node_vulkan
node_renderer -->|"translates draws"| node_draw
node_renderer -->|"uses cache"| node_textures
node_renderer -->|"records pipelines"| node_pipeline
node_renderer -->|"uses pass"| node_smaa
node_renderer -->|"draws prompts"| node_glyphs
node_renderer -->|"uses overlay"| node_ui
node_native -->|"creates toast"| node_achievement
node_native -.->|"creates overlay"| node_fps
node_native -->|"shows precompile status"| node_progress
node_achievement -->|"uses shared styling"| node_style
node_progress -->|"uses shared styling"| node_style
node_native -.->|"controls frame rate"| node_framehooks
node_native -.->|"applies gameplay hooks"| node_damagehooks

click node_launcher "https://github.com/florinp93/hells-gate-recomp/blob/main/launcher/DantesInfernoLauncher/MainWindow.xaml.cs"
click node_installer "https://github.com/florinp93/hells-gate-recomp/blob/main/launcher/DantesInfernoInstaller/MainWindow.xaml.cs"
click node_linuxlauncher "https://github.com/florinp93/hells-gate-recomp/blob/main/launcher-linux/main_window.cpp"
click node_import "https://github.com/florinp93/hells-gate-recomp/blob/main/launcher-linux/import_service.cpp"
click node_gameconfig "https://github.com/florinp93/hells-gate-recomp/blob/main/launcher/DantesInferno.Shared/GameConfig.cs"
click node_display "https://github.com/florinp93/hells-gate-recomp/blob/main/launcher/DantesInferno.Shared/DisplayOptions.cs"
click node_language "https://github.com/florinp93/hells-gate-recomp/blob/main/launcher/DantesInferno.Shared/LanguageManifest.cs"
click node_updater "https://github.com/florinp93/hells-gate-recomp/blob/main/launcher/DantesInferno.Shared/GitHubUpdater.cs"
click node_native "https://github.com/florinp93/hells-gate-recomp/blob/main/src/dantes_inferno_app.h"
click node_dlc "https://github.com/florinp93/hells-gate-recomp/blob/main/src/dantes_inferno_app.h"
click node_input "https://github.com/florinp93/hells-gate-recomp/blob/main/src/dantes_inferno_app.h"
click node_framehooks "https://github.com/florinp93/hells-gate-recomp/blob/main/src/frame_rate_hooks.cpp"
click node_damagehooks "https://github.com/florinp93/hells-gate-recomp/blob/main/src/damage_hooks.cpp"
click node_renderer "https://github.com/florinp93/hells-gate-recomp/blob/main/src/renderer/renderer.cpp"
click node_vulkan "https://github.com/florinp93/hells-gate-recomp/blob/main/src/renderer/vulkan_device.cpp"
click node_draw "https://github.com/florinp93/hells-gate-recomp/blob/main/src/renderer/draw_renderer.cpp"
click node_textures "https://github.com/florinp93/hells-gate-recomp/blob/main/src/renderer/texture_cache.cpp"
click node_pipeline "https://github.com/florinp93/hells-gate-recomp/blob/main/src/renderer/pipeline_storage.cpp"
click node_smaa "https://github.com/florinp93/hells-gate-recomp/blob/main/src/renderer/smaa_pass.cpp"
click node_glyphs "https://github.com/florinp93/hells-gate-recomp/blob/main/src/renderer/button_glyphs.cpp"
click node_ui "https://github.com/florinp93/hells-gate-recomp/blob/main/src/renderer/ui_overlay.cpp"
click node_achievement "https://github.com/florinp93/hells-gate-recomp/blob/main/src/overlay/achievement_ui.cpp"
click node_fps "https://github.com/florinp93/hells-gate-recomp/blob/main/src/overlay/fps_overlay.cpp"
click node_progress "https://github.com/florinp93/hells-gate-recomp/blob/main/src/overlay/shader_progress.cpp"
click node_style "https://github.com/florinp93/hells-gate-recomp/blob/main/src/overlay/overlay_style.cpp"

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_launcher,node_installer,node_linuxlauncher,node_import,node_gameconfig,node_display,node_language,node_updater toneBlue
class node_native,node_recompiler,node_dlc,node_input,node_framehooks,node_damagehooks toneAmber
class node_renderer,node_vulkan,node_draw,node_textures,node_pipeline,node_smaa,node_glyphs,node_ui toneMint
class node_achievement,node_fps,node_progress,node_style toneRose
class node_player,node_github toneIndigo
```

## Components

### Install and Configure

- [Windows Launcher](https://github.com/florinp93/hells-gate-recomp/blob/main/launcher/DantesInfernoLauncher/MainWindow.xaml.cs): `launcher/DantesInfernoLauncher/MainWindow.xaml.cs`
- [Windows Installer](https://github.com/florinp93/hells-gate-recomp/blob/main/launcher/DantesInfernoInstaller/MainWindow.xaml.cs): `launcher/DantesInfernoInstaller/MainWindow.xaml.cs`
- [Linux Launcher](https://github.com/florinp93/hells-gate-recomp/blob/main/launcher-linux/main_window.cpp): `launcher-linux/main_window.cpp`
- [ISO Import](https://github.com/florinp93/hells-gate-recomp/blob/main/launcher-linux/import_service.cpp): `launcher-linux/import_service.cpp`
- [Game Settings](https://github.com/florinp93/hells-gate-recomp/blob/main/launcher/DantesInferno.Shared/GameConfig.cs): `launcher/DantesInferno.Shared/GameConfig.cs`
- [Display Options](https://github.com/florinp93/hells-gate-recomp/blob/main/launcher/DantesInferno.Shared/DisplayOptions.cs): `launcher/DantesInferno.Shared/DisplayOptions.cs`
- [Language Selection](https://github.com/florinp93/hells-gate-recomp/blob/main/launcher/DantesInferno.Shared/LanguageManifest.cs): `launcher/DantesInferno.Shared/LanguageManifest.cs`
- [Release Updater](https://github.com/florinp93/hells-gate-recomp/blob/main/launcher/DantesInferno.Shared/GitHubUpdater.cs): `launcher/DantesInferno.Shared/GitHubUpdater.cs`

### Game Runtime

- [Native Game App](https://github.com/florinp93/hells-gate-recomp/blob/main/src/dantes_inferno_app.h): `src/dantes_inferno_app.h`
- **Recompiled Game**
- [DLC Startup Install](https://github.com/florinp93/hells-gate-recomp/blob/main/src/dantes_inferno_app.h): `src/dantes_inferno_app.h`
- [Input Configuration](https://github.com/florinp93/hells-gate-recomp/blob/main/src/dantes_inferno_app.h): `src/dantes_inferno_app.h`
- [Frame Rate Hooks](https://github.com/florinp93/hells-gate-recomp/blob/main/src/frame_rate_hooks.cpp): `src/frame_rate_hooks.cpp`
- [Gameplay Hooks](https://github.com/florinp93/hells-gate-recomp/blob/main/src/damage_hooks.cpp): `src/damage_hooks.cpp`

### Rendering

- [Native Renderer](https://github.com/florinp93/hells-gate-recomp/blob/main/src/renderer/renderer.cpp): `src/renderer/renderer.cpp`
- [Vulkan Device](https://github.com/florinp93/hells-gate-recomp/blob/main/src/renderer/vulkan_device.cpp): `src/renderer/vulkan_device.cpp`
- [Guest Draw Translation](https://github.com/florinp93/hells-gate-recomp/blob/main/src/renderer/draw_renderer.cpp): `src/renderer/draw_renderer.cpp`
- [Texture Cache](https://github.com/florinp93/hells-gate-recomp/blob/main/src/renderer/texture_cache.cpp): `src/renderer/texture_cache.cpp`
- [Pipeline Storage](https://github.com/florinp93/hells-gate-recomp/blob/main/src/renderer/pipeline_storage.cpp): `src/renderer/pipeline_storage.cpp`
- [SMAA Pass](https://github.com/florinp93/hells-gate-recomp/blob/main/src/renderer/smaa_pass.cpp): `src/renderer/smaa_pass.cpp`
- [Button Glyphs](https://github.com/florinp93/hells-gate-recomp/blob/main/src/renderer/button_glyphs.cpp): `src/renderer/button_glyphs.cpp`
- [Renderer UI Overlay](https://github.com/florinp93/hells-gate-recomp/blob/main/src/renderer/ui_overlay.cpp): `src/renderer/ui_overlay.cpp`

### Player Overlays

- [Achievement UI](https://github.com/florinp93/hells-gate-recomp/blob/main/src/overlay/achievement_ui.cpp): `src/overlay/achievement_ui.cpp`
- [FPS Overlay](https://github.com/florinp93/hells-gate-recomp/blob/main/src/overlay/fps_overlay.cpp): `src/overlay/fps_overlay.cpp`
- [Shader Progress](https://github.com/florinp93/hells-gate-recomp/blob/main/src/overlay/shader_progress.cpp): `src/overlay/shader_progress.cpp`
- [Overlay Styling](https://github.com/florinp93/hells-gate-recomp/blob/main/src/overlay/overlay_style.cpp): `src/overlay/overlay_style.cpp`

### Other components

- **Player**
- **GitHub Releases**

## Connections

- Player → Windows Installer: imports ISO (evidence: `README.md`)
- Windows Installer → ISO Import: imports files (evidence: `README.md`)
- Player → Windows Launcher: configures and launches (evidence: `README.md`)
- Player → Linux Launcher: configures and launches (evidence: `README.md`)
- Windows Launcher → Game Settings: reads and writes (evidence: `launcher/DantesInfernoLauncher/MainWindow.xaml.cs`)
- Windows Launcher → Display Options: uses options (evidence: `launcher/DantesInfernoLauncher/MainWindow.xaml.cs`)
- Windows Launcher → Language Selection: uses manifest (evidence: `launcher/DantesInfernoLauncher/MainWindow.xaml.cs`)
- Windows Launcher → Release Updater: checks updates (evidence: `launcher/DantesInfernoLauncher/MainWindow.xaml.cs`)
- Release Updater → GitHub Releases: checks releases (evidence: `README.md`)
- Windows Launcher → Native Game App: starts game (evidence: `README.md`)
- Native Game App → Recompiled Game: runs game code (evidence: `README.md`)
- Native Game App → Native Renderer: initializes and presents (evidence: `src/dantes_inferno_app.h`)
- Native Game App → DLC Startup Install: installs at startup (evidence: `src/dantes_inferno_app.h`)
- Native Game App → Input Configuration: sets defaults (evidence: `src/dantes_inferno_app.h`)
- Native Renderer → Vulkan Device: creates device (evidence: `src/renderer/renderer.cpp`)
- Native Renderer → Guest Draw Translation: translates draws (evidence: `src/renderer/renderer.cpp`)
- Native Renderer → Texture Cache: uses cache (evidence: `src/renderer/renderer.cpp`)
- Native Renderer → Pipeline Storage: records pipelines (evidence: `src/renderer/renderer.cpp`)
- Native Renderer → SMAA Pass: uses pass (evidence: `src/renderer/renderer.cpp`)
- Native Renderer → Button Glyphs: draws prompts (evidence: `src/renderer/renderer.cpp`)
- Native Renderer → Renderer UI Overlay: uses overlay (evidence: `src/renderer/renderer.cpp`)
- Native Game App → Achievement UI: creates toast (evidence: `src/dantes_inferno_app.h`)
- Native Game App → FPS Overlay: creates overlay
- Native Game App → Shader Progress: shows precompile status (evidence: `src/dantes_inferno_app.h`)
- Achievement UI → Overlay Styling: uses shared styling (evidence: `src/overlay/achievement_ui.cpp`)
- Shader Progress → Overlay Styling: uses shared styling (evidence: `src/overlay/shader_progress.cpp`)
- Native Game App → Frame Rate Hooks: controls frame rate
- Native Game App → Gameplay Hooks: applies gameplay hooks
