Installer perfect-dark-recomp

files:
- engine: https://github.com/fgsfdsfgs/perfect_dark/releases/download/ci-dev-build/pd-x86_64-linux.tar.gz
- rom_file: N/A:Please provide Perfect Dark rom file in .z64 format
game:
  args: --portable
  exe: $GAMEDIR/pd-x86_64-linux/pd.x86_64
installer:
- extract:
    dst: $GAMEDIR/pd-x86_64-linux
    file: engine
    format: tgz
- chmodx: $GAMEDIR/pd-x86_64-linux/pd.x86_64
- execute:
    command: mkdir "$GAMEDIR/pd-x86_64-linux/data"; cp "$rom_file" "$GAMEDIR/pd-x86_64-linux/data/pd.ntsc-final.z64"
      ;
description: Play "Perfect Dark" natively on Linux!
game_slug: perfect-dark
gogslug: ''
humblestoreid: ''
installer_slug: perfect-dark-recomp
name: Perfect Dark
notes: "- Using Perfect Dark Recomp open source engine\r\n- During install, you will\
  \ need to provide Perfect Dark rom file USA in .z64 format (SHA-1: af8788ac4d1a57260eae9c53ffe851fcf2a3319b)"
runner: linux
script:
  files:
  - engine: https://github.com/fgsfdsfgs/perfect_dark/releases/download/ci-dev-build/pd-x86_64-linux.tar.gz
  - rom_file: N/A:Please provide Perfect Dark rom file in .z64 format
  game:
    args: --portable
    exe: $GAMEDIR/pd-x86_64-linux/pd.x86_64
  installer:
  - extract:
      dst: $GAMEDIR/pd-x86_64-linux
      file: engine
      format: tgz
  - chmodx: $GAMEDIR/pd-x86_64-linux/pd.x86_64
  - execute:
      command: mkdir "$GAMEDIR/pd-x86_64-linux/data"; cp "$rom_file" "$GAMEDIR/pd-x86_64-linux/data/pd.ntsc-final.z64"
        ;
slug: perfect-dark-recomp
steamid: null
version: Recomp
year: 2000
{
  "game_slug": "perfect-dark",
  "version": "Recomp",
  "description": "Play \"Perfect Dark\" natively on Linux!",
  "notes": "- Using Perfect Dark Recomp open source engine\r\n- During install, you will need to provide Perfect Dark rom file USA in .z64 format (SHA-1: af8788ac4d1a57260eae9c53ffe851fcf2a3319b)",
  "name": "Perfect Dark",
  "year": 2000,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "linux",
  "slug": "perfect-dark-recomp",
  "installer_slug": "perfect-dark-recomp",
  "script": {
    "files": [
      {
        "engine": "https://github.com/fgsfdsfgs/perfect_dark/releases/download/ci-dev-build/pd-x86_64-linux.tar.gz"
      },
      {
        "rom_file": "N/A:Please provide Perfect Dark rom file in .z64 format"
      }
    ],
    "game": {
      "args": "--portable",
      "exe": "$GAMEDIR/pd-x86_64-linux/pd.x86_64"
    },
    "installer": [
      {
        "extract": {
          "dst": "$GAMEDIR/pd-x86_64-linux",
          "file": "engine",
          "format": "tgz"
        }
      },
      {
        "chmodx": "$GAMEDIR/pd-x86_64-linux/pd.x86_64"
      },
      {
        "execute": {
          "command": "mkdir \"$GAMEDIR/pd-x86_64-linux/data\"; cp \"$rom_file\" \"$GAMEDIR/pd-x86_64-linux/data/pd.ntsc-final.z64\" ;"
        }
      }
    ]
  }
}
Back to game