NOTE: DO NOT use the Flatpak version of Steam. It causes dependancy issues. I repeat, DO NOT use Flatpak.
For all five of us that play on the Linux Native port, here are some compiled binaries (and some other stuff) that'll save you the hassle for compiling it yourself. This was compiled on Mint (for Debian folks), Manjaro (for Arch users), and Fedora 37 (for Fedora users). The Steam Deck, due to Valves' insistence on using Flatpak, is not supported (Flatpak uses sandboxing, and system files are not easily accessible from it).
This download gathers togethers the latest patches from the Loader Gitlab page and the Lua Gitlab Page into one easily accessible download. This was orginally hosted via Google Drive, and could be found on a steam guide I created.
What This Includes:
- A Readme -- I urge you to read it.
- The Loader.
- The Lua Base Mod and "Linux IO Compat V2"
- Prerequisite search scripts that lets you find any pre-requisites needed to make it work. This saves me hassle, and frankly, I dunno how I didn't think of this sooner. HOW TO USE: Drag the file into terminal, press ENTER, input your password when prompted, press ENTER again, and accept all downloads it asks for by pressing ENTER again.
You will now have mod support!
NOTE:
As of right now, the game will crash when using later versions of Mesa built around LLVM 14 onward (Not a SuperBLT issue, but it's worth mentioning here); which rules out any up-to-date distro (even those using stock Mesa on Ubuntu). On Debian distro's, using custom PPA's that upgrades Mesa (Kisak, Mesaarc, Oibaf etc.) will also cause issues, and were the first to break due to being compiled against later LLVM versions.
The current solution is to enable Zink, an OpenGL -> Vulkan conversion layer built into Mesa, as the graphics backend instead of OpenGL:
env __GLX_VENDOR_LIBRARY_NAME=mesa MESA_LOADER_DRIVER_OVERRIDE=zink GALLIUM_DRIVER=zink LD_PRELOAD="$LD_PRELOAD ./libsuperblt_loader.so" %command%
This also allows you to continue using up-to-date Mesa, as well as letting you use the Native Linux port. Note that there may be some performance issues on certain heists (weird spiking in GG Casino's vault, but that's not exactly the poster child for PD2 heist performance anyway).



Hello. My game keeps crashing at random times of the match, and the crash log is always signaling SuperBLT is the one at fault, even though I've tried every single thing, using the command, deleting blt_data.txt... It just refuses to stop crashing. Here's my crash log:
06:24:49 PM FATAL ERROR: (/home/dribbleondo/payday2-superblt/platforms/linux/src/log.cpp:27) Fatal Error, Aborting: Segmentation fault!
Obtained 29 C++ stack frames:
0x7fb548722127 libsuperblt_loader.so : blt::error::handler(int)+0x87
0x7fb547abaab0 libc.so.6 : +0x39ab0
payday2_release() [0x5e8f55]
payday2_release() [0x5cc95f]
payday2_release() [0x5cd8b9]
payday2_release() [0x5ce636]
payday2_release() [0x5ce57f]
payday2_release() [0x5d9396]
payday2_release() [0x5e3877]
payday2_release() [0x5e459e]
payday2_release() [0x5e4606]
payday2_release() [0x5e5bbe]
payday2_release() [0x89e8f1]
payday2_release() [0x8c6655]
payday2_release() [0xf6b2b0]
payday2_release() [0x563aa4]
payday2_release() [0x8b6b28]
payday2_release() [0x897657]
payday2_release() [0x8afa89]
payday2_release() [0x994415]
0x7fb5486be59d libsuperblt_loader.so : blt::dt_Application_update(void*)+0x65
payday2_release() [0x9935ef]
payday2_release() [0xa4f63c]
payday2_release() [0xa505a5]
payday2_release() [0xa4f2b4]
0x7fb547aa4850 libc.so.6 : +0x23850
0x7fb547aa490a libc.so.6 : __libc_start_main+0x8a
payday2_release() [0x4213f4]
06:24:49 PM FATAL ERROR: (/home/dribbleondo/payday2-superblt/platforms/linux/src/log.cpp:27) Thread Lua state:
06:24:49 PM FATAL ERROR: (/home/dribbleondo/payday2-superblt/platforms/linux/src/log.cpp:27) stack traceback:
06:24:49 PM FATAL ERROR: (/home/dribbleondo/payday2-superblt/platforms/linux/src/log.cpp:27) [C]: in function 'play_redirect'
06:24:49 PM FATAL ERROR: (/home/dribbleondo/payday2-superblt/platforms/linux/src/log.cpp:27) [string "lib/units/cameras/fpcameraplayerbase.lua"]:1313: in function 'play_redirect'
06:24:49 PM FATAL ERROR: (/home/dribbleondo/payday2-superblt/platforms/linux/src/log.cpp:27) [string "lib/units/beings/player/playercamera.lua"]:137: in function 'play_redirect'
06:24:49 PM FATAL ERROR: (/home/dribbleondo/payday2-superblt/platforms/linux/src/log.cpp:27) [string "lib/units/beings/player/states/playerstandard..."]:5391: in function '_start_action_reload_enter'
06:24:49 PM FATAL ERROR: (/home/dribbleondo/payday2-superblt/platforms/linux/src/log.cpp:27) [string "lib/units/beings/player/states/playerstandard..."]:3342: in function '_check_action_reload'
06:24:49 PM FATAL ERROR: (/home/dribbleondo/payday2-superblt/platforms/linux/src/log.cpp:27) [string "lib/units/beings/player/states/playerstandard..."]:1009: in function '_update_check_actions'
06:24:49 PM FATAL ERROR: (/home/dribbleondo/payday2-superblt/platforms/linux/src/log.cpp:27) [string "lib/units/beings/player/states/playerstandard..."]:446: in function 'update'
06:24:49 PM FATAL ERROR: (/home/dribbleondo/payday2-superblt/platforms/linux/src/log.cpp:27) [string "lib/units/beings/player/playermovement.lua"]:279: in function 'original'
06:24:49 PM FATAL ERROR: (/home/dribbleondo/payday2-superblt/platforms/linux/src/log.cpp:27) mods/base/req/core/Hooks.lua:262: in function <mods/base/req/core/Hooks.lua:249>
What mods do you have installed, as SuperBLT by itself cannot (or rather, shouldn't be able to) cause this sort of crashing.
@Dribbleondo-Van-Pelt Let's see...
In mod_overrides:
PAYDAY Legacy Crimewave Intro (https://modworkshop.net/mod/30013)
Weapon Reload Animation Pack (https://modworkshop.net/mod/40408)
New Falcon Animation (https://modworkshop.net/mod/42096)
CoD Inspired Flashbang (https://modworkshop.net/mod/37417)
Stop Painting my Stuff (https://modworkshop.net/mod/36338)
In mods:
Project Cell (https://modworkshop.net/mod/36923)
Restoration HUD (https://modworkshop.net/mod/28118)
WolfHUD Damage Popups Standalone: (https://modworkshop.net/mod/28610)
Tekken Menu Tracks: (https://modworkshop.net/mod/34944)
So I discovered what it was. It seems animation mods crash the game, since when I reloaded my sniper rifle, that caused the crash. I dunno if that can be fixed or not
@Pyro The Joe Yeah, custom animations currently don't work due to them having 64-bit headers as opposed to the 32-bit ones Windows has, and currently, nobody on the SuperBLT team
caresis working on converting them to 32-bit on the fly via SuperBLT. It can be done, so don't fret!It's basically the only large-scale incompatibility the native port has now, even custom heists works (inconsistently, but even Windows suffers from that).