Play, sort of ..
What does not
Mouse turn 360 degrees.
Graphic errors on the floor
No patch submitted in the br works !!! Very sad!
What was not tested
Bug 6971 makes game in fact unplayable! Please Fix bug or submit working patch, Thanks!
|Operating system||Test date||Wine version||Installs?||Runs?||Used|
|Show||Fedora 15 x86_64||Aug 10 2011||1.3.24||Yes||Yes||Platinum||Pat|
|Show||Gentoo Linux x86_64||Oct 22 2010||1.3.4||Yes||Yes||Gold||Baustein|
|Show||Ubuntu 10.04 "Lucid" amd64 (+ variants like Kubuntu)||Aug 26 2010||1.3.1||Yes||Yes||Silver||Manuel|
|Current||Sidux 64bit||May 30 2010||1.2-rc2||Yes||Yes||Bronze||Manuel|
|Show||Debian GNU/Linux 6.x "Squeeze" x86_64||Jan 23 2010||1.1.37||Yes||Yes||Silver||Manuel|
You will need a gamespy account to play online.
| HowTo tested / game / mouse patch works with:
wine1136,wine1137 --> NO sound
Add: mmdevapi in libs winecfg and set it to disabled
|Recommend to play with the newest working wine version!
In order to have sound use the following options:
WINEPREFIX=~/.wine/borderlands wine winecfg
Audio tab:ALSA (emulation)
Drives tab: click on Auto-detect
You don't need to install the Gecko engine.
You will need "d3dx9" and "vcrun2005" and "vcrun2008" to run Borderlands
So get winetricks and install all 3 properly
chmod +x ./winetricksÂ
mark "d3dx9" and "vcrun2005" and "vcrun2008" so it will install all 3 properly
Link it (optional)
Link /.wine/borderlands/c_drive to /..../..... whatever
if you don't want to install 7 GB in your home. (copy the c_drive folder to the new dest. and link to it)
Activate the game (before install)
Do the offline activation described here http://www.2kgames.com/borderlands/activation/:
WINEPREFIX=~/.wine/borderlands wine Borderland-ManualReleaseDateCheck.exe
Install the game:
Install the game from ISO file (quicker than DVD):
WINEPREFIX=~/.wine/borderlands wine /cdrom/Setup.exe
The installer wants to install vcrun2008 (Visual C++2008) don't allow it it will corrupt the vcrun2005 installation! Open htop or top and send sigterm to "vrcrun_x86.exe"
After that the initialising of the installer is freezing so open htop or top again and send sigterm to "dxsetup.exe" and/or "amd/ati_setup.exe"and install will continue
Be careful to terminate the process with the higher PID otherwise install will crash. Usually the path is shown in htop and it says something like "Requirements....."
Run the game:
You will notice that you can't move your mouse 360Â° in game but that's fine for now.
Start the binary in the directory with all the other files in it and not the one in Binaries/Binaries.
WINEPREFIX=~/.wine/borderlands wine Borderlands.exe
Just check if it is running.
Download the patch for Borderlands and install it. Change dir to the extracted patch.
Be sure that [HKEY_LOCAL_MACHINE\Software\Gearbox Software\Borderlands\InstallFolder] is pointing to the Borderlands folder and not to Borderlands/Binaries or Borderlands/Something
WINEPREFIX=~/.wine/borderlands wine Setup.exe
Now you can install additional DLC if you want.
Patch wine with mouse cursor patch
Install the dependencies for wine (script works for Ubuntu only). If you don't use K/Ubuntu look here for 32 bit http://wiki.winehq.org/Recommended_Packages and here for 64 bit dependencies http://wiki.winehq.org/WineOn64bit
sudo sh install-wine-deps.sh
If you use Debian you can do:
apt-get build-dep wine
Download the wine source and patch it then build it new and create a .deb package.
(Patch works for see top of page)
tar xjvf wine*.tar.bz2
For different wine version you need different patches:
For wine 1134 to 1142 withXorg 1.7.5 or earlier you need:
wget http://bugs.winehq.org/attachment.cgi?id=25097 -O X.patch
Unfortunatelley it seems that the above patch is broken with wine greater than 1142 and Xorg 1.7.5 or earlier and the new X2 patch does not work with Xorg 1.7.5so use an older wine version or a newer version of Xorg. (Currently only Ubuntu patches the Xorg 1.7.6 Server with patches from Xorg 1.8 wich make the X2 patch working)
For Xorg 1.7.6 (ubuntu patched) you need the new X2 patch:
This patch should work with wine 1143 to 131 but i only tested: 130 and 131
wget http://bugs.winehq.org/attachment.cgi?id=29313 -O X.patch
Now apply the patch:
#Download other patches you may want at this point
patch -p1 < X.patch
make -j 2
checkinstall -D --install=no
install with mwine if you like.
WINEPREFIX=~/.wine/borderlands wine regedit
Browse to: Current_user/Software/Wine/ and create "DirectInput"
Create 2 strings:
"MouseWarpOverride" value "force-box"
"BoxPixels" value "5"
Now mouse will work.
Play the game
When you compile wine 34 on x64 it could happen that make stops with an error with winemp3
make: Entering directory `/mnt/daten/src/wine-1.1.34/dlls/winemp3.acm'
gcc -m32 -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wwrite-strings -Wtype-limits -Wpointer-arith -g -O2 -o mpegl3.o mpegl3.c
../../tools/winegcc/winegcc -m32 -B../../tools/winebuild --sysroot=../.. -shared ./winemp3.acm.spec mpegl3.o -o winemp3.acm.so -lwinmm -luser32 -lkernel32 ../../libs/port/libwine_port.a -lmpg123
mpegl3.o: In function `MPEG3_Reset':
/mnt/daten/src/wine-1.1.34/dlls/winemp3.acm/mpegl3.c:401: undefined reference to `mpg123_feedseek'
collect2: ld returned 1 exit status
winegcc: gcc failed
make: *** [winemp3.acm.so] Error 2
make: Leaving directory `/mnt/daten/src/wine-1.1.34/dlls/winemp3.acm'
make: *** [winemp3.acm] Error 2
make: *** Waiting for unfinished jobs....
This can be fixed by rename "mpg123_feedseek" into "mpg123_feedseek_64" in wine-1.1.34/dlls/winemp3.acm/*.c
Game is slow
If the game is slow try:
HCU | +-Software | +-Wine | +-Direct3D
And create string: "DirectDrawRenderer" with "opengl"
This helps a bit to smooth the game but on my machine it is not much.
Turn FPS smoothing off
Try to change:bSmoothFrameRate=True
in WilllowEngine.ini to False
Lower Texture Detail:
Change MaxLODSize of:
TEXTUREGROUP_World=(MinLODSize=1,MaxLODSize=4096,LODBias=0) TEXTUREGROUP_WorldNormalMap=(MinLODSize=1,MaxLODSize=4096,LODBias=0) TEXTUREGROUP_WorldSpecular=(MinLODSize=1,MaxLODSize=4096,LODBias=0) TEXTUREGROUP_Character=(MinLODSize=1,MaxLODSize=4096,LODBias=0) TEXTUREGROUP_CharacterNormalMap=(MinLODSize=1,MaxLODSize=4096,LODBias=0) TEXTUREGROUP_CharacterSpecular=(MinLODSize=1,MaxLODSize=4096,LODBias=0) TEXTUREGROUP_Weapon=(MinLODSize=1,MaxLODSize=4096,LODBias=0) TEXTUREGROUP_WeaponNormalMap=(MinLODSize=1,MaxLODSize=4096,LODBias=0) TEXTUREGROUP_WeaponSpecular=(MinLODSize=1,MaxLODSize=4096,LODBias=0) TEXTUREGROUP_Vehicle=(MinLODSize=1,MaxLODSize=4096,LODBias=0) TEXTUREGROUP_VehicleNormalMap=(MinLODSize=1,MaxLODSize=4096,LODBias=0) TEXTUREGROUP_VehicleSpecular=(MinLODSize=1,MaxLODSize=4096,LODBias=0) TEXTUREGROUP_Cinematic=(MinLODSize=1,MaxLODSize=4096,LODBias=0) TEXTUREGROUP_Effects=(MinLODSize=1,MaxLODSize=4096,LODBias=0) TEXTUREGROUP_EffectsNotFiltered=(MinLODSize=1,MaxLODSize=4096,LODBias=0) TEXTUREGROUP_Skybox=(MinLODSize=1,MaxLODSize=4096,LODBias=0) TEXTUREGROUP_UI=(MinLODSize=1,MaxLODSize=4096,LODBias=0) TEXTUREGROUP_LightAndShadowMap=(MinLODSize=1,MaxLODSize=4096,LODBias=0) TEXTUREGROUP_RenderTarget=(MinLODSize=1,MaxLODSize=4096,LODBias=0)
To any of: 2048,1024, 512 or 256 (Lower is faster)
Outline Shader is not rendered correctly.
Tweaks on the gearbox forum:
I seems that the patch in the tutorial does not work for wine versions greater than 42 and/or on Xserver greater than 1.7.5
It could be that the x2 patch would make it work again but X 1.8 is not official release yet (and not in debian unstable)
The X2 patch works with Xserver version: X.Org X Server 1.7.6
Release Date: 2010-03-17(Ubuntu version - with patches from 1.8 X.org)
also the patch works with wine 1.3.0 and 1.3.1