How to install ED on Linux using Wine [EXPERIMENTAL, NOT OFFICIALLY SUPPORTED]

Yes, not only a drop in performance in general but some locations have really severe drops that don't happen on Windows or before 3.3 on linux. For DWE2 I'll probably be playing on Windows due to this, as well as respecting the fact Ed commented this thread before about the so called technical issues.

Saying that I'm surprised you can even play on Linux with a GT 730.

I have now everything at minimum and downsampling to 0.75, and it's bearable. I guess that not having played ever at high settings or in a powerful computer helps (ignorance is bliss). Pre Q4, I didn't need to downsample and I had several settings not at minimum.
 
Hope all you Linux people are having a good Christmas however I got some bad news regarding the latest released 4.20 kernel, which is you pretty much require the (bugged) 415 branch Nvidia drivers for it as the older drivers will fail to build kernel modules.

It's sort of why I posted this the other day, as not only new kernels run the risk of breaking the older drivers but it's kind of important the bug gets highlighted and not kept under the rug.

This is easily fixed and already in newest upstream driver by nvidia.

Other topic, i have trouble gettin my hotas to work in wine, dxvk and ed. i'am not preferring proton though as i have native builds with newer software for the various components.
Anyone experienced the same issues? Maybe it's SDL and / or libinput related don't know for sure.

Really dont't want to play with keyboard and mice just to get rid of win.

(hum, gettin' feral and fdev in touch could be cool. really enjoyed tomb raider with linux) We know cobra engine can run under unixoid systems, we just need a native build without that wine fiddle. in fact mesa shouldn't be a really serious problem like the mac users face actually.
 
Hello commanders!

Finally, I was able to make EDEngineer to work in Linux too (Ubuntu 18.04 and wine 3.21 staging)
A short guide follows just in case someone could be interested in trying it. Proceed at your own risk.
It syncs with the game when playing and updates the shopping list (enough for me).

What doesn't work yet:
  • The combo boxes that filter the blueprints (can be filtered using the Search box)
  • The "-" sign is not showing in the shopping list (although you can click on it). I tried to solve it installing corefonts, but it didn't work.
  • The voiced notifications (never used them in windows)

I went for a new wine prefix (32bits) in /opt/edeng-wine, installed dotnet 4.61 using winetricks and then installed the program downloaded from here.

Code:
WINEPREFIX=/opt/edeng-wine/ WINEARCH=win32 wine winecfg
WINEPREFIX=/opt/edeng-wine/ WINEARCH=win32 WINE=/opt/wine-staging/bin/wine winetricks dotnet461
WINEPREFIX=/opt/edeng-wine/ WINEARCH=win32 /opt/wine-staging/bin/wine setup.exe

It will fail the first time the program runs because the voice synthesis is missing.
Fortunately, EDEngineer is open source (Thank you Max) so I worked out a solution:

First, kill the still running program:

Code:
killall EDEngineer.exe

Find the configuration file (note that your path would be slightly different):

Code:
vi /opt/edeng-wine/drive_c/users/[B]alierum[/B]/Local\ Settings/Application\ Data/Apps/2.0/[B]H9DKC9B9.H4B/OGARLJ89.DKV/eden...exe_b9c6c2d0b4f2eae5_0001.0001_none_20d0eaaca46ae227[/B]/EDEngineer.exe.config

And change the value of the NotificationVoice in the xml file to avoid the error.

Code:
<setting name="NotificationVoice" serializeAs="String">
  [B]<value>--</value>[/B]
</setting>

You can now run the program again:

Code:
WINEPREFIX="/opt/edeng-wine" /opt/wine-staging/bin/wine start "c:\users\[B]alierum[/B]\Start Menu\Programs\Max\EDEngineer.appref-ms"

It could fail when selecting the ED log directory.
As I had ED in a different wine prefix I used the Z: unit in the path (a simlink could be used too).
If you can't make it, just edit the settings manually and add the path there (the path would be different in your case, use the TAB key for autocompletion):

Code:
vi /op/edeng-wine/drive_c/users/[B]alierum[/B]/Local\ Settings/Application\ Data/Apps/2.0/Data/[B]42KJBZQW.OXL/RE3288DR.LLT/eden..tion_b9c6c2d0b4f2eae5_0001.0001_5409e5c70c42f7a3[/B]/Data/1.0.0.0/user.config

And add the right path:

Code:
<setting name="LogDirectory" serializeAs="String">
  <value>[B]Z:\opt\ed-wine\drive_c\users\alierum\Saved Games\Frontier Developments\Elite Dangerous[/B]</value>
</setting>

I hope you can find this mini guide useful.
If there is anything wrong or should be better explained, please tell me and I will correct the post.
o7

zepRX2c.jpg
 
Hi everyone !

Thank you so much for making and updating this thread !
I've just succeeded in installing Elite on my Kubuntu 18.04, it works like a charm, I'm super happy :)

