This is the main page for the PythonSDK Mod Database.
The PythonSDK is an Unreal Engine plugin allowing you to write plugins in Python to interact directly with UE objects.
This opens up many new avenues for modding, from simply allowing modifying dynamically generated objects to letting modders run arbitrary game functions whenever they please.
Currently it supports:
If you’re a video guide type person, apple1417 made a video guide:
But if you’re more of a text guide style person:
PythonSDK.zip. It should contain a single
Locate your game’s files.
In Steam, this can be done by right-clicking on the game in your library, selecting “Properties,” then in the “Local Files” section, clicking “Browse”:
The default locations are:
C:\Program Files (x86)\Steam\steamapps\common\<game>
C:\Program Files\Epic Games\<game>
Binaries folder from
PythonSDK.zip exactly as it is over your game folder, so it merges with the one there.
PythonSDK.zip. The release notes will tell you which ones.
PythonSDK does not yet work natively on Linux, but it seems to work well under SteamPlay/Proton and Wine. To load properly, though, Wine needs to be told to allow
ddraw.dll overrides. Simply set the game’s launch options (via
Properties -> General) to:
Additionally, the latest SDK releases want the main executable name to be
Borderlands2.exe (or one of the other games as relevant), so doing a symlink/copy for
Launcher.exe won’t work. If you want or need to bypass the launcher you can add
-NoLauncher to the launch options after
WINEDLLOVERRIDES="ddraw=n,b" %command% -NoLauncher -NoStartupMovies
Installing mods is even simpler than installing the SDK itself.
In order to install SDK mods, all you need to do is:
O to open the Mods folder.
__init__.py file. Depending on the mod, there might be other files too, in the mod folder, but the
__init__.py should always be there.
Requirements header. Follow the exact same steps to install these.
Description section of the mod page to make sure that you’ve installed the mod properly!
If you need further help, join the Borderlands Modding Support Discord to read through FAQs or ask your own questions.