Installer tera-gameforge

files:
- setup:
    filename: GameforgeInstaller.exe
    url: https://install.gameforge.com/download?download_id=cac36db4-7097-4b36-b244-95a26c738f05
game:
  arch: win64
  exe: drive_c/Program Files (x86)/GameforgeClient/gfclient.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Create Wine 64bit prefix.
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: win7
    arch: win64
    description: Setting Wine to Windows 7 64-Bit
    name: winetricks
    prefix: $GAMEDIR
- task:
    arch: win64
    description: 'Wine Staging: Enabling DXVA2'
    key: backend
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\DXVA2
    prefix: $GAMEDIR
    value: va
- task:
    name: winekill
    prefix: $GAMEDIR
- task:
    arch: win64
    description: Installing Gameforge Client. Please read Tech notes if installtion
      hangs!
    exclude_processes: gfHelper.exe gfservice.exe gfclient.exe GameforgeInstaller.exe
      "Gameforge Client" "GameforgeClient" wineconsole explorer.exe conhost.exe svchost.exe
    executable: setup
    name: wineexec
- task:
    name: winekill
    prefix: $GAMEDIR
system:
  env:
    DXVK_STATE_CACHE_PATH: $GAMEDIR
    STAGING_SHARED_MEMORY: 1
    __GL_DXVK_OPTIMIZATIONS: 1
    __GL_SHADER_DISK_CACHE: 1
    __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
  exclude_processes: gfservice.exe gfHelper.exe
wine:
  overrides:
    nvapi: disabled
    nvapi64: disabled
description: "Download and install Gameforge Client, Read Tech Notes!\r\n1660 Super,\
  \ GFX Preset 4, 1440p, ~40 fps\r\nTest: 1-11 and sat in main city for a few mins\r\
  \nGame lags when learning skills and picking up items"
game_slug: tera
gogslug: ''
humblestoreid: ''
installer_slug: tera-gameforge
name: TERA
notes: Once login screen appears close the client, Gear Icon > Quit or Find your tray
  menu and right-click Quit. Use htop or your choice of "task manager" to kill process
  "GameforgeInstaller.exe" to complete installation.
runner: wine
script:
  files:
  - setup:
      filename: GameforgeInstaller.exe
      url: https://install.gameforge.com/download?download_id=cac36db4-7097-4b36-b244-95a26c738f05
  game:
    arch: win64
    exe: drive_c/Program Files (x86)/GameforgeClient/gfclient.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      description: Create Wine 64bit prefix.
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      app: win7
      arch: win64
      description: Setting Wine to Windows 7 64-Bit
      name: winetricks
      prefix: $GAMEDIR
  - task:
      arch: win64
      description: 'Wine Staging: Enabling DXVA2'
      key: backend
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine\DXVA2
      prefix: $GAMEDIR
      value: va
  - task:
      name: winekill
      prefix: $GAMEDIR
  - task:
      arch: win64
      description: Installing Gameforge Client. Please read Tech notes if installtion
        hangs!
      exclude_processes: gfHelper.exe gfservice.exe gfclient.exe GameforgeInstaller.exe
        "Gameforge Client" "GameforgeClient" wineconsole explorer.exe conhost.exe
        svchost.exe
      executable: setup
      name: wineexec
  - task:
      name: winekill
      prefix: $GAMEDIR
  system:
    env:
      DXVK_STATE_CACHE_PATH: $GAMEDIR
      STAGING_SHARED_MEMORY: 1
      __GL_DXVK_OPTIMIZATIONS: 1
      __GL_SHADER_DISK_CACHE: 1
      __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
    exclude_processes: gfservice.exe gfHelper.exe
  wine:
    overrides:
      nvapi: disabled
      nvapi64: disabled
slug: tera-gameforge
steamid: 323370
version: Gameforge
year: 2015
{
  "game_slug": "tera",
  "version": "Gameforge",
  "description": "Download and install Gameforge Client, Read Tech Notes!\r\n1660 Super, GFX Preset 4, 1440p, ~40 fps\r\nTest: 1-11 and sat in main city for a few mins\r\nGame lags when learning skills and picking up items",
  "notes": "Once login screen appears close the client, Gear Icon > Quit or Find your tray menu and right-click Quit. Use htop or your choice of \"task manager\" to kill process \"GameforgeInstaller.exe\" to complete installation.",
  "name": "TERA",
  "year": 2015,
  "steamid": 323370,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "tera-gameforge",
  "installer_slug": "tera-gameforge",
  "script": {
    "files": [
      {
        "setup": {
          "filename": "GameforgeInstaller.exe",
          "url": "https://install.gameforge.com/download?download_id=cac36db4-7097-4b36-b244-95a26c738f05"
        }
      }
    ],
    "game": {
      "arch": "win64",
      "exe": "drive_c/Program Files (x86)/GameforgeClient/gfclient.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "description": "Create Wine 64bit prefix.",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "win7",
          "arch": "win64",
          "description": "Setting Wine to Windows 7 64-Bit",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win64",
          "description": "Wine Staging: Enabling DXVA2",
          "key": "backend",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine\\DXVA2",
          "prefix": "$GAMEDIR",
          "value": "va"
        }
      },
      {
        "task": {
          "name": "winekill",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win64",
          "description": "Installing Gameforge Client. Please read Tech notes if installtion hangs!",
          "exclude_processes": "gfHelper.exe gfservice.exe gfclient.exe GameforgeInstaller.exe \"Gameforge Client\" \"GameforgeClient\" wineconsole explorer.exe conhost.exe svchost.exe",
          "executable": "setup",
          "name": "wineexec"
        }
      },
      {
        "task": {
          "name": "winekill",
          "prefix": "$GAMEDIR"
        }
      }
    ],
    "system": {
      "env": {
        "DXVK_STATE_CACHE_PATH": "$GAMEDIR",
        "STAGING_SHARED_MEMORY": 1,
        "__GL_DXVK_OPTIMIZATIONS": 1,
        "__GL_SHADER_DISK_CACHE": 1,
        "__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR"
      },
      "exclude_processes": "gfservice.exe gfHelper.exe"
    },
    "wine": {
      "overrides": {
        "nvapi": "disabled",
        "nvapi64": "disabled"
      }
    }
  }
}
Back to game