How yume-hatsuyuki/dt_tools works
DT_Tools is a BepInEx/HarmonyX enhancement plugin for Deadly Trick, with optional browser-based administration. The central user workflow is to open the local web console, use its interface to manage settings, commands, automation and other tools, and observe logs or game-state results. In-game patches and automation are separate runtime capabilities. The graph preserves README-level capabilities and sampled wiring; several API and UI internals were not excerpted, so their detailed links are omitted or marked unverified.
Main entry points: Engine.cs Feature engine · WebConsole.cs Console coordinator · Router.cs Request router · App.vue Web application
Components 24
Plugin runtime
- Plugin entry
DT_Tools/Plugin.cs - Feature engine
DT_Tools/Core/Engine/Engine.cs - Feature loader
DT_Tools/Core/Engine/FeatureLoader.cs - Configuration
DT_Tools/Core/Config/ConfigService.cs - Game commands
DT_Tools/Commands - Logging
DT_Tools/Log.cs - Command session
DT_Tools/Core/Log/CommandSession.cs
Web console
- Console coordinator
DT_Tools/WebConsole/WebConsole.cs - HTTP server
DT_Tools/WebConsole/HttpServer.cs - Request router
DT_Tools/WebConsole/Router.cs - Authentication
DT_Tools/WebConsole/Auth.cs - Console APIs
DT_Tools/WebConsole/Api - Log WebSocket
DT_Tools/WebConsole/WsServer.cs - Static files
DT_Tools/WebConsole/StaticFiles.cs
Browser interface
- Web application
webui-src/src/App.vue - Desktop shell
webui-src/src/desktop/Desktop.vue - Browser API client
webui-src/src/api.js - Command input
webui-src/src/apps/console/useCommandInput.js
Automation
- Automation host
DT_Tools/Automation/Host.cs - Automation modules
DT_Tools/Automation
Game capabilities
- Gameplay patches
DT_Tools/Patches - Stage music
DT_Tools/Patches/Fun/StageMusic/Player.cs - Client packets
DT_Tools/Game/ClientPackets.cs
Other components
- Plugin user
Connections 21
- Plugin user → Web application: opens console
README.md - Plugin entry → Feature engine: loads features
- Feature engine → Feature loader: discovers features
DT_Tools/Core/Engine/Engine.cs - Feature engine → Configuration: binds configuration
DT_Tools/Core/Engine/Engine.cs - Feature engine → Automation modules: ticks modules
DT_Tools/Core/Engine/Engine.cs - Feature engine → Gameplay patches: discovers features
DT_Tools/Patches/System/SupplyShelfRefill/Patch.StorageGuarantee.cs - Automation host → Feature engine: ticks modules
DT_Tools/Automation/Host.cs - Logging → Command session: reads session
DT_Tools/Log.cs - Console coordinator → HTTP server: starts server
DT_Tools/WebConsole/WebConsole.cs - Console coordinator → Request router: configures routes
DT_Tools/WebConsole/WebConsole.cs - Console coordinator → Authentication: creates authenticator
DT_Tools/WebConsole/WebConsole.cs - Console coordinator → Console APIs: registers APIs
DT_Tools/WebConsole/WebConsole.cs - Console coordinator → Log WebSocket: uses log stream
DT_Tools/WebConsole/WebConsole.cs - HTTP server → Request router: dispatches requests
DT_Tools/WebConsole/HttpServer.cs - Request router → Authentication: checks access
DT_Tools/WebConsole/Router.cs - Request router → Static files: serves assets
DT_Tools/WebConsole/Router.cs - Console APIs → Logging: streams log entries
DT_Tools/WebConsole/Api/LogStreamApi.cs - Web application → Desktop shell: renders shell
webui-src/src/App.vue - Command input → Browser API client: sends commands
webui-src/src/apps/console/useCommandInput.js - Web application → Console APIs: calls console endpoints
README.md - Stage music → Client packets: uses packet support