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).