Sunday, July 5, 2009

Play High End Windows Games in Linux

To know about wine please go here: Wine Installation on Ubuntu 8.10 a Tutorial

In normal you cant play High End Windows Games

This is the only reason why most of the users prefer windows as their main OS over linux. But here is a way to run high-end games on linux by tweaking your wine installation.
Now see How to fix this.

For this you Need:
  • Linux (i prepare ubuntu)
  • Internet connection
  • The game that you intend to play
Now Do:

If you already have wine installed, remove the existing installation to re-installed the patched verion. The pacth will inject the 3D mark and openGL features which are necessary for installing high end games.

To Uninstall or Remove Previous version run following code:
(need internet for this)

sudo apt-get remove wine
rm -r ~/.wine
sudo apt-get build-dep wine
sudo apt-get install build-essential checkinstall

Now Getting the new Wine, Patching it and Installing it :

mkdir wine && cd wine
wget http://easynews.dl.sourceforge.net/sourceforge/wine/wine-0.9.50.tar.bz2
tar -xvjf wine-0.9.50.tar.bz2
wget http://bugs.winehq.org/attachment.cgi?id=8548
cp attachment.cgi\?id\=8548 wine-0.9.50/3dmark.diff && cd wine-0.9.50
patch -p1 < prefix="/usr" sysconfdir="/etc">

Now accept the default settings and when an option will come up to set a description, set one and enter, select the next default. Done!

Setting Up Wine:
First run this code

wineprefixcreate
winecfg

Now get the DirectX 9 DLL files by running the following codes :

mkdir dx9 && cd dx9
wget http://www.m3fe.com/files/d3dx9_34.zip
unzip d3dx9_34.zip
mv d3dx9_34.dll ~/.wine/drive_c/windows/system32/

Now Install the Game with wine :

cd /path to cdrom/
wine setup.exe

To Run The Game Installed:

cd ~/.wine/drive_c/Program\ Files/Game\ Folder/gamename.exe

Now you can play........
Please dont run game in high colour config..

No comments:

Post a Comment