Installer origin-legacy

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:
- origin: https://origin-a.akamaihd.net/Origin-Client-Download/origin/legacy/OriginThinSetup.exe
game:
  arch: win32
  exe: drive_c/Program Files/Origin/Origin.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win32
    description: Creating Wine Prefix...
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: nocrashdialog
    arch: win32
    description: Hiding annoying dialogs...
    name: winetricks
    prefix: $GAMEDIR
- task:
    arch: win32
    description: Setting version to xp...
    key: Version
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine
    prefix: $GAMEDIR
    value: winxp
- task:
    name: winekill
    prefix: $GAMEDIR
- task:
    arch: win32
    description: Installing Origin...
    exclude_processes: Origin.exe OriginClientService.exe
    executable: origin
    name: wineexec
    prefix: $GAMEDIR
- task:
    name: winekill
    prefix: $GAMEDIR
wine:
  version: tkg-4.0-x86_64
{
  "installer": [
    {
      "task": {
        "description": "Creating Wine Prefix...",
        "name": "create_prefix",
        "prefix": "$GAMEDIR",
        "arch": "win32"
      }
    },
    {
      "task": {
        "description": "Hiding annoying dialogs...",
        "name": "winetricks",
        "app": "nocrashdialog",
        "prefix": "$GAMEDIR",
        "arch": "win32"
      }
    },
    {
      "task": {
        "description": "Setting version to xp...",
        "name": "set_regedit",
        "path": "HKEY_CURRENT_USER\\Software\\Wine",
        "arch": "win32",
        "value": "winxp",
        "key": "Version",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "name": "winekill",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "description": "Installing Origin...",
        "executable": "origin",
        "arch": "win32",
        "name": "wineexec",
        "exclude_processes": "Origin.exe OriginClientService.exe",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "name": "winekill",
        "prefix": "$GAMEDIR"
      }
    }
  ],
  "game": {
    "arch": "win32",
    "prefix": "$GAMEDIR",
    "exe": "drive_c/Program Files/Origin/Origin.exe"
  },
  "wine": {
    "version": "tkg-4.0-x86_64"
  },
  "files": [
    {
      "origin": "https://origin-a.akamaihd.net/Origin-Client-Download/origin/legacy/OriginThinSetup.exe"
    }
  ]
}
Back to game