Installer burnout-paradise-remastered-remastered

files:
- client: https://download.dm.origin.com/origin/live/OriginThinSetup.exe
- updater: https://lutris.nyc3.cdn.digitaloceanspaces.com/games/origin/updateorigin.sh
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"
- input_menu:
    description: 'Setting DXVK workarounds please choose your GPU:'
    id: GPU
    options:
    - Not needed for AMD. Ignore this.: AMD
    - ? 'dxgi.customVendorId = 10de

        dxgi.nvapiHack = False'
      : Nvidia
    preselect: Not needed for AMD. Ignore this.
- write_file:
    content: $INPUT_GPU
    file: $GAMEDIR/dxvk.conf
- task:
    app: nocrashdialog arial vcrun2010 vcrun2013 vcrun2015 win81
    arch: win64
    name: winetricks
    prefix: $GAMEDIR
- task:
    arch: win64
    args: /silent
    description: Installing Origin... Login window might 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
- chmodx: updater
- merge:
    dst: $GAMEDIR/drive_c/Program Files (x86)/Origin
    src: updater
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
  pulse_latency: true
description: Only sets up Origin and DXVK, you will need to download Burnout Paradise
  from Origin.
game_slug: burnout-paradise-remastered
gogslug: ''
humblestoreid: ''
installer_slug: burnout-paradise-remastered-remastered
name: 'Burnout Paradise: Remastered'
notes: "Please read before installing: https://github.com/lutris/lutris/wiki/Game:-Origin\r\
  \n\r\nAdd  -skipvideos to the game properties to skip the intro videos which will\
  \ in most cases crash the game.\r\nImport an existing savegame to prevent the game\
  \ from only showing a black screen. Savegames are located in %AppData%\\Local\\\
  Criterion Games\\Burnout Paradise\\GameData."
runner: wine
script:
  files:
  - client: https://download.dm.origin.com/origin/live/OriginThinSetup.exe
  - updater: https://lutris.nyc3.cdn.digitaloceanspaces.com/games/origin/updateorigin.sh
  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"
  - input_menu:
      description: 'Setting DXVK workarounds please choose your GPU:'
      id: GPU
      options:
      - Not needed for AMD. Ignore this.: AMD
      - ? 'dxgi.customVendorId = 10de

          dxgi.nvapiHack = False'
        : Nvidia
      preselect: Not needed for AMD. Ignore this.
  - write_file:
      content: $INPUT_GPU
      file: $GAMEDIR/dxvk.conf
  - task:
      app: nocrashdialog arial vcrun2010 vcrun2013 vcrun2015 win81
      arch: win64
      name: winetricks
      prefix: $GAMEDIR
  - task:
      arch: win64
      args: /silent
      description: Installing Origin... Login window might 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
  - chmodx: updater
  - merge:
      dst: $GAMEDIR/drive_c/Program Files (x86)/Origin
      src: updater
  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
    pulse_latency: true
slug: burnout-paradise-remastered-remastered
steamid: null
version: Remastered
year: 2018
{
  "game_slug": "burnout-paradise-remastered",
  "version": "Remastered",
  "description": "Only sets up Origin and DXVK, you will need to download Burnout Paradise from Origin.",
  "notes": "Please read before installing: https://github.com/lutris/lutris/wiki/Game:-Origin\r\n\r\nAdd  -skipvideos to the game properties to skip the intro videos which will in most cases crash the game.\r\nImport an existing savegame to prevent the game from only showing a black screen. Savegames are located in %AppData%\\Local\\Criterion Games\\Burnout Paradise\\GameData.",
  "name": "Burnout Paradise: Remastered",
  "year": 2018,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "burnout-paradise-remastered-remastered",
  "installer_slug": "burnout-paradise-remastered-remastered",
  "script": {
    "files": [
      {
        "client": "https://download.dm.origin.com/origin/live/OriginThinSetup.exe"
      },
      {
        "updater": "https://lutris.nyc3.cdn.digitaloceanspaces.com/games/origin/updateorigin.sh"
      }
    ],
    "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\""
        }
      },
      {
        "input_menu": {
          "description": "Setting DXVK workarounds please choose your GPU:",
          "id": "GPU",
          "options": [
            {
              "Not needed for AMD. Ignore this.": "AMD"
            },
            {
              "dxgi.customVendorId = 10de\ndxgi.nvapiHack = False": "Nvidia"
            }
          ],
          "preselect": "Not needed for AMD. Ignore this."
        }
      },
      {
        "write_file": {
          "content": "$INPUT_GPU",
          "file": "$GAMEDIR/dxvk.conf"
        }
      },
      {
        "task": {
          "app": "nocrashdialog arial vcrun2010 vcrun2013 vcrun2015 win81",
          "arch": "win64",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win64",
          "args": "/silent",
          "description": "Installing Origin... Login window might 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"
        }
      },
      {
        "chmodx": "updater"
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/Program Files (x86)/Origin",
          "src": "updater"
        }
      }
    ],
    "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",
      "pulse_latency": true
    }
  }
}
Back to game