Installer origin-latest-d9vk

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:
- d9vk: https://github.com/Joshua-Ashton/d9vk/releases/download/0.13f/d9vk-0.13f.tar.gz
- updater: https://raw.githubusercontent.com/DrDoctor13/wine-origin-updater/master/updateorigin.sh
- origin: https://origin-a.akamaihd.net/Origin-Client-Download/origin/live/OriginThinSetup.exe
game:
  arch: win64
  exe: drive_c/Program Files (x86)/Origin/Origin.exe
  prefix: $GAMEDIR
installer:
- extract:
    dst: $CACHE/dxvk-release/
    file: d9vk
- copy:
    dst: $HOME/.local/share/lutris/runtime/dxvk/d9vk-0.13f/
    src: $CACHE/dxvk-release/
- task:
    arch: win64
    description: Creating Wine Prefix...
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: nocrashdialog d3dcompiler_43 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: origin
    name: wineexec
    prefix: $GAMEDIR
- task:
    name: winekill
    prefix: $GAMEDIR
- task:
    arch: win64
    description: Spoofing AMD RX 550...
    key: VideoPciVendorID
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\Direct3D
    prefix: $GAMEDIR
    type: REG_DWORD
    value: 1002
- task:
    arch: win64
    description: Spoofing AMD RX 550...
    key: VideoPciDeviceID
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\Direct3D
    prefix: $GAMEDIR
    type: REG_DWORD
    value: 699f
- task:
    name: winekill
    prefix: $GAMEDIR
- chmodx: updater
- merge:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Origin
    src: updater
system:
  env:
    DXVK_CONFIG_FILE: $GAMEDIR/dxvk.conf
    DXVK_HUD: 0
    STAGING_SHARED_MEMORY: '0'
    __GL_SHADER_DISK_CACHE: '1'
    __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
  exclude_processes: QtWebEngineProcess.exe ActivationUI.exe OriginWebHelperService.exe
  ondemand_command: $GAMEDIR/drive_c/Program Files (x86)/Origin/updateorigin.sh
wine:
  dxvk: true
  dxvk_version: d9vk-0.13f
  esync: true
  overrides:
    nvapi,nvapi64: disabled
  version: ge-protonified-4.10-x86_64
{
  "game": {
    "exe": "drive_c/Program Files (x86)/Origin/Origin.exe",
    "arch": "win64",
    "prefix": "$GAMEDIR"
  },
  "files": [
    {
      "d9vk": "https://github.com/Joshua-Ashton/d9vk/releases/download/0.13f/d9vk-0.13f.tar.gz"
    },
    {
      "updater": "https://raw.githubusercontent.com/DrDoctor13/wine-origin-updater/master/updateorigin.sh"
    },
    {
      "origin": "https://origin-a.akamaihd.net/Origin-Client-Download/origin/live/OriginThinSetup.exe"
    }
  ],
  "system": {
    "env": {
      "STAGING_SHARED_MEMORY": "0",
      "DXVK_CONFIG_FILE": "$GAMEDIR/dxvk.conf",
      "__GL_SHADER_DISK_CACHE": "1",
      "DXVK_HUD": 0,
      "__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR"
    },
    "ondemand_command": "$GAMEDIR/drive_c/Program Files (x86)/Origin/updateorigin.sh",
    "exclude_processes": "QtWebEngineProcess.exe ActivationUI.exe OriginWebHelperService.exe"
  },
  "installer": [
    {
      "extract": {
        "dst": "$CACHE/dxvk-release/",
        "file": "d9vk"
      }
    },
    {
      "copy": {
        "dst": "$HOME/.local/share/lutris/runtime/dxvk/d9vk-0.13f/",
        "src": "$CACHE/dxvk-release/"
      }
    },
    {
      "task": {
        "description": "Creating Wine Prefix...",
        "prefix": "$GAMEDIR",
        "arch": "win64",
        "name": "create_prefix"
      }
    },
    {
      "task": {
        "arch": "win64",
        "prefix": "$GAMEDIR",
        "name": "winetricks",
        "app": "nocrashdialog d3dcompiler_43 d3dx9"
      }
    },
    {
      "task": {
        "name": "wineexec",
        "args": "/silent",
        "description": "Installing Origin... Login window will pop-up and close.",
        "prefix": "$GAMEDIR",
        "executable": "origin",
        "arch": "win64",
        "exclude_processes": "Origin.exe OriginClientService.exe OriginWebHelperService.exe QtWebEngineProcess.exe"
      }
    },
    {
      "task": {
        "prefix": "$GAMEDIR",
        "name": "winekill"
      }
    },
    {
      "task": {
        "name": "set_regedit",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\Direct3D",
        "value": 1002,
        "arch": "win64",
        "type": "REG_DWORD",
        "description": "Spoofing AMD RX 550...",
        "prefix": "$GAMEDIR",
        "key": "VideoPciVendorID"
      }
    },
    {
      "task": {
        "name": "set_regedit",
        "path": "HKEY_CURRENT_USER\\Software\\Wine\\Direct3D",
        "value": "699f",
        "arch": "win64",
        "type": "REG_DWORD",
        "description": "Spoofing AMD RX 550...",
        "prefix": "$GAMEDIR",
        "key": "VideoPciDeviceID"
      }
    },
    {
      "task": {
        "prefix": "$GAMEDIR",
        "name": "winekill"
      }
    },
    {
      "chmodx": "updater"
    },
    {
      "merge": {
        "dst": "$GAMEDIR/drive_c/Program Files (x86)/Origin",
        "src": "updater"
      }
    }
  ],
  "wine": {
    "dxvk_version": "d9vk-0.13f",
    "esync": true,
    "overrides": {
      "nvapi,nvapi64": "disabled"
    },
    "dxvk": true,
    "version": "ge-protonified-4.10-x86_64"
  }
}
Back to game