How drappula/lumacore works
LumaCore is an injected Steam DLL that loads at startup, resolves build-specific hook signatures, and applies Steam-client hooks. Its main user-facing flow is Lua files supplied by SteaMidra: LumaCore watches and parses them, then uses the resulting depot keys and ownership data in Steam-facing hooks. Separate branches cover ticket/IPC behavior, achievements and packet rewriting, Denuvo authorization, UI/status reporting, and online-fix game-process support through LumaCorePayload. The startup and hook-install links are shown in source; several feature links rely on README descriptions because their implementations were not sampled.
Main entry points: Orchestrator.cpp Hook orchestration · entry.cpp DLL initialization · LumaCorePayloadEntry.cpp Payload entry · LuaQuery.cpp Lua file parsing
Components 26
Startup and patterns
- XInput proxy
source/proxy/LcXInputProxy.cpp - DLL initialization
source/core/entry.cpp - Pattern fetching
source/patterns/PatternFetcher.cpp - Signature scanning
source/patterns/ByteScan.cpp - Hook orchestration
source/core/Orchestrator.cpp
Lua configuration
- Lua directory watch
source/runtime/DirWatch.h - Lua file parsing
source/config/LuaQuery.cpp - Lua API bindings
source/config/LuaBindings.cpp - Lua state
source/config/LuaState.cpp
Steam hooks
- Steam ownership hooks
source/hooks/client/PackagePatch.cpp - Depot key hooks
source/hooks/client/DepotKeys.h - Decryption hooks
source/hooks/client/DecryptionKeyHook.h - IPC and tickets
source/hooks/client/IpcHandlers_ISteamUser.cpp - Packet rewriting
source/hooks/client/PacketRouter.cpp - Denuvo authorization
source/hooks/client/DenuvoAuthenticator.h - Online-fix hooks
source/hooks/client/OnlineFixInject.h - Steam UI hooks
source/hooks/ui/SteamUI.cpp
Runtime support
- Hook status reporting
source/runtime/HookStatus.cpp - Diagnostics
source/runtime/Diagnostics.h
Game payload
- Payload entry
source/payload/LumaCorePayload/LumaCorePayloadEntry.cpp - Payload deployment
source/payload/LumaCorePayload/PayloadPropagator.cpp - EOS bridge
source/payload/LumaCorePayload/EpicOnlineBridge.cpp
Other components
- SteaMidra / Lua files
- Steam client
- Game process
- Pattern mirrors
Connections 31
- SteaMidra / Lua files → XInput proxy: loads at startup
README.md - XInput proxy → DLL initialization: loads DLL
README.md - DLL initialization → Pattern fetching: loads patterns
README.md - Pattern fetching → Pattern mirrors: fetches patterns
README.md - DLL initialization → Hook orchestration: installs hooks
source/core/entry.cpp - DLL initialization → Lua directory watch: starts watcher
README.md - Lua directory watch → Lua file parsing: triggers parsing
README.md - Lua file parsing → Lua API bindings: uses API
- Lua state → Lua file parsing: supports parsing
source/config/LuaState.cpp - Lua file parsing → Steam client: injects ownership data
README.md - Hook orchestration → Depot key hooks: installs hooks
source/core/Orchestrator.cpp - Hook orchestration → Decryption hooks: installs hooks
source/core/Orchestrator.cpp - Hook orchestration → Packet rewriting: installs hooks
source/core/Orchestrator.cpp - Hook orchestration → Online-fix hooks: installs hooks
source/core/Orchestrator.cpp - Hook orchestration → Steam ownership hooks: installs hooks
source/core/Orchestrator.cpp - Hook orchestration → Denuvo authorization: installs hooks
- Hook orchestration → Steam UI hooks: unhooks UI
source/core/Orchestrator.cpp - Hook orchestration → Hook status reporting: reports hook state
- Steam ownership hooks → Steam client: patches ownership
README.md - Depot key hooks → Steam client: loads depot keys
README.md - Decryption hooks → Steam client: hooks decryption
README.md - IPC and tickets → Steam client: rewrites IPC
README.md - Packet rewriting → Steam client: rewrites packets
README.md - Denuvo authorization → Steam client: authorizes games
README.md - Online-fix hooks → Steam client: synchronizes language
README.md - Online-fix hooks → Payload entry: injects payload
README.md - Payload entry → Payload deployment: deploys payload
- Payload entry → EOS bridge: provides EOS bridge
README.md - Payload entry → Game process: runs in process
README.md - DLL initialization → Diagnostics: starts diagnostics
source/core/entry.cpp - Pattern fetching → Signature scanning: provides signatures