reClausewitz 2.0Resilient Core & Extender for HOI4
Zero-AOB Clausewitz GUI scripting, sandboxed Lua 5.4 runtime, and live DX11 shader overrides with hot reload.
Zero-AOB Clausewitz GUI scripting, sandboxed Lua 5.4 runtime, and live DX11 shader overrides with hot reload.
| Subsystem | Implementation | Runtime Limits & Notes |
|---|---|---|
| Memory & Hooks | RTTI, XREF, Zydis x64, PE .pdata | Zero PatternScan signatures; SEH-protected reads |
| GUI Scripting | PdxParser AST + 250 ms WM_TIMER sync | enabled, visible, override_vanilla, dirty, click modifiers |
| Lua Runtime | Sandboxed Lua 5.4.9 + preprocessor | 64 MB memory cap, instruction/timeout watchdog, hoi4.* bridge |
| DX11 Pipeline | Present / ResizeBuffers / PS & VS hooks | HLSL via D3DCompile, cbuffer b12, F11 ImGui DockSpace overlay |
Bind Paradox triggers, effects, and Lua callbacks to existing buttons, icons, and textboxes without editing vanilla interface files directly.
Write fast math, scope chains, array batch reads, and localized string formatting with built-in syntax sugar and strict sandboxing.
Replace vanilla pixel or vertex shaders by FNV-1a DXBC hash, inspect reflection in-game via F11, and drive uniforms from Lua via b12.
Automatically resolves enabled mods from Paradox Launcher dlc_load.json and supports manual overrides via load_order.txt.