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:
- client: https://download.dm.origin.com/origin/live/OriginSetup.exe
game:
  exe: $GAMEDIR/drive_c/Program Files (x86)/Origin/Origin.exe
  prefix: $GAMEDIR
installer:
- task:
    description: Creating Wine prefix
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: arial
    name: winetricks
    prefix: $GAMEDIR
- task:
    args: /silent
    description: Installing Origin... Login window will pop-up and close.
    exclude_processes: Origin.exe OriginClientService.exe OriginWebHelperService.exe
      QtWebEngineProcess.exe explorer.exe winedbg.exe OriginER.exe
    executable: client
    name: wineexec
    prefix: $GAMEDIR
- task:
    name: winekill
    prefix: $GAMEDIR
system:
  env:
    STAGING_SHARED_MEMORY: 0
    __GL_SHADER_DISK_CACHE: 1
    __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
  exclude_processes: QtWebEngineProcess.exe ActivationUI.exe OriginWebHelperService.exe
wine:
  overrides:
    nvapi,nvapi64: disabled
{
  "files": [
    {
      "client": "https://download.dm.origin.com/origin/live/OriginSetup.exe"
    }
  ],
  "game": {
    "exe": "$GAMEDIR/drive_c/Program Files (x86)/Origin/Origin.exe",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "task": {
        "description": "Creating Wine prefix",
        "name": "create_prefix",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "app": "arial",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "args": "/silent",
        "description": "Installing Origin... Login window will pop-up and close.",
        "exclude_processes": "Origin.exe OriginClientService.exe OriginWebHelperService.exe QtWebEngineProcess.exe explorer.exe winedbg.exe OriginER.exe",
        "executable": "client",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "name": "winekill",
        "prefix": "$GAMEDIR"
      }
    }
  ],
  "system": {
    "env": {
      "STAGING_SHARED_MEMORY": 0,
      "__GL_SHADER_DISK_CACHE": 1,
      "__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR"
    },
    "exclude_processes": "QtWebEngineProcess.exe ActivationUI.exe OriginWebHelperService.exe"
  },
  "wine": {
    "overrides": {
      "nvapi,nvapi64": "disabled"
    }
  }
}
Back to game