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

For 3.16-5 Beta ED - that's a bug in my script. That second if statement at line 576 should be indented to run only if the previous one is true.

For 3.16-4 Beta ED - it looks like a shader compilation issue.

You could try installing DXVK 0.94 on 3.16-4 Beta ED. You can do that with 'winetricks dxvk'. If that doesn't help, you might want to share what graphics card and driver version you are using. But make sure you are meeting the Proton Graphics Drivers Requirements.

Fixed it by downgrading my graphics driver to mesa-vulkan-driver 18.0.5 from the ubuntu repository. I had version 19 from the oibaf ppa. Thanks for the help.
 
Interesting - looks like you might need to buy and install through Steam now.

So this is a bit annoying, possibly? It looks like you can't do a standalone install anymore? I notice that a new launcher is available but I can no longer find a download location for it.
 
Anyone think you could get triple monitor to work with Wine? I have a setup with three same-resolution monitors, that kinda surround me - so it might be kinda neat. Thoughts on what might need to be done? I don't see 5760 * 1080 as a resolution option..
 
Go to the Frontier Store and download the launcher from the link in your orders page.

I originally bought via Steam (silly me from 4 years ago, *sigh*). To date, it hadn't prevented me from downloading the launcher from the Frontier site. Today, that link no longer exists. My order shows "no downloadable products". (It probably doesn't help that I bought that weird "Horizons" game that only existed for a short time before becoming DLC for ED.
 
Interesting - looks like you might need to buy and install through Steam now.
In fact I bought it from Steam.
Then, after all files were downloaded and there was:
the demo version in a subdirectory COMBAT_TUTORIAL_DEMO
the real game in a subdirectory elite-dangerous-64

Using the command wine EliteDangerous32.exe gave me a working demo.
Using the command win64 EliteDangerous64.exe to start the real game gave me the network error.

Does the fact that I got the game through Steam force me to follow another way?
 
I used the command winetricks dotnet452 corefonts quartz vcrun2017 dxvk

This lead to this : Setup may not run properly, because the Windows Modules Installer Service is not available on this computer.
When continuing, the well known error appears that 'enough disk space must be available'
Pressing 'Refresh' does not work and once again 'cancel' is the only way out and I have a 'exit status 66 - dotnet452 installation failed' message.
I give the command winetricks corefonts quartz vcrun2017 dxvk (leaving out dotnet452) and it finished without problems.

After giving wine64 EliteDangerous64.exe the 'Unable to initialise network' reappears again.
It seems that the inclusion of vcrun2017 makes no difference.

As far as I understand from the OpenSuSE Leap 15.0, ipv6 is set up. And why not?
The netlog tells me this:

============================================
Logs/netLog.181220210038.01.log (part 1)
2018-12-20 21:00 Central Europe Standard Time
============================================
{20:00:38GMT 0.469s} ClientBuild 3.3.0.402 EDH r189994 (win64)
{20:00:47GMT 9.025s} upnpDiscover() error code=0
{20:00:47GMT 9.025s} failed to initialise upnp
{20:00:47GMT 9.450s} IPv4 is enabled, but address not found
{20:00:58GMT 20.488s} Machine 1 x 2 Local Machine disconnected: shutdown
 
Last edited:
I originally bought via Steam (silly me from 4 years ago, *sigh*). To date, it hadn't prevented me from downloading the launcher from the Frontier site. Today, that link no longer exists. My order shows "no downloadable products". (It probably doesn't help that I bought that weird "Horizons" game that only existed for a short time before becoming DLC for ED.

My steam copy doesn't show a download in my account however my Frontier Store bought account does. The zaonce link still works however it's probably the old version of the launcher.

It is weird there's not a link to the Frontier store on the new Elite Dangerous site, instead referring people to Steam.
 
My steam copy doesn't show a download in my account however my Frontier Store bought account does. The zaonce link still works however it's probably the old version of the launcher.

It is weird there's not a link to the Frontier store on the new Elite Dangerous site, instead referring people to Steam.

It's pretty annoying. I hope it's just an oversight. Thanks for the link though.

The direct link http://hosting.zaonce.net/elite/Client-Installer.exe works and redirects to a download called EliteDangerousLauncherSetup.exe. Interestingly, it looks like it now has the vcrun2015 redist embedded, so I guess they fixed that bug. (v2018.12.17.190809 0.4.6496.0 FD)
 
