Translate

8/30/2012

[Inferno 1.2] Installing EVE Online in Fedora Core Linux

So a friend was trying to install EVE Online on RedHat's Fedora Core 16, and was having a lot of issues trying to get it running. He consulted the EVE Linux group, but only received answers to switch distributions from most. It wasn't long after that I received a call asking for help. So here I am just after finishing getting his client to work on Fedora, and thought I'd share with the rest of the community; regardless this is a post on how to get this to work, so let's get this done!

EDIT: I want to point out that this can be a lot easier if you install the nVidia proprietary drivers, and compile the latest stable Wine. Make sure that ALL yum repo nVidia drivers, and Wine packages are uninstalled before doing so. 




Basically the instructions are the same for Fedora as Ubuntu. Here are the EVE Wiki Instructions. Use these as much as possible, up to the point of installing Wine. If you need help installing the nVidia drivers on Fedora, follow this guide (I'll make a guide for ATI drivers next week, as I'm waiting on an ATI system to arrive).

Once you are at that point, you will install Wine from "yum". Open a new Terminal session from the GNOME Menu. Once you are in the terminal, run the following commands:

[user@localhost user]# sudo -s
[sudo] password for user: <enter your user password>
[root@localhost user]# yum install wine

Wait for wine to install, and once it's done we need to grab a couple more things (# denotes the terminal line):
# yum install cabextract
# yum install wget
# wget http://winetricks.org/winetricks
# chmod +x winetricks

Winetricks is what you need to install various libraries to get the client to work correctly. While it's not really needed to install the client, it's better to get it done early. To note for the below commands, I had issues running winetricks with multiple installs, so I had to do each library one at a time to get them to install correctly.

# ./winetricks corefonts   (you should see popups asking to install mono, and gecko. Be sure to install these).
# ./winetricks vcrun2005 (each of these Visual C++ libraries should pop up with EULAs you have to interact with to continue)
# ./winetricks vcrun2008
# ./winetricks vcrun2010
# ./winetricks d3dx9
Next we want to run the registry editor, and add a few things:
# wine regedit
Once the registry editor has opened, click on HK Current User, then Software, then Wine. Right-click Wine and select New > Key. Name the new key Direct3D. Once that key is made, right-click it, and select New > String and name it DirectDrawRenderer. After naming the new key, double click on it, and set the value to opengl. Repeat the step of creating keys to make the following:
OffscreenRenderingMode   :   fbo
VideoMemory   :    512     
You can change video memory value to the available memory of your video card. Use 512 for debugging purposes. 

Next we need to change some library settings. We will do this through winecfg.
# winecfg
First in the application settings, change the default behavior to work as Windows 7, instead of Windows XP. Next, click the Libraries tab, and you should see a box with libraries listed like "vcrun90, vcrun80". Click on each of the vcrun libraries and change them to "builtin, native", NOT "native, builtin". Once that is done, click "apply", and "ok". 
# gedit .wine/user.reg
Then search for dx and you should see several lines with d3dx9_24 through _43. Underneath that, paste the following below it:
"d3d8"="builtin"
"d3d9"="builtin"
"d3dxof"="native"
"dciman32"="native"
"ddrawex"="native"
"devenum"="native"
"dinput"="builtin"
"dinput8"="builtin"
"dmband"="native"
"dmcompos"="native"
"dmime"="native"
"dmloader"="native"
"dmscript"="native"
"dmstyle"="native"
"dmsynth"="native"
"dmusic"="native"
"dmusic32"="native"
"dnsapi"="native"
"dplay"="native"
"dplayx"="native"
"dpnaddr"="native"
"dpnet"="native"
"dpnhpast"="native"
"dpnlobby"="native"
"dsound"="builtin"
"dswave"="native"
"dxdiagn"="native"
"mscoree"="native"
"msdmo"="native"
"qcap"="native"
"quartz"="native"
"streamci"="native"
Once all of this is done download the client and install by double clicking the file downloaded as mentioned in the instructions above. After it's installed, I usually run the client from a terminal just to test, since it will spit out errors in the command line if there are any:
# wine .wine/drive_c/Program\ Files/EVE/eve.exe
You should see the launcher updating, and ready to go! 

I hope this helps someone out there, and I apologize for not making a tutorial from start to finish. I figured I would at least cover as much as possible to help anyone trying to get EVE to work on a RPM based distribution, or any other distribution at that. I would also like to thank everyone that has posted solutions for issues with the client on the forums; as their information was invaluable.  Enjoy, and happy hacking!


No comments:

Are you a first time visitor?


Check out our other informative articles, including guides, charts, "Making ISK" articles, our ship database, 3rd party app reviews, and more! Also be sure to check out our twitch video feed with in-game interaction offering you the best possible way to learn all about EVE Online.