Installer unravel-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
  args: /StartClientMinimized origin://launchgame/Origin.OFR.50.0000823
  exe: drive_c/Program Files (x86)/Origin/Origin.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Creating Wine prefix
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: vcrun2012 win10
    arch: win64
    description: Installing vcrun2012 with winetricks
    name: winetricks
    prefix: $GAMEDIR
- task:
    arch: win64
    args: /silent
    description: Installing Origin
    exclude_processes: Origin.exe OriginClientService.exe OriginWebHelperService.exe
      QtWebEngineProcess.exe
    executable: client
    name: wineexec
    prefix: $GAMEDIR
- task:
    arch: win64
    name: winekill
    prefix: $GAMEDIR
- task:
    arch: win64
    args: origin2://library/open
    description: Log in to Origin, install Unravel, and then exit Origin. Do not launch
      the game!
    executable: $GAMEDIR/drive_c/Program Files (x86)/Origin/Origin.exe
    name: wineexec
    prefix: $GAMEDIR
- task:
    arch: win64
    name: winekill
    prefix: $GAMEDIR
- execute: "echo '<?xml version=\"1.0\"?>\n<Settings>\n  <Setting type=\"10\" key=\"\
    DefaultTab\" value=\"mygames\"/>\n  <Setting type=\"1\" value=\"false\" key=\"\
    EnableIgo\"/>\n</Settings>\n' | tee \"$GAMEDIR/drive_c/users/$USER/Application\
    \ Data/Origin/local_\"*\".xml\"\n"
- chmodx: updater
- merge:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Origin
    src: updater
system:
  disable_runtime: false
  env:
    __GL_SHADER_DISK_CACHE: '1'
    __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
  ondemand_command: $GAMEDIR/drive_c/Program Files (x86)/Origin/updateorigin.sh
wine:
  overrides:
    nvapi,nvapi64: disabled
    xaudio2_7: native,builtin
description: Install Unravel with Origin
game_slug: unravel
gogslug: ''
humblestoreid: ''
installer_slug: unravel-origin
name: Unravel
notes: "* Requires gst-plugins-good to run.\r\n* Installs vcrun2012 with winetricks\r\
  \n* Disables Origin in-game overlay (required or game won't launch)\r\n* Enables\
  \ DXVK"
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
    args: /StartClientMinimized origin://launchgame/Origin.OFR.50.0000823
    exe: drive_c/Program Files (x86)/Origin/Origin.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      description: Creating Wine prefix
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      app: vcrun2012 win10
      arch: win64
      description: Installing vcrun2012 with winetricks
      name: winetricks
      prefix: $GAMEDIR
  - task:
      arch: win64
      args: /silent
      description: Installing Origin
      exclude_processes: Origin.exe OriginClientService.exe OriginWebHelperService.exe
        QtWebEngineProcess.exe
      executable: client
      name: wineexec
      prefix: $GAMEDIR
  - task:
      arch: win64
      name: winekill
      prefix: $GAMEDIR
  - task:
      arch: win64
      args: origin2://library/open
      description: Log in to Origin, install Unravel, and then exit Origin. Do not
        launch the game!
      executable: $GAMEDIR/drive_c/Program Files (x86)/Origin/Origin.exe
      name: wineexec
      prefix: $GAMEDIR
  - task:
      arch: win64
      name: winekill
      prefix: $GAMEDIR
  - execute: "echo '<?xml version=\"1.0\"?>\n<Settings>\n  <Setting type=\"10\" key=\"\
      DefaultTab\" value=\"mygames\"/>\n  <Setting type=\"1\" value=\"false\" key=\"\
      EnableIgo\"/>\n</Settings>\n' | tee \"$GAMEDIR/drive_c/users/$USER/Application\
      \ Data/Origin/local_\"*\".xml\"\n"
  - chmodx: updater
  - merge:
      dst: $GAMEDIR/drive_c/Program Files (x86)/Origin
      src: updater
  system:
    disable_runtime: false
    env:
      __GL_SHADER_DISK_CACHE: '1'
      __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
    ondemand_command: $GAMEDIR/drive_c/Program Files (x86)/Origin/updateorigin.sh
  wine:
    overrides:
      nvapi,nvapi64: disabled
      xaudio2_7: native,builtin
slug: unravel-origin
steamid: 1225560
version: Origin
year: 2016
{
  "game_slug": "unravel",
  "version": "Origin",
  "description": "Install Unravel with Origin",
  "notes": "* Requires gst-plugins-good to run.\r\n* Installs vcrun2012 with winetricks\r\n* Disables Origin in-game overlay (required or game won't launch)\r\n* Enables DXVK",
  "name": "Unravel",
  "year": 2016,
  "steamid": 1225560,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "unravel-origin",
  "installer_slug": "unravel-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",
      "args": "/StartClientMinimized origin://launchgame/Origin.OFR.50.0000823",
      "exe": "drive_c/Program Files (x86)/Origin/Origin.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "description": "Creating Wine prefix",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "vcrun2012 win10",
          "arch": "win64",
          "description": "Installing vcrun2012 with winetricks",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win64",
          "args": "/silent",
          "description": "Installing Origin",
          "exclude_processes": "Origin.exe OriginClientService.exe OriginWebHelperService.exe QtWebEngineProcess.exe",
          "executable": "client",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win64",
          "name": "winekill",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win64",
          "args": "origin2://library/open",
          "description": "Log in to Origin, install Unravel, and then exit Origin. Do not launch the game!",
          "executable": "$GAMEDIR/drive_c/Program Files (x86)/Origin/Origin.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win64",
          "name": "winekill",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "execute": "echo '<?xml version=\"1.0\"?>\n<Settings>\n  <Setting type=\"10\" key=\"DefaultTab\" value=\"mygames\"/>\n  <Setting type=\"1\" value=\"false\" key=\"EnableIgo\"/>\n</Settings>\n' | tee \"$GAMEDIR/drive_c/users/$USER/Application Data/Origin/local_\"*\".xml\"\n"
      },
      {
        "chmodx": "updater"
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Origin",
          "src": "updater"
        }
      }
    ],
    "system": {
      "disable_runtime": false,
      "env": {
        "__GL_SHADER_DISK_CACHE": "1",
        "__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR"
      },
      "ondemand_command": "$GAMEDIR/drive_c/Program Files (x86)/Origin/updateorigin.sh"
    },
    "wine": {
      "overrides": {
        "nvapi,nvapi64": "disabled",
        "xaudio2_7": "native,builtin"
      }
    }
  }
}
Back to game