The Cranky Sysadmin A world of technology, fun, and ignorant rants.

April 28, 2009

Ubuntu 9.04 and EVE-Online

Filed under: Eve-Online,Games,System Administration — Cranky Sysadmin @ 2:21 pm

Below is a description of how I installed Ubuntu 9.04 from scratch and got EVE-Online,
EVEMon, EFT, and Ventrilo working.

System:
Dell XPM M1710.
4GB RAM
Intel 3950 Wireless
Nvidia 7950 GTX 512 MB
New 5400 RPM 250GB Segate HD.

Go to the boot menu (F12 on Dell) and select CD-ROM boot.
Choose your language at the Ubuntu language picker. The second boot option is install. Pick
that. From here, you can probably pick the defaults and end up with a reasonable base
system. I chose to partition my hard drive using the advanced partition option.

My setup:
50GB root ( / ) partition
8GB swap
The rest for /home

After the first reboot, I only showed 3.3 GB of RAM with the generic 64 bit kernel. This was
surprising and a little disappointing. I tried to install and use the server kernel, but the
video drivers won’t work with that kernel, so I’m stuck with losing 700MB RAM. Wifi worked
out of box. I updated the system and attempted to enable the nvidia proprietary drivers.
They didn’t show up in the hardware drivers list until after a reboot, so….

Reboot ubuntu. Go to System/Administration/Hardware Drivers in the main menu. Select the
newest nvidia driver (it should be the “Recommended” driver) and click “Activate”. This wil
require another reboot. After the next reboot, you’ll want to set your resolution. It’s
best to do this as root so the configurator can save the X config file permanently, so run
this:
$ sudo nvidia-settings
Select X Server Display Configuration on the left. Set the resolution to the one desired and
click “Apply”. Click OK to accept the resolution. Then click “Save to X Configuration File”
to make the settings permanent.

Wine which comes with 9.04 is ancient (1.0.1). I compiled the latest as of
now (1.1.20). I had to patch the source to make the 3d models visible in EVE.
1) Spark up a terminal window and run:
$ sudo apt-get build-dep wine
to get the compiler and other stuff needed to compile wine.
2) Get the source from http://winehq.org in the right nav area of the site.
3) untar the source with:
$ tar xf wine-1.1.20.tar.bz2
4) $ cd wine-1.1.20
5) I need the patch from http://bugs.winehq.org/attachment.cgi?id=20412
save it where you untarred your source for wine and run this from the
wine-1.1.20 directory:
$ patch -p1 < ../apocrypha.shaders.1.1.19.patch
6) $ ./configure
7) $ make depend && make
8) $ make install
9) go do something else for a long while.
10)install cabextract:
$ sudo apt-get install cabextract

EFT installs and works out of box.
Ventrilo installs and works out of box.
EVEMon requires dotnet 2. Install that by using winetricks. Get winetricks from
http://www.kegel.com/wine/winetricks (save page as winetricks).
To run it, do this:
$ sh winetricks
Select core fonts (needed for EVE) and dotnet2. dotnet2 takes a long while to
download and install.

You can now use the offline installer to install EVE. You will lose all of your settings
from windows. I’m sure you can copy the settings folder from a windows partition, but I
didn’t test this.

If you run 2 clients, you’ll want to do some further setup. First, set the graphics in EVE
to windowed mode and at some lower resolution then your whole screen.
Make 2 icons for EVE. The Commands for each should look like this:
env WINEPREFIX=”/home/jjorgens/.wine” wine explorer /desktop=1,1600×1050 “C:\Program Files\CCP\EVE\eve.exe”
env WINEPREFIX=”/home/jjorgens/.wine” wine explorer /desktop=2,1600×1050 “C:\Program Files\CCP\EVE\eve.exe”
Adjust the resolution to be the same as you set in the game. Run one launcher for one account, and the other for the other account.

Strangely, if I run the game with the graphics at full tilt, the laptop will overheat and
shutdown after about 10 minutes of play. After turning the graphics all of the way down,
the game runs fine. I needed to use these low settings for when I am in fleet engagements
anyway, so it’s no loss for me.

7 Comments »

  1. Worked great for me. Thanks for the help

    Comment by DwainD — May 12, 2009 @ 2:16 pm

  2. how do you get the patch process to work, everytime I try it says no such file, than it asks to select the file to be patched..

    Comment by matt — July 8, 2009 @ 12:55 pm

  3. I think I’ve seen that problem before. I have to place the file on one of the drives that wine recognizes. My c: drive is ~/.wine/drive_c/. I usually place the patch files in ~/.wine/drive_c/crap and then cd to the crap directory and run: “wine WHATEVER.exe”. You could also run the patch file in the crap directory with “wine ‘c:\crap\WHATEVER.exe'”.

    Comment by John Jorgensen — July 10, 2009 @ 1:33 pm

  4. Thanks much for the help dude!

    Here’es a bit of an update I guess. The good news: Wine 1.1.25 works without the need for patch/compile!

    Firstly, my graphics:
    I have an ATI Mobility Radeon X1600, so I had to do this on Ubuntu 8.10 seeing as the ATI drivers don’t support the X server that comes with Ubunty 9.04.

    Wine: I tried wine 1.1.25 and it worked without the need for the patch (guess the patch is already applied in 1.1.25).

    Here’s what I did:
    1) Download and install the ATI drivers from ATI/AMD
    2) Install Wine 1.1.25 from the Synaptic package manager.
    3) Install EVE: Simply run the executable windows installer and Wine will pick it up. Do the same for any offline patches that you may have.
    4) To solve the regular eve crashes in wine, EVE has to run in its own virtual desktop. Do the following:
    4.1) Applications -> Wine -> Configure Wine
    4.2) under the Applications tab, click “Add Application” button
    4.3) Browse to and choose the EVE.exe
    4.4) Make sure that eve.exe is selected under the Applications tab and switch to the Graphics tab
    4.5) Check “Emulate Virtual Desktop” and enter your desired resolution.
    4.6) Uncheck the “Allow the widow manager to decorate the windows”

    Voila!
    Happy pew-pew! :)

    Comment by Tom — July 14, 2009 @ 6:35 am

  5. I don’t suppose you know how to get the EVE install CD working do you? I tried using wine to open the eve_premium_setup_74306.exe but it creates the error “Access Denied” even though I’m running of the main administrator. Perhaps a locked disc?
    Thanks!

    Comment by V — November 30, 2009 @ 10:05 am

  6. I never tried installing from the CD. That CD is pretty out of date by now anyway. I suggest downloading the latest install from eve-online.com. The patch process moving forward from the CD version to the current version will probably take just as long.

    Comment by John Jorgensen — November 30, 2009 @ 11:08 am

  7. Thank you sirs. With the information found here + plus the comments I got my Eve working.

    Comment by ovidiu — June 22, 2010 @ 6:24 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress