Installer elite-dangerous-steam-w-dxvk

This script is for reference only and can't be directly used to install the game in the Lutris client. To install the game, download the full script.

game:
  appid: 359320
  arch: win64
  prefix: $GAMEDIR/prefix
installer:
- task:
    arch: win64
    description: Creating Wine Prefix
    name: create_prefix
    prefix: $GAMEDIR/prefix
- task:
    app: ie8
    arch: win64
    description: Installing Internet Explorer 8 (necessary!))
    name: winetricks
    prefix: $GAMEDIR/prefix
- task:
    app: dotnet472
    arch: win64
    description: Installing Dot.NET 4.7.2
    name: winetricks
    prefix: $GAMEDIR/prefix
- task:
    app: vcrun2010 vcrun2012 vcrun2015
    arch: win64
    description: Installing vcrun2010 vcrun2012 vcrun2015
    name: winetricks
    prefix: $GAMEDIR/prefix
- task:
    app: msls31
    description: Installing MS Line Services
    name: winetricks
    prefix: $GAMEDIR/prefix
- task:
    app: quartz
    arch: win64
    description: Installing Quartz
    name: winetricks
    prefix: $GAMEDIR/prefix
- task:
    app: arial
    arch: win64
    description: Installing Arial
    name: winetricks
    prefix: $GAMEDIR/prefix
- task:
    app: win7
    arch: win64
    description: Set Windows version to Windows 7
    name: winetricks
    prefix: $GAMEDIR/prefix
- execute:
    command: printf 'Windows Registry Editor Version 5.00\n\n[HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Cryptography]\n'
      > "$GAMEDIR/prefix/fix.reg"; grep 'MachineGuid' "$GAMEDIR/prefix/fix.reg" |
      head -n1 >> "$GAMEDIR/prefix/fix.reg"
    description: Generating registry patch
- task:
    arch: win64
    description: Patching registry to prevent cryptography errors
    filename: $GAMEDIR/prefix/fix.reg
    name: set_regedit_file
    prefix: $GAMEDIR/prefix
- move:
    dst: $CACHE
    src: $GAMEDIR/prefix/fix.reg
winesteam:
  dxvk: true
  version: tkg-4.2-x86_64
{
  "game": {
    "appid": 359320,
    "arch": "win64",
    "prefix": "$GAMEDIR/prefix"
  },
  "installer": [
    {
      "task": {
        "arch": "win64",
        "description": "Creating Wine Prefix",
        "name": "create_prefix",
        "prefix": "$GAMEDIR/prefix"
      }
    },
    {
      "task": {
        "arch": "win64",
        "description": "Installing Internet Explorer 8 (necessary!))",
        "name": "winetricks",
        "prefix": "$GAMEDIR/prefix",
        "app": "ie8"
      }
    },
    {
      "task": {
        "arch": "win64",
        "description": "Installing Dot.NET 4.7.2",
        "name": "winetricks",
        "prefix": "$GAMEDIR/prefix",
        "app": "dotnet472"
      }
    },
    {
      "task": {
        "arch": "win64",
        "description": "Installing vcrun2010 vcrun2012 vcrun2015",
        "name": "winetricks",
        "prefix": "$GAMEDIR/prefix",
        "app": "vcrun2010 vcrun2012 vcrun2015"
      }
    },
    {
      "task": {
        "description": "Installing MS Line Services",
        "name": "winetricks",
        "prefix": "$GAMEDIR/prefix",
        "app": "msls31"
      }
    },
    {
      "task": {
        "arch": "win64",
        "description": "Installing Quartz",
        "name": "winetricks",
        "prefix": "$GAMEDIR/prefix",
        "app": "quartz"
      }
    },
    {
      "task": {
        "arch": "win64",
        "description": "Installing Arial",
        "name": "winetricks",
        "prefix": "$GAMEDIR/prefix",
        "app": "arial"
      }
    },
    {
      "task": {
        "arch": "win64",
        "description": "Set Windows version to Windows 7",
        "name": "winetricks",
        "prefix": "$GAMEDIR/prefix",
        "app": "win7"
      }
    },
    {
      "execute": {
        "description": "Generating registry patch",
        "command": "printf 'Windows Registry Editor Version 5.00\\n\\n[HKEY_LOCAL_MACHINE\\Software\\Wow6432Node\\Microsoft\\Cryptography]\\n' > \"$GAMEDIR/prefix/fix.reg\"; grep 'MachineGuid' \"$GAMEDIR/prefix/fix.reg\" | head -n1 >> \"$GAMEDIR/prefix/fix.reg\""
      }
    },
    {
      "task": {
        "arch": "win64",
        "description": "Patching registry to prevent cryptography errors",
        "name": "set_regedit_file",
        "prefix": "$GAMEDIR/prefix",
        "filename": "$GAMEDIR/prefix/fix.reg"
      }
    },
    {
      "move": {
        "dst": "$CACHE",
        "src": "$GAMEDIR/prefix/fix.reg"
      }
    }
  ],
  "winesteam": {
    "dxvk": true,
    "version": "tkg-4.2-x86_64"
  }
}
Back to game