Installer subnautica-below-zero-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:
- task:
    arch: win64
    description: Creating the Wine prefix (64bits).
    name: create_prefix
    prefix: $GAMEDIR
- extract:
    dst: $CACHE/directx
    file: dx10
- task:
    app: win7
    arch: win64
    description: Changing Windows version to (Win7).
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: arial
    arch: win64
    description: Installing Arial Font...
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: dotnet40
    arch: win64
    description: Installing .NET Framework (4.0)...
    name: winetricks
    prefix: $GAMEDIR
- task:
    arch: win64
    description: (Microsoft`s software) Installing directx-2010.
    executable: $CACHE/directx/DXSETUP.exe
    name: wineexec
    prefix: $GAMEDIR
- task:
    description: Installing Epic Store...
    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
    PULSE_LATENCY_MSEC: 60
    __GL_SHADER_DISK_CACHE: 1
    __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR/ShaderCache
    __GL_THREADED_OPTIMIZATIONS: '1'
    mesa_glthread: 'true'
description: "This installer will download and install only the Epic Store. So you\
  \ must to install Subnautica: Below Zero yourself.\r\n\r\nWhen it finishes to install\
  \ the Epic Store,  you have to close the Epic Store window."
game_slug: subnautica-below-zero
gogslug: ''
humblestoreid: ''
installer_slug: subnautica-below-zero-epic-store
name: 'Subnautica: Below Zero'
notes: From game launch options add "-force-glcore45" or "-force-glcore"
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:
  - task:
      arch: win64
      description: Creating the Wine prefix (64bits).
      name: create_prefix
      prefix: $GAMEDIR
  - extract:
      dst: $CACHE/directx
      file: dx10
  - task:
      app: win7
      arch: win64
      description: Changing Windows version to (Win7).
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: arial
      arch: win64
      description: Installing Arial Font...
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: dotnet40
      arch: win64
      description: Installing .NET Framework (4.0)...
      name: winetricks
      prefix: $GAMEDIR
  - task:
      arch: win64
      description: (Microsoft`s software) Installing directx-2010.
      executable: $CACHE/directx/DXSETUP.exe
      name: wineexec
      prefix: $GAMEDIR
  - task:
      description: Installing Epic Store...
      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
      PULSE_LATENCY_MSEC: 60
      __GL_SHADER_DISK_CACHE: 1
      __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR/ShaderCache
      __GL_THREADED_OPTIMIZATIONS: '1'
      mesa_glthread: 'true'
slug: subnautica-below-zero-epic-store
steamid: 848450
version: Epic Store
year: 2019
{
  "game_slug": "subnautica-below-zero",
  "version": "Epic Store",
  "description": "This installer will download and install only the Epic Store. So you must to install Subnautica: Below Zero yourself.\r\n\r\nWhen it finishes to install the Epic Store,  you have to close the Epic Store window.",
  "notes": "From game launch options add \"-force-glcore45\" or \"-force-glcore\"",
  "name": "Subnautica: Below Zero",
  "year": 2019,
  "steamid": 848450,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "subnautica-below-zero-epic-store",
  "installer_slug": "subnautica-below-zero-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": [
      {
        "task": {
          "arch": "win64",
          "description": "Creating the Wine prefix (64bits).",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$CACHE/directx",
          "file": "dx10"
        }
      },
      {
        "task": {
          "app": "win7",
          "arch": "win64",
          "description": "Changing Windows version to (Win7).",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "arial",
          "arch": "win64",
          "description": "Installing Arial Font...",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "dotnet40",
          "arch": "win64",
          "description": "Installing .NET Framework (4.0)...",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win64",
          "description": "(Microsoft`s software) Installing directx-2010.",
          "executable": "$CACHE/directx/DXSETUP.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "description": "Installing Epic Store...",
          "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",
        "PULSE_LATENCY_MSEC": 60,
        "__GL_SHADER_DISK_CACHE": 1,
        "__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR/ShaderCache",
        "__GL_THREADED_OPTIMIZATIONS": "1",
        "mesa_glthread": "true"
      }
    }
  }
}
Back to game