Installer black-white-2-dvd-patch-fan-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:
- patch_1_1:
    filename: BW2Patch_v11.exe
    url: https://www.bwfiles.com/files/download.php?id=587
- patch_1_2:
    filename: bw2patch_v12.exe
    url: https://www.bwfiles.com/files/download.php?id=695
- patch_1_3:
    filename: BW2FanPatchInstaller.exe
    url: https://www.bwfiles.com/files/download.php?id=1421
game:
  arch: win64
  exe: drive_c/Program Files (x86)/Lionhead Studios/Black & White 2/white.exe
  prefix: $GAMEDIR
installer:
- insert-disc:
    message: Please insert your Black & White 2 installation disc.
    requires: setup.exe
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR
- task:
    arch: win64
    executable: $DISC/setup.exe
    name: wineexec
    prefix: $GAMEDIR
- task:
    executable: patch_1_1
    name: wineexec
    prefix: $GAMEDIR
- task:
    executable: patch_1_2
    name: wineexec
    prefix: $GAMEDIR
- task:
    executable: patch_1_3
    name: wineexec
    prefix: $GAMEDIR
{
  "files": [
    {
      "patch_1_1": {
        "filename": "BW2Patch_v11.exe",
        "url": "https://www.bwfiles.com/files/download.php?id=587"
      }
    },
    {
      "patch_1_2": {
        "filename": "bw2patch_v12.exe",
        "url": "https://www.bwfiles.com/files/download.php?id=695"
      }
    },
    {
      "patch_1_3": {
        "filename": "BW2FanPatchInstaller.exe",
        "url": "https://www.bwfiles.com/files/download.php?id=1421"
      }
    }
  ],
  "game": {
    "arch": "win64",
    "exe": "drive_c/Program Files (x86)/Lionhead Studios/Black & White 2/white.exe",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "insert-disc": {
        "message": "Please insert your Black & White 2 installation disc.",
        "requires": "setup.exe"
      }
    },
    {
      "task": {
        "arch": "win64",
        "name": "create_prefix",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "arch": "win64",
        "executable": "$DISC/setup.exe",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "executable": "patch_1_1",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "executable": "patch_1_2",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "executable": "patch_1_3",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    }
  ]
}
Back to game