Repository navigation
LLL LuaJIT Live 1 (Steam build 26088801, Linux/Proton)
Live Lua Loader running in LuaJIT on Helldivers 2's current Steam build (26088801), as one HD2 Arsenal mod, patches only.
The boot patch carries a LuaJIT 2.1 runtime that replaces the game's Lua 5.1 VM at startup. The stock scripts, LLL and your mods then run in LuaJIT with JIT, ffi and bit. LLL runs its own LuaJIT build here, so it needs no external helper and no cffi DLL. require('cffi') is answered with an alias over LuaJIT's ffi, so mods ported to the Lua 5.1 VM keep loading.
- Linux / Proton: working. This exact boot patch was booted on Proton: "LuaJIT boot taken", handoff complete, 53–55 mods loaded. Measured against Lua 5.1, engine callbacks 14.5 vs 23.2 ms/s and mods 1.9–5.2× faster.
- Native Windows: does not work. The game refuses the runtime DLL with system error 577 (
ERROR_INVALID_IMAGE_HASH), as it refuses other custom DLLs. The package reports that and does not try to get around it; LLL then boots in Lua 5.1 as its own R35 patch does, which needs LLL's external helper.
Install: close the game, disable any other Live Lua Loader in Arsenal, import LLL-LuaJIT-Live-26088801.zip, enable "LuaJIT VM + Live Lua Loader", then Purge / Deploy. %LOCALAPPDATA%\HD2-LuaJIT-boot-result.txt shows the outcome of each start. The runtime is written once to the game's data folder as hd2_luajit_runtime_0aa7ada7ec5a86ce.dll; delete it by hand to remove everything after a purge.
Known limits: mods that need LLL's shared input service (the Steam helper provides it), such as DBF-MCM and DBF freecam, do not enable in this build. Mods ported to this build are in bingus-conversions/.
Files: LLL-LuaJIT-Live-26088801.zip (SHA-256 8ba6e21de2b3d0b35eaa39def61a27dc781503fe1ebc3a8156506eb210983e41). The runtime statically links LuaJIT (MIT) and embeds stock game bytecode needed for exact-byte translation; see LICENSES/ in the zip. No claim of a licence grant over the game's code or assets is made.