Unix and You
From Goonwiki
|
Part of a series on
| |
|---|---|
|
Advanced Techniques | |
|
Implants 路 Cynosural Field 路 Alts | |
|
Linguistic Resources | |
|
Foreign Language EVE Forums | |
|
Nerd Information | |
|
Ship Size Comparison 路 Unix and You 路 Prefs.ini | |
|
| |
Contents |
[edit] To Do List
If you use a Unix based system to play EVE please help by updating this page.
- Update Cedega instructions under Linux
- Fill out Crossover instructions for Linux and Mac
- Fill out WINE instructions for Mac
- Fill out Official Client instructions for Linux and Mac
- The one Goon solaris user, could you please fill in the Solaris section, thx
[edit] Introduction
Anyway now that the Windows users have been pandered to with their deep hatred of anything not coming out of Bill Gates cock here is how to install and play EVE under Linux, Mac, and that operating system the creepy guy from IT Crowd uses. It's easier than it was in the olden days, though you'll probably have to touch a command line. The good news is thanks to a lot of hard work by random people you'll never meet (and a couple of Band of Brothers pilots) your level of performance will likely be on par with (and in some cases better than) Windows, but if you've been playing Eve for any period of time that doesn't mean a whole lot. If this doesn't sound like it's for you, just format your computer and install Windows.
[edit] What to use
Your options for running EVE under operating systems other than Windows are rather crowded these days so we'll go through a quick list and details to help you choose. The majority of Goonfleets unix users prefer Wine under Linux and Crossover under Mac though what you use is up to you.
- Wine is a free, open-source project supported by the community. Yes this means Goons, BoB, and even Rise have submitted fixes for it. As well as this there are paid coders who include EVE as a game they want to continue to see supported. It tends to have the best support for EVE in terms of least bugs, better graphics display, and higher FPS.
- Crossover is a commercial version of Wine, most of those who are paid to fix EVE bugs in Wine are paid by the company that releases Crossover. In effect when you buy this product you are paying for EVE support under Mac and Linux. As well as the warm fuzzy feeling you get from this you also get an integrated installer (it does everything for you, legally, and even downloads the EVE installer). The down sides are that you have to hand out real money and it is usually around a month or two behind Wine in bug fixes and features.
- Cedega is a commcercial version of an old version of Wine. This old version is a folk from many years ago when the Wine project moved to the GPL and focused away from games support. It has been patched on and added too over the years but in general is rather buggy and has less support than Crossover or Wine. The Cedega coders rarely share their improvements with the Wine community and the payment style is a lockin monthly fee.
- CCP EVE Client for Linux and Mac is based on a wrapper based on a cut down free version of Cedega that can only play EVE. It shares similiar features to the Crossover automated installer though is reported to be rather buggy.
This guide will focus primarily on Wine setup, as any problems that apply to it will likely apply to the other programs and, well, because its free. If you're using something else and you run into problems it is still a good idea to read this guide anyway! There is a very good chance that the issue and subsequent fix will apply to your case.
[edit] Linux 2.6.x
[edit] Using Wine
Wine v0.9.55 works with Premium graphics out of the box with no modifications needed. Use this version or later. Wine Project Page (6.10.*)
The program we are going to be using is called WINE or Wine Is Not An Emulator. Before you ask; no it is not an emulator, it is a compatibility layer, the difference is one has crap performance and the other has par performance.
At this point, you have a couple of options. You could use your distributions' most recent package, the latest Wine release, or the absolute latest snapshot via the developers' Git repository. Depending on your distribution, installing Wine the "right" way via its own package management system may lead to a horribly outdated (>1 yr. old) install. If that is the case, you can get the latest release direct from WineHQ.
Finally, remember that several people are actively improving DirectX 9 support in Wine as you read this; if you want to be bleeding edge, install git tools on your system so you can grab the latest snapshot by hand as shown below. Work out how to do this yourself by Google-ing around or asking on your distro's IRC channel on Freenode.
[edit] Git
If you want to be bleeding edge, here are some general instructions. Good luck...
Open a console and create a directory you'll use for future programs to compile.
cd ~/ && mkdir programs && cd programs
Check out the WINE source tree.
git clone git://source.winehq.org/git/wine.git wine && cd wine
Configure checks if Wine can be built. You will need to fill dependancies it asks for.
./configure
Compile and install Wine.
make depend && make && sudo make install
Compile time varies widely depending on processor and configuration. Expect to wait 20 minutes or so.
Gentoo users and other compiler-flag-using-faggots: Wine appears to work fine if you use reasonable CFLAGS (if you're using -O3 system wide you're fucking dumb FYI), but keep in mind that for this specific application using any optimizations at all introduce a potential point of failure with little to no potential gain.
Dualcore or better users CC="ccache gcc -m32" LDFLAGS="-L/lib32 -L/usr/lib32 -L`pwd`/lib32 -Wl,-rpath,/lib32 -Wl,-rpath,/usr/lib32" ./configure && make clean && make -j 4 ... Change the -j n to what you require, 4 will lock up a E6600 but build wine in around 12 minutes, 8 will do the same to a quad core but build it in 4 mins.
[edit] Installing EVE
Install eve as you would under Windows. Precede the path to wherever you downloaded the installer with the "wine" command, as such:
wine ~/Desktop/EVE_Setup.exe
The installer will appear, looking very much like a Windows app. Install as normal to the default directory (C:\Program Files\CCP\EVE). It is surprising at first to see the usual Microsoft directory structure, but everything will be OK because of the neat way it is overlayed onto your Unix-based FS.
You will also need to install the arial font and a directx dll if you have yet to do that. See the fixes area for instructions. Also it is best to tell wine to use fbo to avoid corrupted avatar pictures, instructions for setting this are under tips and tricks.
[edit] Running EVE
Never, ever run Wine as root. If Wine fucks up, or a program running via Wine fucks up badly enough, it will hose your entire fucking system just as fast as it would have hosed your entire system under Windows. Now that thats out of the way, open up a terminal and run the following. You can either use the wine command followed by the Windows-like path within wine to which you installed Eve:
wine "C:\Program Files\CCP\EVE\eve.exe"
...or you can use the wine command followed by the actual filesystem path:
wine ~/.wine/drive_c/Program\ Files/CCP\eve.exe
Wine outputs a small amount of important stuff and a shitload of unimportant stuff to the command line; there are a few messages you'll want to look out for on your initial launches. When you're done tweaking and the game appears to be running reliably, just make a menu entry in whatever desktop environment you're using and launch the game from that. You can do the following if you insist on running Eve from the command line every time you launch it.
Sending your standard error to /dev/null while using the command line is rather handy on slower systems as you need as much CPU power as possible, and all that detailed wine output stuff looks messy anyway. You can do this by appending either of the above commands with:
&> /dev/null
[edit] Fixes
Here is a fixes section, in case getting Eve up and running wasn't as easy as we'd hoped.
- You may have to install d3dx9_35.dll. In the EVE\bin directory, run RedistD3DXOnly.exe (with wine, of course), and if that makes anything appear in your Wine C:\ (~/.wine/drive_c/) location run that too. You should now have the missing dll file in your Wine windows\system32 directory.
- Install some fonts. From a vanilla Ubuntu Intrepid install with a vanilla WINE 1.1.18 install currently, you will probably get a 'bug' where the ELUA is not visible, thus you can not accept it and play. The simplest method without having to find a Windows box to steal from is to use the 'winetricks' script. Grab it like this:
wget http://www.kegel.com/wine/winetricks && sh winetricks corefonts
- Keep an eye out for a bunch of errors such as "fixme:d3d_draw:drawPrimitive Using software emulation because not all material properties could be tracked" because this means Eve may run very slowly. Make sure to attempt logging in completely and checking graphics performance yourself first - the splash screen performance tends to be very different (and lower) than in-game performance! If you undock and Eve still performs great, just ignore them.
- Disable eve voice in your prefs.ini. This is if you get crashes at the end of character creation or while trying to log in. Once in your prefs.ini file add evevoice=0 and you are done.
- If your console starts spitting out errors regarding two .dll files that can't find the file 'DNSAPI.dll' file, copy one over from an actual windows install (found in C:\Windows\system32\) and put it in the '~/.wine/drive_c/windows/system32/' directory. Its some crap with the vivox server for eve voice, that seems to give errors even when eve voice is disabled. Most wine forums say this is an early bug thats been fixed, but I had it reappear during an Apocrypha reinstall.
[edit] Tips and tricks for speed
- If Eve barely runs on a given machine under Windows, do not expect it to be anything more than unplayable on the same machine under Wine. Shoot for at least an AMD 2200+ or 2.2GHz Pentium4-era machine with any old midrange, Shader Model 3.0 supporting Nvidia or ATI video card. A powerful CPU is all-important for this game, and have at least 1GB of memory.
- To tweak Wine settings that winecfg doesn't cover, you will need to edit the Wine registry using the "regedit" command. Full documentation can be found on the Wine Wiki. Depending on your video card manufacturer/driver this could hurt or help performance, so as usual your mileage may vary. Browse to (or create if it does not exist) the HKEY_CURRENT_USER/Software/Wine/Direct3D key. Within that key, you want to create three string values: DirectDrawRenderer, OffscreenRenderingMode, and VideoMemorySize. Some people may get improved framerates by setting DirectDrawRenderer to "opengl". Set OffScreenRenderingMode to fbo. Set VideoMemorySize to the amount of video memory your card has in megabytes.
- If you've compiled from the Git tree, you may have issues with graphical corruption, stop errors, run time errors and the like...just work through them. You should probably update every few days depending on what DirectX features have been recently implemented, of which are listed here - work out yourself if something is worth the update. Instructions for upgrading your source tree are on the Wine Git main page.
- Run eve inside a desktop space, open winecfg and go to the graphics tab. In there set your desktop size. Once in Eve set it to run in windowed mode at your desktop size. This is reported to give 10-15% increase in FPS.
[edit] Using Crossover Linux
If any enterprising linux users want to get in on writing a quick HOWTO in this spot, get to it!
[edit] Using the CCP Official Client
As of Apocrypha, the official Linux client is no longer available. Use WiNE.
[edit] Using Cedega
Cedega is not a free product, even though you might have heard linux is free that doesnt mean all programs associated with it are free too. Cedega is developed by TransGaming. To buy cedega you can go directly to this page or you can read what Transgaming has to say about their product first.
[edit] Installing Cedega
Once you obtained a subscription from transgaming, its time to install cedega. First you will need to download the cedega installer, this should be availble from http://www.transgaming.com/downloads.php?type=prepackaged
Here find the correct installation file for you distribution, .deb files for debian based distributions (ubuntu, debian etc) and RPM files for RedHat based distributions (Fedora Core, RedHat, SuSE, Mandriva). Please note there are seperate files for Mandriva and SuSE, all other RPM based distributions use the standard one. Gentoo, Slackware, and similar systems can use the .tgz file.
If you are using one of the pre-packaged files (deb or rpm) you can probably install by just double clicking the package file. If not a .deb file can be installed with:
dpkg -i cedega-small_5.2.3_all.deb
A RPM can be installed with:
rpm -Uvh cedega-small-5.2.3-1.i386.rpm
Installation is now complete, most people will now find a transgaming menu in their program menus. Here selecting cedega will start cedega. When first running cedega a wizard will appear that will help you set up cedega for you. Please follow all steps in the wizard, it will ask you for your transgaming login name and password. These are used to download updates automatically.
[edit] Installing EVE
Installing EVE is quite simple, first you will need to have downloaded the EVE-Online installer file from the website.
In the Cedega GUI click on, Install.
- In the Game Folder text field, you can type the name as you want to let it show up in the Cedega GUI. So "EVE-Online" or anything else is fine.
- For GDDB Entry select EVE-Online
- For the Installer browse to the EVE-Online Installer file.
If the installer fails, please make sure that the installer is run in Windows XP mode: In the installation menu, click "Advanced", click "Edit Install Settings", then check the "winver" variable
Press continue to start the installation, it will start the normal installation window with Windows.
[edit] Running EVE
Running EVE-Online after install is pretty straight forward, start cedega. Select the game in the column on the left. Now select the game in the column on the right and press play.
[edit] Tips and Troubleshooting
Transgaming support can be found through: http://www.transgaming.com/support.php
Transgaming also runs a forum for community support: http://transgaming.org/forum/
Transgaming also has an IRC channel that is monitored by the developers: Server is Freenode channel #cedega
There is an unofficial Cedega wiki: http://cedegawiki.sweetleafstudios.com/wiki/Main_Page
[edit] Mac OS X
[edit] Using Crossover Mac
Works quite literally out of the box under Crossover Games 7.1.1. EVE is one of the supported games. Configure Menu -> Install Games -> hey there's EVE.
[edit] Using WINE
You can also use WINE to run EVE. Darwine is the best bet, unless you really want to go through the hassle of downloading and compiling WINE from source, which includes ALL of its dependancies. If you do, however, you can get the bleeding edge version which may, or may not, run EVE the best. In my experience under two different Mac, compiling the standard WINE source does not work. Apple's custom variation of X11 is changed just enough that OpenGL is never configured properly. I highly recommend a pre-compiled, unofficial build of Darwine.
Darwine is much like Crossover, and its installer is drag and drop. Download the Windows Version of the client from http://www.eve-online.com/download/. Then download this unofficial build of Darwine here http://www.kronenberg.org/darwine/. If you really care, then you may also build Darwine from source. I wont get into this here since if you knew how to compile applications from source, you wouldn't be reading a goon wiki.
Install Darwine, and its support application TRiX, which is a simple frontend for the "winetricks" script. Run TRiX, and give it the options for installing DX9 and the HTML Rendering Engine (Or just install Firefox separately).
Launch WineHelper.app, and then open up the EVE Client installer. From this point on it is just like running a windows environment. Also, check out the AppDB on the WineHQ site. Many of the Linux configurations also work under OS X.
[edit] Using the Official Client
To install the official Mac OS X EVE Client, Download the provided disk image from http://www.eve-online.com/download/.
Mount the image by double-clicking it. It will either appear on your desktop, or in Finder's sidebar. Click and drag the EVE icon to your /Applications directory.
[edit] Tips and Troubleshooting
You cannot play EVE on a Power PC Mac and it will only run on an Intel Mac with OS 10.4 or later
[edit] Solaris & Other
Solaris users should be fine, as long as your CPU architecture is x86. Don't hold your breath if you're running some SPARC variant.
[edit] Miscellaneous & Applications
[edit] Test Server
Your milage may vary, get over it. Sometimes consistent behavior on Singularity is hard enough under Windows. You will need to get the latest patch for SiSi here. Copy your Eve directory somewhere else, name it something obvious like "EVE (Test)", and patch that with the test patch. Automatic patching breaks very often on SiSi, and even more often on SiSi under Wine, so you will have to install the majority of patches by hand. The tweaks and fixes you needed to get things running listed above will almost always apply to Test as well, along with the constant potential for unknown issues that you'll need to figure out on your own as they come.
Make sure to use the /end /LUA:OFF arguments to keep your Singularity install from fucking with your Tranquility cache. If the test install insists on trying to connect to Tranquility, you'll need to add /server:87.237.38.50 as well.
[edit] EVE Mon
It is now possible to build EVE Mon natively under Linux thanks to work by the mono team and battleclinic. Due to all of the downloads being static it is possible for a linux newbie to copy and paste all of the instructions and be able to compile it with few issues. So go ahead and have a go at building it...
http://evemon.battleclinic.com:8000/trac/wiki/MonoBuildOnUbuntu7.10
In the near near future EVE Mon will come as a complete program so compiling wont be an issue.
Diriuo has also had limited success building EVEMon on OS X under Mono. Pretty much, you need to know what you are doing in case problems do arise, and it is a near copy/paste job of the Ubuntu 7.10 instructions. However, the program is very unstable and crashes frequently. I'll try and get a tutorial together in the future.
[edit] Teamspeak
If your distribution's software repository doesn't have it, you can get TeamSpeak for Linux here. TeamSpeak is still an OSS application because they just hate Linux users that much. You will probably have to use TeamSpeak with the aoss wrapper and hope to god you don't have problems getting your microphone to work. If you do, bug Malkazi; he spent days writing an asound.conf because hes a fucking masochist that willingly runs Gentoo. Really, at least Mac users have an alternative app that doesn't blow quite as hard. Fuck you, TeamSpeak guys.
[edit] Portrait Pack
Cube Polygon has a new portrait pack updater out. It is written in Perl, and thanks to some help given to him by other *nix fags this one is totally cross platform! To get started, download the zip from his post, and decompress it to a folder.
Delete update.bat and everything in the apps/ folder. Open up config.txt in your favorite text editor, and after adding the full path to your Eve cache's Portraits folder under #CACHELOC (do not enclose the path in quotes or escape the spaces in it), add the following two newlines anywhere in the file:
#LUNIX 1
Resave it as a Unix-format text file. It is vital that you do this. If you keep it DOS format, the Perl script won't be able to parse that config file! Now, install wget, Perl w/ the File-Copy and Digest-MD5 modules, and p7zip for your operating system, preferably the "right" way you're supposed to install them for your specific distribution. Copy (DON'T move) the wget and 7za binaries from wherever they're usually stored for your OS into the apps/ folder where you decompressed Cube's updater.
Now you can execute:
perl perl/updater.pl
...and hope to god that your computer doesn't burst into flames.
If you are using a Mac and find that the script complains about wget (http-password didn't work), edit the update.pl file and change http-password to http-passwd in the LUNIX section.
CubeEdit: In 7.5, there's an option to specify the location of wget/7zip. Does this work for you Linux guys? Add the following lines in config.txt:
#7ZPATH /usr/bin/7za #WGETPATH /usr/bin/wget
My name is Malkazi and I can confirm that this works. Paths will vary depending on OS; you can figure out the path to a system binary by using the 'which' command (i.e. 'which 7za'). Cube notes that you can still do it the old way, by copying the binaries into the apps/ folder if you'd rather do that.
