Installer vampire-the-masquerade-bloodl-gog-unofficial-patch

files:
- prelaunch: https://gitlab.com/lutris-utils/vtmb-loader-lutris/-/raw/a722b2d7322d0565c2ac70ec6226903e81adc5ab/prelaunch-lutris.sh
- updater: https://gitlab.com/lutris-utils/vtmb-loader-lutris/-/raw/a722b2d7322d0565c2ac70ec6226903e81adc5ab/vtmb-update.sh
- setup: N/A:Select Windows GOG setup exe
game:
  arch: win32
  args: -game "$(cat .vampire_mod)"
  exe: drive_c/GOG Games/VtMB/vampire.exe
  prefix: $GAMEDIR
installer:
- input_menu:
    description: Do you want to install the latest Unofficial Patch?
    id: UPDT
    options:
    - '0': "NO, don\xB4t update my game."
    - '1': YES, download and install the AMAZING Unofficial Patch.
    preselect: '0'
- merge:
    dst: $GAMEDIR/drive_c/GOG Games/VtMB/
    src: prelaunch
- merge:
    dst: $CACHE
    src: updater
- chmodx: $GAMEDIR/drive_c/GOG Games/VtMB/prelaunch-lutris.sh
- chmodx: $CACHE/vtmb-update.sh
- execute:
    command: '[ "$INPUT_UPDT" = "1" ] && "$CACHE/vtmb-update.sh"'
    description: Downloading the Unofficial Patch...
- task:
    arch: win32
    description: Creating WINE prefix.
    install_gecko: false
    install_mono: false
    name: create_prefix
    prefix: $GAMEDIR
- task:
    arch: win32
    args: /SP- /SILENT /SUPPRESSMSGBOXES /NOCANCEL
    description: Be patient, this task may take several minutes.
    executable: setup
    name: wineexec
    prefix: $GAMEDIR
- task:
    arch: win32
    description: Installing the Unofficial Patch for Vampire the Masquerade - Bloodilines
    executable: $CACHE/vtmbup.exe
    name: wineexec
    prefix: $GAMEDIR
system:
  prelaunch_command: $GAMEDIR/drive_c/GOG Games/VtMB/prelaunch-lutris.sh
  prelaunch_wait: true
description: You have the option to download the latest version of Unofficial Patch.
game_slug: vampire-the-masquerade-bloodlines
gogslug: vampire_the_masquerade_bloodlines
humblestoreid: ''
installer_slug: vampire-the-masquerade-bloodl-gog-unofficial-patch
name: 'Vampire: The Masquerade - Bloodlines'
notes: "-- This installer have support to select Mods using the launcher.\r\n-- During\
  \ installation you can install the latest Unofficial Patch if you want."
runner: wine
script:
  files:
  - prelaunch: https://gitlab.com/lutris-utils/vtmb-loader-lutris/-/raw/a722b2d7322d0565c2ac70ec6226903e81adc5ab/prelaunch-lutris.sh
  - updater: https://gitlab.com/lutris-utils/vtmb-loader-lutris/-/raw/a722b2d7322d0565c2ac70ec6226903e81adc5ab/vtmb-update.sh
  - setup: N/A:Select Windows GOG setup exe
  game:
    arch: win32
    args: -game "$(cat .vampire_mod)"
    exe: drive_c/GOG Games/VtMB/vampire.exe
    prefix: $GAMEDIR
  installer:
  - input_menu:
      description: Do you want to install the latest Unofficial Patch?
      id: UPDT
      options:
      - '0': "NO, don\xB4t update my game."
      - '1': YES, download and install the AMAZING Unofficial Patch.
      preselect: '0'
  - merge:
      dst: $GAMEDIR/drive_c/GOG Games/VtMB/
      src: prelaunch
  - merge:
      dst: $CACHE
      src: updater
  - chmodx: $GAMEDIR/drive_c/GOG Games/VtMB/prelaunch-lutris.sh
  - chmodx: $CACHE/vtmb-update.sh
  - execute:
      command: '[ "$INPUT_UPDT" = "1" ] && "$CACHE/vtmb-update.sh"'
      description: Downloading the Unofficial Patch...
  - task:
      arch: win32
      description: Creating WINE prefix.
      install_gecko: false
      install_mono: false
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      arch: win32
      args: /SP- /SILENT /SUPPRESSMSGBOXES /NOCANCEL
      description: Be patient, this task may take several minutes.
      executable: setup
      name: wineexec
      prefix: $GAMEDIR
  - task:
      arch: win32
      description: Installing the Unofficial Patch for Vampire the Masquerade - Bloodilines
      executable: $CACHE/vtmbup.exe
      name: wineexec
      prefix: $GAMEDIR
  system:
    prelaunch_command: $GAMEDIR/drive_c/GOG Games/VtMB/prelaunch-lutris.sh
    prelaunch_wait: true
