PAYDAY 2
Оцінок: 101
Guide to modding on Linux with Wine/Proton
Автор: Ryhon
Guide to modding Payday 2 using SuperBLT on GNU/Linux using the wine compatibility layer
2
3
6
2
   
Нагородити
До улюбленого
В улюблених
Прибрати
Why not use the native version?
The Linux build of Payday 2 is absolute garbage. Tons of missions are impossible to complete because of Overkill's lazy porting. Most mods are made for Windows and might not work on Linux. Additionally animation replacement mods are not compatible with this version - they will crash your game as soon as the animation tries to play.

Here are some screenshots showing how broken the Linux port is:

Thanks Overkill
Enabling Steam Play (Proton) in Steam
Go to the Steam settings

Go to the Steam Play tab and enable Steam Play for supported and other titles. You will have to restart your Steam after applying changes.

After restarting your Steam right click on Payday 2 in your library and select properties

Go to the General tab and enable force use of a Steam Play compatibility tool and select Proton 4.11 or latter

Now Steam will have to re-download the game because the assets files are not the same on both of these platforms
Downloading and installing SuperBLT (or any other Lua Injector)
Go to https://superblt.znix.xyz/ and download SuperBLT for Windows
Skip this part if you are using any other Lua Injector instead.
Extract the downloaded archive and place it anywhere you'd like.

Open your Payday 2 installation folder. To do that open your Steam, right click Payday 2 in your library, go to properties, local files and browse local files.
Copy the WSOCK32.dll (or IPHLPAPI.dll if you are using something else) file you've downloaded earlier to the Payday 2 folder.
Because Wine/Proton doesn't use DLLs in the same way as Windows does you have to change some stuff.

After that you have to go up to the steamapps directory, then compatdata, 218620, and pfx.
Open user.reg with editor of your choice (I'm using gedit) and search for Software\\Wine\\DllOverrides, if you don't find anything, try Software\\\\Wine\\\\DllOverrides.
In the next line paste "wsock32"="native,builtin"
You're done! Launch your game and download the BLT base mod.
Thanks for reading!
Thanks for reading this guide. If this guide helped you or you found it interesting please leave a positive rating and add this guide to your favorites.


If you like free software and/or Linux gaming conciser staring these repositories on GitHub:
ValveSoftware/Proton [github.com]
wine-mirror/wine[github.com]
doitsujin/dxvk[github.com]
Joshua-Ashton/d9vk[github.com]
Коментарів: 54
Jeff 18 лип. 2023 о 3:57 
worked great for me! tysm
centurion 12 черв. 2023 о 0:56 
rip linux lmao
Silly Herrington 10 черв. 2023 о 4:06 
Waht's generally the best version to run it, Proton 8 and experimental crash. I know seven works, but at 30 fps at most
Ryhon  [автор] 8 черв. 2023 о 21:59 
This guide boutta blow up
cloudninjakip 27 трав. 2023 о 6:41 
This guide is useless now, payday 2 just instantly crashes no matter what
OneOfTheHomies 6 квіт. 2023 о 22:04 
I've had no real results with this. While the mods load once going into a heist the game immediately closes. Maybe I did something wrong I do not know as I followed the guide pretty thoroughly.
Fluffacorn, also Free Melee 22 берез. 2023 о 17:19 
I just wanna say that linux port IS that bad, it uses a way older version of PD2 and runs horribly. Modding it is also a pain in my rear, it's so bad that the crude awakening bundle literally doesn't work on linux. Do not get it twisted, proton is so much better
Ryhon  [автор] 24 лют. 2023 о 1:23 
wtf
Apocaxander 9 груд. 2022 о 2:27 
Thank you so much. This guide worked for me without any problems. Unfortunately, I lost all my progress in the game up until now, but I hadn't even reached Infamy 1 yet, so It's not that big a deal.
Dribbleondo-Van-Pelt 17 жовт. 2022 о 9:24 
...I have no ill will against anyone using Proton, or even anyone using this guide. But this guide lying about the Native Linux Ports' quality to make Proton look better is misleading readers, and the only accurate thing about the Linux Port he got right was custom animations being broken (which are currently being fixed).