Configure wine
In order to have sound use the following options:
WINEPREFIX=~/.wine/borderlands wine winecfgAudio tab:ALSA (emulation) Drives tab: click on Auto-detect
You don't need to install the Gecko engine.

Install requirements
You will need "d3dx9" and "vcrun2005" and "vcrun2008" to run Borderlands
So get winetricks and install all 3 properly

mark "d3dx9" and "vcrun2005" and "vcrun2008" so it will install all 3 properly
WINEPREFIX=~/.wine/borderlands winebootLink 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)

WINEPREFIX=~/.wine/borderlands wine /cdrom/Setup.exeThe 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.

Patch it
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.

Download the wine source and patch it then build it new and create a .deb package. (Patch works for see top of page)

wget http://downloads.sourceforge.net/pro...1.1.34.tar.bz2
tar xjvf wine*.tar.bz2
cd wine-*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
autoreconf
./configure
make depend
make -j 2
checkinstall -D --install=no

Re: Can't install borderlands using POL or wine

I got past that by switching to a different No-DVD patch, but now the game crashes if I try to change the resolution from 640 x 480. I tried manually setting it in the willowengine.ini file, and now the resolution I set appears as that resolution in game, but the resolution is actually displaying at 640 x 480.

The crash it gives reports a file not found error pointing to the exe file in program files (x86) etc. etc.

Re: Can't install borderlands using POL or wine

The game is not pirated. It uses securom and needs a no-dvd patch.

I was able to resolve the low resolution problem by changing the wine script to 1.5.18, but the performance is now awful (seems to be a problem with my Bumblebee/Optimus). I've created a separate thread about that.

Re: Can't install borderlands using POL or wine

Originally Posted by jccantele49

The game is not pirated. It uses securom and needs a no-dvd patch.

I was able to resolve the low resolution problem by changing the wine script to 1.5.18, but the performance is now awful (seems to be a problem with my Bumblebee/Optimus). I've created a separate thread about that.