Installer dead-space-origin

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: arial d3dcompiler_43 d3dcompiler_47 d3dx9 win7
    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
    STAGING_SHARED_MEMORY: '0'
    __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:
  overrides:
    nvapi,nvapi64: disabled
description: This Installs Origin and set up the environment for Dead Space.
game_slug: dead-space
gogslug: dead_space
humblestoreid: ''
installer_slug: dead-space-origin
name: Dead Space
notes: You need to manually install Dead Space from the Origin Launcher.
runner: wine
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: arial d3dcompiler_43 d3dcompiler_47 d3dx9 win7
      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
      STAGING_SHARED_MEMORY: '0'
      __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:
    overrides:
      nvapi,nvapi64: disabled
slug: dead-space-origin
steamid: 17470
version: Origin
year: 2008
{
  "game_slug": "dead-space",
  "version": "Origin",
  "description": "This Installs Origin and set up the environment for Dead Space.",
  "notes": "You need to manually install Dead Space from the Origin Launcher.",
  "name": "Dead Space",
  "year": 2008,
  "steamid": 17470,
  "gogslug": "dead_space",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "dead-space-origin",
  "installer_slug": "dead-space-origin",
  "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": "arial d3dcompiler_43 d3dcompiler_47 d3dx9 win7",
          "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",
        "STAGING_SHARED_MEMORY": "0",
        "__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": {
      "overrides": {
        "nvapi,nvapi64": "disabled"
      }
    }
  }
}
Back to game