Last edited:
Hello
I've followed the guide several times now, deleting the prefix and reinstalling, but I can't get the EDLaunch.exe running. I've tried several versions of Wine through Lutris (either starting these versions of Wine manually or through Lutris). The game itself starts, but the launcher doesn't start and complains about:
0014:err:module:import_dll Library mscoree.dll (which is needed by L"C:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\mscorsvw.exe") not found
0014:err:module:LdrInitializeThunk Importing dlls for L"C:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\mscorsvw.exe" failed, status c0000135
000f:err:service:process_send_command service protocol error - failed to write pipe!
000f:fixme:service:scmdatabase_autostart_services Auto-start service L"clr_optimization_v4.0.30319_32" failed to start: 1053
0009:err:module:__wine_ldr_start_process Main exe initialization for L"Z:\\home\\oj\\.wine\\drive_c\\Program Files (x86)\\Steam\\steamapps\\common\\Elite Dangerous\\EDLaunch.exe" failed, status c0000017

Sorry if I'm posting the logs wrong here.
 
Hello
I've followed the guide several times now, deleting the prefix and reinstalling, but I can't get the EDLaunch.exe running. I've tried several versions of Wine through Lutris (either starting these versions of Wine manually or through Lutris). The game itself starts, but the launcher doesn't start and complains about:
0014:err:module:import_dll Library mscoree.dll (which is needed by L"C:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\mscorsvw.exe") not found
0014:err:module:LdrInitializeThunk Importing dlls for L"C:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\mscorsvw.exe" failed, status c0000135
000f:err:service:process_send_command service protocol error - failed to write pipe!
000f:fixme:service:scmdatabase_autostart_services Auto-start service L"clr_optimization_v4.0.30319_32" failed to start: 1053
0009:err:module:__wine_ldr_start_process Main exe initialization for L"Z:\\home\\oj\\.wine\\drive_c\\Program Files (x86)\\Steam\\steamapps\\common\\Elite Dangerous\\EDLaunch.exe" failed, status c0000017

Sorry if I'm posting the logs wrong here.

I had a similar error message about mscoree.dll when dotnet40 was not installed properly.

Try installing the latest wine staging.
Then update winetricks.
Then increase your file descriptor limit.

Finally, install dotnet40, vcrun2017 and dxvk in your prefix for ED like this: "WINEPREFIX=/path/to/prefix winetricks dotnet40 dxvk win7".

If dotnet40 installs correctly, you will get a Windows GUI with progress bars followed with a confirmation of successful installation.

The reason for this is explained by redmcg here:
"Also note that earlier versions of wine appear to have an issue with installation of dotnet40 - so make sure you are using wine version 3.18 or later (or for protontricks you are using Proton 3.16-4 Beta or later).

Older versions of winetricks will report that the dotnet package is not suppored on a 64 bit prefix. Make sure you have the latest version of winetricks by following the steps detailed here.
 
Last edited:
Thank you very much for the guide. It's working pretty well right now with Ubuntu 18.04, wine-3.21 staging, and nvidia driver 410.
Eagleboy would you mind updating the OP with the right version of vcrun? It would've saved me a lot of time ;)
I am using dxvk with nvidia 410 as was suggested. Previous versions freezes the game during the initial shader calculation. OpenGL works too, but everything is extremely shining.

Cheers!
 
I used the command winetricks dotnet452 corefonts quartz vcrun2017 dxvk

This lead to this : Setup may not run properly, because the Windows Modules Installer Service is not available on this computer.
When continuing, the well known error appears that 'enough disk space must be available'
Pressing 'Refresh' does not work and once again 'cancel' is the only way out and I have a 'exit status 66 - dotnet452 installation failed' message.
I give the command winetricks corefonts quartz vcrun2017 dxvk (leaving out dotnet452) and it finished without problems.

After giving wine64 EliteDangerous64.exe the 'Unable to initialise network' reappears again.
It seems that the inclusion of vcrun2017 makes no difference.

As far as I understand from the OpenSuSE Leap 15.0, ipv6 is set up. And why not?
The netlog tells me this:

============================================
Logs/netLog.181220210038.01.log (part 1)
2018-12-20 21:00 Central Europe Standard Time
============================================
{20:00:38GMT 0.469s} ClientBuild 3.3.0.402 EDH r189994 (win64)
{20:00:47GMT 9.025s} upnpDiscover() error code=0
{20:00:47GMT 9.025s} failed to initialise upnp
{20:00:47GMT 9.450s} IPv4 is enabled, but address not found
{20:00:58GMT 20.488s} Machine 1 x 2 Local Machine disconnected: shutdown

Make sure your wine prefix is set to winxp ("WINEPREFIX=/path/to/prefix winetricks winxp") during the dotnet40 installation ("WINEPREFIX=/path/to/prefix winetricks dotnet40"), then reset it to win7 before starting ED ("WINEPREFIX=/path/to/prefix winetricks win7"). Also, make sure you've increased your file descriptor limit and you have the latest wine staging and winetricks installed.

