[Bug 43464] Elite Dangerous Horizons fails to connect to server with CRC error

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Oct 15 06:32:00 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=43464

Brendan McGrath <brendan at redmandi.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |brendan at redmandi.com

--- Comment #16 from Brendan McGrath <brendan at redmandi.com> ---
I've solved why we get the CRC error (and I have a work-around).

It looks like .NET (which the launcher uses) and the value Wine sees in the
registry (which the client uses) are different for the key:
\\HKLM\SOFTWARE\Microsoft\Cryptography\MachineGuid

So the 'machineId' value generated by the launcher and the one sent by the
client are different - hence the CRC issue.

The work-around is easy. Just replace the value in the registry of your wine
prefix with the one the launcher sees.

To see what the launcher sees, I wrote a simple C-Sharp program:
using Microsoft.Win32;
using System;

public class HelloWorld
{
    static public void Main ()
    {
        Console.WriteLine
(Registry.LocalMachine.OpenSubKey("SOFTWARE\\\\Microsoft\\\\Cryptography").GetValue("MachineGuid").ToString());
    }
}

and ran it in my wine prefix (you can compile with 'mcs' which is in the
'mono-mcs' package).

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list