Gibbed.Borderlands2 icon indicating copy to clipboard operation
Gibbed.Borderlands2 copied to clipboard

Linux? (Question)

Open therealOri opened this issue 4 years ago • 3 comments

I use linux and was wondering if there will be a version that works for linux gamers/users?

I tried to use wine but that just breaks things and doesn't work at all and leaves me to making a windows10 VM JUST to use gibbed.

If developing a version for linux as a project isn't going to happen..Do you or anyone else know of an alternative? (that either works with wine or just works with linux. (I use manjaro/arch).

(off topic) PS: I'd play BL3 but that game just feels worse than BL2 and BL1. I like feeling like a badass vaulthunter looking for loot on planets, etc. Not some side character in a bigger story that honestly feels meh. So that's why I am asking this question and why I'm back to BL2.

therealOri avatar Mar 20 '21 03:03 therealOri

Hi, I just got it working with wine. The clue is that you need to install dotnet40 into your wine prefix via winetricks.

Here's what I did to get it to run:

  1. WINEARCH=win32 WINEPREFIX=/home/YOURUSER/Downloads/bl2-gibbed/winePrefixBL2Gibbed wine /home/YOURUSER/Downloads/bl2-gibbed/Gibbed.Borderlands2.SaveEdit.exe (command perhaps not needed, I just use it to create the prefix)
  2. WINEARCH=win32 WINEPREFIX=/home/YOURUSER/Downloads/bl2-gibbed/winePrefixBL2Gibbed winetricks dotnet40
  3. WINEARCH=win32 WINEPREFIX=/home/YOURUSER/Downloads/bl2-gibbed/winePrefixBL2Gibbed wine /home/YOURUSER/Downloads/bl2-gibbed/Gibbed.Borderlands2.SaveEdit.exe

Hope this helps you. Of course you need to change the paths to your liking. I like to put the wine prefix next to the application. I would also recommend creating a symbolic link or mount to your '/steamapps/compatdata/49520/pfx/drive_c/users/steamuser/My Documents/my games/borderlands 2/willowgame/' in the Documents, so that you can access it easily.

GenocideStomper avatar Apr 15 '21 09:04 GenocideStomper

I did a quick test too and concluded that WPF seems to be the problem. At least at first glance and I did not look any deeper.

Steps to reproduce: run it with mono

mono Gibbed.Borderlands2.SaveEdit.exe 
Unhandled Exception:
System.IO.FileNotFoundException: Could not load file or assembly 'PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
File name: 'PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
File name: 'PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

danielw1990 avatar Jan 13 '23 18:01 danielw1990

Not sure if this is any help for non-steam users, but GE Proton seems to be able to run Gibbed.Borderlands2.SaveEdit.exe just fine right out of the zip archive. For steam users, just add that .exe as a non-steam game and set compatibility to GE-proton.

MountainMan1312 avatar Nov 18 '23 23:11 MountainMan1312