Some of the problems I've encountered, in case it helps others :

- I first had some problems with the launcher : all the buttons, menus and popups were pitch black.
To solve this, I had to uninstall my (old) stable wine completely from my system, and follow guidelines ( https://wiki.winehq.org/Ubuntu ) to install Wine Staging 4.0 (currently rc4). It allowed me to select it in Lutris once it was installed system wide, and the UI bugs disappeared.

- Then, when I started the launcher through lutris, it seemed to work, but as I validated the login credentials, I got an annoying popup saying I had to enable .net framework in the Windows control panel, which I couldn't really do in Wine. A friend of mine found a solution (thank you !), which was to close Lutris and start the launcher directly in a terminal, simply writing in the command the right prefix and the path to the game.

- At last, to recover all my bindings (which include a Thrustmaster hotas), I finally found that since the last update, the game seems to use /path_to_wine/drive_c/users/someuser/Local Settings/Application Data/Frontier Developments/Elite Dangerous/Options/Bindings/ (note the "local settings" instead of "Local", as it was on my previous install). I didn't have to do anything else than copy-pasting the .binds file, everything worked out of the box, which felt pretty impressive.

Finally, after the install KDE didn't seem really happy with the "borderless" graphics settings (window decorations tended to crash), so I opted for a windowed mode and let KDE manage the borderless option, which works fine on a double screen and allows window focus change.

Fly safe ! :)
 
This is easily fixed and already in newest upstream driver by nvidia.

Building kernel modules is but my point is the latest 415 drivers have terrain issues therefore if you want the game to generate terrain correctly you either need an older driver (410 or below) and not update the kernel to 4.20 or to hope this bug gets fixed: https://github.com/doitsujin/dxvk/issues/267#issuecomment-445734287

I have already given my own reports about this however I'm worried due to ED not being as popular as some AAA titles and this issue not really affecting other games AFAIK it may end up slipping under the net and not getting fixed for a while, that's why more people need do need to mention this and not be content with current/old drivers or it'll never get fixed.

https://devtalk.nvidia.com/default/...g-issues-in-415-branch-up-to-415-25-/#5304771
 
Last edited:
Does anyone know what to do when this message appears on starting elite dangerous?

"Warning: you have a custom binding profile that contains missing bindings. Saving any changes to custom bindings will clear the remaining indicators/flags for unassigned controls."

The 'options' under the Main menu are also lit up by an exclamation mark.
 
Does anyone know what to do when this message appears on starting elite dangerous?

"Warning: you have a custom binding profile that contains missing bindings. Saving any changes to custom bindings will clear the remaining indicators/flags for unassigned controls."

The 'options' under the Main menu are also lit up by an exclamation mark.

From the 3.3 patch notes:

  • Display a notification icon to indicate new bindings are available to the player

That's the exclamation mark to tell you to update your control bindings for the new 3.3 features. The message is telling you that should you change your bindings, that warning icon will no longer appear, irrespective of whether the 3.3 features' bindings are bound. Capisci?
 
o7 CMDRS,

Is anyone having the issue where you launch the game from the launcher and it then fails with a error message of "must use the launcher".
The single player training missions fire up no problem it's only on open, private or solo that this happens.
 
o7 CMDRS,

Is anyone having the issue where you launch the game from the launcher and it then fails with a error message of "must use the launcher".
The single player training missions fire up no problem it's only on open, private or solo that this happens.

You need to use vcrun2015 at least (vcrun2017 better) since 3.3 to fix this, use winetricks for that.
 
Last edited:
From the 3.3 patch notes:



That's the exclamation mark to tell you to update your control bindings for the new 3.3 features. The message is telling you that should you change your bindings, that warning icon will no longer appear, irrespective of whether the 3.3 features' bindings are bound. Capisci?

Capisci yes and no.

I managed to tweak the controls, but only if the system would react to me clicking on 'controls' in the options menu. Which it didn't do on more than one occasion. No exclamation mark to be seen at all.

My bindings are in this file:

