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

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:
- prelaunch: https://gitlab.com/lutris-utils/vtmb-loader-lutris/-/raw/master/prelaunch-lutris.sh
- updater: https://gitlab.com/lutris-utils/vtmb-loader-lutris/-/raw/master/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
- move:
    dst: $GAMEDIR/drive_c/GOG Games/VtMB/vampire.exe
    src: $GAMEDIR/drive_c/GOG Games/VtMB/Vampire.exe
system:
  prelaunch_command: $GAMEDIR/drive_c/GOG Games/VtMB/prelaunch-lutris.sh
  prelaunch_wait: true
{
  "files": [
    {
      "prelaunch": "https://gitlab.com/lutris-utils/vtmb-loader-lutris/-/raw/master/prelaunch-lutris.sh"
    },
    {
      "updater": "https://gitlab.com/lutris-utils/vtmb-loader-lutris/-/raw/master/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"
      }
    },
    {
      "move": {
        "dst": "$GAMEDIR/drive_c/GOG Games/VtMB/vampire.exe",
        "src": "$GAMEDIR/drive_c/GOG Games/VtMB/Vampire.exe"
      }
    }
  ],
  "system": {
    "prelaunch_command": "$GAMEDIR/drive_c/GOG Games/VtMB/prelaunch-lutris.sh",
    "prelaunch_wait": true
  }
}
Back to game