You are not logged in.

#1 2012-09-18 21:44:33

buttons
Member
From: NJ, USA
Registered: 2007-08-04
Posts: 620

PSA: Borderlands 2 in wine runs [details inside]

I can't seem to find a post anywhere on the internet even asking about this, and yet I'm sure someone out there is curious. So let me be the first: BL2 doesn't run.

I speculate this is due to lack of .NET 4 support, which is apparently required for operation.

EDIT: Fixed with a trick to bypass the launcher below

Last edited by buttons (2012-09-20 15:34:26)


Cthulhu For President!

Offline

#2 2012-09-18 21:51:36

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: PSA: Borderlands 2 in wine runs [details inside]

You can be the first one to post about this issue: http://appdb.winehq.org/objectManager.p … plications

Offline

#3 2012-09-19 06:55:53

fettouhi
Member
Registered: 2007-05-07
Posts: 745

Re: PSA: Borderlands 2 in wine runs [details inside]

AFAIK you can install .NET 4 in wine.

http://appdb.winehq.org/objectManager.p … &iId=17886

Offline

#4 2012-09-20 13:36:03

buttons
Member
From: NJ, USA
Registered: 2007-08-04
Posts: 620

Re: PSA: Borderlands 2 in wine runs [details inside]

Hmmm. Someone seems to have gotten it to work but hasn't provided details: http://www.youtube.com/watch?v=lbt_rS81eBc


Cthulhu For President!

Offline

#5 2012-09-20 14:54:20

Darksoul71
Member
Registered: 2010-04-12
Posts: 319

Re: PSA: Borderlands 2 in wine runs [details inside]

Hm, well this looks like reasonable details to me:
<snip>
wine 1.5.13
no extra tweaks: installer provided vcrun 2008 and 2010 and dotnetfx40.
framerate seems to be fine without any drops so far (ofc recorder only does 23 fps like seen from the script sad)

