WineHQ

Borderlands 2

Release Steam Version

Application Details:

Version: 1.0
License: Retail
URL: http://www.gearboxsoftware.com...
Votes: 7
Latest Rating: Silver
Latest Wine Version Tested: 1.6-rc5

Maintainers: About Maintainership

Test Results

Old test results
The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results

What works

Game (singleplayer, and multiplayer with Steam integration)

Video Settings

All video settings

What does not

Game launcher (running the Borderlands2.exe directly with WINE and a steam_appid.txt with the contents "49520" in the folder does work)

Workarounds

What was not tested

The entire game

PhysX

Additional Comments

To run the game, Wine needs to be set to Windows XP mode to bypass Steam's service installation (which fails on Windows 7). After doing this, place a file named "steam_appid.txt" with the contents '49520' (without quotes), in the Steam\steamapps\common\Border­lands 2\Binaries\Win32 folder. After doing this, run the Borderlands2.exe (NOT the launcher.exe) with Wine directly while Steam is running.
selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
ShowDebian GNU/Linux Unstable "Sid"Jul 14 20131.6-rc5Yes Yes SilverAndrew Jones 
ShowUbuntu 12.04 "Precise" amd64 (+ variants like Kubuntu)Jun 21 20131.6-rc2Yes Yes Bronzesubraizada3 
ShowUbuntu 13.04 "Raring" amd64 (+ variants like Kubuntu)Apr 08 20131.5.27Yes Yes Goldan anonymous user 
ShowUbuntu 12.04 "Precise" amd64 (+ variants like Kubuntu)Mar 12 20131.5.25Yes Yes Goldjitsumi 
ShowArch Linux x86_64Jan 20 20131.5.22Yes Yes GoldJoseph Williams 

Known Bugs

Bug # Description Status Resolution Other apps affected
33478 Borderlands 2 on FGLRX compiles a shader every frame. UNCONFIRMED View

Show all bugs

HowTo / Notes

How to start the game without the launcher

The borderlands lancher is not working with wine. But to run the game, it is this application that steam starts first. To work around the problem, do the following:

Create a file named steam_appid.txt with the contents "49520" (without quotes).

Put this files into the Steam/steamapps/common/Borderlands 2/Binaries/Win32 folder

 Then, every time you runs the game, first runs steam, and only when steam is running, start the game by running Borderlands2.exe (in the Steam/steamapps/common/Borderlands 2/Binaries/Win32 folder)

Comments

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

Game can't launch
by Rahadian Arya on Saturday October 25th 2014, 8:52
Please help me. I love dis game, but it can't launch.
In terminal I typed wine Borderlands2.exe but appear these

fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:msvcrt:__clean_type_info_names_internal (0x2a95cc) stub

help me.
Mouse can only turn 180 degress
by Johhny Fartrix on Monday April 14th 2014, 2:28
everything is fine except for this stupid bug in fullscreen i can't turn more than 180 degress but if i'm in windowed it just leaves the screen(the mouse) i've tried turning on capture mouse in fullscreen but it still doesn't work please someone help me
RE: Mouse can only turn 180 degress
by subraizada3 on Saturday April 19th 2014, 17:53
I've had this issue before, the solution is every time you start the game go to settings -> video settings -> and change your resolution from undefined to the correct resolution.
Can't log into Shift
by Katrina L. Halliwell on Saturday March 22nd 2014, 14:16
I have ie6 installed as suggested but I keep getting "Connection Failed" error. Otherwise the game works perfectly. Any suggestions?

Wine 1.7.14
RE: Can't log into Shift
by Katrina L. Halliwell on Wednesday March 26th 2014, 16:15
I've figured it out! Apparently if set to Win XP, the launcher works perfectly but Shift doesn't work. If set to Win 7, Shift works but the launcher doesn't! lol. odd.
Starts then stops with no message
by Adam Boesch on Monday October 28th 2013, 22:34
Hi, I have looked at many of the Borderlands 2 WineHQ pages, but still seem to be having trouble. I have a fresh install of Ubuntu 13.10, fresh Wine 1.7.4 install. I installed Steam through winetricks and installed the following so far:

winetricks d3dx9 \
d3dx10 \
vcrun2010 \
physx \
d3dx11_43 \
d3dx9_43 \
directx9 \
dotnet40 \
vcrun2008 \
xact

I tried running Borderlands 2 and got the common error that said I was still missing XAPOFX1_5.dll. I copied the DLL directly into the Borderlands 2 directory (same dir as the exe). Now when I run "wine Borderlands2.exe" I get the following:

$ wine Borderlands2.exe
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
$

Then it exits. I'm not too good with WINE yet, so I'm pretty much at a loss as to what is going on. Any ideas?
RE: Starts then stops with no message
by Ryan Ingram-Seal on Tuesday October 29th 2013, 13:23
Run a new clean 32 bit wine prefix. Install Steam with winetricks. Uninstall Mono to play it safe. Download .Net 4.0 from the microsoft site www.microsoft.com/en-gb/download/details.aspx?id=17851. Install that and then install Borderlands 2.

On wine 17.4 I didn't need to install anything else, all other requirements are downloaded by Steam. You should be able to run the game from Steam and the Borderlands 2 Launcher does work fine..just make sure to set your resolution in the launcher and turn off AO and Depth of Field.

Let me know how it goes
RE: Starts then stops with no message
by Adam Boesch on Wednesday November 13th 2013, 20:42
So it all works now thank you! My main issue is I wasn't installing steam in the right spot. The only other thing is I noticed that first shot of a gun gets a little laggy. Is there anything to remedy this; if not thats totally cool. For hardware I have a GTX 760 and processor is a core i5 4570S.
borderlands 2 howto
by Andrew Jones on Monday July 15th 2013, 9:54
Installing borderlands 2 in wine sucked, but it works really well after some fiddling. If you miss the manual steps, sound quality is crazy bad.

When you start the game with -NoLauncher, it will give you an ugly .net error message because the launcher crashes... then start the game anyway.

# 1. set WINEPREFIX correctly

export WINEPREFIX=~/wine/borderlands2

# 2. winetricks installs

winetricks d3dx9 \
d3dx10 \
vcrun2010 \
physx \
d3dx11_43 \
d3dx9_43 \
directx9 \
dotnet40 \
vcrun2008 \
xact

# 3. extract/register extra dlls

cabextract -d /tmp -F Jun2010_XAudio_x86.cab \
~/.cache/winetricks/directx9/directx_Jun2010_redist.exe

cabextract -d $WINEPREFIX/drive_c/windows/system32 -F '*dll' \
/tmp/Jun2010_XAudio_x86.cab

wine regsvr32 $WINEPREFIX/drive_c/windows/system32/XAudio2_7.dll

# 4. set wine overrides (this you do manually)
# sound quality is massively improved with these overridden
#
# set "mmdevapi" to "builtin"
# set "dsound" to "builtin"
#

# 5. set steam launch options (this you do manually)
#
# right click on Borderlands 2 entry, hit "properties"
# click "Set Launch Options"
# enter -NoLauncher in box
#
# disable steam overlay for extra performance
Messed up graphics
by subraizada3 on Thursday June 20th 2013, 13:15
I got Borderlands 2 to work, using 1.6-rc2. There is no steam_appid.txt, and I execute Borderlands2.exe.
The screen with the 4 faces appears, then it goes through the gearbox/nvidia screens.
After that, I can play the game, but the graphics are full of red dots and lines. I tried downloading the game 3 times, and my internet can usually download many gigabytes with little to no packet loss.
However, some things look fine, like the buttons on the main menu, the health bar, and the minimap. The snow and wind effects in the beginning also look fine.

