Installer amnesia-the-dark-descent-epic-games

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.

files:
- epic: https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi
- audio: https://lutris.net/files/tools/directx-2010.tar.gz
- mfinstaller: https://lutris.nyc3.cdn.digitaloceanspaces.com/games/epic-games-store/mf-install-master.zip
game:
  arch: win64
  args: -SkipBuildPatchPrereq -opengl
  exe: drive_c/Program Files (x86)/Epic Games/Launcher/Portal/Binaries/Win32/EpicGamesLauncher.exe
  prefix: $GAMEDIR
installer:
- extract:
    dst: $CACHE/dxsetup
    file: audio
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR
- task:
    arch: win64
    args: /silent
    executable: $CACHE/dxsetup/DXSETUP.exe
    name: wineexec
    prefix: $GAMEDIR
- task:
    arch: win64
    name: winekill
    prefix: $GAMEDIR
- extract:
    dst: $CACHE/mfinstaller
    file: mfinstaller
- execute:
    command: $CACHE/mfinstaller/install-mf.sh
    env:
      WINEPREFIX: $GAMEDIR
- task:
    arch: win64
    name: winekill
    prefix: $GAMEDIR
- task:
    app: arial vcrun2019 cjkfonts win10
    arch: win64
    description: Installing dependencies
    name: winetricks
    prefix: $GAMEDIR
- task:
    arch: win64
    name: winekill
    prefix: $GAMEDIR
- copy:
    dst: $CACHE/epic/
    src: epic
- task:
    arch: win64
    args: /i "$CACHE/epic/EpicGamesLauncherInstaller.msi" /q
    exclude_processes: EpicGamesLauncher.exe
    executable: msiexec
    name: wineexec
    prefix: $GAMEDIR
- task:
    arch: win64
    name: winekill
    prefix: $GAMEDIR
system:
  env:
    DXVK_HUD: compiler
    __GL_SHADER_DISK_CACHE: 1
    __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
wine:
  dxvk: true
  esync: true
{
  "files": [
    {
      "epic": "https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi"
    },
    {
      "audio": "https://lutris.net/files/tools/directx-2010.tar.gz"
    },
    {
      "mfinstaller": "https://lutris.nyc3.cdn.digitaloceanspaces.com/games/epic-games-store/mf-install-master.zip"
    }
  ],
  "game": {
    "arch": "win64",
    "args": "-SkipBuildPatchPrereq -opengl",
    "exe": "drive_c/Program Files (x86)/Epic Games/Launcher/Portal/Binaries/Win32/EpicGamesLauncher.exe",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "extract": {
        "dst": "$CACHE/dxsetup",
        "file": "audio"
      }
    },
    {
      "task": {
        "arch": "win64",
        "name": "create_prefix",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "arch": "win64",
        "args": "/silent",
        "executable": "$CACHE/dxsetup/DXSETUP.exe",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "arch": "win64",
        "name": "winekill",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "extract": {
        "dst": "$CACHE/mfinstaller",
        "file": "mfinstaller"
      }
    },
    {
      "execute": {
        "command": "$CACHE/mfinstaller/install-mf.sh",
        "env": {
          "WINEPREFIX": "$GAMEDIR"
        }
      }
    },
    {
      "task": {
        "arch": "win64",
        "name": "winekill",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "app": "arial vcrun2019 cjkfonts win10",
        "arch": "win64",
        "description": "Installing dependencies",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "arch": "win64",
        "name": "winekill",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "copy": {
        "dst": "$CACHE/epic/",
        "src": "epic"
      }
    },
    {
      "task": {
        "arch": "win64",
        "args": "/i \"$CACHE/epic/EpicGamesLauncherInstaller.msi\" /q",
        "exclude_processes": "EpicGamesLauncher.exe",
        "executable": "msiexec",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "arch": "win64",
        "name": "winekill",
        "prefix": "$GAMEDIR"
      }
    }
  ],
  "system": {
    "env": {
      "DXVK_HUD": "compiler",
      "__GL_SHADER_DISK_CACHE": 1,
      "__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR"
    }
  },
  "wine": {
    "dxvk": true,
    "esync": true
  }
}
Back to game