Forum Jump :

Author Message


Posts: 20253
Rank:


Level: Super Admin

Country: nl
Location: The Netherlands
Occupation:
Age: 41
In-game name: Foxhound

 
#1 Posted at 2012-01-06 17:14        
     
The following tutorial was written by Kindling and has been copied with the authors permission from the BI forums.

New version built! Now on WINE 1.3.36.

Hi guys, I've managed to get most of the current Bohemia Interactive games working well with WINE. You have 2 options:


(Full-sized image is >2MB!)

Easy route: Precompiled binaries and autoinstall script

This is made for Steam, but I'll happily adapt it to any other installation method if there's any demand.

Make sure you have all the WINE dependencies for your distro! The easiest way to do this is just to install WINE through your package manager, eg.
sudo apt-get install wine
on Ubuntu and Debian.

First, find a folder for your games - the partition will need a lot of space, so make sure that you've got enough room. Let's use our home directory (~), for this example. Grab the script and make it executable:

Download here!

mv ~/Downloads/arma-wine-installer.sh ~/arma-wine-installer.sh
chmod +x ~/arma-wine-installer.sh
cd ~

OR

cd ~
wget http://tgsmod.net/arma-wine-installer.sh
chmod +x arma-wine-installer.sh

And run it!
./arma-wine-installer.sh

It will automatically download WINE and install Steam for you, and create the script startsteam.sh to start Steam in the future. When Steam appears, login the usual way and install your games, and when it's done you should be able to just play them as usual. Once you've closed Steam, reopen it by returning to the directory that you ran the script and typing:
./startsteam.sh

Note: Close your terminal emulator after using the install script (make sure to finish/close Steam first), it's pretty dirty and leaves a few variables hanging about. I'll clean it up if that becomes a problem for anybody.

Binary packages for Linux Distributions
More difficult, traditional route - manual build and install:

If you're comfortable with managing multiple WINE versions and compiling your own software, here's the information you need:
  • WINE version 1.3.36 from Git
  • Patch raw3.patch from WINE bug 20395
  • StrictDrawOrdering enabled in registry
  • xact and dsound from winetricks
Example:
git clone git://source.winehq.org/git/wine.git ~/wine-git
cd ~/wine-git
git checkout wine-1.3.36
wget http://dl.dropbox.com/u/6901628/raw3.patch -O ../raw3.patch
git apply ../raw3.patch
./tools/make_requests
mkdir ../wine-build
cd ../wine-build
../wine-git/configure
make -j3
make prefix="~/altwine" install

If you don't understand all these steps, this is probably not the best method for you - stick with the automatic script.

Success Stories

Endotic
GeForce GTX 550 Ti, ArchLinux Testing (amd64), Nvidia 290.10
  • Wine 1.3.34 + Wine 1.3.36
Operated
GeForce GTX 560 Ti, Slackware x86 w/PAE, Nvidia 285.05.09
  • Wine 1.3.32-1.3.36
Notes/troubleshooting

There are a few issues with ARMA II and WINE at the moment, these are pretty much universal across BiStudio's current generation games:
  • LoD issues - objects flicker and disappear, and textures decrease and increase in quality apparently at random. It's not enough to detract from gameplay all that much, but it might throw you off a little.
  • Sound issues - Sound seems fine, use winetricks to install dsound and/or xact if there are any issues.
  • The player profile options screen flickers, but it's still usable.
  • Sometimes the mission map entities will flicker and sometimes you lose the ability to click briefly in menus - just use the keyboard (RETURN and TAB) to navigate, and it will be fixed in the next screen. It's not bugged out on me ingame yet.
  • On ARMAII and OA, antialiasing must be set to at least 'Low' or no textures will appear and everything will go grey.
  • Without StrictDrawOrdering enabled, muzzle flashes leave an afterburn effect and the area around your weapon is generally messed up. The script automatically enables this to get around the bug.
  • If you have other problems, try adding a 'VideoMemorySize' string set to your memory in MB (eg. 2048) in HKEY_CURRENT_USER/Software/Wine/Direct3D (create the key if it does not exist) in the WINE registry. You can get into WINE regedit by typing (assuming you installed from your home directory as suggested):
  • ~/startgeneric.sh regedit
  • If you have any other problems, just leave me a message here - I'll get back to you. I tested this on the following system: Phenom 9600 (Quad core), 4GB RAM, GeForce 550 Ti 2GB, NVIDIA 290.10-1, ArchLinux amd64.
  • You may need to use WINE version 1.3.32 to install and patch ARMA II retail (without Steam). (Thanks Operated!)
Crash Logs
None! If you have any, give me a link to them and I'll put them here.

Footnote
I'm also interested in seeing if somebody can attempt to get this working similarly with Mac OSX (WINE + MacPorts? Not really sure how it'd be done). I don't have OSX myself, but it should build the git version with the patch if all the dependencies are right.


Source: BI forums

This post was edited by Foxhound (2012-02-01 21:30, ago)

Visit my family webshop desteigerhoutshop.nl.

Author Message


Posts: 3
Rank:


Level: Member

Country: ba
Location: Sarajevo
Occupation: Propuh
Age: 41
In-game name:

 
#2 Posted at 2012-02-01 21:21        
     
Thanks Foxhound for your tutorial how to run Arma2 on Ubuntu.
I followed it and come even to main menu in Arma game, but further I can't go. I'm not able do press any button on main screen where I could make graphic options lower, or even exit the game.
I'm beginner in Linux, and Arma worked fine on Windows7, so hardware requirements are fulfilled.
Any suggestions how to get it to work, as I'm not getting back on Windows for now.
Thanks in advance.

hamachi testing room:
arma2_bih
123

Advertisement


Author Message


Posts: 20253
Rank:


Level: Super Admin

Country: nl
Location: The Netherlands
Occupation:
Age: 41
In-game name: Foxhound

 
#3 Posted at 2012-02-01 21:29        
     
# Propuh : Thanks Foxhound for your tutorial how to run Arma2 on Ubuntu.

Thanks but I have not written this tutorial, Kindling did on the BI forums. I copied it here with his permission ;-)

Sorry, I cant help you in anyway, I just wanted to have the info here on our forums but I think you have a better chance asking your question in the linked topic on the BI forums. Maybe the author himself can help you with your issue.

Unless of course someone here knows what the problem is.

Visit my family webshop desteigerhoutshop.nl.

Author Message


Posts: 3
Rank:


Level: Member

Country: ba
Location: Sarajevo
Occupation: Propuh
Age: 41
In-game name:

 
#4 Posted at 2012-02-01 21:31        
     
Well, thanks than for copying from BI forum.
I'll go there to ask.
:)

hamachi testing room:
arma2_bih
123





Tags: Linux, Wine