My graphics card is a GTX 680 (no overclocks). I am using the nvidia-experimental-310 drivers in the Ubuntu repos (the stable drivers make little boxes in the top left of the screen). My distro is 12.04, Wine version 1.6-rc2 from the Ubuntu Wine PPA. Everything is 64 bit, except the game itself (and Steam). I used winetricks to install d3dcompiler_43 d3dx11_43 d3dx9 all d3dx9_XX mfc42 msvcirt msxml3 physx vcrun2003/5/8/10 vcrun5 vcrun6sp6 xact_jun2010

Also, if I run the game in windowed or fullscreen windowed mode, the window manager makes a about 800x600 rectangle and only the top left of the game fits in it. If I let Wine control/decorate the windows, the window shows up in every workspace.

Here are some pictures of the issues:
dl.dropboxusercontent.com/u/54321609/1.png
dl.dropboxusercontent.com/u/54321609/2.png
... up to 29.png
RE: Messed up graphics
by jitsumi on Thursday June 20th 2013, 21:59
Did you try without installing anything with winetricks? I have a nvidia card and the same drivers, but I don't have yours problem.

For the resolution issue, it's a bug between the linux distribution and the nvidia driver I think... (Can you change your resolution in the ubuntu environement? Not the game?) When you computer pass in 800x600, did you try to change it back manually???
RE: Messed up graphics
by subraizada3 on Thursday June 20th 2013, 22:14
I will try without winetricks, the download will take a few hours.

The screen resolution of the entire OS is not changed except for the first time the game is run. After that, I can only run in fullscreen mode. To run in windowed/windowed fullscreen mode, I need to go to the wine settings and uncheck the option to allow the window manager (it was compiz, I just switched to KDE but BL2 is still downloading) manage the window. This gives old Windows looking window borders, but the problem with this is that the window shows up on all workspaces (at least in GNOME). If I allow the window manager to control or decorate the window (or both), the window that the game is in is an about 800x600 box (I didn't measure it), but the screen resolution is still the same. Changing the game's resolution to more than the resolution of the window will result in the right and bottom parts of the game being cut off.
RE: Messed up graphics
by jitsumi on Thursday June 20th 2013, 22:20
I had a similar resolution problem, and by reinstalling in a clean wine prefix, it worked perfectly. (But i forgot, but i may have reinstalled all my system (ubuntu) from scratch also...)
RE: Messed up graphics
by subraizada3 on Thursday June 20th 2013, 22:22
I'm planning to install Arch soon, that might help, and so might the move to KDE and it's window manager.
I downloaded BL2 3 times to eliminate packet loss as a problem, and between each download I deleted my wine prefix, so that's not the problem.
RE: Messed up graphics
by jitsumi on Thursday June 20th 2013, 22:28
It's maybe the ubuntu system that broke, it happen after many updates (and distribution update)
RE: Messed up graphics
by subraizada3 on Thursday June 20th 2013, 22:38
This is a nearly fresh install of 12.04, no distribution upgrades. I have only apt-get dist-upgraded 3 times so far and installed GNOME and a few games. So that's probably not the issue.
I'm probably going to have to leave the download running overnight, my internet is very slow. You suggestion of not installing anything with winetricks might fix it.
RE: Messed up graphics
by subraizada3 on Friday June 21st 2013, 11:38
I reset my wineprefix and installed the game without using winetricks to install anything else. It still works, but the same issues are present.
RE: Messed up graphics
by subraizada3 on Tuesday September 17th 2013, 19:38
I installed Arch Linux on my computer a few weeks ago. I went thhrough the BL2 installation again, this time with wine 1.7.2. I still have the same error with graphics.
RE: Messed up graphics
by Alexander Prime on Saturday December 21st 2013, 7:47
After about two days of screwing with Wine's settings, I managed to fix this with some tweaks to the game engine. The red and blue pixels are used as markers for the graphics engine when rendering certain effects, most notably DoF. A hidden bloom effect also seems to use the same kinds of markers, and disabling this has eliminated the issue on my machine. Here's what to do:

- Open in a text editor: C:/users/[username]/My Documents/My Games/Borderlands 2/WillowGame/Config/WillowEngine.ini
- Find the [SystemSettings] section, and:
-- Change DepthOfField=True to DepthOfField=False
-- Change Bloom=True to Bloom=False
- Save the file and start Borderlands 2
- If the error is still occurring, make sure depth of field is explicitly disabled in the game's video settings.

There may be other effects which use this pixel-marking method which are not being rendered in the current version, so future Googlers are encouraged to play around with other options in WillowEngine.ini. Might get better performance by changing some of these as well.
Graphics don't show up
by Zach on Tuesday June 18th 2013, 23:33
So I install Borderlands 2 on my computer patch it and it runs fast..... however none of the graphics or pictures load so at the main menu i see all the text but the background is all black and the little robot is outlined in white but no picture or texture is loaded this also happened to me in the first borderlands does anybody know how to fix this?
RE: Graphics don't show up
by Zach on Tuesday June 18th 2013, 23:34
Also i'm using ChrUbuntu and every other steam game I get runs great except this one.
Borderlands 2 launches but screen disappear after 4 faces
by Raphael on Wednesday June 12th 2013, 0:16
Starter launches fine thanks to the trick mentioned here.
After that, 4 faces appear and stay for like 3s, then game sounds starts, and resolution of my screen is changed to a smaller size (not 16/9 style)

Then I only see the desktop. If i click I here things happening (hear menus of the game clicking) but i cannot see anything. The screen remains on the destok of linux mint 15.

extract from terminal, if anyone has an idea please share . im new to wine: I use Wine 1.4.1 and configurated it as WindowsXP. Steam seems to be running fine.

raphael@raphael-Lenovo-V480 ~/.wine/drive_c/Program Files/Steam/SteamApps/common/Borderlands 2/Binaries/Win32 $ wine Borderlands2.exe
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
err:ole:CoGetClassObject class {dcb00c01-570f-4a9b-8d69-199fdba5723b} not registered
err:ole:CoGetClassObject class {dcb00c01-570f-4a9b-8d69-199fdba5723b} not registered
err:ole:create_server class {dcb00c01-570f-4a9b-8d69-199fdba5723b} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {dcb00c01-570f-4a9b-8d69-199fdba5723b} could be created for context 0x17
fixme:advapi:EventRegister {47a9201e-73b0-42ce-9821-7e134361bc6f}, 0x3f0055a0, 0x3f036b40, 0x3f036b38
fixme:advapi:EventRegister {58a9201e-73b0-42ce-9821-7e134361bc70}, 0x3f0055a0, 0x3f036b78, 0x3f036b70
fixme:advapi:EventRegister {3fa9201e-73b0-43fe-9821-7e145359bc6f}, 0x3f0055a0, 0x3f036b08, 0x3f036b00
fixme:advapi:EventRegister {1432afee-73b0-42ce-9821-7e134361b433}, 0x3f0055a0, 0x3f036bb0, 0x3f036ba8
fixme:advapi:EventRegister {4372afee-73b0-42ce-9821-7e134361b519}, 0x3f0055a0, 0x3f036be8, 0x3f036be0
Setting breakpad minidump AppID = 49520
Steam_SetMinidumpSteamID: Caching Steam ID: 76561198075222381 [API loaded no]
fixme:gameux:GameExplorerImpl_VerifyAccess (0x17a610, L"C:\\Program Files\\Steam\\SteamApps\\common\\Borderlands 2\\Binaries\\Win32\\Borderlands2.exe", 0x2bef514)
fixme:win:EnumDisplayDevicesW ((null),0,0x2bee210,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x2bee124,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x2bef638,0x00000000), stub!
fixme:process:GetLogicalProcessorInformation ((nil),0x2befa68): stub
err:ole:CoInitializeEx Attempt to change threading model of this apartment from apartment threaded to multi-threaded
fixme:mmdevapi:MMDevEnum_RegisterEndpointNotificationCallback stub
fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS)
fixme:system:SystemParametersInfoW Unimplemented action: 53 (SPI_SETTOGGLEKEYS)
fixme:system:SystemParametersInfoW Unimplemented action: 51 (SPI_SETFILTERKEYS)
fixme:d3d:debug_d3dformat Unrecognized 0x34324644 (as fourcc: DF24) WINED3DFORMAT!
fixme:d3d:wined3d_get_format Can't find format unrecognized (0x34324644) in the format lookup table
fixme:d3d9:D3DPERF_SetOptions (0x1) : stub
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:query_init Unhandled query type 0xc.
fixme:thread:SetThreadIdealProcessor (0x35c): stub
fixme:imm:ImmReleaseContext (0xa01a6, 0x1d0c48d0): stub
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:wined3d_buffer_preload Too many declaration changes or converting dynamic buffer, stopping converting
fixme:thread:SetThreadIdealProcessor (0x35c): stub
^Cfixme:console:CONSOLE_DefaultHandler Terminating process 49 on event 0
fixme:advapi:EventUnregister deadbeef: stub
fixme:advapi:EventUnregister deadbeef: stub
fixme:advapi:EventUnregister deadbeef: stub
fixme:advapi:EventUnregister deadbeef: stub
fixme:advapi:EventUnregister deadbeef: stub
err:mmtime:TIME_MMTimeStop Timer still active?!
raphael@raphael-Lenovo-V480 ~/.wine/drive_c/Program Files/Steam/SteamApps/common/Borderlands 2/Binaries/Win32 $ ^C
RE: Borderlands 2 launches but screen disappear after 4 faces
by jitsumi on Wednesday June 12th 2013, 1:29
In ubuntu, I use alt-tabl until i can get the game window.
RE: Borderlands 2 launches but screen disappear after 4 faces
by Raphael on Thursday June 13th 2013, 6:06
Thanks I tried but didnt work, anyone having another idea ? :) love this game and it is the last thing holding me with dual boot
RE: Borderlands 2 launches but screen disappear after 4 faces
by Jason Switzer on Saturday August 10th 2013, 23:56
Make sure to click on the other Borderlands window in the background. It looks like a frozen small window, but that's what the Unreal Engine games all see to do. That window will eventually resize and the game will be fullscreen.
[Fix] Fake crash and shift codes don't work
by Trevor Bergeron on Monday May 20th 2013, 22:15
To get rid of the pretend crash when BL2 starts and allow communication with shift (eg. for codes for golden keys), winetricks ie6