/data1/ed-wine/drive_c/users/vaessen/Local\ Settings/Application\ Data/Frontier\ Developments/Elite\ Dangerous/Options/Bindings/Custom.3.0.binds
 
Last edited:
There's a new nvidia driver release, would anyone be willing to test whether the terrain issues are resolved? https://www.gamingonlinux.com/articles/nvidia-have-put-out-the-41093-driver-for-linux-today.13269

Older long lived branch, it should not have the issue (unless they backported the bug in question) however it won't have the advancements like stream output which fix a lot of issues with other games running in Wine. However if you don't care about other games then it will work with the new kernel unlike 410.73.

Terrain issue is with the 415 branch, that still needs a fix.
 
Things go from bad to worse.
I managed to tweak the controls, but only if the system would react to me clicking on 'controls'. Which it didn't do on more than one occasion.
Now, after starting 'wine64 EdLaunch', Elite won't start again if I press on 'play' with option 'Elite Dangerous 64 bit' chosen. No matter how many times I reboot OpenSuse Leap 15.
Pressing 'play' with option 'single player combat training' works. But that is of course not what I want.
I get some log:

That's happened to me a couple of times - or what looks like it, anyway. I ended up opening the bindings file from the ControlSchemes directory (SaitekX55.binds in my case) in a text editor and then saving it overwriting the (identical) version that was there. Just using touch might have worked just as well, actually, if I'd thought of it.

Hope that helps. Best of luck with it.
 
Requirements for this guide: openSUSE Leap 15.0 or Tumbleweed. NVidia gfx card. About 20GB of disk space.
UPDATED:


  1. Wine 3.20 released, including keyboard/mouse/controller recognition patch. Removed my patched packages for now.
  2. Wine 3.19 released, including correct keypress recognition in bindings screen and winetricks with dxvk support
  3. My patched packages now offer the appropriate control presets for your system
  4. Corrected typo in winetricks line 'dxdotnet452'.

