Installer driver-2-back-on-the-streets-redriver2

files:
- disc1: N/A:Please select Driver 2, disc 1 (BIN or ISO)
- disc2: N/A:Please select Driver 2, disc 2 (BIN or ISO)
game:
  exe: $GAMEDIR/REDRIVER2
installer:
- execute:
    command: curl https://api.github.com/repos/OpenDriver2/REDRIVER2/releases/latest
      | grep browser_download_url | grep Linux_Release.tar | cut -d '"' -f 4 | wget
      -i- -P $CACHE
    description: Download latest REDRIVER2 release
- extract:
    dst: $GAMEDIR
    file: $CACHE/REDRIVER2_Linux_Release.tar.gz
- copy:
    dst: $CACHE/disc1
    src: disc1
- copy:
    dst: $CACHE/disc2
    src: disc2
- execute:
    command: find '$CACHE/disc1' -type f \( -iname '*.iso' -o -iname "*.bin" \) -exec
      mv '{}' $GAMEDIR/install/Driver2CD1.bin \;
- execute:
    command: find '$CACHE/disc2' -type f \( -iname '*.iso' -o -iname "*.bin" \) -exec
      mv '{}' $GAMEDIR/install/Driver2CD2.bin \;
- execute:
    command: $GAMEDIR/_convert_cd_fmv_xa.sh
description: Installs REDRIVER2 https://github.com/OpenDriver2/REDRIVER2
game_slug: driver-2-back-on-the-streets
gogslug: ''
humblestoreid: ''
installer_slug: driver-2-back-on-the-streets-redriver2
name: 'Driver 2: Back on the Streets'
notes: Install the latest Java Runtime Environment to convert the cutscenes as part
  of this install
runner: linux
script:
  files:
  - disc1: N/A:Please select Driver 2, disc 1 (BIN or ISO)
  - disc2: N/A:Please select Driver 2, disc 2 (BIN or ISO)
  game:
    exe: $GAMEDIR/REDRIVER2
  installer:
  - execute:
      command: curl https://api.github.com/repos/OpenDriver2/REDRIVER2/releases/latest
        | grep browser_download_url | grep Linux_Release.tar | cut -d '"' -f 4 | wget
        -i- -P $CACHE
      description: Download latest REDRIVER2 release
  - extract:
      dst: $GAMEDIR
      file: $CACHE/REDRIVER2_Linux_Release.tar.gz
  - copy:
      dst: $CACHE/disc1
      src: disc1
  - copy:
      dst: $CACHE/disc2
      src: disc2
  - execute:
      command: find '$CACHE/disc1' -type f \( -iname '*.iso' -o -iname "*.bin" \)
        -exec mv '{}' $GAMEDIR/install/Driver2CD1.bin \;
  - execute:
      command: find '$CACHE/disc2' -type f \( -iname '*.iso' -o -iname "*.bin" \)
        -exec mv '{}' $GAMEDIR/install/Driver2CD2.bin \;
  - execute:
      command: $GAMEDIR/_convert_cd_fmv_xa.sh
slug: driver-2-back-on-the-streets-redriver2
steamid: null
version: REDRIVER2
year: 2000
{
  "game_slug": "driver-2-back-on-the-streets",
  "version": "REDRIVER2",
  "description": "Installs REDRIVER2 https://github.com/OpenDriver2/REDRIVER2",
  "notes": "Install the latest Java Runtime Environment to convert the cutscenes as part of this install",
  "name": "Driver 2: Back on the Streets",
  "year": 2000,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "linux",
  "slug": "driver-2-back-on-the-streets-redriver2",
  "installer_slug": "driver-2-back-on-the-streets-redriver2",
  "script": {
    "files": [
      {
        "disc1": "N/A:Please select Driver 2, disc 1 (BIN or ISO)"
      },
      {
        "disc2": "N/A:Please select Driver 2, disc 2 (BIN or ISO)"
      }
    ],
    "game": {
      "exe": "$GAMEDIR/REDRIVER2"
    },
    "installer": [
      {
        "execute": {
          "command": "curl https://api.github.com/repos/OpenDriver2/REDRIVER2/releases/latest | grep browser_download_url | grep Linux_Release.tar | cut -d '\"' -f 4 | wget -i- -P $CACHE",
          "description": "Download latest REDRIVER2 release"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR",
          "file": "$CACHE/REDRIVER2_Linux_Release.tar.gz"
        }
      },
      {
        "copy": {
          "dst": "$CACHE/disc1",
          "src": "disc1"
        }
      },
      {
        "copy": {
          "dst": "$CACHE/disc2",
          "src": "disc2"
        }
      },
      {
        "execute": {
          "command": "find '$CACHE/disc1' -type f \\( -iname '*.iso' -o -iname \"*.bin\" \\) -exec mv '{}' $GAMEDIR/install/Driver2CD1.bin \\;"
        }
      },
      {
        "execute": {
          "command": "find '$CACHE/disc2' -type f \\( -iname '*.iso' -o -iname \"*.bin\" \\) -exec mv '{}' $GAMEDIR/install/Driver2CD2.bin \\;"
        }
      },
      {
        "execute": {
          "command": "$GAMEDIR/_convert_cd_fmv_xa.sh"
        }
      }
    ]
  }
}
Back to game