Installer mass-effect-3-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 installer only installs Origin with the proper wine configuration.
  You will need to manually download and install Mass Effect 3 within Origin.
game_slug: mass-effect-3
gogslug: ''
humblestoreid: ''
installer_slug: mass-effect-3-origin
name: Mass Effect 3
notes: "Origin In-Game must be disabled within Mass Effect 3's Game Properties in\
  \ Origin for the game to launch.\r\n\r\nIf you have issues installing DLC, refer\
  \ to <a href=https://help.ea.com/en-us/help/origin/origin/download-dlc-for-classic-origin-games/#masseffect>https://help.ea.com/en-us/help/origin/origin/download-dlc-for-classic-origin-games/#masseffect</a>\r\
  \n\r\nPlease read <a href=\"https://github.com/lutris/lutris/wiki/Game:-Origin\"\
  >https://github.com/lutris/lutris/wiki/Game:-Origin</a> before installing.\r\n\r\
  \nRefer to <a href=https://www.reddit.com/r/wine_gaming/comments/ek0our/mass_effect_3_directx_issues/>https://www.reddit.com/r/wine_gaming/comments/ek0our/mass_effect_3_directx_issues/</a>\
  \ if you encounter issues with the game not starting or if you receive a DirectX\
  \ Error upon finishing installation of the base game."
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: mass-effect-3-origin
steamid: 1238020
version: Origin
year: 2012
{
  "game_slug": "mass-effect-3",
  "version": "Origin",
  "description": "This installer only installs Origin with the proper wine configuration. You will need to manually download and install Mass Effect 3 within Origin.",
  "notes": "Origin In-Game must be disabled within Mass Effect 3's Game Properties in Origin for the game to launch.\r\n\r\nIf you have issues installing DLC, refer to <a href=https://help.ea.com/en-us/help/origin/origin/download-dlc-for-classic-origin-games/#masseffect>https://help.ea.com/en-us/help/origin/origin/download-dlc-for-classic-origin-games/#masseffect</a>\r\n\r\nPlease read <a href=\"https://github.com/lutris/lutris/wiki/Game:-Origin\">https://github.com/lutris/lutris/wiki/Game:-Origin</a> before installing.\r\n\r\nRefer to <a href=https://www.reddit.com/r/wine_gaming/comments/ek0our/mass_effect_3_directx_issues/>https://www.reddit.com/r/wine_gaming/comments/ek0our/mass_effect_3_directx_issues/</a> if you encounter issues with the game not starting or if you receive a DirectX Error upon finishing installation of the base game.",
  "name": "Mass Effect 3",
  "year": 2012,
  "steamid": 1238020,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "mass-effect-3-origin",
  "installer_slug": "mass-effect-3-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