Steps to install/configure on openSUSE Leap 15.0 or Tumbleweed: with nvidia and DXVK:

  1. Install the latest wine 3.20 from the Emulators repo (Official packages repo URL)):
  2. (these instructions intentionally left vague to deter the inexperienced from borking their installation) Switch to a text console, stop X, uninstall packaged nvidia drivers, compile and install using the beta proprietary nvidia drivers that support the necessary Vulkan APIs, at time of writing 396.54.09 (NVidia Vulkan driver page, general installation instructions for these non-packaged drivers). Restart X.
  3. Install the distro's regular mono-core package
  4. Follow CMDR Eagleboy's instructions (lightly modified for different paths I encountered):
    1. Set a WINEPREFIX for your ED wine configuration. Remember to use the same prefix in later sessions, add it to your .profile or whatever: `export WINEPREFIX=~/ed-wine`
    2. To initialize Wine 64-bit prefix run `wine64 winecfg`. Click Cancel when it prompts you to install dotnet/mono. Then choose 'Windows 7' in version list and hit Apply for configuration change.
    3. To install Winetricks dependencies use`winetricks dotnet452 corefonts quartz vcrun2012`
    4. Switch back to Windows 7 after winetricks has changed it with `wine winecfg`.
    5. Install dxvk `winetricks dxvk` (the prior components need to be installed first, you can't install it with the earlier winetricks call)
    6. Install Elite Dangerous installer and launcher: `wine64 EliteDangerous-Client-Installer.exe`
    7. Launch ED launcher (pun intended) `wine64 "c:\Program Files (x86)\Frontier\EDLaunch\EDLaunch.exe"`
    8. Login, and install ED Horizons using launcher.
  5. Play the game!
  6. At this point you are a little on your own as the game will probably start the first time in 800x600 full screen, setting your desktop resolution to this and messing up your windowing system. Knowing how to unfsck that with `xrandr --display <your-display-here> --auto` up front is helpful.
  7. You'll have to reconfigure control bindings.

Please let me know if you try this and if you encounter any problems.


Outdated, kept for posterity:
Removed steps due to being included in wine/winetricks:


  1. Patched packages: my patched 15.0 packages with correct keyboard/mouse/controller preset recognition
  2. Download DXVK 0.90 (github project|release tarball)
  3. Install DXVK 0.90 into your WINEPREFIX:
    1. `tar xf /path/to/downloaded dxvk-0.90.tar.bz`
    2. `cd dxvk-0.90`
    3. `WINEPREFIX=~/ed-wine winetricks --force setup_dxvk.verb`
  4. Find out the MachineGuid 32bit wine saw and used to login to the launcher:
    1. Save the mono code below as mguidcheck.cs
    2. Compile the code using mcs from the mono-core package: `mcs mguidcheck.cs`
    3. Run the resulting .exe in wine: `wine mguidcheck.exe`
    4. Copy the GUID it outputs (among a mess of debug output here)
  5. Run regedit under wine64 to update its MachineGUID: `wine64 regedit` and set HKLM/Software/Microsoft/Cryptography/MachineGuid to the value output by mguidcheck.exe.

mguidcheck.cs (we-are-not-worthy to RedMcG):
Code:
using Microsoft.Win32;
using System;

public class HelloWorld
{
    static public void Main ()
    {
        Console.WriteLine  (Registry.LocalMachine.OpenSubKey("SOFTWARE\\\\Microsoft\\\\Cryptography").GetValue("MachineGuid").ToString());
    }
This tutorial still mentions vcrun2012:
To install Winetricks dependencies use`winetricks dotnet452 corefonts quartz vcrun2012`

Should that not be vcrun2015 or vcrun2017?
 
That's happened to me a couple of times - or what looks like it, anyway. I ended up opening the bindings file from the ControlSchemes directory (SaitekX55.binds in my case) in a text editor and then saving it overwriting the (identical) version that was there. Just using touch might have worked just as well, actually, if I'd thought of it.

Hope that helps. Best of luck with it.
You mean to say that you opened the bindings file in the ControlSchemes directory and then overwrote it in this same ControlSchemes directory?
If so, what is the role that a bindings file plays in the directory <WINEprefix>//drive_c/users/<username>/Local\ Settings/Application\ Data/Frontier\ Developments/Elite\ Dangerous/Options/Bindings/ ?
By the way: I use the old fashioned Microsoft Sidewinder Precision 2 joystick, which is not mentioned in the ControlSchemes directory.
.
 
You mean to say that you opened the bindings file in the ControlSchemes directory and then overwrote it in this same ControlSchemes directory?

Exactly so, yes. If it happens again I'll try just using touch to update the timestamp and see if that also works for me.

If so, what is the role that a bindings file plays in the directory <WINEprefix>//drive_c/users/<username>/Local\ Settings/Application\ Data/Frontier\ Developments/Elite\ Dangerous/Options/Bindings/ ?
.



I've no idea, I'm afraid. I didn't know that directory existed. Maybe try something analogous on whichever file you use?
 
Hey guys, Ubuntu 18.10 user here!

I've decided to try ED out, however I can't get past through a login error in the launcher saying: `No or empty response from server : The request was aborted: Could not create SSL/TLS secure channel`. I seem to have the same issue when I launch Star Citizen, possibly something related to libgnutls?

I'm using Lutris, I've tried ED with or without DXVK and ESync, using wine runner tkg-protonified-3.21-x86_64.

I was having this issue as well and it appears to be a versioning issue with the TLS package included in Ubuntu 18.10. To get around this, I wiped my Ubuntu install and downgraded to Ubuntu 18.04 which solved the issue for me. I'm sure there's a more elegant solution but I was lost in a sea of unmet dependencies when I tried to install the older version of TLS.
 
Exactly so, yes. If it happens again I'll try just using touch to update the timestamp and see if that also works for me.





I've no idea, I'm afraid. I didn't know that directory existed. Maybe try something analogous on whichever file you use?

From a little earlier in the thread, a fix for unresponsive controls. BTW Edvassen that is the correct path for bindings, elite seems to have more than one config file location for most things.

You need to remove the .binds files in the Control Schemes folder in the game directory, I suspect some of them may be conflicting which causes everything to lock up entirely. Removing them then starting a lone custom preset from scratch is probably best, I haven't had mine lock up since doing that.

I removed all of the bindings from the game dir as well as all except custom and my hotas in the c: \ users directory, which fixes the issue for me.
 
I removed all of the bindings from the game dir as well as all except custom and my hotas in the c: \ users directory, which fixes the issue for me.

Putting the file Custom.3.0.binds both in directory <WINEprefix>//drive_c/users/<username>/Local\ Settings/Application\ Data/Frontier\ Developments/Elite\ Dangerous/Options/Bindings/ and in the ControlSchemes directory, while removing all other binding files from the latter, did the trick. Thanks!
.
 
Last edited:
Back
Top Bottom