by limen on Monday May 20th 2013, 19:29
I was able to get the Borderlands.exe to run once, on the first time after installing to Steam, but subsequent launches never run the game. The first run did all the Steam installs as usual and gave me the splash screen and the 4 faces, but then changed my desktop resolution and didn't show the intros, only the sound. Once I fixed the desktop resolution in the ini file and tried again I'm stuck.
It appears that whether I use the trick in the How To to launch the EXE directly or the normal way in Steam (with the -NoLauncher option set in launch options) I briefly get a pop up window of Steam installing the DirectX redistributable package and then nothing happens. Using the winetricks taskmanager I don't even see the game process open. It seems that Steam wants to keep trying to install the DX package and maybe that is failing silently, I'm not sure.
At this point I'm pretty frustrated since I've done at least 3 new wineprefixes for this game that I see works for everyone else. Did anyone else run into this problem, or know a way I can force Steam to reinstall its packages? I'm using wine 1.5.30 and I had also tried with 1.5.25. I've even tried using the PlayOnLinux front end to organize the prefixes, in case I was doing it wrong.
RE:
by limen on Monday May 20th 2013, 21:28
Never mind, I got it working. Not sure if it mattered, but I fixed the DX package coming up by removing the files it was failing to copy into the Windows folder.
RE:
by Raphael on Wednesday June 12th 2013, 0:25
Hello Limen, I may have a similar problem to you, but I didnt really understand your message, could you explain it again ?
RE:
by Michael on Monday July 15th 2013, 21:27
It'd be great if you could give us more detail, so we could follow what you did to make it work.
error code 2
by kham on Monday April 29th 2013, 12:16
I can't get this game to work. After downloading it goes to "completing instalation", gets stuck at 1% and gives error code 2. I didn't create the steam_appid.txt as it was already there when I went looking. I tried running from steam, borderlands2.exe and launcher.exe. Launcher.exe gives "The entry point method could not be loaded", from steam or borderlands2.exe I can't see any error message, just a lot of fixme:volume:GetVolumePathNameW in the terminal after which is just gives error in steam and closes. Installed in clean prefix twice, used winxp and windows 7 for default, and applied directly to steam but it doesn't work. Googling the error specifically in steam only gave me an idea that is has something to do with permissions but nothing on how to fix it. I tried with wine 1.5.22, 1.5.28 and 1.5.29. Same results in all of them.
If you have resolution problems
by Mahdi on Monday April 15th 2013, 7:23
If you have any resolution problems, you can fix it by editing configs file in your ' My Games ' directory, Borderlands 2 -> WillowGame -> Config -> WillowEngine.ini

Change these lines:

StartupFullscreen=true
StartupResolutionX=Yours
StartupResolutionY=Yours
Game runs, but very lagy after Nvidia screen
by David K Harupa Jr. on Thursday February 14th 2013, 21:25
OS: Ubuntu 12.04 LTS
GPU: ATI Radeon 57xx
Wine: 1.5.23

Thank you for your help before, The game now runs and I make it to the menu screen. However, the game is very lagy and this error is constantly happening in terminal:

err:d3d:state_pscale >>>>>>>>>>>>>>>>> GL_INVALID_VALUE (0x501) from glPointSize(...); @ state.c / 1593
RE: Game runs, but very lagy after Nvidia screen
by jitsumi on Tuesday February 19th 2013, 3:05
So your game is not crashing anymore???

Just to know, what driver are you using???
RE: Game runs, but very lagy after Nvidia screen
by David K Harupa Jr. on Tuesday February 19th 2013, 20:58
The game does not crash but it lags a lot.

I am using the latest AMD Catalyst driver, "13.1".
RE: Game runs, but very lagy after Nvidia screen
by jitsumi on Wednesday February 20th 2013, 0:59
Then, I really don't know...

You didn't activated extreme graphical options like physx, right?
RE: Game runs, but very lagy after Nvidia screen
by alex gaines on Monday March 11th 2013, 13:16
I suffer from the same problem.
Doing some research, the slowest gl functions are:
for cpu:
glcompileshaderARB
gllinkprogramARB
for gpu:
drawelementsbasevertex
RE: Game runs, but very lagy after Nvidia screen
by David K Harupa Jr. on Tuesday March 12th 2013, 9:20
I find that "Best with Nvidia" games running on ATI GPUs, have too many shader problems. Which isn't surprising considering the shader issues that happen in windows. What GPU/OpenGl are you using?
RE: Game runs, but very lagy after Nvidia screen
by alex gaines on Tuesday March 12th 2013, 11:23
Latest FGLRX on a 6970
RE: Game runs, but very lagy after Nvidia screen
by snowblind on Wednesday September 4th 2013, 0:51
have you tried this with the latest radeon (foss) driver, using DPM on 3.11? The 6xxx series is about on-par with Catalyst, when using the open source drivers, and I'd be curious to know if the open source drivers provide better performance in Unreal3 games.
RE: Game runs, but very lagy after Nvidia screen
by David K Harupa Jr. on Tuesday March 12th 2013, 8:55
I couldn't if I wanted to, physx are for Nvidia cards only. I think it has to do with the openGL for ATI cards. I looked at the C files that the error is coming from and it calls the the function from OpenGl. So, it is possible that the ATI cards require a different parameter. What that is I have no idea, I haven't looked at the openGL code yet.
RE: Game runs, but very lagy after Nvidia screen
by jitsumi on Tuesday March 12th 2013, 9:29
Even if Physx is only for nvidia card, the physx driver is not compatible with linux, and then wine. I have a nvidia card, but if i install physx, it's going to be the processor that will execute the physics, not my card. So don't worry about physx, we (ati user/nvidia user) are all equal with linux...
RE: Game runs, but very lagy after Nvidia screen
by David K Harupa Jr. on Tuesday March 12th 2013, 9:35
I see, I can not even enable it. The game knows I do not have a Nvidia card and blacks out all Nvidia only options.
RE: Game runs, but very lagy after Nvidia screen
by jitsumi on Tuesday March 12th 2013, 9:52
no no, if you install it though winetricks, you will have the option. winetricks physx i think.

