---
title: More about EVE (in Wine)
date: 2007-12-19T23:34:00.000Z
---

Okay, annoyed with the choppiness of EVE in Cedega (the official "client" on Linux) I set out to get EVE running in Wine.

The instructions for setting it up are on the EVE forum, but [the thread](http://myeve.eve-online.com/ingameboard.asp?a=topic&threadID=30457) is 60 pages long, so I've added it as steps here instead (for Debianish systems (Debian, Ubuntu, Mint, etc)).

Since the install works fine in vanilla Wine, I'll just skip that bit as it is really point and click (check winehq.org if you have doubts about how to install wine - you'll at least need to add their repository).
<!--more-->

Open a terminal and let's go!
(just copy-paste this stuff line for line)

### 1. Creating a patched Wine package

First, we need the sourcecode to Wine:
```bash
apt-get source wine
```

Go to the newly created directory containing the sourcecode:
```bash
cd wine-0.9.*
```

Get and apply the patch (developed by aturkin and stefand from #winehackers@FreeNod):
This adds support for some advanced network operations that vanilla Wine currently doesn't have and EVE Trinity require.
```bash
wget http://stud4.tuwien.ac.at/~e0526822/0001-implement-BindIoCompletionCallback.patch
patch -p1 < 0001-implement-BindIoCompletionCallback.patch
```

Get the packages required to compile Wine:
This might take some time to finish.
```bash
sudo apt-get build-dep wine
```

Change the version number of our Wine-package:
This makes it easier to keep of track of what version we have installed.
```bash
cp debian/changelog debian/changelog.backup && echo -e 'wine ('$(dpkg-parsechangelog | grep 'Version: ' | cut -d\  -f2-)'eve) '$(dpkg-parsechangelog | grep 'Distribution: ' | cut -d\  -f2-)'; urgency=low\n\n  * Small patch to make EVE work\n\n -- '$( dpkg-parsechangelog | grep 'Maintainer: ' | cut -d\  -f2-)'  '$(dpkg-parsechangelog | grep 'Date: ' | cut -d\  -f2-)'\n\n'"$(cat debian/changelog)" > debian/changelog
```

Compile Wine and make a package of it:
Put on a movie while this command finishes, it's going to take a while.
```bash
dpkg-buildpackage -rfakeroot
```

Now, install the package:
```bash
sudo dpkg -B -i ../wine_0.9.*eve*.deb
```

### 2. Running EVE

Run:
```bash
cd "~/.wine/drive_c/Program Files/CCP/EVE/" && wine eve.exe
```

(If you get a black screen, or can't get passed the login screen, try pressing Escape and see if you can get further from there)

### If you still have problems

You might need to upgrade EVE to Premium by downloading and running the [patch located here](http://www.eve-online.com/patches/patches.asp?s=&system=win&edition=classic&n=45017) (in Wine).

#### The following is made obsolete by the patching above, but included here still in case you have any problems:

Since EVE tries to communicate with a specific server on startup in a way that Wine currently doesn't support, we need to block that server's IP address:
```bash
sudo sh -c 'echo "87.237.39.199 localhost" >> /etc/hosts'
```

Restart the network (is not always necessary):
```bash
sudo /etc/init.d/networking restart
```

Voice chat seems to cause problems with Wine, so you can turn that off too.
Open **~/.wine/drive_c/windows/profiles/*YOURUSERNAME*/Local Settings/Application Data/CCP/EVE/settings/prefs.ini** and add the following line:
```
voiceenabled=0
```

Also, you might as well set **eulaagreed** to **1** so you can skip the license agreement.

That's it!
If you have any problems with the steps, feel free to leave a comment.