The network errors don't seem to be specifically related to wine or anything. You might need to forward ports and/or modify AppConfig.xml in the Elite Dangerous /Products folder. See here for possible solutions:
https://forums.frontier.co.uk/showt...itialise-network-Please-check-your-connection
https://forums.frontier.co.uk/showthread.php/95746-quot-Failed-to-initialise-upnp-quot
https://support.frontier.co.uk/kb/faq.php?id=344
 
Last edited:
Setup Script and .NET errors.

We all seem to be spending lots of time dealing with wine, winetricks, dotnet40 and vcrun2017 while setting up Elite Dangerous, so I have created a script that automates the process. Just place this script in the same folder as EDLaunch.exe, set the permissions to allow executing as a program and double click the file. It will install the latest version of wine-staging and winetricks, create a new wine prefix in your home directory called "EDwinePrefix" and install dotnet40, vcrun2017 and dxvk. Then, it will start Elite Dangerous for you. The next time you run the script, it will know everything is installed and will just start Elite Dangerous using the new wine prefix.

You can download this script: here.



Potential issues:

1. Trouble during installation of dotnet40

If there is an issue during the installation of dotnet40, check your file descriptor limit and increase if necessary.
More info here.

2. You get the following error or a similar notification when the launcher is starting or when you attempt to log in:
UgTaef2.png


The .exe files in your Elite Dangerous folder each have a config file such as "MachineIdentifier.exe.config" and "EDLaunch.exe.config". If one of these is missing, you will get errors like the one in the image above and the game will not start. I fixed this error by creating a file called "MachineIdentifier.exe.config" and copying the contents of "HardwareReporter.exe.config" into it. These files apparently tell the executable what version of .NET to use and the launcher therefore fails to find the correct version if they don't exist.

Contents of "MachineIdentifier.exe.config":
Code:
<?xml version="1.0"?>
<configuration>
    <startup> 
        <supportedRuntime version="v2.0.50727"/>
        <supportedRuntime version="v4.0"/>
    </startup>
</configuration>
 
Last edited:
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 had a similar error message about mscoree.dll when dotnet40 was not installed properly.

Try installing the latest wine staging.
Then update winetricks.
Then increase your file descriptor limit.

Finally, install dotnet40, vcrun2017 and dxvk in your prefix for ED like this: "WINEPREFIX=/path/to/prefix winetricks dotnet40 dxvk win7".

If dotnet40 installs correctly, you will get a Windows GUI with progress bars followed with a confirmation of successful installation.

The reason for this is explained by redmcg here:
This worked wonders for me and I can log in and almost play the game. I just have one problem and it's that every single key is not bound. I can't even control the main menu with arrow keys and browsing my way to the controls section fails. While I can open every other options menu, controls just don't pop up.
 
Make sure your wine prefix is set to winxp ("WINEPREFIX=/path/to/prefix winetricks winxp") during the dotnet40 installation ("WINEPREFIX=/path/to/prefix winetricks dotnet40"), then reset it to win7 before starting ED ("WINEPREFIX=/path/to/prefix winetricks win7"). Also, make sure you've increased your file descriptor limit and you have the latest wine staging and winetricks installed.

The network errors don't seem to be specifically related to wine or anything. You might need to forward ports and/or modify AppConfig.xml in the Elite Dangerous /Products folder. See here for possible solutions:
https://forums.frontier.co.uk/showt...itialise-network-Please-check-your-connection
https://forums.frontier.co.uk/showthread.php/95746-quot-Failed-to-initialise-upnp-quot
https://support.frontier.co.uk/kb/faq.php?id=344
I followed your advise and changed the file descriptor limit.
Thank you also for this distinction between winxp and win7.
A question that comes to my mind is why both Cmdr Eagleboy and wstephenson, with their instructions, never ever mention these things.
Also we have RedMcG walking his own track with Proton and complaining that wstephenson is not giving all information.
Pity too that your script turns out to be only useful for a Debian distribution and not for Fedora or OpenSuSE.

I appreciate the efforts of you all, wish however that the experts posting here would be able to work as a team, providing complete information.

That of course did not stop me from following your suggestion and this distinction between winxp and win7 made a lot of difference. The installation did not lead to error messages, though it took very long (at least half an hour, so I went for shopping) and when I returned, it had halted. Not stopped. So I had to press Ctrl-C in bash.
I launched EdLauch.exe and Elite was downloaded.
Running wine64 EliteDangerous64.exe led to the same problem: 'Unable to initialise network'.
So I really think it has something to do with the port forwarding on the modem/router.
I will keep you informed.
 
Last edited:
Back
Top Bottom