Skip to content
This repository was archived by the owner on Jan 1, 2025. It is now read-only.

Commit 96b3e42

Browse files
authored
Updated Linux Launch Options (#65)
* Note about running via Proton or Wine * Wine support folk would like me to be clear about how the ddraw override thing is nonstandard and not generally encouraged * pyexec executes stuff in binaries/Win32/Mods at the moment (probably a holdover from before the filesystem changes) * New release requires one more weird Linux workaround
1 parent e6c0b73 commit 96b3e42

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ If you are asked to overwrite any files, accept. This mod replaces (and function
2121

2222
### Linux (SteamPlay/Proton and Wine)
2323

24-
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. Set the game's launch options (via `Properties -> General`) to `WINEDLLOVERRIDES="ddraw=n,b" %command%`
24+
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:
25+
26+
WINEDLLOVERRIDES="ddraw=n,b" bash -c 'exec "${@/Launcher.exe/Borderlands2.exe}"' -- %command%
2527

2628
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.
2729

0 commit comments

Comments
 (0)