sound through microphone again..god damn linux recorders:(

-----

Recorded with: avconv (http://dl.dropbox.com/u/28788188/cast.sh)
Edited with: Kdenlive (MPEG-4)
Intro by: http://www.youtube.com/user/colonelkoik
System Specs:
Processor:AMD Phenom II X4 955 , ~3.4GHz
Memory:8 GB DDR3 (1333Mhz)
Video Card:Asus Geforce 560 Ti 1GB Direct CU
Sound Card:Realtek ALC889
Motherboard:Gigabyte GA-970A-D3
Operating System:Linux Mint 13 Maya 64bit
Kernel: 3.5.3
Filesystem: ext4
Nvidia drivers: 304.43
Desktop Environment: MATE
<snip>


My archlinux x86_64 host:
AMD E350 (2x1.6GHz) / 8GB DDR3 RAM / GeForce 9500GT (passive) / Arch running from 16GB USB Stick

Offline

#6 2012-09-20 15:33:28

buttons
Member
From: NJ, USA
Registered: 2007-08-04
Posts: 620

Re: PSA: Borderlands 2 in wine runs [details inside]

It's not. The problem is the launcher crashes (which requires .NET 4 to run). He provided more details today, which involve bypassing the launcher by running the app directly. A trick needs to be done before this works:

add a file called steam_appid.txt to the Steam\steamapps\common\Border­lands 2\Binaries\Win32 directory
put '49520' (without quotes) in this file
Start steam, and then run Borderlands2.exe directly from the same directory

And it runs!


Cthulhu For President!

Offline

#7 2012-09-20 18:42:59

ZekeSulastin
Member
Registered: 2010-09-20
Posts: 266

Re: PSA: Borderlands 2 in wine runs [details inside]

How is its performance in wine compared to Windows?

Offline

#8 2012-09-21 06:24:45

fettouhi
Member
Registered: 2007-05-07
Posts: 745

Re: PSA: Borderlands 2 in wine runs [details inside]

buttons wrote:

It's not. The problem is the launcher crashes (which requires .NET 4 to run). He provided more details today, which involve bypassing the launcher by running the app directly. A trick needs to be done before this works:

add a file called steam_appid.txt to the Steam\steamapps\common\Border­lands 2\Binaries\Win32 directory
put '49520' (without quotes) in this file
Start steam, and then run Borderlands2.exe directly from the same directory

And it runs!

Yes it does, but for me it crashes with a fatal error (ssleay error of some kind) after all the logos and it says hit any key and then it starts to create an online session. A few seconds into that and then it crashes.

Fatal error!

ssleay_rand_add() Address=0xe1cff886 (filename not found) [in ]

Last edited by fettouhi (2012-09-21 06:43:04)

Offline

#9 2012-09-21 09:32:48

Darksoul71
Member
Registered: 2010-04-12
Posts: 319

Re: PSA: Borderlands 2 in wine runs [details inside]

buttons wrote:

It's not. The problem is the launcher crashes (which requires .NET 4 to run).

Hm...interesting since he stated:

no extra tweaks: installer provided vcrun 2008 and 2010 and dotnetfx40.

Anyway, I don't want to knitpick around....

Cool to see BL2 running on arch2 smile


My archlinux x86_64 host:
AMD E350 (2x1.6GHz) / 8GB DDR3 RAM / GeForce 9500GT (passive) / Arch running from 16GB USB Stick

Offline

#10 2012-09-21 16:03:06

buttons
Member
From: NJ, USA
Registered: 2007-08-04
Posts: 620

Re: PSA: Borderlands 2 in wine runs [details inside]

ZekeSulastin wrote:

How is its performance in wine compared to Windows?

Can't speculate since I don't have something to compare it to. My Geforce 540M seems to have reasonably smooth framerate, however it gets noticeably jerky during/when starting cutscenes.


Cthulhu For President!

Offline

#11 2012-09-21 19:24:17

fettouhi
Member
Registered: 2007-05-07
Posts: 745

Re: PSA: Borderlands 2 in wine runs [details inside]

ZekeSulastin wrote:

How is its performance in wine compared to Windows?

I'm running it on a i7 with 8 GB of RAM and Nvidia 580 GTX and I'm getting 60 frames per second almost (need to do more testing). But this bug I mentioned earlier

Fatal error!

ssleay_rand_add() Address=0xe1cff886 (filename not found) [in ]

keeps showing up. I've been able to bypass it once by reinstalling gnupg, gpgme and libassuan. But when I relaunched the game a bit later again (wanted to test my xbox 360 controller) the error showed up again.

Offline

#12 2012-09-22 09:26:38

fettouhi
Member
Registered: 2007-05-07
Posts: 745

Re: PSA: Borderlands 2 in wine runs [details inside]

buttons wrote:
ZekeSulastin wrote:

How is its performance in wine compared to Windows?

Can't speculate since I don't have something to compare it to. My Geforce 540M seems to have reasonably smooth framerate, however it gets noticeably jerky during/when starting cutscenes.

BTW buttons are you running Arch on 64 bit or 32 bit?

Offline

#13 2012-10-15 01:30:59

rollhax
Member
Registered: 2012-09-01
Posts: 10

Re: PSA: Borderlands 2 in wine runs [details inside]

Well hopefully this thread isn't too old to resurrect.

After much troubleshooting and several reinstalls, installing some extra libs, etc., I am getting the following error:


$ wine Borderlands2.exe
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:process:SetProcessDEPPolicy (1): stub
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:process:SetProcessShutdownParameters (00000380, 00000000): partial stub.
err:module:attach_process_dlls "msvcrt.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\2K Games\\Borderlands 2\\Binaries\\Win32\\Borderlands2.exe" failed, status c0000005

I have vcrun2005, vcrun2008, vcrun2010, dotnet20/40, dx3d9* all installed through winetricks.

Wine is version 1.5.14 in a 32-bit prefix.

EDIT: Wanted to add that sometimes the first4 lines seen above do not appear, seems random. Not sure if that helps any.

I've also confirmed mscvcrt.dll exists in ../windows/system32.

EDIT2:

I somehow got past that point (don't even remember what I did), and am now getting this error:

err:module:attach_process_dlls "msacm32.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\2K Games\\Borderlands 2\\Binaries\\Win32\\Borderlands2.exe" failed, status c0000005

Tried forcing msacm32 as native, builtin, builtin then native, native then builtin. If I set msacm to native, I get this error:

$ wine Borderlands2.exe
err:module:import_dll Library msacm32.dll (which is needed by L"C:\\windows\\system32\\winmm.dll") not found
err:module:import_dll Library WINMM.dll (which is needed by L"C:\\Program Files\\2K Games\\Borderlands 2\\Binaries\\Win32\\Borderlands2.exe") not found
err:module:import_dll Library msacm32.dll (which is needed by L"C:\\windows\\system32\\winmm.dll") not found
err:module:import_dll Library WINMM.dll (which is needed by L"C:\\Program Files\\2K Games\\Borderlands 2\\Binaries\\Win32\\binkw32.dll") not found
err:module:import_dll Library binkw32.dll (which is needed by L"C:\\Program Files\\2K Games\\Borderlands 2\\Binaries\\Win32\\Borderlands2.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\2K Games\\Borderlands 2\\Binaries\\Win32\\Borderlands2.exe" failed, status c0000135

At which point I can't run winecfg anymore, getting these errors:

$ winecfg
err:module:import_dll Library msacm32.dll (which is needed by L"C:\\windows\\system32\\winmm.dll") not found
err:module:import_dll Library winmm.dll (which is needed by L"C:\\windows\\system32\\winecfg.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\system32\\winecfg.exe" failed, status c0000135

At this point I have to run:

$ WINEDLLOVERRIDES='msacm32=b' winecfg

to be able to use winecfg again.

Anybody have any ideas?

Last edited by rollhax (2012-10-16 02:40:10)

Offline

Board footer

Powered by FluxBB