How futurelesswindchan/opensteamtool-kazefork works
OpenSteamTool is a Windows Steam-unlock DLL. The user configures Lua rules and TOML settings; the DLL loads into Steam, watches and reloads configuration, then hooks Steam client/UI behavior to apply unlock, manifest, ticket, stats, family-sharing, and online-fix features. Game-process pipe handshakes separately resolve the target process before applying Denuvo authorization and optional library injection. The graph combines shown calls and README-documented capabilities; some hook internals and integrations are unsampled, so their relationships are documented rather than inferred from names.
Main entry points: dllmain.cpp DLL bootstrap · PipeManager.cpp Pipe handshake · LuaConfig.cpp Lua rules · Hooks_NetPacket.cpp Steam hooks
Components 24
Runtime startup
- DLL bootstrap
src/dllmain.cpp
Configuration
- Lua rules
src/Utils/Config/LuaConfig.cpp - TOML config
src/Utils/Config/Config.cpp - Lua hot reload
src/Utils/Config/LuaFileWatcher.cpp - Config watcher
src/Utils/Config/ConfigFileWatcher.cpp
Steam integration
- Hook dispatch
src/Hook/HookManager.cpp - Steam hooks
src/Hook/Hooks_NetPacket.cpp - IPC metadata
src/Utils/SteamMetadata/IPCLoader.cpp - Pattern loader
src/Utils/SteamMetadata/PatternLoader.cpp - Cloud redirect
src/Utils/CloudRedirect/CloudRedirectHost.cpp
Game process features
- Pipe handshake
src/Pipe/PipeManager.cpp - Process inspection
src/Pipe/ProcessInspector.cpp - Denuvo authorization
src/Pipe/Features/DenuvoAuth/DenuvoAuth.cpp - Protection scan
src/Pipe/Features/DenuvoAuth/ProtectionScan.cpp - Library injection
src/Pipe/Features/Injection/Injection.cpp - Ticket handling
src/Utils/Tickets/AppTicket.cpp
Metadata services
- Manifest resolver
src/Utils/SteamMetadata/ManifestClient.cpp - Manifest providers
- Stats lookup
src/Utils/SteamMetadata/StatsClient.cpp - Stats service
Other components
- Steam user
- Steam runtime
- Steam client libraries
- Game process
Connections 31
- Steam user → Lua rules: defines rules
README.md - Steam user → TOML config: sets options
README.md - DLL bootstrap → Steam client libraries: loads libraries
src/dllmain.cpp - DLL bootstrap → TOML config: loads config
src/dllmain.cpp - DLL bootstrap → Lua rules: parses directories
src/dllmain.cpp - DLL bootstrap → Lua hot reload: starts watcher
src/dllmain.cpp - DLL bootstrap → Config watcher: starts watcher
src/dllmain.cpp - DLL bootstrap → Hook dispatch: installs hooks
src/dllmain.cpp - DLL bootstrap → Pattern loader: loads patterns
src/dllmain.cpp - DLL bootstrap → IPC metadata: loads metadata
src/dllmain.cpp - DLL bootstrap → Cloud redirect: initializes optionally
src/dllmain.cpp - Hook dispatch → Steam hooks: installs hooks
src/Hook/HookManager.cpp - Steam hooks → Steam runtime: intercepts Steam behavior
README.md - Lua hot reload → Lua rules: reloads scripts
README.md - Config watcher → TOML config: reloads settings
README.md - Manifest resolver → Lua rules: tries Lua handlers
src/Utils/SteamMetadata/ManifestClient.cpp - Manifest resolver → Manifest providers: requests codes
src/Utils/SteamMetadata/ManifestClient.cpp - Manifest resolver → TOML config: reads timeouts
src/Utils/SteamMetadata/ManifestClient.cpp - Stats lookup → Stats service: fetches SteamID
src/Utils/SteamMetadata/StatsClient.cpp - Steam hooks → Manifest resolver: resolves manifests
README.md - Steam hooks → Stats lookup: enables achievement data
README.md - Steam runtime → Pipe handshake: signals handshake
- Pipe handshake → Process inspection: resolves process
src/Pipe/PipeManager.cpp - Pipe handshake → Lua rules: checks app rules
src/Pipe/PipeManager.cpp - Pipe handshake → Denuvo authorization: applies authorization
src/Pipe/PipeManager.cpp - Pipe handshake → Library injection: applies injection
src/Pipe/PipeManager.cpp - Denuvo authorization → Protection scan: uses scan
src/Pipe/Features/DenuvoAuth/DenuvoAuth.cpp - Denuvo authorization → Ticket handling: reads ticket data
src/Pipe/Features/DenuvoAuth/DenuvoAuth.cpp - Library injection → Game process: injects library
README.md - Denuvo authorization → Game process: authorizes game
README.md - Cloud redirect → Steam client libraries: redirects cloud saves
README.md