I have the option black too if i don't install physx.

But as i said, you're going to use the cpu to make all the physx effects, that is going to make the game even slower..
RE: Game runs, but very lagy after Nvidia screen
by David K Harupa Jr. on Tuesday March 12th 2013, 13:28
Oh, that's good to know, I have yet to touch winetricks for anything.
RE: Game runs, but very lagy after Nvidia screen
by Zitchas on Tuesday March 19th 2013, 9:14
I have the same issue, albeit running slightly different system:

Ubuntu 12.10
Wine: 1.5.26 (couldn't get Steam to run properly on 1.4. Not well, anyway)
GPU: ATI Radeon 6670


I tried installing d3dx9 and d3dx10 via winetricks, which allowed the steam overlay to display properly, and seemed to make steam work better, but had no impact on Borderlands 2. I tried these two as the reviewer for the 1.3.1 version of Borderlands 2 mentioned having those installed and running Borderlands 2 (current edition instead of 1.0) nicely.

Although he also mentioned having d3dx9_XX, d3dx10_XX, d3dx11_XX, and a bunch of other stuff installed via winetricks. Havine't been able to find any of the _XX stuff to try that out yet.

I did set all the graphics options to "low" just to help it out, didn't seem to have any effect.
RE: Game runs, but very slow (PCIE treated as PCI slot?!)
by Zitchas on Thursday March 21st 2013, 9:34
- Have tried installing all those with no significant change. (Some small improvements, but nothing worth noting, really)

- Running from the terminal with error and fixme messages suppressed gives some small speed increases, but nowhere near playable.

Expanding my field of view somewhat, I did a check on my graphics card (an HD 6670 GDR5) the system is reporting a clock speed of 33Mhz! From what I can gather online, this means that for some reason the system is treating my PCIE slot as a regular PCI slot. Which would deffinitely explain the fact that a) the game does actually run, but b) runs at a terribly slow speed.

Hopefully this gives everyone else with slows speeds something else to look at, and something new for me to pursue. Not sure where to start trying to fix this, but just knowing is a good start.
RE: Game runs, but very lagy after Nvidia screen
by snowblind on Wednesday September 4th 2013, 0:54
I'm 99% sure this is an issue with the way FGLRX interacts with Wine+Unreal Engine games. I get this same issue on my 7970 with FGLRX on all Unreal Engine games I've tried -- the other one I tried was Remember Me. Same terrible performance, same Unreal Engine.

When I had an Nvidia 560ti (generation older than my current card) Borderlands 2 ran flawlessly. With this Radeon, though, it runs like shit. And I've seen plenty of videos of other Unreal Engine games (such as Remember Me) running perfectly fine on a 560ti, on Nvidia.
RE: Game runs, but very lagy after Nvidia screen
by rudy on Saturday October 12th 2013, 16:30
fixed on arch system and amd hd7850 using this patch:

bbs.archlinux.org/viewtopic.php?id=169353&p=1

another solution that worked for me (other computer)

ubuntu 12.04 with ati hd5770 3.11 kernel- installing the opensource drivers found here:

launchpad.net/~oibaf/+archive/graphics-drivers/

maybe these will help
Game Starts, but I don't see the game.
by David K Harupa Jr. on Thursday February 14th 2013, 0:34
Wine - 1.5.23
OS - Ubuntu 12.04 LTS

I have done the "how to" to bypass the launcher issue. Steam is always opened first before running the "Borderlands2.exe". The picture of the 4 playable characters shows up, the screen goes black and then I see my OS GUI in a smaller resolution. I am able to move my mouse and nothing is frozen or laggy. Steam says I'm currently playing Borderlands 2 but I can't see the game. I am running the game with a virtual desktop, and I have tried many different resolutions.
RE: Game Starts, but I don't see the game.
by jitsumi on Thursday February 14th 2013, 3:30
I have the same problem. It is unity certainly that makes cr***

try alt+tab to change the windows and get the one of borderlands 2 (the game is actually minimized)

Sometime, i need to minimize steam befor, or to put steam in a different virtual desktop
RE: Game Starts, but I don't see the game.
by David K Harupa Jr. on Thursday February 14th 2013, 9:16
Thanks, I got it to run after doing those some of those suggestions. However, everything froze after the Nvidia screen on start up. I had to hard reset my computer. I have a feeling that it is because I do not have a Nvidia GPU, but an ATI instead. I'll keep trying, I can't post anything from terminal because it freezes.

GPU: ATI Radeon 57xx
RE: Game Starts, but I don't see the game.
by jitsumi on Tuesday February 19th 2013, 3:04
I have a nvidia card, so it will be difficult to help you.

You should redirect the log with this command:

wine borderlands2.exe &> log.txt

Even if your computer crash, i think the log will be save in the file. Then, open a bug report and attach the file log.txt
Won't launch
by Ren Bedell on Sunday February 10th 2013, 12:26
I added the txt file as instructed but the game still won't launch from Steam or the borderlands2.exe file. I do not get an error, just nothing happens. I notice when I verify integrity of game cache, the borderlands2.exe file always needs to be redownloaded.
Anybody have any ideas on how to fix this?
Thanks

Wine - 1.5.23
Ubuntu 12.10
RE: Won't launch
by jitsumi on Sunday February 10th 2013, 12:55
Did you start stean AND after borderlands 2?
RE: Won't launch
by Ren Bedell on Sunday February 10th 2013, 13:00
Yes I started steam and then tried to open borderlands2.exe
RE: Won't launch
by jitsumi on Sunday February 10th 2013, 22:21
Hum, not sure that i can help, but can you send the output of the console?
RE: Won't launch
by Exodus111 on Saturday March 2nd 2013, 7:25
Got the exact same issue. Starting the .exe file does nothing. Here are the errors (also the text file was already there, with the code.)

