Skip to content

bl-sdk/PythonSDK

master
Switch branches/tags
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 

UnrealEngine PythonSDK

Support Discord Developer Discord

An UnrealEngine Plugin enabling using Python to write plugins that interact directly with UE objects

List of compatible games

  • Borderlands 2
  • Borderlands: The Pre-Sequel
  • Tiny Tina’s Assault on Dragon Keep: A Wonderlands One-shot Adventure

For installation instructions, see the project site.

Linux (SteamPlay/Proton and Wine)

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. Additionally, the latest SDK release (as of February 29, 2020) wants the main executable name to be Borderlands2.exe, so the common workaround of a Launcher.exe symlink/copy won't do the trick. Instead, set the game's launch options (via Properties -> General) to:

WINEDLLOVERRIDES="ddraw=n,b" bash -c 'exec "${@/Launcher.exe/Borderlands2.exe}"' -- %command%

Or, for TPS:

WINEDLLOVERRIDES="ddraw=n,b" bash -c 'exec "${@/Launcher.exe/BorderlandsPreSequel.exe}"' -- %command%

Note that using WINEDLLOVERRIDES for ddraw isn't supported by the Wine developers, so if you experience problems with the game while using this method, please don't ask the WineHQ team for assistance.