Diesel Lua Debugger
DieselLuaDebugger
Mod that adds LRDB (Lua Remote DeBugger) support to release versions
of the Diesel Game Engine (PAYDAY: The Heist, PAYDAY 2, RAID: World War II)
Currently only works with RAID World War II
This mod is still very experimental.
And is intended for mod developers
Features
- Lua Remote DeBugger
- Pause the game's lua at any time to inspect/modify variables in what is running
- idstring resolving*
- Loads base game lua from raw text files*
- Decompiles lua automatically for use with debugging
- Supports RAID-BLT
*Hashlist must be provided
Command Line Arguments
The following command line arguments can be passed to raid_win64_release.exe
--console
: enable a debug console, very useful--wait-for-lua-debugger
: make the game pause until a lua debugger is connected--force-lua-decompilation
: force all lua to be re-decompiled--stop-lua-updates
: disable lua decompilation
Usage
- Install the mod using the instructions below
- Use Visual Studio Code (with a folder open in either the game's install directory or
{install_dir}/lua
) to connect to the game- The game destroys it's lua instance whenever a level is loaded, so you will need to reconnect your debugger when that happens
Installing
- Install Visual Studio Code
- Install the following extensions: https://marketplace.visualstudio.com/items?itemName=satoren.lrdb, https://marketplace.visualstudio.com/items?itemName=beamng.lrdb-beamng
- Place
VERSION.dll
andDieselLuaDebugger.dll
in your RAID install folder - Place a hashlist file named
hashlist.txt
orhashlist
in the game's install folder
Uninstalling
- Delete
VERSION.dll
,DieselLuaDebugger.dll
and the{install_dir}/lua
folder
Source Code: https://github.com/HW12Dev/DieselLuaDebugger
Comments