Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts

Monday, June 14, 2010

Facebook Chat in Empathy Ubuntu Linux

Using Facebook Chat in Ubuntu on Empathy


Facebook Chat Server Settings:


To set up the configuration:

Click edit->accounts, then click the Add button.


  • Account Type: Jabber

  • Reuse existing account

  • Create

  • Login ID: <username>@chat.facebook.com (Note you must create a facebook username if you have not already)

  • Under Advanced - Server: chat.facebook.com



Then you are finished. Make sure SSL is disabled (which should be the default). Please leave some comments! Thanks!

Saturday, April 10, 2010

Oblivion in Wine : Bypass Securom

Installing Oblivion under linux wine Ubuntu



Attempting to install oblivion in linux to run under wine causes some problems for me. The problem is securom, or saferom. When you attempt to install oblivion under wine (I am using Ubuntu) the installer fails. We need to find a method to bypass securom so we can use wine to play the game.

Since the install files are ultimately just tucked away inside some cab files, installation without using the actual installer is possible. All you have to do is use a tool called "Unsheild".

Users who are using playonlinux should still be able to use this guide, and install the game. Later use playonlinux to actually run the game.

What you will need to set up Oblivion



You will only need an open terminal and an ISO version of the disk. You could try this method with the DVD itself in the drive.

Mounting the ISO



I had to try this method in my attempt to install oblivion from some ISOs I had saved on my hard drive. What I ended up doing was mounting the ISO to my cdrom mount point:


sudo mount -o loop /path/to/oblivion.iso /media/cdrom


replacing /path/to/oblivion.iso with the path to the actual ISO file.

Setting up Unsheild



Then you need to install "Unsheild"


sudo apt-get install unsheild


Installing Oblivion



Then you run the command to "install" the game


unshield -d /path/to/install/to x /media/cdrom/data1.cab


replacing /path/to/install/to with the path you wish to install the game. This will extract all the cab contents to the specified folder.

Running the Game



Next we run the game


wine /path/to/install/to/Oblivion/OblivionLauncher.exe


Enjoy!

Thursday, February 11, 2010

Mass Effect 2 Runs in Wine in Ubuntu Linux

Mass Effect 2 using Linux in Wine



Get Wine



So I got mass effect 2 working in wine. Man is it a great game. To get it to work in wine:

go here and download wine (latest version as of now 1.1.38) http://sourceforge.net/projects/wine/files/Source/wine-1.1.38.tar.bz2/download

(note I would recommend 1.1.38 if you want to use the patches below)

extract and enter the directory in the terminal. Now we need to run the configure script:

./configure


Or to speed up compilation:

./configure --disable-tests


Which will skip compiling the wine test suite which generally you won't need.

Patching



Two patch files are located at:
http://bugs2.winehq.org/attachment.cgi?id=15638 for the mouse warping

http://bugs.winehq.org/attachment.cgi?id=26032 for crashes (I didnt seem to need this patch)

Next, you will need to apply some patches. There is one for crashing, and another to fix the mouse warping. I don't have these on hand at the moment. I couldn't get my mouse warping to work properly, so I edited mouse.c under dlls/dinput/ and made it so mouse button 3 would toggle mouse warp (on / off) which is a pain but makes the game more playable. To apply patches to a source, under the source tree, type:

#patch -p1 < NAMEOFPATCHFILE


Afterwards you can compile as shown below.

Compile


Ensure that you have XML support compiled in, as well as openal. You can determine this through the final output of the configure script. If you don't have the xml and openal dev packages, install them with your favourite package editor.


make
sudo make install


Again, an interesting way to speed up compilation on a multi core machine is to use:


make -j 4
sudo make install


You can replace "-j 4" with the number of processors you have (I have a quad core).

Finally



now run "winecfg" and set up a virtual desktop (I have to using nvidia latest binary driver geforce 9600).

Also, we need to install packages with winetricks to get this to work


wget http://www.kegel.com/wine/winetricks
sh winetricks d3dx9 d3dx10 vcrun2005 physx


Now run the installer, and finally run the game. I am able to play on full settings with 1900x1080 resolution :D

Enjoy!