"wine Borderlands2.exe
err:module:import_dll Library XAPOFX1_5.dll (which is needed by L"C:\\Program Files (x86)\\Steam\\SteamApps\\common\\Borderlands 2\\Binaries\\Win32\\Borderlands2.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files (x86)\\Steam\\SteamApps\\common\\Borderlands 2\\Binaries\\Win32\\Borderlands2.exe" failed, status c0000135"
Problem
by Joseph Williams on Sunday January 20th 2013, 3:52
I originally used PlayOnLinux to install Steam on a Mint14 install, Borderlands 2 just kinda worked (after the file tweaks).

I copied the config/prefixes/PlayOnLinux over to my new Arch install and again it just kinda worked.

Im not a fan of how POL handles a lot of stuff so I went about creating my own prefixes and a common program install directory linked to drive D:\ in Wine so I could switch prefixes/wine version easily without touching the games/steam.

I used winetricks to install steam in the new win32 prefix and copied the steamapps folder over. Booted up steam which worked as expected but Borderlands 2 wont start anymore.. closed steam and opened the PlayOnLinux steam, Borderlands 2 is doing the same thing so I've managed to bork something.

Here is the output of debug (warn+all) starting from when I select play on Borderlands 2 in Steam. > pastebin.com/SUWNbppK

I looked through it and installed various things via winetricks for some of the missing files (I assume it found them elsewhere anyway, but I was out of ideas).

Anyone have any clue? I even removed some packages that I installed recently as it seems to be prefix/wine independent now and therefore perhaps system related (also tried wine versions 1.5.10-1.5.22)

I also deleted and reinstalled Borderlands 2 via Steam in case the files were botched.. nothing changed. As I said it was working before I tried to do it manually, so the appid and file renaming was/is done.

Theres no crash or error displayed, the steam "launching Borderlands 2" popup displays for a split second. My icon turns green as if im in a game and turns off again after a second and steams sitting there looking at me wondering what im waiting for.

Stats:
OS: Arch Linux x86_64
Kernel: 3.6.11-1-ARCH
RAM: 4611 MB / 15967 MB (28%)
CPU: Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz
VIDEO: Nvidia 560 (3.10)
CURRENT PACKAGED WINE: 1.5.22
RE: Problem
by Joseph Williams on Sunday January 20th 2013, 4:08
Other things I have done include fresh prefixes, even reinstalling Steam via POL in a fresh prefix.

Currently installed via winetricks:
corefonts
d3dcompiler_43
d3dx10
d3dx11_43
d3dx9
d3dx9_26
d3dx9_28
d3dx9_31
d3dx9_35
d3dx9_36
d3dx9_39
d3dx9_42
d3dx9_43
directx9
vcrun2008
vcrun2010
winhttp
xact
xact_jun2010
RE: Problem
by Peter Norell on Sunday January 20th 2013, 6:56
Double check that the file renaming is still in place.

Steam will at times reset this, so you have to do it again. I recommend you run the original launcher once before renaming them, as it sometimes runs some configuration after an update.
RE: Problem
by Joseph Williams on Sunday January 20th 2013, 7:33
Peter. You were right, it appears the game needs to run the launcher at least once before the game will work. I spent my whole Sunday trying to work this out, thank you.
Regression?
by jitsumi on Monday December 31st 2012, 1:30
Does only me have a regression with the 1.5.20? I have a error message about the dsound.dll. Apparently they changed the implementation of this dll....
RE: Regression?
by jitsumi on Monday December 31st 2012, 3:08
Yep, regression. I tried with the 1.5.19 of playonlinux and it's working well.

DON'T UPGRADE IF YOU STILL WANT TO PLAY WITHOUT HAVING A SPECIAL WINE

And Happy New Year ^^
New 3DM crack...
by McDude on Wednesday December 12th 2012, 18:07
There are new 3DM cracks with fixes and DLC support:
bbs.3dmgame.com/thread-3384716-1-1.html
Latest is v.10 which seems to be the 1.2.2 equivalent.

Sadly, I'm unable to install it since I don't know Chinese. When I unrar the installer (230mb torrent found on isohunt) and try running it, I get an error and it doesn't decompress using 7zip. Google translate suggest it's necessary to copy the installer to the binary dir but it didn't do much for me...

If anyone in here knows some Chinese, and can work out the process, please give this crack a shot and report back your steps or even upload a crack only to overwrite the SkidRow release.

Don't know about you guys, but just this one Christmas, I want NOT to return the gift I've got since it won't run on Linux :(
RE: New 3DM crack...
by jitsumi on Thursday December 13th 2012, 0:05
Sadly, the wine project doesn’t support crack, you know, for legal reason....

Buy the game; it seems it is working well on wine. You can get it for 30 dollars during steam discount. It is not that much for the number of hours of fun you can get on this game. (I played around 50 hours, that means 0.6 dollars per hour...)
RE: New 3DM crack...
by McDude on Thursday December 13th 2012, 4:57
I have Steam running and it has downloaded the game. The game won't start.
Applying the crack allows the game to start.
So, "for legal reason" doesn't apply since this is fair usage.

Regardless, it's not a problem in Wine's code or in the game, but in Steam's DRM.
RE: New 3DM crack...
by jitsumi on Thursday December 13th 2012, 5:02
Even for fair use, crack are not supported. But if you have the game on steam, you should not need it. Did you tried this??? :


Place a file named "steam_appid.txt" with the contents '49520' (without quotes), in the Steam\steamapps\common\Border­lands 2\Binaries\Win32 folder. After doing this, run the Borderlands2.exe (NOT the launcher.exe) with Wine directly while Steam is running.
RE: New 3DM crack...
by McDude on Thursday December 13th 2012, 16:54
Tried it. Didn't work. It just dies silently without an error msg or a trace.

Maybe I should have mentioned I had other steam games not working while some did... I even had a talk on the steam forums about a year ago that ended up with the "we don't officially support linux" line.

Anyhow, I'm giving up. I've contacted steam support and am transferring the game to my brother's account... They didn't give me too much trouble over this so at least they're good for something :(

They also fluffed up their response with some marketing dribble about their up and coming steam on linux \ big box experience... No mention of a Borderlines 2 port though :(
RE: New 3DM crack...
by jitsumi on Thursday December 13th 2012, 19:33
Ok. So btw, it is not a DRM problem, a lot of people (including me) could make it works without installing a crack. The crack will not help you, it can only make it worst... If it is not working with you, it is certainly because of your configuration, or because wine doesn't like you configuration (if it is that, then wine should be fixed)

So, if you didn't do it already, i recommand you to reinstall everything in a fresh wine system and tried again.

Else, if you want help, please let us know what is you configuration (wine version, linux distribution, material configuration, etc...)
RE: New 3DM crack...
by Kudinov Andrey on Sunday January 13th 2013, 6:36
v10 seems to be using skidrow crack, I installed their chinese release in VM, applied their v10 patch (worked when run from game root folder) and tried running it in wine - no luck, same error.
Game runs ungodly slow
by aleks litynski on Saturday November 24th 2012, 11:38
I've got the same resolution problem everyone else seems to have. I can handle that. The game even seems to start up. The 2k logo and nvidia logo play fine. Then, when the copyright info is displayed, everything slows to a crawl. 5 fps, max.
When the game starts to check for dlc, it gets even slower, and never moves past that screen.
Am I doing something wrong here?
I have a radeon graphics card that seems to be working with catalyst drivers and I used playonlinux to install steam initially. I think it installed wine v.1.5.10.
Any thoughts or advise?
RE: Game runs ungodly slow
by jitsumi on Thursday December 13th 2012, 19:36
Hello

Nobody posted a test made on the 1.5.10, so we don't know if it is working. Steam works very well in the latest version of wine, so i recommand you to install the latest version. (Maybe you will have to disable the dwrite dll for having text in steam, just try without first)

Else if you want help, what is you configuration (wine version, linux distribution, material configuration, etc...)
RE: Game runs ungodly slow
by Arianon Trakand on Sunday December 30th 2012, 16:36
I had the same issue When it does the DLC check and hangs. I have a 64bit version of linux installed and had to install the 32 bit version of openssl as it was an authentication issue. If you are using arch, from the multilib repository install lib32-openssl. After I did that the authentication issue went away and it worked like a charm!
Game quit working immediately after posting test data.
by Matthew Taraschke on Friday November 9th 2012, 8:31
OK, here is the deal. I got the game working flawlessly and even played it online with some friends for 5 or 6 hours. I know the game CAN work perfectly in wine, but for some reason it just stopped. I did a clean install of my OS, installed wine, did the same tricks everyone else does to get it working "add steam_appid.txt, use borderlands2.exe instead of launcher.exe, etc", but for some reason it crashes silently. When I run it at the command line, I get the following error:

$ wine Borderlands2.exe
err:module:import_dll Library X3DAudio1_7.dll (which is needed by L"Z:\\home\\matthew\\.local\\share\\wineprefixes\\steam\\dosdevices\\c:\\Program Files (x86)\\Steam\\steamapps\\common\\Borderlands 2\\Binaries\\Win32\\Borderlands2.exe") not found
err:module:import_dll Library XAPOFX1_5.dll (which is needed by L"Z:\\home\\matthew\\.local\\share\\wineprefixes\\steam\\dosdevices\\c:\\Program Files (x86)\\Steam\\steamapps\\common\\Borderlands 2\\Binaries\\Win32\\Borderlands2.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\home\\matthew\\.local\\share\\wineprefixes\\steam\\dosdevices\\c:\\Program Files (x86)\\Steam\\steamapps\\common\\Borderlands 2\\Binaries\\Win32\\Borderlands2.exe" failed, status c0000135

Has anyone else had this problem? Is there anything I can check? Any tips would be awesome!
RE: Game quit working immediately after posting test data.
by Matthew Taraschke on Thursday November 15th 2012, 16:11
I got the game working again with a fresh install of wine and the 32bit xorg libs. It's kind of silly that the 64bit libs can't do direct X. Retarded actually. I'm just happy it works again.
RE: Game quit working immediately after posting test data.
by Alex on Tuesday November 20th 2012, 14:31
Wait I don't get it.. I'm getting the same error after updating it. So you're saying that that error is related to not having the ia32 libs installed?
RE: Game quit working immediately after posting test data.
by Matthew Taraschke on Tuesday November 20th 2012, 14:40
Oh, no. That was when I had both the 64bit version and the 32bit version of everything installed. I went back and did a clean install with the i686 version of EVERYTHING (wine, libs, alsa support, etc) and it seemed to fix the issue. And no, replacing the missing dll files didn't solve the problem. Honestly, the process of getting things working was a nightmare, I tried a lot of stuff. However, what I posted in my most recent test data seems to work reliably.
RE: Game quit working immediately after posting test data.
by Alex on Tuesday November 20th 2012, 14:50
Well, I'm finding it a bit odd because one version of borderlands 2. The, ermm, 3dm version, works flawlessly for me whilst the updated versions for the DLC's from, ahem, skidrow, don't work at all. They give me that error message. Which is why I'm just wondering what it's related to.. at first I thought it might a dotnet4.0 issue but now I really don't have a clue.

Yeah I know, cracks bad, but I'm not exactly the wealthiest guy.
RE: Game quit working immediately after posting test data.
by Matthew Taraschke on Tuesday November 20th 2012, 14:59
Well, if it worked before and you are getting the same error with the missing dll files, that's good news! (sort of) That just means something has messed up in your WINE setup and now you get to figure out what it is! I wish I could be more help, but what I posted in my 2nd test data submission is what got it working again for me.
RE: Game quit working immediately after posting test data.
by Alex on Tuesday November 20th 2012, 15:08
Haha, I love how enthusiastic you are. Actually the one version works perfectly but when I update it with the DLC update (thereby changing the executable) it stops working... if I switch back, works fine. Which leads me to believe that it's the actual windows executable that is the problem.. Well I guess I'll just keep tinkering, and I'll have a look at your test data. Thanks a lot!
RE: Game quit working immediately after posting test data.
by Matthew Taraschke on Tuesday November 20th 2012, 20:56
Interesting. Well I just downloaded the "Captain scarlett and her pirate booty" DLC through steam and it seems to work fine. I've been using the sandskiff with a friend in multiplayer and it's quite amusing. Hopefully you can get your stuff working too. Seriously tho, those dll messages seem to mean your WINE isn't setup right, a clean prefix / install might be in order.
RE: Game quit working immediately after posting test data.
by Alex on Thursday November 22nd 2012, 3:50
Well I tried Borderlands 2 on a clean wine prefix on another computer. I get exactly the same issue. What I did realise after conking my head for some time is that it's failing because of missing/corrupted/incomplete dll's, which you pointed out, which makes a lot of sense given that my error message is

attach_process_dlls "winspool.drv" failed to initialize

I don't know why this particular crack would require the print spooler
but whatever.
How frustrating...
by Matthew Taraschke on Wednesday November 7th 2012, 1:43
1 day after I got the game working perfectly and submitted test data, I rebooted my computer and all of a sudden it doesn't work any more. When I launch the game now, borderlands2.exe doesn't even stay up long enough to show up in TOP. Nothing has changed, I don't understand. Tried reinstalling the game, no-go. About to try reinstalling Steam AND the game. If that doesn't work, I'm going to completely reinstall wine, steam, and the game.
RE: How frustrating...
by Matthew Taraschke on Wednesday November 7th 2012, 3:37
Reinstalling wine, steam, and the game seems to fix it. When I set the game to "full screen windowed" mode, it works while in game... But when I restart the game it crashes. I think that's the issue and I'm reinstalling everything now. If you get the game working, don't mess with the windowed mode! lol
RE: How frustrating...
by jitsumi on Wednesday November 7th 2012, 3:59
I'm not sure it will be usefull to reinstall wine, but to reinstall steam and the game in a clean wineprefix could help. Also, you should try with the latest version of wine, the 1.5.15 works well for me, and maybe solved a issue I had before (but not sure, I have to make more investigation)

Do you hear the game starting? As you said in you test, me too I have a problem with the windows. I have to play with the windows to display the good one that has the game. (Not sure it's clear...)
Help plz
by MonoBOY on Wednesday October 31st 2012, 1:10
After 1 hour in game i have this 6g6.eu/sih0-d0a1d0bdd0b8d0bcd0bed0ba100.png (screenshot). I have intel proc...
Catalyst and Borderlands 2
by Dan on Saturday October 13th 2012, 20:14
So when I launch the game under radeon drivers (after building mesa with --enable-texture-float) I can run it, albeit at severely limited framerates. When I run it under Catalyst 12.8, the game window is launched and you hear the start of some audio before it freezes completely, requiring the program be killed off manually.
RE: Catalyst and Borderlands 2
by Dihan on Sunday October 21st 2012, 16:48
You need to run the game in a virtual desktop for it to work properly. Also the AMD drivers for linux cause huge performance issues. I have a 7950 and I cant run the game at 10 fps constantly. Guess we are stuck waiting for AMD to improve their drivers once more.
RE: Catalyst and Borderlands 2
by Dan on Tuesday October 23rd 2012, 20:29
Interestingly enough running it in a virtual desktop produces the same result under Catalyst 12.8. Haven't tried it under radeon, but I'm sure the suggestion would help there. Thanks.
msvcrt problem
by Upgrayedd on Saturday October 6th 2012, 8:10
I get this:

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

Tried installing in a new wineprefix, same problem.
RE: msvcrt problem
by 16777216 on Tuesday October 16th 2012, 18:05
I am getting nearly the same.

err:module:attach_process_dlls "msacm32.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files (x86)\\Borderlands 2\\Binaries\\Win32\\Borderlands2.exe" failed, status c0000005
RE: msvcrt problem
by Alex on Thursday October 25th 2012, 17:02
While I think this is actually a wine issue.. I'm guessing you're using the crack.. Try the 3DM crack. Worked for me
RE: msvcrt problem
by wellsaid on Monday June 3rd 2013, 15:24
I i have the same error
Using the 3DM crack, it work in part...
The splashscreen show up, but stay freeze...
RE: msvcrt problem
by wellsaid on Monday June 3rd 2013, 16:13
EDIT: I solved whit this upgrade v1.5.0 and skydrow crack for that version
heap problem
by Benjamin CARAYON on Friday October 5th 2012, 18:44
Hi everyone,

I've installed Wine 1.5.14 with Ubuntu 12.04 LTS 64bits.

vcrun2008, vcrun2010, xact, xact_2010 and XAPOFX1_5.dll are installed. When I try to run Borderlands2.exe (with Steam running in background and bypassing the launcher), I've got this error :
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
and sometimes a file called Borderlands2.exe.XX.STEAMSTART is created (with a random number for XX) in Binaries/Win32

What can I do ?
RE: heap problem
by Matthew Taraschke on Wednesday November 7th 2012, 21:07
I'm having this exact same problem, has anyone found a solution to this?

fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:msvcr90:__clean_type_info_names_internal (0x2995cc) stub
RE: heap problem
by jitsumi on Wednesday November 7th 2012, 21:32
Does it stop the game to work? Most of the fixme errors are not really errors.

For example the HeapSetInformation function tell to the OS to fragment the memory of the software executing it to make the hacking of this software more difficult.

More information : msdn.microsoft.com/en-us/library/windows/desktop/aa366705%28v=vs.85%29.aspx

This message means that the HeapSetInformation function is not implemented. But the software works perfectly fine with a non fragmented memory (it's just for security). I don't think it is useful to implement this function for wine, and i don't event know if it is possible, because it is link to the management of the memory of the OS, in this case Windows.

(i'm not a wine developper, so maybe I got some details wrong, but the basic idea is here)
Crash
by MonoBOY on Tuesday October 2nd 2012, 0:28
see introductory advertising and crash

fixme:iphlpapi:NotifyAddrChange (Handle 0x4bad6c4, overlapped 0x44f5328): stub
fixme:winsock:WSALookupServiceBeginW (0x4bad7c4 0x00000ff0 0x4bad80c) Stub!
[1002/112534:ERROR:network_change_notifier_win.cc(111)] WSALookupServiceBegin failed with: 8
fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
err:ntdll:RtlpWaitForCriticalSection section 0x907c9c "?" wait timed out in thread 002d, blocked by 002e, retrying (60 sec)
Launcher
by Felix Hellmann on Friday September 28th 2012, 6:31
Best way to Disable the Launcher:
Set the launch options inside steam to "-NoLauncher". There will still be a window that crashes but the game will start regardless.
RE: Launcher
by R Stephan on Monday October 1st 2012, 11:32
If this option doesn't work you can easily copy Borderlands2.exe over Launcher.exe in your steamapps/.../Win32 directory. Then start from within Steam. This works fine here with CrossOver on Gentoo which I believe has wine-1.4.x still.
Ways to Increase Performance
by Echo on Monday September 24th 2012, 13:45
I've applied a few tweaks to the game and I've gotten some pretty solid performance out of it. (Only very, very, VERY slightly less than on Windows.)

My rig:
Intel i7 920 @3Ghz
Geforce GTX 560Ti
More RAM than I need (24G)
SSD

Tweaks:

- Disable FXAA
- Turn Antistropic Filtering to 8x
- Turn Draw Distance from Ultra High to High (1 notch down)
- Disable Steam Overlay

I've noticed that the Draw Distance and Steam Overlay seem to provide the biggest boost in performance. With these options set, I get near-native Windows performance; it takes a second or two longer to load than on Windows (my buddy is usually already running away from me when I spawn after an area change, and he's got the same rig as me, just on Windows), but it's barely noticable.

Additionally, the visuals don't look significantly worse with those changes above. Some visualphiles might notice a few more jaggies (due to no FXAA) but I really can't tell a difference at all.
RE: Ways to Increase Performance
by Xpander on Monday September 24th 2012, 22:47
i dont get perf difference with steam overlay on or off.
huge perf difference comes from physx setting.. which i now can change..after the nvidia physx installation.
alltho it doesnt use gpu on linux.
FXAA on or off doesnt make difference also
framerate drops a little when coop with 4 players and huge action but not that much (physx low that is ofc).
also amd users, if ur wine OS version is set to winxp ..install the amd driver from borderlands redist folder. improves performance slightly
RE: Ways to Increase Performance
by Echo on Tuesday September 25th 2012, 12:47
What setting do you have PhysX at to get the best performance? Is it set at Low?
RE: Ways to Increase Performance
by Xpander on Tuesday September 25th 2012, 12:50
yeah low
on medium it runs quite fine also most of the time..but in huge action when lot of debris around the performance drops significantly and turns to quite unplayable.
RE: Ways to Increase Performance
by André Fettouhi on Wednesday September 26th 2012, 16:08
Several windows users are also reporting that they are experiencing fps drops in big fights with a lot of debris. So the problem could be related to the game itself and not wine
RE: Ways to Increase Performance
by Echo on Wednesday September 26th 2012, 16:52
It's likely, though through personal experience Wine performance is slightly lower than Windows.

That said, I've been incredibly impressed by both the performance and stability I've been getting out of the game in Wine.
RE: Ways to Increase Performance
by André Fettouhi on Wednesday September 26th 2012, 17:06
I've been able to get rid of the frame rate drops by setting physical to low.
RE: Ways to Increase Performance
by Nikolay Belousov on Thursday October 25th 2012, 14:55
Downloading "physx" via Winetricks will solve perfomace problems with PhysX.

by michael schuchlenz on Friday September 21st 2012, 11:08
farnsworth@farnsworth-desktop:~$ wine /media/eins/Borderlands2/Binaries/Win32/Borderlands2.exe
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
err:module:attach_process_dlls "msacm32.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\media\\eins\\Borderlands2\\Binaries\\Win32\\Borderlands2.exe" failed, status c0000005


whats the problem
RE:
by Ferg on Friday September 21st 2012, 12:23
Are you using crack?
RE:
by michael schuchlenz on Friday September 21st 2012, 12:35
no
RE:
by Ferg on Friday September 21st 2012, 13:49
I got same error when i install some extra libs
RE:
by michael schuchlenz on Friday September 21st 2012, 16:10
got it running^^
RE:
by nivertius on Saturday September 22nd 2012, 3:45
what did you do?
RE:
by Anoniminious on Sunday September 23rd 2012, 21:56
I would also like to know how. At same point myself.
RE:
by Anoniminious on Monday September 24th 2012, 3:52
Okay, was stuck on this too for a bit and think I fixed it as well.

Problem has something to do with permissions (I don't know if it's because I re-located my home to a different HD or not), I decided to override the built in dll with the native and wine completely stopped working, talking about not being able to access dll's, so I logged in to root and all of a sudden, all the stuff related to msacm32.dll dissapeared, and wine was working as intended. Just need to get some DLL's from the june dist of activex, and I'm hoping it will work. Will update soon.
RE:
by solazs on Wednesday September 26th 2012, 13:03
I had the same issue, but it got fixed when i installed something with winetricks, but now i get the same message, but it complaints about winspool.drv. Any ideas?
RE:
by solazs on Sunday September 30th 2012, 16:50
I've got this issue again. Any ideas?
If i try to use native msacm32.dll, winmm.dll complaints, and i get:
err:module:import_dll Loading library msacm32.dll (which is needed by L"C:\\windows\\system32\\winmm.dll") failed (error c000007b).
err:module:import_dll Library WINMM.dll (which is needed by L"Z:\\media\\winlom\\Gamez\\Borderlands 2\\Binaries\\Win32\\Borderlands2.exe") not found
err:module:import_dll Loading library msacm32.dll (which is needed by L"C:\\windows\\system32\\winmm.dll") failed (error c000007b).
err:module:import_dll Library WINMM.dll (which is needed by L"Z:\\media\\winlom\\Gamez\\Borderlands 2\\Binaries\\Win32\\binkw32.dll") not found
err:module:import_dll Library binkw32.dll (which is needed by L"Z:\\media\\winlom\\Gamez\\Borderlands 2\\Binaries\\Win32\\Borderlands2.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\media\\winlom\\Gamez\\Borderlands 2\\Binaries\\Win32\\Borderlands2.exe" failed, status c0000135
RE:
by rollhax on Monday October 15th 2012, 21:04
I am also stuck here.

$ wine Borderlands2.exe
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

I've verified I have all required dll's (or at least the ones that it has complained about so far, before I got to this point). I have d3dx9 installed from the game installer and vcrun2008 installed via winetricks.

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? I'm using wine 1.5.14 on arch linux.
launcher error
by MonoBOY on Friday September 21st 2012, 2:47
Add file steam_apd.tht borderlands2.ehe run but the game still gives an error launcher
Borderlands 2 crashes after launch
by André Fettouhi on Friday September 21st 2012, 1:34
I got borderlands 2 running with the dotnet 4.0 workaround as mentioned below but after when all the logos appear and the game tries to create an online session it crashes for me with a fatal error.

Fatal error!

ssleay_rand_add() Address=0xe1cff886 (filename not found) [in ]
RE: Borderlands 2 crashes after launch
by Echo on Friday September 21st 2012, 12:11
I fixed this by installing GnuPG and associated packages. So, me being on Arch Linux 64bit, I installed these:

core/gnupg 2.0.19-2 [installed]
Complete and free implementation of the OpenPGP standard
core/gpgme 1.3.1-4 [installed]
A C wrapper library for GnuPG
core/libassuan 2.0.3-1 [installed]
A IPC library used by some GnuPG related software

Turns out that there was something a bit wonky with my install -- according to Pacman they weren't installed, yet they wouldn't install because apparently there were already files in the filesystem. I forced the install (yeah yeah, not supposed to, but whatevs) and now the game works.

So if you're on Arch, make sure those are installed; if you're not, make sure your distro's versions of gpg are installed.
RE: Borderlands 2 crashes after launch
by André Fettouhi on Friday September 21st 2012, 12:29
AWESOME, I'm running Arch64 as well and I also had these libraries installed already. So I reinstalled them and now Borderlands 2 runs :D. Many thanks!!!
RE: Borderlands 2 crashes after launch
by André Fettouhi on Friday September 21st 2012, 13:24
Well it worked once for me but now the error is back and reinstalling those packages doesn't do anything.
RE: Borderlands 2 crashes after launch
by Echo on Friday September 21st 2012, 14:25
hrm, yeah, i just tried it after i saw your response and it's doing the same thing again for me.

it appears to have something to do with the game being unable to make a secure connection to the Steam/Gearbox servers, so the creating the online session fails.

I'm going to look into this some more and let you know if i find anything.
RE: Borderlands 2 crashes after launch
by Echo on Friday September 21st 2012, 15:59
I am seriously at a total loss on this. I can't even imagine why it would have worked once... and now it's not working at all. I've totally reinstalled gnupg (breaking pacman in the process); removed the .gnupg config directory in my home directory... nothing seems to be fixing it.

Let me know if you find anything.
RE: Borderlands 2 crashes after launch
by André Fettouhi on Friday September 21st 2012, 16:14
Same here. I thought that the error was due to lib32-openssl not being installed but in my case it is installed (need by wine).
RE: Borderlands 2 crashes after launch
by Echo on Saturday September 22nd 2012, 4:53
Hey hey,

Looks like someone may have submitted a bug report on this: bugs.winehq.org/show_bug.cgi?id=31756

They even link to your post on the forums. :D
RE: Borderlands 2 crashes after launch
by Thomas L on Sunday August 11th 2013, 10:01
Hi, i got the same probleme.

I delete winehttp (frome winecfg > lib )
And now it works :-)

Hope it can help you
Gameplay Video
by Xpander on Thursday September 20th 2012, 11:53
www.youtube.com/watch?v=lbt_rS81eBc

read the description for the problem when u get .NET4.0 error with your launcher.

by Ferg on Thursday September 20th 2012, 3:55
Well, i install the game (also i istall directx, vcrun2005, vcrun2008, vcrun2010, xact + manually install XAPOFX1_5.dll from directx_Jun2010_redist.exe).
And now i get error:
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. Exception from HRESULT: 0x80070002

Looks like game need .net4.0. I tried that guide - appdb.winehq.org/objectManager.php?sClass=version&iId=24915 but i still get that error.

I also tried no-dwd, but it not help.
RE:
by Anthony Coble on Thursday September 20th 2012, 9:47
Did you try launching the game directly? Running file on the game and the Launcher, it looks like the launcher is a .NET but the game was not.
RE:
by Ferg on Thursday September 20th 2012, 12:45
yes, now it works for me
RE:
by Silvershaft on Tuesday September 25th 2012, 7:23
How do I manually install XAPOFX1_5.dll?

I figure that is what I am missing considering the message I receive is:

err:module:import_dll Loading library XAPOFX1_5.dll

I have cabextracted it from the directx_Jun2010_redist.exe package and tried placing it in $WINEPREFIX/drive_c/windows/system, $WINEPREFIX/drive_c/windows/system32 and even in the Binaries/WIN32 dir where I invoke the wine command but for whatever reason Wine refuses to pick it up....

Btw I am running Fedora 17 with wine-1.5.13. It is in a 64bit prefix because I couldn't get Steam installed otherwise.
RE:
by Ferg on Wednesday September 26th 2012, 3:25
1. Install cabextract
2. Download directx_Jun2010_redist.exe
3. cabextract directx_Jun2010_redist.exe - after command is complete, you will get a lot of .cab files. You need Feb2010_X3DAudio_x86.cab and Jun2010_XAudio_x86.cab
4. cabextract Jun2010_XAudio_x86.cab and cabextract Feb2010_X3DAudio_x86.cab
5. Copy XAPOFX1_5.dll and X3DAudio1_7.dll to Binaries/Win32
RE:
by Silvershaft on Thursday September 27th 2012, 8:37
Thanks

I managed to progress further with those instructions, I think I previously was grabbing a different version of the libraries.

It now finds the libraries and progresses but stops abruptly with the following log, anyone have any idea?

$> env WINEPREFIX=/mnt/md0/steam wine Borderlands2.exe
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
err:ole:CoGetClassObject class {dcb00c01-570f-4a9b-8d69-199fdba5723b} not registered
err:ole:CoGetClassObject class {dcb00c01-570f-4a9b-8d69-199fdba5723b} not registered
err:ole:create_server class {dcb00c01-570f-4a9b-8d69-199fdba5723b} not registered
fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported
err:ole:CoGetClassObject no class object {dcb00c01-570f-4a9b-8d69-199fdba5723b} could be created for context 0x17
fixme:advapi:EventRegister {47a9201e-73b0-42ce-9821-7e134361bc6f}, 0x3f005160, 0x3f036b20, 0x3f036b18
fixme:advapi:EventRegister {58a9201e-73b0-42ce-9821-7e134361bc70}, 0x3f005160, 0x3f036b58, 0x3f036b50
fixme:advapi:EventRegister {3fa9201e-73b0-43fe-9821-7e145359bc6f}, 0x3f005160, 0x3f036ae8, 0x3f036ae0
fixme:advapi:EventRegister {1432afee-73b0-42ce-9821-7e134361b433}, 0x3f005160, 0x3f036b90, 0x3f036b88
fixme:advapi:EventRegister {4372afee-73b0-42ce-9821-7e134361b519}, 0x3f005160, 0x3f036bc8, 0x3f036bc0
p11-kit: couldn't load module: /usr/lib/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/pkcs11/gnome-keyring-pkcs11.so: cannot open shared object file: No such file or directory
Setting breakpad minidump AppID = 79520
Steam_SetMinidumpSteamID: Caching Steam ID: 76561197966366254 [API loaded no]
fixme:advapi:EventUnregister deadbeef: stub
fixme:advapi:EventUnregister deadbeef: stub
fixme:advapi:EventUnregister deadbeef: stub
fixme:advapi:EventUnregister deadbeef: stub
fixme:advapi:EventUnregister deadbeef: stub
Back