
- HOW DO I ADD SCRIPTS TO BLT PAYDAY 2 INSTALL
- HOW DO I ADD SCRIPTS TO BLT PAYDAY 2 MOD
- HOW DO I ADD SCRIPTS TO BLT PAYDAY 2 MANUAL
- HOW DO I ADD SCRIPTS TO BLT PAYDAY 2 MODS
HOW DO I ADD SCRIPTS TO BLT PAYDAY 2 MODS
Many mods rely on this to save and load files. The first thing here is the SystemFS API. The Linux version of PAYDAY is also missing a couple of key Lua APIs that are commonly used

The first set of these are in the vm table, and are functions copied from Lua 5.1 Lua APIīLT4L contains some additional Lua functions not present in windows PAYDAY. Prepending BLT_CRASH=CONTINUE to the game launch arguments in Steam. In thatĬase, set the BLT_CRASH environment variable to CONTINUE. In some situations, it might be useful to continue the game running despite the errors. Generate a error.txt file (found in mods/logs) containing the backtrace. $ sudo semodule -i my-payday-hook.pp Lua & Developer Information Errorsīy default, any Lua error (outside of a pcall block) will immediately crash the game, and Run Payday2 with libblt_loader.so (It will crash, and SELinux will log the error) $ sudo ausearch -c 'payday2_release' -raw | audit2allow -M my-payday2-hook

In order to add an SELinux exception for the BLT Hook, you must do the following: Fedora users):īecause our hook writes to executable sections of payday2, SELinux doesn't like us (and it shouldn't).
HOW DO I ADD SCRIPTS TO BLT PAYDAY 2 MOD
If you set everyting up correctly, you should be up and running with the BLT mod API in PAYDAY 2. There is a symlink to the BLT LUA mod base (from the BLT4WIN submodule) under lua/mods. Next, you will need to copy a LUA mod base to your PAYDAY 2 folder (or whatever working directory you intend to run PAYDAY 2 in). You will need to set LD_PRELOAD for the PAYDAY2 process to find the You should find the hook in your build folder, named libblt_loader.so.
HOW DO I ADD SCRIPTS TO BLT PAYDAY 2 INSTALL
Note: If you opted to not install the extra prerequisites for custom asset-loading, then you can remove the variable -DUSE_LIBCXX=1 from the cmake command. If you would like to compile BLT4L with custom asset-loading functionailty, which allows you to use certain custom masks and certain Custom HUDS, then you also require these extra prerequisites: a build tool chain (most distros have one preinstalled, or available in a build-essentials package).curl4-openssl (gnutls is NOT supported).openssl (libssl-dev on some ubuntu systems - 18.04 in particular).
HOW DO I ADD SCRIPTS TO BLT PAYDAY 2 MANUAL
Building & Manual Install In order to build BLT4L, you will need: Tab, or if you want to debug or modify BLT4L, you can build it manually. You can also find prebuilt copies under the releases Works with or without the Steam runtime, and will automatically install the base Lua if it's not present. This package uses the new launcher script, If you're on Arch Linux (or a derivative like Manjaro), you can install the AUR packageīlt4l. It can help you install missing dependecies. This will work best on Debian, or a Debian derivative, such as SteamOS, as The quickest way is to clone this repository, and run install.sh. You can install BLT4L in a few different ways.

Presents the same API, and uses the same LUA base.īLT4L is presently not maintained, much of the work and research that was done to get BLT4L working has gone in to SuperBLT which can run all of your BLT mods (and more!). BLT4L is a part clean-room, part-line-by-line rewrite of BLT, the PAYDAYĢ Better Lua injecTor, for Linux.
