Difference between revisions of "Installing EVE on Linux"

From EVE University Wiki
Jump to: navigation, search
m (Picked up this link from the linux launcher thread in the eve online discord)
 
(84 intermediate revisions by 28 users not shown)
Line 1: Line 1:
{{uwc}}  
+
{{Update|Remove old references to solutions that are no longer relevant, update for new launcher, please add and improve, steam needs some love.}}
[[Category:Teaching]]
 
[[Category:Guides]]
 
[[:Category:Guides|Guides]]
 
  
<br> <br> [[Image:Final.png|thumb|right|650px|Can your Windows do this?]] <BR>
+
== Options to run a client on Linux ==
 +
=== New launcher ===
 +
<!-- Is there a name for this new launcher? -->  
 +
Some basics about the parts & process:
  
= Introduction  =
+
Installation starts with an installer, always found on [https://www.eveonline.com/download this] page or direct [https://launcher.ccpgames.com/eve-online/release/win32/x64/eve-online-latest+Setup.exe link]. Steam and Lutris can manage the dependencies & installation & subsequent updates.<br>
  
With the exponential increase in computing and constant exposure to new software, chances are you've used, or at least heard of, Linux.[[Image:Tux-linux-mascot.png|260px|right|Tux, the mascot]] <BR>There are many ''flavors'' (types) of Linux out there, most of which are completely free.
+
The [https://github.com/Squirrel/Squirrel.Windows Squirrel] installer is used to install & update the launcher -> The launcher downloads the client. -> The Launcher launches the eve client. <br>
  
'''Some Flavors'''
+
<small>Note: By default not all game files are downloaded and the client can download when it does not have the file/part.
 +
The launcher can download all files en cache them, update when needed and removes parts when no longer needed. </small>
  
*[http://www.centos.org/ ''CentOS'']
+
The current(as of December 2023) launcher & Linux unofficial channel on discord: [https://discord.com/channels/940573867192221696/1096046348421312574 Official EVE Online Discord server, new launcher channel, linux thread]
*[http://www.debian.org/ ''Debian'']
 
*[http://fedoraproject.org/ ''Fedora'']
 
*[http://www.gentoo.org/ ''Gentoo'']
 
*[http://www.knoppix.net/ ''Knoppix'']
 
*[http://www.kubuntu.org/ ''Kubuntu'']
 
*[http://www.linuxmint.com/ ''Linux Mint'']
 
*[http://www.opensuse.org/en/ ''openSUSE'']
 
*[http://www.ubuntu.com/ ''Ubuntu'']
 
  
<br><br> <center>Besides, who doesn't like cute penguins?
+
Thread on the EVE Forums: [https://forums.eveonline.com/t/recap-of-vanguard-on-linux-after-first-strike/432438 EVE Forums] Below from an excellent write up from Katrina Bekers:
  
<br> </center><BR>
+
* Use Steam, by opting-in the Beta branch and the code “TheInvitation” (case sensitive), installing the launcher from Steam, bypassing Squirrel altogether.
 +
*  Manually extract the launcher package (“nupkg”, which is just a zip archive), and put it where it can be correctly run by WINE/Proton. Use this URL, modifying the version number adequately: https://launcher.ccpgames.com/eve-online/release/win32/x64/eve-online-1.1.0-full.nupkg
 +
* Use [[Linux#Lutris|Lutris]], which implements a workaround for the “run as Administrator” default behavior in WINE/Proton, thus letting Squirrel do its job, see [https://lutris.net/games/eve-online/ install notes].
 +
* Get the Squirrel installer and modify the Setup file with a binary editor so that the check for Administrator is reversed, and the installer proceeds if the user has Administrator privileges. smurftek: If you want to use the beta launcher under wine / proton without going through steam or having to change a bunch of settings, edit the binary and at address 00407436 replace it with “b8 01 00 00 00” and presto the launcher will work anywhere.
  
= Prerequisites  =
+
<hr>
  
*Patience [[Image:1.png|thumb|right|450px|The Ubuntu Terminal]]
 
*A working installation of your flavor of choice
 
*A computer with the [http://wiki.eveonline.com/en/wiki/System_Requirements minimum hardware requirements] to successfully run EVE
 
**Research your hardware; make sure that Linux drivers are available for your setup
 
***One way of doing this is by installing Ubuntu onto a USB drive and "test-driving" Ubuntu through it
 
  
<br><br>
+
=== Steam ===
 +
https://www.protondb.com/app/8500
  
One may consider purchasing a new hard drive (a small 20GB one will do) so that a Linux install won't interfere with your Windows installation.  
+
=== Lutris ===
 +
[https://lutris.net/ Lutris] is a gaming platform for Linux. It offers Wine builds that are pre-configured for specific games, and allows for a graphical installation of various games and applications. Those that are unable to roll their own wine prefix, or are weary on the process, may find this solution more viable.
  
If that is not an option, one will have to '''<span style="color: rgb(30, 144, 255);">Dual-Boot</span>''' (installing two Operating Systems (OSs) on a single disk), choosing which one to use when the machine is powered on.  
+
Install Lutris via your package manager, and then head to the [https://lutris.net/games/eve-online/ EVE Online page on the Lutris website] to pick an install script. As of December 2023, there are four main install scripts: a DXVK variant, a non-DXVK (OpenGL-based) one, one with Steam, and a Chinese distribution. The DXVK version offers generally better performance. For the new launcher there is a eve-online-april-beta-launcher installer.  
  
People unfamiliar with Linux are highly recommended to use '''[http://www.ubuntu.com/ Ubuntu 10.04]''', as in my experience it is the most user-friendly and easiest to get into.  <BR><BR><BR><BR><BR><BR>
+
After picking your script from the Lutris website and following the installation procedure, an EVE Online icon will show up in your Lutris client UI. From this point, you can click on "EVE Online" to start the EVE Launcher. You may configure options for the game, runner or system. For troubleshooting, make sure '''Run Client with Logging''' is enabled in the EVE Launcher options.
[[Image:Winehq_logo_glass.png|left|100px]]
 
= <span style="color: rgb(139, 0, 0);">Wine</span>  =
 
  
 +
When having trouble with the scripted installation of the new launcher in Lutris the following steps should give results:
 +
* Set the default installer to lutris 7.2.2
 +
* Install a new program using lutris with the new launcher installer. At some point it will produce an error, the install will fail it seems.
 +
* Edit the new program, add the launcher executable as the program to launch (c_drive/users/[username]/appdata/local/eve-online/eve-online.exe). Change the runner to something newer if desired.
 +
* Start the launcher, it might error out, check the log it might need something, this might take a few tries.
  
<span style="color: rgb(139, 0, 0);">Wine</span> is an incredibly useful tool that emulates a Windows environment within a Linux installation.  
+
=== Roll your own ===
 +
It is certainly doable and fun to get an installer, launcher & client to run with just the parts and get it to run, if you are so inclined please link your experience here.
  
Basically, it lets one install and run applications designed for Windows (in this case, <span style="color: rgb(30, 144, 255);">EVE</span>) in Linux.
+
[https://gist.github.com/arillat/2b7e519a69268f519d507d0ed50b9713 Play EVE Online on Arch Linux with WineHQ]
  
For simplicity's sake, this walk-through will be done with Ubuntu. <BR><BR><BR>
+
== Common issues and solutions ==
  
== EVEin' in mah Linux ==
+
Depending on the hardware used changing from/to Direct3D 11/12 can have a positive or negative effect on the quality and/or performance of the game client, this also depends on the in-game graphics setting. Your mileage may vary, since you use Linux it is expected that you have more than average computer knowledge and are able to figure out what works in your specific situation.
  
Before we install <span style="color: rgb(139, 0, 0);">Wine</span>, open up your browser (if using Ubuntu, this will be <span style="color: rgb(30, 144, 255);">Firefox</span>) and go to this URL:
+
=== Client slowing down / high CPU usage ===
<pre>http://www.eveonline.com/download/?fallback=1&amp;</pre>
 
[[Image:Offline.png|650px|Offline.png]] <br>
 
  
to download the Windows offline version of <span style="color: rgb(30, 144, 255);">EVE</span> while we configure <span style="color: rgb(139, 0, 0);">Wine</span> in the meantime.  
+
* Behavior like lagging is reported, a solution for this behavior is to disable '''Esync''' & '''Fsync'''.  
  
<br>
+
Steam: Start the launcher with a custom command [https://forums.eveonline.com/t/still-anyone-using-linux/401624/63 source]
  
Also, open up <span style="color: rgb(30, 144, 255);">'''Ubuntu Software Center'''</span>. This is in the top-left of your screen under <span style="color: rgb(30, 144, 255);">'''Applications'''</span>.
+
Lutris: In the runner options disable '''Esync''' & '''Fsync'''
  
In the search box, type in <span style="color: rgb(30, 144, 255);">"Restricted"</span> and install <span style="color: rgb(30, 144, 255);">'''Ubuntu Restricted Extras'''</span>. You may need to put in your password.
+
=== Disk usage ===
  
[[Image:Restricted.png|650px|Restricted.png]] <br>
+
The updater is unable to update the launcher due to a missing component in wine. [https://discord.com/channels/940573867192221696/1096046348421312574/1187888482048299108 `unimplemented function msdelta.dll.ApplyDeltaW, aborting`] This results in a ever growing squirreltemp directory. Manually cleaning is required at this point in time (January 2024). A fix for this behavior is being worked on: make the updater detect wine and do a full update.
  
<br>  
+
<small> Note: [https://bugs.winehq.org/show_bug.cgi?id=56007 on the wine bugtracker] </small>
  
== Installing and configuring <span style="color: rgb(139, 0, 0);">Wine</span> ==
+
<hr>
  
If this is your first task in your Linux installation, you will need to set up a <span style="color: rgb(30, 144, 255);">'''root'''</span> user (Linux-speak for ''Administrator''). Open a <span style="color: rgb(30, 144, 255);">Terminal</span> window (Default <span style="color: rgb(30, 144, 255);">'''CTRL+ALT+T'''</span> in Ubuntu 10.04) and type:
+
=== 'Old' launcher ===
<pre>sudo passwd root</pre>
+
* Use Steam
Hitting [Enter], it will ask you for your current user's password, and then for the password you'd like <span style="color: rgb(30, 144, 255);">'''root'''</span> to have:<br>
+
* Use [[Linux#Lutris|Lutris]]
  
[[Image:Susetup.png]]<br>
+
When the old launcher is deprecated the split in installation methods is no longer relevant.  
  
'''Note: As you're typing in the passwords, the <span style="color: rgb(30, 144, 255);">passwords will NOT show up</span>. This is normal.'''
 
  
<br>
+
{{Cleanup| Content below should be reviewed & updated}}
  
=== Adding/Updating Repositories  ===
+
== Whey back when we had a native launcher & other problems ==
 +
While Linux is not ''officially'' supported by CCP, a side project by '''CCP Snorlax''' has yielded a native Linux application that downloads a prebundled version of [https://www.winehq.org/ Wine] (also built by CCP Snorlax) which allows Linux to run the EVE launcher more easily. The launcher requires a {{Co|yellow|'''64-bit'''}} installation of Linux, but should work with most distributions.
  
Next, we'll need to update the <span style="color: rgb(30, 144, 255);">'''repositories'''</span>, which is a fancy name for the place in which Ubuntu downloads its software.  
+
Alternatively, for a more visual installation and cleaner management of multiple WINEPATHs, you can use [[Linux#Lutris|Lutris]].
  
Updating these ensures that you get the most current software when you're ready to download. So first we'll add the Wine's repository:  
+
Native Linux launcher has been [https://forums.eveonline.com/t/linux-launcher-key-details/159751 retired]. Recommended solution for running EVE on Linux is Steam/Proton
<pre>sudo add-apt-repository ppa:ubuntu-wine/ppa</pre>
 
[[Image:Addingrep.png|450px|Addingrep.png]] <br>and then update all <span style="color: rgb(30, 144, 255);">repositories</span>:
 
<pre> sudo apt-get update</pre>
 
A lot of text will scroll up; you'll know when its done when the terminal allows you to type in commands again.<br>
 
  
[[Image:Repupdate.png|500px|Repupdate.png]]  
+
:''Much of this guide is adapted from the official forum post by CCP Snorlax, which can be found [https://forums.eveonline.com/t/eve-launcher-for-linux/7286 here]. Questions about the information found in this article are best asked on the [https://forums.eveonline.com/c/technology-research/linux official EVE forums]''.
  
<br>
 
  
=== Updating current software and drivers  ===
+
=== Custom Launcher Shortcut ===
 +
'''''(The following additional steps are not strictly necessary, but can make running the launcher more convenient through the use of a custom launcher shortcut. See the Troubleshooting section below if you encounter any issues.)'''''
 +
[[File:Evelauncher.png|thumb|Launcher icon]]
 +
# Create a symbolic link (symlink) to the script in the user binaries folder
 +
#: {{code|sudo ln -s {{Color|green|/Path/To/}}evelauncher.sh /usr/bin/evelauncher}}
 +
# And make it executable
 +
#: {{code|sudo chmod u+x /usr/bin/evelauncher}}
 +
# Download the icon file
 +
#: {{code|wget <nowiki>https://wiki.eveuniversity.org/images/a/af/Evelauncher.png</nowiki>}}
 +
# Move the icon file to the correct directory
 +
#: {{code|sudo mv Evelauncher.png /usr/share/pixmaps/}}
 +
# Create the launcher file with your preferred editor
 +
#: {{code|sudo edit /usr/share/applications/eve.desktop}}
 +
# Insert the following text and then save it:
 +
#: {{code|1= <nowiki>[Desktop Entry]</nowiki><br>Name=EVE Online<br>Comment=EVE Online by CCP Games<br>Exec=/usr/bin/evelauncher<br>Icon=Evelauncher<br>Terminal=false<br>Type=Application<br>Categories=Game;}}
 +
# Run the game through the newly-created launcher shortcut!
  
<br> Now that the repositories are updated, we'll need to update this software that is currently installed on the system. This step is essential:  
+
=== Using a Custom Wine Version ===
<pre> sudo apt-get upgrade</pre>
+
The copy of wine bundled with the launcher is quite outdated, but thankfully you can use your distribution's own wine runtime instead which gives access to things like DirectX11 support.
This step may take significantly longer than the previous. This is similar to Windows Update as it <span style="color: rgb(30, 144, 255);">may</span> require a restart after its complete. <br>
+
: '''''Note:''' Make sure to untick 'Run clients with DX9' if you want to use DX11.'''''
  
<br>
+
# Open the launcher settings with the small "E" symbol in the top right, tick "Use custom Wine", and in the box below it enter the path of your wine executable, e.g.
 +
#: {{code|/usr/bin/wine}}
 +
# Remove EVE's existing wine and wineenv folder
 +
#: {{code|rm -Rd ~/.eve/wineenv ~/.eve/wine}}
 +
# Reopen the launcher and start the game as normal.
 +
# EVE's wine prefix should rebuild itself with the custom version.
  
=== Installing Wine 1.2.x  ===
 
  
Once the update completes, we can then download '''<span style="color: rgb(139, 0, 0);">Wine</span>'''. The most current stable version at the time of this writing is 1.2, so you'd type:  
+
=== Troubleshooting ===
<pre> sudo apt-get install wine1.2</pre>
+
==== Incompatible OpenSSL library ====
and hit [Enter]. This will download and install <span style="color: rgb(139, 0, 0);">Wine</span> in one easy step. <br>[[Image:Installwine.png|500px|Installwine.png]]<br>
+
The EVE launcher requires the 1.0.x version of the openssl library in order to function, however, some newer versions of Linux distributions and those that use rolling releases include the 1.1.x version by default (this will be evident by the launcher simply not appearing at all when the script is run), so some extra steps to install the older compatibility library may be necessary.
 +
:'''Note:''' The following example is for Ubuntu - paths and package names will likely be different on other distributions.
 +
# Download the older library from your distribution's repos
 +
#: {{code|sudo apt-get install libssl1.0.0}}
 +
# Add symbolic links to the libraries in the launcher's folder
 +
#: {{code|sudo ln -s /lib/x86_64-linux-gnu/libssl.so.1.0.0 {{Color|green|/Path/To/evelauncher/}}libssl.so}}
 +
#: {{code|sudo ln -s /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 {{Color|green|/Path/To/evelauncher/}}libcrypto.so}}
  
=== Configuring Wine  ===
 
  
When it completes, type in:
+
This should correct the issue temporarily, but the symlinks will be removed when the launcher is updated. A solution to this is to make your own script which checks for the existence of the symlinks, remakes them if they are missing and then triggers the launcher's script.
<pre> winecfg</pre>
 
and press [Enter]. This will open up a configuration window for <span style="color: rgb(139, 0, 0);">Wine</span>.  
 
  
Click the Graphics tab and select <span style="color: rgb(30, 144, 255);">'''Emulate a virtual desktop'''</span><br> [[Image:Wine.png]] <br>  
+
# Create the wrapper script in your preferred editor
 +
:'''Note:''' The wrapper script cannot be located in the launcher's own folder, or it will be deleted when the launcher updates.
 +
#: {{code|$EDITOR {{Color|green|/Path/To/Wrapper/}}evewrapper.sh}}
 +
# Insert the following text and then save it:
 +
#: {{code|1= dirname={{Color|green|/Path/To/evelauncher/}}<br><br>if [ ! -e $dirname/libssl.so.1.0.0 ]; then<br>    ln -s /lib/x86_64-linux-gnu/libssl.so.1.0.0 $dirname/libssl.so<br>fi<br>if [ ! -e $dirname/libcrypto.so.1.0.0 ]; then<br>    ln -s /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 $dirname/libcrypto.so<br>fi<br>exec $dirname/evelauncher.sh}}
 +
# If you made a custom launcher file as above, you will need to change the path of the symlink in step 1
 +
#: {{code|sudo ln -s {{Color|green|/Path/To/Wrapper/}}evewrapper.sh /usr/bin/evelauncher}}
  
Also, set the desktop resolution to something <span style="color: rgb(30, 144, 255);">smaller than your current settings</span>. This can be readjusted later. <br><br>
 
  
=== Installing WineTricks  ===
+
==== Qt dependencies ====
 +
In some rare instances on Ubuntu, you may be lacking the required Qt dependencies for the launcher, This will manifest as some QT files not be located and the launcher window opening but not displaying anything.
  
Unfortunately for us, Wine doesn't come with the fonts than <span style="color: rgb(30, 144, 255);">EVE</span> requires in order to run properly. For this, we need to download and install <span style="color: rgb(30, 144, 255);">'''WineTricks'''</span>:  
+
Instructions for this install are taken from here: https://wiki.qt.io/Install_Qt_5_on_Ubuntu
<pre> sudo wget http://www.kegel.com/wine/winetricks</pre>
 
[[Image:Wget.png|500px|Wget.png]]<br>
 
  
==== Installing critical fonts ====
+
# Download the installer
 +
#: '''Note:''' These can be put wherever the user prefers, but the home directory <code>~/</code> is recommended.
 +
#: {{code|wget http://download.qt.io/official_releases/qt/5.7/5.7.0/qt-opensource-linux-x64-5.7.0.run}}
 +
# Adjust permissions
 +
#: {{code|chmod +x qt-opensource-linux-x64-5.7.0.run}}
 +
# Install QT
 +
#: {{code|./qt-opensource-linux-x64-5.7.0.run}}
 +
# Install g++
 +
#: {{code|sudo apt-get install build-essential}}
 +
# Install generic fonts
 +
#: {{code|sudo apt-get install libfontconfig1}}
  
After hitting [Enter] and waiting for the program to complete installing, type:
 
<pre> sh winetricks corefonts</pre>
 
This will <span style="color: rgb(30, 144, 255);">install the required fonts</span>. <br>
 
  
==== Installing C++ Filez  ====
+
==== Libxcb dependencies ====
 +
Evelauncher comes with its own libxcb. In some instances it fails to find xcb in its launch directory as well as to find libxcb installed in the system. This is indicated by message in console:<br>
 +
''This application failed to start because it could not find or load the Qt platform plugin "xcb" in ""''
  
Finally, the following will <span style="color: rgb(30, 144, 255);">install Visual C++ files</span> that the game will need later:  
+
To solve this problem just delete all files located in the directory of EVE launcher, that have "libxcb" as part of their names.
<pre>sh winetricks corefonts vcrun2005sp1</pre>
+
:{{code|rm libxcb*}}
<br>
 
  
= Installing EVE  =
 
  
<br> If you followed this guide to the letter so far, the installer should be close to finishing now.<br> Once it has finished downloading, mouse to the top left of the screen and click <span style="color: rgb(30, 144, 255);">'''Places'''</span>. Browse over to the folder you downloaded the installer to.<br> <span style="color: rgb(30, 144, 255);">Right-click the installer and click '''Open with '''</span><span style="color: rgb(139, 0, 0);">'''Wine'''</span>
+
==== Launcher Shortcut Issues ====
 +
Your EVE launcher shortcut may fail with the following message:
  
[[Image:Wine2.png|400px|Wine2.png]] [[Image:Wine3.png|400px|Wine3.png]]
+
: {{code|/bin/sh: {{Color|orange|warning}}: shell level (1000) too high, resetting to 1}}
  
[[Image:Wine4.png|400px|Wine4.png]] [[Image:Wine5.png|400px|Wine5.png]]
 
  
This will open the all-too-familiar Installation Wizard. <span style="color: rgb(30, 144, 255);">'''Accept all defaults'''</span> ("Next", "I agree", "Install"). Once it completes, <span style="color: rgb(30, 144, 255);">''uncheck the "Run EVE Online" box'' '''before clicking Finish'''</span>:  
+
This, and other errors, are likely due to the fact that the 'dirname' and 'pwd' commands will return the location of the soft link, not of the shell script itself. Hence, we need to use readlink to follow every symlink in the path. Make the following changes to /path/to/evelauncher/evelauncher.sh:
  
<br> [[Image:Wine6.png]] <br>  
+
: {{code|1= #!/bin/sh <br>{{Color|green|2= appname="evelauncher"}}<br><br>{{Color|green|2= dirname=$(dirname "$(readlink -f "$BASH_SOURCE")")}}<br>tmp="${dirname#?}"<br><br>if [ "${dirname%$tmp}" != "/" ]; then<br>dirname="$PWD/$dirname"<br>fi<br><br>LD_LIBRARY_PATH="$dirname:$LD_LIBRARY_PATH"<br>export LD_LIBRARY_PATH<br>export QTDIR=$dirname<br>export QT_PLUGIN_PATH=$dirname/plugins<br>"$dirname/$appname" "$@"}}
 +
: '''Note:''' The first change is necessary only if you choose to give your soft link a different name.
  
== Modifying the Desktop Shortcut  ==
 
  
<span style="color: rgb(30, 144, 255);">Right-click</span> your new <span style="color: rgb(30, 144, 255);">desktop shortcut</span> and <span style="color: rgb(30, 144, 255);">click '''Properties'''</span>. Change the <span style="color: rgb(30, 144, 255);">'''''Command'''''</span> line to:
+
==== X Server ====
<pre>wine explorer /desktop=EVE1,1680x1050 "C:\Program Files\CCP\EVE\eve.exe"</pre>
+
If Eve Online fails to launch, try running it from the terminal. Check for the following error message:
<span style="color: rgb(30, 144, 255);">'''Note!: Change the above resolution to YOUR COMPUTER'S resolution or you may run into issues later. The first number is the width; the second is height.'''</span><br> The <span style="color: rgb(30, 144, 255);">'''''Comment'''''</span> section can be changed or left blank:<br> [[Image:Shortcutmod.png|650px|Shortcutmod.png]]
 
  
<br> Click <span style="color: rgb(30, 144, 255);">'''Close'''</span> to save the changes.
+
: {{code|user@localhost > ./evelauncher.sh<br>...<br>{{Color|orange|Invalid MIT-MAGIC-COOKIE-1}} }}
  
== Dropkicking Audio Bugs  ==
+
As explained [https://unix.stackexchange.com/a/10126/29963 here], an X program needs (1) the address of the display (typically ":0") and (2) the password for the display. The second requirement is known as the "Magic Cookie". One workaround to sidestep this access problem is to use xhost, which is an X server access control program. Make the following changes to /path/to/evelauncher/evelauncher.sh:
  
Go to <span style="color: rgb(30, 144, 255);">'''Applications &gt; Wine &gt; Browse C: Drive'''</span> <br> Browse to <span style="color: rgb(30, 144, 255);">'''Program Files\CCP\EVE\res\audio'''</span> and <span style="color: rgb(30, 144, 255);">rename the '''Jukebox''' folder</span> to <span style="color: rgb(30, 144, 255);">anything</span> but "Jukebox". <br> [[Image:Jukebox.png|800px|Jukebox.png]]
+
: {{code|1= #!/bin/sh <br>appname="evelauncher"<br><br>dirname=$(dirname "$(readlink -f "$BASH_SOURCE")")<br>tmp="${dirname#?}"<br><br>if [ "${dirname%$tmp}" != "/" ]; then<br>dirname="$PWD/$dirname"<br>fi<br><br>{{Color|green|xhost +local:}}<br><br>LD_LIBRARY_PATH="$dirname:$LD_LIBRARY_PATH"<br>export LD_LIBRARY_PATH<br>export QTDIR=$dirname<br>export QT_PLUGIN_PATH=$dirname/plugins<br>"$dirname/$appname" "$@"}}
 +
: '''Note:''' xhost here is granting temporary access to any local application running as the current user. It is ''not'' allowing any kind of remote access.
  
= IT'S E-UNI TIME  =
+
[[Category:Guides]]
 
+
[[Category:Applications]]
[[Image:DOUBLECLICK.png]] <br> [[Image:Eveonwine.png]] <br> [[Image:Complete.png|thumb|left|950px|E-UNI ON MY LINUX]] <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> <BR><BR>
 
 
 
= Leaving Windows; Moving to Linux  =
 
 
 
Fell in love with Linux? Bid adeiu to Windows and let's go through the movin' checklist!
 
 
 
== Importing/Exporting your <span style="color: rgb(30, 144, 255);">'''Overview''' settings</span>  ==
 
 
 
So the overview is your eyes in <span style="color: rgb(30, 144, 255);">EVE</span>, but it can be a <span style="color: rgb(30, 144, 255);">time-consuming chore</span> to set it up. <br><br> <span style="color: rgb(30, 144, 255);">No longer.</span> <br><br> Let's export your settings from your current installation of <span style="color: rgb(30, 144, 255);">EVE</span> and import them into your new <span style="color: rgb(30, 144, 255);">EVE</span>. It sounds easy because, oddly enough, it is. <br><br> Open up your <span style="color: rgb(30, 144, 255);">EVE client</span>, undock, <span style="color: rgb(30, 144, 255);">click the little white triangle in your overview</span> and hit <span style="color: rgb(30, 144, 255);">'''Export Overview Settings'''</span>. <br>[[Image:Exporting.png]] <br>This will open up a new window. Simply <span style="color: rgb(30, 144, 255);">select the saved presets</span> you'd like to export, give it a file name, and hit <span style="color: rgb(30, 144, 255);">'''Export'''</span>. <br>[[Image:Exported.png]]<br><br> <span style="color: rgb(30, 144, 255);">'''Remember the file path!'''</span> <br>Depending on your Windows install, the default location will be:
 
 
 
*<span style="color: rgb(30, 144, 255);">''Windows XP or older:''</span>
 
**X:\Documents and Settings\<span style="color: rgb(30, 144, 255);">'''USERNAME'''</span>\My Documents\EVE\Overview\<span style="color: rgb(30, 144, 255);">'''FILENAME'''</span>.xml
 
*<span style="color: rgb(30, 144, 255);">''Windows Vista or 7:''</span>
 
**X:\Users\<span style="color: rgb(30, 144, 255);">'''USERNAME'''</span>\My Documents\EVE\Overview\<span style="color: rgb(30, 144, 255);">'''FILENAME'''</span>.xml
 
 
 
<br> Browse to this file, copy it, and <span style="color: rgb(30, 144, 255);">'''save it'''</span> onto your removable media of choice. <br><br> Now, <span style="color: rgb(30, 144, 255);">on your '''Linux machine'''</span>, go to <span style="color: rgb(30, 144, 255);">'''Applications &gt; Wine &gt; Browse C: Drive'''</span>. <br>Click your way to "c:\users\<span style="color: rgb(30, 144, 255);">'''USERNAME'''</span>\My Documents\EVE" and . . .<br><br> '''OH NOES! WE DON'T HAVE AN OVERVIEW FOLDER!'''<br><br> So let's create one by <span style="color: rgb(30, 144, 255);">right-clicking</span> the white-space and selecting <span style="color: rgb(30, 144, 255);">'''Create Folder'''</span>. <br>Name it <span style="color: rgb(30, 144, 255);">'''Overview'''</span>.<br>[[Image:CrFold.png|650px|CrFold.png]]<br><br> Insert and open your removable media device (should appear on the Desktop by default). Copy over your <span style="color: rgb(30, 144, 255);">'''FILENAME'''.xml</span> overview file to your newly created <span style="color: rgb(30, 144, 255);">'''Overview'''</span> folder.<br>[[Image:UIx.png|750px|UIx.png]]<br><br>
 
 
 
*Start <span style="color: rgb(30, 144, 255);">EVE</span>.
 
**Log in.
 
**<span style="color: rgb(30, 144, 255);">Undock</span>.
 
 
 
<br><br>
 
 
 
*<span style="color: rgb(30, 144, 255);">Click the small white triangle in your overview</span>.
 
**Click <span style="color: rgb(30, 144, 255);">'''Import Overview Settings'''</span>.<br>
 
 
 
<br>If you completed the above steps correctly, your file should appear in the Import window that opens. <span style="color: rgb(30, 144, 255);">
 
</span>
 
 
 
*Select your file and <span style="color: rgb(30, 144, 255);">place a checkmark beside each individual preset you'd like to '''keep'''</span>.
 
*Click <span style="color: rgb(30, 144, 255);">'''Import'''</span>.<br>[[Image:OverviewImport.png]]
 
 
 
<br><br>[[Image:Success.png]]<br> <span style="color: rgb(30, 144, 255);">'''SUCCESS!'''</span> <br><br>
 
 
 
== <span style="color: rgb(30, 144, 255);">Teamspeak</span>  ==
 
 
 
This could not be easier. Open up your terminal again (<span style="color: rgb(30, 144, 255);">'''CTRL+ALT+T'''</span> in Ubuntu 10.04) and type:
 
<pre>sudo apt-get install teamspeak-client</pre>
 
That's it. <br><br>After the command has finished doin' its thing, you can find <span style="color: rgb(30, 144, 255);">Teamspeak</span> in <span style="color: rgb(30, 144, 255);">'''Applications &gt; Internet &gt; Teamspeak'''</span>. <br>
 
 
 
==== <span style="color: rgb(139, 0, 0);">Alternative</span>  ====
 
 
 
If you cannot get the Linux version to run properly, follow [http://www.teamspeak.com/?page=downloads&archive=1/ this link] and <span style="color: rgb(30, 144, 255);">download the '''Windows''' version</span>.<br>We'll be running it through <span style="color: rgb(139, 0, 0);">Wine</span>!<br><br>While it's downloading, open a Terminal (<span style="color: rgb(30, 144, 255);">'''CTRL+ALT+T'''</span> in Ubuntu 10.04) and enter:
 
<pre>sudo apt-get remove teamspeak-client</pre>
 
to remove your broken Linux version.<br><br><span style="color: rgb(30, 144, 255);">Browse to the directory you downloaded '''Teamspeak''' into, and ''right-click'' '''Open with '''</span><span style="color: rgb(139, 0, 0);">'''Wine'''</span>'''.''' <br><span style="color: rgb(30, 144, 255);">Install using the '''default options'''</span>.
 
 
 
<br>
 
 
 
=== <span style="color: rgb(30, 144, 255);">Setting it up</span>  ===
 
 
 
Regardless of which method you use to get on <span style="color: rgb(30, 144, 255);">Teamspeak</span>, check out [http://wiki.eveuniversity.org/Teamspeak#Initial_Configuration/ this guide] to review how to configure <span style="color: rgb(30, 144, 255);">TS2</span> for our <span style="color: rgb(30, 144, 255);">Teamspeak server</span>. <br><br>[[Image:TS2Ub.png|thumb|center|800px|Teamspeak 2 on Ubuntu 10.04]]
 
<BR><BR>
 

Latest revision as of 19:25, 26 January 2024

This page should be updated due to game changes.
Reason: Remove old references to solutions that are no longer relevant, update for new launcher, please add and improve, steam needs some love.

Options to run a client on Linux

New launcher

Some basics about the parts & process:

Installation starts with an installer, always found on this page or direct link. Steam and Lutris can manage the dependencies & installation & subsequent updates.

The Squirrel installer is used to install & update the launcher -> The launcher downloads the client. -> The Launcher launches the eve client.

Note: By default not all game files are downloaded and the client can download when it does not have the file/part. The launcher can download all files en cache them, update when needed and removes parts when no longer needed.

The current(as of December 2023) launcher & Linux unofficial channel on discord: Official EVE Online Discord server, new launcher channel, linux thread

Thread on the EVE Forums: EVE Forums Below from an excellent write up from Katrina Bekers:

  • Use Steam, by opting-in the Beta branch and the code “TheInvitation” (case sensitive), installing the launcher from Steam, bypassing Squirrel altogether.
  • Manually extract the launcher package (“nupkg”, which is just a zip archive), and put it where it can be correctly run by WINE/Proton. Use this URL, modifying the version number adequately: https://launcher.ccpgames.com/eve-online/release/win32/x64/eve-online-1.1.0-full.nupkg
  • Use Lutris, which implements a workaround for the “run as Administrator” default behavior in WINE/Proton, thus letting Squirrel do its job, see install notes.
  • Get the Squirrel installer and modify the Setup file with a binary editor so that the check for Administrator is reversed, and the installer proceeds if the user has Administrator privileges. smurftek: If you want to use the beta launcher under wine / proton without going through steam or having to change a bunch of settings, edit the binary and at address 00407436 replace it with “b8 01 00 00 00” and presto the launcher will work anywhere.


Steam

https://www.protondb.com/app/8500

Lutris

Lutris is a gaming platform for Linux. It offers Wine builds that are pre-configured for specific games, and allows for a graphical installation of various games and applications. Those that are unable to roll their own wine prefix, or are weary on the process, may find this solution more viable.

Install Lutris via your package manager, and then head to the EVE Online page on the Lutris website to pick an install script. As of December 2023, there are four main install scripts: a DXVK variant, a non-DXVK (OpenGL-based) one, one with Steam, and a Chinese distribution. The DXVK version offers generally better performance. For the new launcher there is a eve-online-april-beta-launcher installer.

After picking your script from the Lutris website and following the installation procedure, an EVE Online icon will show up in your Lutris client UI. From this point, you can click on "EVE Online" to start the EVE Launcher. You may configure options for the game, runner or system. For troubleshooting, make sure Run Client with Logging is enabled in the EVE Launcher options.

When having trouble with the scripted installation of the new launcher in Lutris the following steps should give results:

  • Set the default installer to lutris 7.2.2
  • Install a new program using lutris with the new launcher installer. At some point it will produce an error, the install will fail it seems.
  • Edit the new program, add the launcher executable as the program to launch (c_drive/users/[username]/appdata/local/eve-online/eve-online.exe). Change the runner to something newer if desired.
  • Start the launcher, it might error out, check the log it might need something, this might take a few tries.

Roll your own

It is certainly doable and fun to get an installer, launcher & client to run with just the parts and get it to run, if you are so inclined please link your experience here.

Play EVE Online on Arch Linux with WineHQ

Common issues and solutions

Depending on the hardware used changing from/to Direct3D 11/12 can have a positive or negative effect on the quality and/or performance of the game client, this also depends on the in-game graphics setting. Your mileage may vary, since you use Linux it is expected that you have more than average computer knowledge and are able to figure out what works in your specific situation.

Client slowing down / high CPU usage

  • Behavior like lagging is reported, a solution for this behavior is to disable Esync & Fsync.

Steam: Start the launcher with a custom command source

Lutris: In the runner options disable Esync & Fsync

Disk usage

The updater is unable to update the launcher due to a missing component in wine. `unimplemented function msdelta.dll.ApplyDeltaW, aborting` This results in a ever growing squirreltemp directory. Manually cleaning is required at this point in time (January 2024). A fix for this behavior is being worked on: make the updater detect wine and do a full update.

Note: on the wine bugtracker


'Old' launcher

When the old launcher is deprecated the split in installation methods is no longer relevant.


This article should be cleaned up or improved.
The reason is: Content below should be reviewed & updated

Whey back when we had a native launcher & other problems

While Linux is not officially supported by CCP, a side project by CCP Snorlax has yielded a native Linux application that downloads a prebundled version of Wine (also built by CCP Snorlax) which allows Linux to run the EVE launcher more easily. The launcher requires a 64-bit installation of Linux, but should work with most distributions.

Alternatively, for a more visual installation and cleaner management of multiple WINEPATHs, you can use Lutris.

Native Linux launcher has been retired. Recommended solution for running EVE on Linux is Steam/Proton

Much of this guide is adapted from the official forum post by CCP Snorlax, which can be found here. Questions about the information found in this article are best asked on the official EVE forums.


Custom Launcher Shortcut

(The following additional steps are not strictly necessary, but can make running the launcher more convenient through the use of a custom launcher shortcut. See the Troubleshooting section below if you encounter any issues.)

Launcher icon
  1. Create a symbolic link (symlink) to the script in the user binaries folder
    sudo ln -s /Path/To/evelauncher.sh /usr/bin/evelauncher
  2. And make it executable
    sudo chmod u+x /usr/bin/evelauncher
  3. Download the icon file
    wget https://wiki.eveuniversity.org/images/a/af/Evelauncher.png
  4. Move the icon file to the correct directory
    sudo mv Evelauncher.png /usr/share/pixmaps/
  5. Create the launcher file with your preferred editor
    sudo edit /usr/share/applications/eve.desktop
  6. Insert the following text and then save it:
    [Desktop Entry]
    Name=EVE Online
    Comment=EVE Online by CCP Games
    Exec=/usr/bin/evelauncher
    Icon=Evelauncher
    Terminal=false
    Type=Application
    Categories=Game;
  7. Run the game through the newly-created launcher shortcut!

Using a Custom Wine Version

The copy of wine bundled with the launcher is quite outdated, but thankfully you can use your distribution's own wine runtime instead which gives access to things like DirectX11 support.

Note: Make sure to untick 'Run clients with DX9' if you want to use DX11.
  1. Open the launcher settings with the small "E" symbol in the top right, tick "Use custom Wine", and in the box below it enter the path of your wine executable, e.g.
    /usr/bin/wine
  2. Remove EVE's existing wine and wineenv folder
    rm -Rd ~/.eve/wineenv ~/.eve/wine
  3. Reopen the launcher and start the game as normal.
  4. EVE's wine prefix should rebuild itself with the custom version.


Troubleshooting

Incompatible OpenSSL library

The EVE launcher requires the 1.0.x version of the openssl library in order to function, however, some newer versions of Linux distributions and those that use rolling releases include the 1.1.x version by default (this will be evident by the launcher simply not appearing at all when the script is run), so some extra steps to install the older compatibility library may be necessary.

Note: The following example is for Ubuntu - paths and package names will likely be different on other distributions.
  1. Download the older library from your distribution's repos
    sudo apt-get install libssl1.0.0
  2. Add symbolic links to the libraries in the launcher's folder
    sudo ln -s /lib/x86_64-linux-gnu/libssl.so.1.0.0 /Path/To/evelauncher/libssl.so
    sudo ln -s /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /Path/To/evelauncher/libcrypto.so


This should correct the issue temporarily, but the symlinks will be removed when the launcher is updated. A solution to this is to make your own script which checks for the existence of the symlinks, remakes them if they are missing and then triggers the launcher's script.

  1. Create the wrapper script in your preferred editor
Note: The wrapper script cannot be located in the launcher's own folder, or it will be deleted when the launcher updates.
  1. $EDITOR /Path/To/Wrapper/evewrapper.sh
  2. Insert the following text and then save it:
    dirname=/Path/To/evelauncher/

    if [ ! -e $dirname/libssl.so.1.0.0 ]; then
    ln -s /lib/x86_64-linux-gnu/libssl.so.1.0.0 $dirname/libssl.so
    fi
    if [ ! -e $dirname/libcrypto.so.1.0.0 ]; then
    ln -s /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 $dirname/libcrypto.so
    fi
    exec $dirname/evelauncher.sh
  3. If you made a custom launcher file as above, you will need to change the path of the symlink in step 1
    sudo ln -s /Path/To/Wrapper/evewrapper.sh /usr/bin/evelauncher


Qt dependencies

In some rare instances on Ubuntu, you may be lacking the required Qt dependencies for the launcher, This will manifest as some QT files not be located and the launcher window opening but not displaying anything.

Instructions for this install are taken from here: https://wiki.qt.io/Install_Qt_5_on_Ubuntu

  1. Download the installer
    Note: These can be put wherever the user prefers, but the home directory ~/ is recommended.
    wget http://download.qt.io/official_releases/qt/5.7/5.7.0/qt-opensource-linux-x64-5.7.0.run
  2. Adjust permissions
    chmod +x qt-opensource-linux-x64-5.7.0.run
  3. Install QT
    ./qt-opensource-linux-x64-5.7.0.run
  4. Install g++
    sudo apt-get install build-essential
  5. Install generic fonts
    sudo apt-get install libfontconfig1


Libxcb dependencies

Evelauncher comes with its own libxcb. In some instances it fails to find xcb in its launch directory as well as to find libxcb installed in the system. This is indicated by message in console:
This application failed to start because it could not find or load the Qt platform plugin "xcb" in ""

To solve this problem just delete all files located in the directory of EVE launcher, that have "libxcb" as part of their names.

rm libxcb*


Launcher Shortcut Issues

Your EVE launcher shortcut may fail with the following message:

/bin/sh: warning: shell level (1000) too high, resetting to 1


This, and other errors, are likely due to the fact that the 'dirname' and 'pwd' commands will return the location of the soft link, not of the shell script itself. Hence, we need to use readlink to follow every symlink in the path. Make the following changes to /path/to/evelauncher/evelauncher.sh:

#!/bin/sh
appname="evelauncher"

dirname=$(dirname "$(readlink -f "$BASH_SOURCE")")
tmp="${dirname#?}"

if [ "${dirname%$tmp}" != "/" ]; then
dirname="$PWD/$dirname"
fi

LD_LIBRARY_PATH="$dirname:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH
export QTDIR=$dirname
export QT_PLUGIN_PATH=$dirname/plugins
"$dirname/$appname" "$@"
Note: The first change is necessary only if you choose to give your soft link a different name.


X Server

If Eve Online fails to launch, try running it from the terminal. Check for the following error message:

user@localhost > ./evelauncher.sh
...
Invalid MIT-MAGIC-COOKIE-1

As explained here, an X program needs (1) the address of the display (typically ":0") and (2) the password for the display. The second requirement is known as the "Magic Cookie". One workaround to sidestep this access problem is to use xhost, which is an X server access control program. Make the following changes to /path/to/evelauncher/evelauncher.sh:

#!/bin/sh
appname="evelauncher"

dirname=$(dirname "$(readlink -f "$BASH_SOURCE")")
tmp="${dirname#?}"

if [ "${dirname%$tmp}" != "/" ]; then
dirname="$PWD/$dirname"
fi

xhost +local:

LD_LIBRARY_PATH="$dirname:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH
export QTDIR=$dirname
export QT_PLUGIN_PATH=$dirname/plugins
"$dirname/$appname" "$@"
Note: xhost here is granting temporary access to any local application running as the current user. It is not allowing any kind of remote access.