How anomalynte/anomaly works
Anomaly is a Windows game-process plugin platform. The user selects a game directory in the launcher to install the proxy/runtime, starts the game, and manages plugins through an in-game UI; plugins can be installed or updated from configured repositories. Runtime layers provide plugin lifecycle and SDK services, adapt validated UE5/NTE features, and support diagnostics and recovery. README documents these capabilities; sampled source offers only partial implementation evidence, so uncertain internal call wiring is omitted.
Main entry points: plugin_manager.cpp Plugin Manager · runtime_session.cpp Runtime Session · plugin_runtime.cpp Plugin Runtime · main.cpp Launcher
Components 22
Launch and Updates
- Launcher
apps/launcher/main.cpp - Proxy Installation
src/launcher/proxy_installation.cpp - Update Transaction
src/repository/update_transaction.cpp - Plugin Repository
src/repository/repository_coordinator.cpp
Runtime and UI
- Runtime Core
src/runtime/core_main.cpp - Runtime Session
src/runtime/runtime_session.cpp - In-game UI
src/ui/embedded_ui.cpp - Host UI Services
src/ui/host_ui_service.cpp
Plugin Platform
- Plugin Manager
src/plugin/plugin_manager.cpp - Plugin Catalog
src/plugin/plugin_catalog.cpp - Plugin Runtime
src/plugin/plugin_runtime.cpp - C ABI SDK
include/anomaly/sdk/anomaly_sdk.h - Plugin Watchers
src/plugin/plugin_file_watcher.cpp
Game Integration
- Hook Manager
src/hook/hook_manager.cpp - UE5 Adapter
src/game/ue5/ue5_nte_adapter.cpp - Build Profile
src/game/ue5/build_profile.cpp - NTE Services
src/game/nte/nte_profile_runtime.cpp
Diagnostics
- Diagnostics
src/diagnostics/analyzer.cpp - Crash Recovery
src/diagnostics/runtime_crash_coordinator.cpp - Reliable Storage
src/services/reliable_storage.cpp
Other components
- User
- Game Process
Connections 20
- User → Launcher: selects game
- Launcher → Proxy Installation: installs proxy
- Launcher → Update Transaction: requests update
- Plugin Repository → Update Transaction: supplies artifacts
- Game Process → Runtime Core: loads runtime
- Runtime Core → Runtime Session: starts session
- Runtime Session → In-game UI: hosts interface
- In-game UI → Host UI Services: uses services
- In-game UI → Plugin Manager: manages plugins
- Plugin Manager → Plugin Catalog: discovers packages
- Plugin Manager → Plugin Runtime: loads and isolates
- Plugin Manager → Plugin Watchers: watches changes
- Plugin Runtime → C ABI SDK: exposes ABI
- Plugin Runtime → Hook Manager: registers hooks
- Plugin Runtime → UE5 Adapter: uses game services
- UE5 Adapter → Build Profile: validates layout
- UE5 Adapter → NTE Services: adapts features
- Runtime Session → Diagnostics: reports state
- Runtime Session → Crash Recovery: coordinates faults
- Plugin Manager → Reliable Storage: persists state