Installer origin-latest

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:
- updater: https://lutris.nyc3.cdn.digitaloceanspaces.com/games/origin/updateorigin.sh
- client: https://download.dm.origin.com/origin/live/OriginThinSetup.exe
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
- execute:
    command: mkdir "$GAMEDIR/nv-shaders"
- write_file:
    content: dxgi.nvapiHack = False
    file: $GAMEDIR/dxvk.conf
- chmodx: updater
- merge:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Origin
    src: updater
- task:
    app: nocrashdialog arial vcrun2010 vcrun2013 win7 d3dcompiler_43 d3dcompiler_47
      d3dx9
    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:
    name: winekill
    prefix: $GAMEDIR
system:
  env:
    DXVK_CONFIG_FILE: $GAMEDIR/dxvk.conf
    DXVK_HUD: 0
    WINE_LARGE_ADDRESS_AWARE: 1
    __GL_SHADER_DISK_CACHE: 1
    __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR/nv-shaders
  exclude_processes: QtWebEngineProcess.exe ActivationUI.exe OriginWebHelperService.exe
  manual_command: $GAMEDIR/drive_c/Program Files (x86)/Origin/updateorigin.sh
wine:
  d9vk: true
  dxvk: true
  esync: true
  overrides:
    nvapi,nvapi64: disabled
  version: lutris-nofshack-4.19-x86_64
{
  "installer": [
    {
      "task": {
        "description": "Creating Wine prefix",
        "name": "create_prefix",
        "prefix": "$GAMEDIR",
        "arch": "win64"
      }
    },
    {
      "execute": {
        "command": "mkdir \"$GAMEDIR/nv-shaders\""
      }
    },
    {
      "write_file": {
        "content": "dxgi.nvapiHack = False",
        "file": "$GAMEDIR/dxvk.conf"
      }
    },
    {
      "chmodx": "updater"
    },
    {
      "merge": {
        "src": "updater",
        "dst": "$GAMEDIR/drive_c/Program Files (x86)/Origin"
      }
    },
    {
      "task": {
        "name": "winetricks",
        "app": "nocrashdialog arial vcrun2010 vcrun2013 win7 d3dcompiler_43 d3dcompiler_47 d3dx9",
        "prefix": "$GAMEDIR",
        "arch": "win64"
      }
    },
    {
      "task": {
        "description": "Installing Origin... Login window will pop-up and close.",
        "executable": "client",
        "arch": "win64",
        "args": "/silent",
        "name": "wineexec",
        "exclude_processes": "Origin.exe OriginClientService.exe OriginWebHelperService.exe QtWebEngineProcess.exe",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "name": "winekill",
        "prefix": "$GAMEDIR"
      }
    }
  ],
  "game": {
    "arch": "win64",
    "prefix": "$GAMEDIR",
    "exe": "drive_c/Program Files (x86)/Origin/Origin.exe"
  },
  "system": {
    "manual_command": "$GAMEDIR/drive_c/Program Files (x86)/Origin/updateorigin.sh",
    "exclude_processes": "QtWebEngineProcess.exe ActivationUI.exe OriginWebHelperService.exe",
    "env": {
      "WINE_LARGE_ADDRESS_AWARE": 1,
      "DXVK_HUD": 0,
      "__GL_SHADER_DISK_CACHE": 1,
      "DXVK_CONFIG_FILE": "$GAMEDIR/dxvk.conf",
      "__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR/nv-shaders"
    }
  },
  "wine": {
    "esync": true,
    "d9vk": true,
    "overrides": {
      "nvapi,nvapi64": "disabled"
    },
    "version": "lutris-nofshack-4.19-x86_64",
    "dxvk": true
  },
  "files": [
    {
      "updater": "https://lutris.nyc3.cdn.digitaloceanspaces.com/games/origin/updateorigin.sh"
    },
    {
      "client": "https://download.dm.origin.com/origin/live/OriginThinSetup.exe"
    }
  ]
}
Back to game