Installer farming-simulator-19-epic-store

files:
- epicstore: https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi
- dx10: https://lutris.net/files/tools/directx-2010.tar.gz
game:
  arch: win64
  args: -opengl
  exe: drive_c/Program Files (x86)/Epic Games/Launcher/Portal/Binaries/Win32/EpicGamesLauncher.exe
  prefix: $GAMEDIR
installer:
- extract:
    dst: $CACHE/directx-2010
    file: dx10
- task:
    arch: win64
    description: Creating a Wine prefix (64bits).
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: win10
    arch: win64
    description: Changing Windows version to (Win10).
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: arial mdx d3dcompiler_43 d3dx9_43
    arch: win64
    description: Adding the software necessary.
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: vcrun2019
    arch: win64
    description: Installing libraries.
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: dotnet40
    arch: win64
    description: Installing .NET Framework. (4.0)
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: win10
    arch: win64
    description: Changing Windows version to (Win10).
    name: winetricks
    prefix: $GAMEDIR
- task:
    arch: win64
    name: winekill
    prefix: $GAMEDIR
- task:
    arch: win64
    description: (Microsoft`s software) Installing directx-2010.
    executable: $CACHE/directx-2010/DXSETUP.exe
    name: wineexec
    prefix: $GAMEDIR
- task:
    arch: win64
    description: Installing Epic Store.
    exclude_processes: EpicGamesLauncher.exe
    executable: epicstore
    name: wineexec
    prefix: $GAMEDIR
- task:
    arch: win64
    name: winekill
    prefix: $GAMEDIR
system:
  env:
    DXVK_HUD: 0
    DXVK_STATE_CACHE: '1'
    DXVK_STATE_CACHE_PATH: $GAMEDIR/StateCache/
    MESA_GL_VERSION_OVERRIDE: 4.4COMPAT
    __GL_SHADER_DISK_CACHE: '1'
    __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR/ShadersCache/
    __GL_THREADED_OPTIMIZATIONS: '1'
    mesa_glthread: 'true'
description: This installer will download the Epic Store with its dependencies.
game_slug: farming-simulator-19
gogslug: ''
humblestoreid: ''
installer_slug: farming-simulator-19-epic-store
name: Farming Simulator 19
notes: You will need to download the game manually through the Epic Store.
runner: wine
script:
  files:
  - epicstore: https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi
  - dx10: https://lutris.net/files/tools/directx-2010.tar.gz
  game:
    arch: win64
    args: -opengl
    exe: drive_c/Program Files (x86)/Epic Games/Launcher/Portal/Binaries/Win32/EpicGamesLauncher.exe
    prefix: $GAMEDIR
  installer:
  - extract:
      dst: $CACHE/directx-2010
      file: dx10
  - task:
      arch: win64
      description: Creating a Wine prefix (64bits).
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      app: win10
      arch: win64
      description: Changing Windows version to (Win10).
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: arial mdx d3dcompiler_43 d3dx9_43
      arch: win64
      description: Adding the software necessary.
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: vcrun2019
      arch: win64
      description: Installing libraries.
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: dotnet40
      arch: win64
      description: Installing .NET Framework. (4.0)
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: win10
      arch: win64
      description: Changing Windows version to (Win10).
      name: winetricks
      prefix: $GAMEDIR
  - task:
      arch: win64
      name: winekill
      prefix: $GAMEDIR
  - task:
      arch: win64
      description: (Microsoft`s software) Installing directx-2010.
      executable: $CACHE/directx-2010/DXSETUP.exe
      name: wineexec
      prefix: $GAMEDIR
  - task:
      arch: win64
      description: Installing Epic Store.
      exclude_processes: EpicGamesLauncher.exe
      executable: epicstore
      name: wineexec
      prefix: $GAMEDIR
  - task:
      arch: win64
      name: winekill
      prefix: $GAMEDIR
  system:
    env:
      DXVK_HUD: 0
      DXVK_STATE_CACHE: '1'
      DXVK_STATE_CACHE_PATH: $GAMEDIR/StateCache/
      MESA_GL_VERSION_OVERRIDE: 4.4COMPAT
      __GL_SHADER_DISK_CACHE: '1'
      __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR/ShadersCache/
      __GL_THREADED_OPTIMIZATIONS: '1'
      mesa_glthread: 'true'
slug: farming-simulator-19-epic-store
steamid: 787860
version: Epic Store
year: 2018
{
  "game_slug": "farming-simulator-19",
  "version": "Epic Store",
  "description": "This installer will download the Epic Store with its dependencies.",
  "notes": "You will need to download the game manually through the Epic Store.",
  "name": "Farming Simulator 19",
  "year": 2018,
  "steamid": 787860,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "farming-simulator-19-epic-store",
  "installer_slug": "farming-simulator-19-epic-store",
  "script": {
    "files": [
      {
        "epicstore": "https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi"
      },
      {
        "dx10": "https://lutris.net/files/tools/directx-2010.tar.gz"
      }
    ],
    "game": {
      "arch": "win64",
      "args": "-opengl",
      "exe": "drive_c/Program Files (x86)/Epic Games/Launcher/Portal/Binaries/Win32/EpicGamesLauncher.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "extract": {
          "dst": "$CACHE/directx-2010",
          "file": "dx10"
        }
      },
      {
        "task": {
          "arch": "win64",
          "description": "Creating a Wine prefix (64bits).",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "win10",
          "arch": "win64",
          "description": "Changing Windows version to (Win10).",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "arial mdx d3dcompiler_43 d3dx9_43",
          "arch": "win64",
          "description": "Adding the software necessary.",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "vcrun2019",
          "arch": "win64",
          "description": "Installing libraries.",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "dotnet40",
          "arch": "win64",
          "description": "Installing .NET Framework. (4.0)",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "win10",
          "arch": "win64",
          "description": "Changing Windows version to (Win10).",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win64",
          "name": "winekill",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win64",
          "description": "(Microsoft`s software) Installing directx-2010.",
          "executable": "$CACHE/directx-2010/DXSETUP.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win64",
          "description": "Installing Epic Store.",
          "exclude_processes": "EpicGamesLauncher.exe",
          "executable": "epicstore",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win64",
          "name": "winekill",
          "prefix": "$GAMEDIR"
        }
      }
    ],
    "system": {
      "env": {
        "DXVK_HUD": 0,
        "DXVK_STATE_CACHE": "1",
        "DXVK_STATE_CACHE_PATH": "$GAMEDIR/StateCache/",
        "MESA_GL_VERSION_OVERRIDE": "4.4COMPAT",
        "__GL_SHADER_DISK_CACHE": "1",
        "__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR/ShadersCache/",
        "__GL_THREADED_OPTIMIZATIONS": "1",
        "mesa_glthread": "true"
      }
    }
  }
}
Back to game