Installer command-conquer-remastered-co-origin

files:
- client: https://origin-a.akamaihd.net/Origin-Client-Download/origin/live/OriginThinSetup.exe
- updater: https://raw.githubusercontent.com/DrDoctor13/wine-origin-updater/master/updateorigin.sh
game:
  arch: win64
  exe: drive_c/Program Files (x86)/Origin/Origin.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Creating Wine prefix
    name: create_prefix
    prefix: $GAMEDIR
- input_menu:
    description: 'Setting DXVK workarounds please choose your GPU:'
    id: GPU
    options:
    - Not needed for AMD. Ignore this.: AMD
    - ? 'dxgi.customVendorId = 10de

        dxgi.nvapiHack = False'
      : Nvidia
    preselect: Not needed for AMD. Ignore this.
- write_file:
    content: $INPUT_GPU
    file: $GAMEDIR/dxvk.conf
- task:
    app: nocrashdialog win7
    arch: win64
    name: winetricks
    prefix: $GAMEDIR
- task:
    arch: win64
    args: /silent
    description: Installing Origin... Login window will pop-up and close.
    exclude_processes: Origin.exe OriginClientService.exe OriginWebHelperService.exe
      QtWebEngineProcess.exe
    executable: client
    name: wineexec
    prefix: $GAMEDIR
- task:
    arch: win64
    name: winekill
    prefix: $GAMEDIR
- chmodx: updater
- merge:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Origin
    src: updater
system:
  disable_runtime: false
  env:
    DXVK_CONFIG_FILE: $GAMEDIR/dxvk.conf
    DXVK_HUD: 0
wine:
  overrides:
    nvapi,nvapi64: disabled
    xaudio2_7: native,builtin
description: Only sets up Origin and DXVK you'll need to download Command and Conquer:remaster
  edition in origin manually.
game_slug: command-conquer-remastered-collection
gogslug: ''
humblestoreid: ''
installer_slug: command-conquer-remastered-co-origin
name: 'Command & Conquer: Remastered Collection'
notes: 'Please read before installing: https://github.com/lutris/lutris/wiki/Game:-Origin'
runner: wine
script:
  files:
  - client: https://origin-a.akamaihd.net/Origin-Client-Download/origin/live/OriginThinSetup.exe
  - updater: https://raw.githubusercontent.com/DrDoctor13/wine-origin-updater/master/updateorigin.sh
  game:
    arch: win64
    exe: drive_c/Program Files (x86)/Origin/Origin.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      description: Creating Wine prefix
      name: create_prefix
      prefix: $GAMEDIR
  - input_menu:
      description: 'Setting DXVK workarounds please choose your GPU:'
      id: GPU
      options:
      - Not needed for AMD. Ignore this.: AMD
      - ? 'dxgi.customVendorId = 10de

          dxgi.nvapiHack = False'
        : Nvidia
      preselect: Not needed for AMD. Ignore this.
  - write_file:
      content: $INPUT_GPU
      file: $GAMEDIR/dxvk.conf
  - task:
      app: nocrashdialog win7
      arch: win64
      name: winetricks
      prefix: $GAMEDIR
  - task:
      arch: win64
      args: /silent
      description: Installing Origin... Login window will pop-up and close.
      exclude_processes: Origin.exe OriginClientService.exe OriginWebHelperService.exe
        QtWebEngineProcess.exe
      executable: client
      name: wineexec
      prefix: $GAMEDIR
  - task:
      arch: win64
      name: winekill
      prefix: $GAMEDIR
  - chmodx: updater
  - merge:
      dst: $GAMEDIR/drive_c/Program Files (x86)/Origin
      src: updater
  system:
    disable_runtime: false
    env:
      DXVK_CONFIG_FILE: $GAMEDIR/dxvk.conf
      DXVK_HUD: 0
  wine:
    overrides:
      nvapi,nvapi64: disabled
      xaudio2_7: native,builtin
slug: command-conquer-remastered-co-origin
steamid: 1213210
version: origin
year: 2020
{
  "game_slug": "command-conquer-remastered-collection",
  "version": "origin",
  "description": "Only sets up Origin and DXVK you'll need to download Command and Conquer:remaster edition in origin manually.",
  "notes": "Please read before installing: https://github.com/lutris/lutris/wiki/Game:-Origin",
  "name": "Command & Conquer: Remastered Collection",
  "year": 2020,
  "steamid": 1213210,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "command-conquer-remastered-co-origin",
  "installer_slug": "command-conquer-remastered-co-origin",
  "script": {
    "files": [
      {
        "client": "https://origin-a.akamaihd.net/Origin-Client-Download/origin/live/OriginThinSetup.exe"
      },
      {
        "updater": "https://raw.githubusercontent.com/DrDoctor13/wine-origin-updater/master/updateorigin.sh"
      }
    ],
    "game": {
      "arch": "win64",
      "exe": "drive_c/Program Files (x86)/Origin/Origin.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "description": "Creating Wine prefix",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "input_menu": {
          "description": "Setting DXVK workarounds please choose your GPU:",
          "id": "GPU",
          "options": [
            {
              "Not needed for AMD. Ignore this.": "AMD"
            },
            {
              "dxgi.customVendorId = 10de\ndxgi.nvapiHack = False": "Nvidia"
            }
          ],
          "preselect": "Not needed for AMD. Ignore this."
        }
      },
      {
        "write_file": {
          "content": "$INPUT_GPU",
          "file": "$GAMEDIR/dxvk.conf"
        }
      },
      {
        "task": {
          "app": "nocrashdialog win7",
          "arch": "win64",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win64",
          "args": "/silent",
          "description": "Installing Origin... Login window will pop-up and close.",
          "exclude_processes": "Origin.exe OriginClientService.exe OriginWebHelperService.exe QtWebEngineProcess.exe",
          "executable": "client",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win64",
          "name": "winekill",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "chmodx": "updater"
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Origin",
          "src": "updater"
        }
      }
    ],
    "system": {
      "disable_runtime": false,
      "env": {
        "DXVK_CONFIG_FILE": "$GAMEDIR/dxvk.conf",
        "DXVK_HUD": 0
      }
    },
    "wine": {
      "overrides": {
        "nvapi,nvapi64": "disabled",
        "xaudio2_7": "native,builtin"
      }
    }
  }
}
Back to game