Installer quake-mission-pack-1-scourge-cdrom-darkplaces

files:
- game: N/A:Select a file with *.PAK extension
game:
  args: -game hipnotic -hipnotic
installer:
- write_file:
    content: '#!/bin/bash

      src=$1

      dst=$2

      src_path=$(echo "$1" | sed -r "s/(.+)\/.+/\1/")

      find "$src_path" -type f \( -iname "*.PAK"  \) -exec cp {} "$dst" \;'
    file: $CACHE/selectcopy.sh
- chmodx: $CACHE/selectcopy.sh
- execute:
    args: $GAMEDIR/hipnotic
    file: mkdir
- execute:
    args: $game/ $GAMEDIR/hipnotic
    file: $CACHE/selectcopy.sh
requires: quake-cdrom-darkplaces
description: Require's CDROM + Darkplaces vesion of  Quake installed
game_slug: quake-mission-pack-1-scourge-of-armagon
gogslug: ''
humblestoreid: ''
installer_slug: quake-mission-pack-1-scourge-cdrom-darkplaces
name: 'Quake Mission Pack 1: Scourge of Armagon'
notes: ''
runner: linux
script:
  files:
  - game: N/A:Select a file with *.PAK extension
  game:
    args: -game hipnotic -hipnotic
  installer:
  - write_file:
      content: '#!/bin/bash

        src=$1

        dst=$2

        src_path=$(echo "$1" | sed -r "s/(.+)\/.+/\1/")

        find "$src_path" -type f \( -iname "*.PAK"  \) -exec cp {} "$dst" \;'
      file: $CACHE/selectcopy.sh
  - chmodx: $CACHE/selectcopy.sh
  - execute:
      args: $GAMEDIR/hipnotic
      file: mkdir
  - execute:
      args: $game/ $GAMEDIR/hipnotic
      file: $CACHE/selectcopy.sh
  requires: quake-cdrom-darkplaces
slug: quake-mission-pack-1-scourge-cdrom-darkplaces
steamid: 9040
version: CDROM + Darkplaces
year: 1997
{
  "game_slug": "quake-mission-pack-1-scourge-of-armagon",
  "version": "CDROM + Darkplaces",
  "description": "Require's CDROM + Darkplaces vesion of  Quake installed",
  "notes": "",
  "name": "Quake Mission Pack 1: Scourge of Armagon",
  "year": 1997,
  "steamid": 9040,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "linux",
  "slug": "quake-mission-pack-1-scourge-cdrom-darkplaces",
  "installer_slug": "quake-mission-pack-1-scourge-cdrom-darkplaces",
  "script": {
    "files": [
      {
        "game": "N/A:Select a file with *.PAK extension"
      }
    ],
    "game": {
      "args": "-game hipnotic -hipnotic"
    },
    "installer": [
      {
        "write_file": {
          "content": "#!/bin/bash\nsrc=$1\ndst=$2\nsrc_path=$(echo \"$1\" | sed -r \"s/(.+)\\/.+/\\1/\")\nfind \"$src_path\" -type f \\( -iname \"*.PAK\"  \\) -exec cp {} \"$dst\" \\;",
          "file": "$CACHE/selectcopy.sh"
        }
      },
      {
        "chmodx": "$CACHE/selectcopy.sh"
      },
      {
        "execute": {
          "args": "$GAMEDIR/hipnotic",
          "file": "mkdir"
        }
      },
      {
        "execute": {
          "args": "$game/ $GAMEDIR/hipnotic",
          "file": "$CACHE/selectcopy.sh"
        }
      }
    ],
    "requires": "quake-cdrom-darkplaces"
  }
}
Back to game