slug: vampire-the-masquerade-bloodl-gog-unofficial-patch
steamid: 2600
version: GOG + Unofficial Patch
year: 2004
{
  "game_slug": "vampire-the-masquerade-bloodlines",
  "version": "GOG + Unofficial Patch",
  "description": "You have the option to download the latest version of Unofficial Patch.",
  "notes": "-- This installer have support to select Mods using the launcher.\r\n-- During installation you can install the latest Unofficial Patch if you want.",
  "name": "Vampire: The Masquerade - Bloodlines",
  "year": 2004,
  "steamid": 2600,
  "gogslug": "vampire_the_masquerade_bloodlines",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "vampire-the-masquerade-bloodl-gog-unofficial-patch",
  "installer_slug": "vampire-the-masquerade-bloodl-gog-unofficial-patch",
  "script": {
    "files": [
      {
        "prelaunch": "https://gitlab.com/lutris-utils/vtmb-loader-lutris/-/raw/a722b2d7322d0565c2ac70ec6226903e81adc5ab/prelaunch-lutris.sh"
      },
      {
        "updater": "https://gitlab.com/lutris-utils/vtmb-loader-lutris/-/raw/a722b2d7322d0565c2ac70ec6226903e81adc5ab/vtmb-update.sh"
      },
      {
        "setup": "N/A:Select Windows GOG setup exe"
      }
    ],
    "game": {
      "arch": "win32",
      "args": "-game \"$(cat .vampire_mod)\"",
      "exe": "drive_c/GOG Games/VtMB/vampire.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "input_menu": {
          "description": "Do you want to install the latest Unofficial Patch?",
          "id": "UPDT",
          "options": [
            {
              "0": "NO, don\u00b4t update my game."
            },
            {
              "1": "YES, download and install the AMAZING Unofficial Patch."
            }
          ],
          "preselect": "0"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/GOG Games/VtMB/",
          "src": "prelaunch"
        }
      },
      {
        "merge": {
          "dst": "$CACHE",
          "src": "updater"
        }
      },
      {
        "chmodx": "$GAMEDIR/drive_c/GOG Games/VtMB/prelaunch-lutris.sh"
      },
      {
        "chmodx": "$CACHE/vtmb-update.sh"
      },
      {
        "execute": {
          "command": "[ \"$INPUT_UPDT\" = \"1\" ] && \"$CACHE/vtmb-update.sh\"",
          "description": "Downloading the Unofficial Patch..."
        }
      },
      {
        "task": {
          "arch": "win32",
          "description": "Creating WINE prefix.",
          "install_gecko": false,
          "install_mono": false,
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win32",
          "args": "/SP- /SILENT /SUPPRESSMSGBOXES /NOCANCEL",
          "description": "Be patient, this task may take several minutes.",
          "executable": "setup",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win32",
          "description": "Installing the Unofficial Patch for Vampire the Masquerade - Bloodilines",
          "executable": "$CACHE/vtmbup.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      }
    ],
    "system": {
      "prelaunch_command": "$GAMEDIR/drive_c/GOG Games/VtMB/prelaunch-lutris.sh",
      "prelaunch_wait": true
    }
  }
}
Back to game