Installer curseforge-10

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:
- setup: https://download.overwolf.com/install/Download
game:
  arch: win64
  exe: drive_c/users/$USER/Start Menu/Programs/Curseforge.lnk
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Creating 64bit Wine prefix
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: arial
    arch: win64
    description: Installing Arial font
    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 Curseforge Overwolf Client.
    executable: setup
    name: wineexec
system:
  env:
    DXVK_HUD: compiler
    DXVK_STATE_CACHE_PATH: $GAMEDIR
    STAGING_SHARED_MEMORY: 1
    __GL_SHADER_DISK_CACHE: 1
    __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
wine:
  esync: true
{
  "files": [
    {
      "setup": "https://download.overwolf.com/install/Download"
    }
  ],
  "game": {
    "arch": "win64",
    "exe": "drive_c/users/$USER/Start Menu/Programs/Curseforge.lnk",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "task": {
        "arch": "win64",
        "description": "Creating 64bit Wine prefix",
        "name": "create_prefix",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "app": "arial",
        "arch": "win64",
        "description": "Installing Arial font",
        "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 Curseforge Overwolf Client.",
        "executable": "setup",
        "name": "wineexec"
      }
    }
  ],
  "system": {
    "env": {
      "DXVK_HUD": "compiler",
      "DXVK_STATE_CACHE_PATH": "$GAMEDIR",
      "STAGING_SHARED_MEMORY": 1,
      "__GL_SHADER_DISK_CACHE": 1,
      "__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR"
    }
  },
  "wine": {
    "esync": true
  }
}
Back to game