Installer quake-mission-pack-2-dissolut-cdrom-darkplaces

files:
- game: N/A:Select a file with *.PAK extension
game:
  args: -game rogue -rogue
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/rouge
    file: mkdir
- execute:
    args: $game/ $GAMEDIR/rouge
    file: $CACHE/selectcopy.sh
requires: quake-cdrom-darkplaces
description: Requires CDROM + Darkplaces version of Quake installed
game_slug: quake-mission-pack-2-dissolution-of-eternity
gogslug: ''
humblestoreid: ''
installer_slug: quake-mission-pack-2-dissolut-cdrom-darkplaces
name: 'Quake Mission Pack 2: Dissolution of Eternity'
notes: ''
runner: linux
script:
  files:
  - game: N/A:Select a file with *.PAK extension
  game:
    args: -game rogue -rogue
  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/rouge
      file: mkdir
  - execute:
      args: $game/ $GAMEDIR/rouge
      file: $CACHE/selectcopy.sh
  requires: quake-cdrom-darkplaces
slug: quake-mission-pack-2-dissolut-cdrom-darkplaces
steamid: 9030
version: CDROM + Darkplaces
year: 1997
{
  "game_slug": "quake-mission-pack-2-dissolution-of-eternity",
  "version": "CDROM + Darkplaces",
  "description": "Requires CDROM + Darkplaces version of Quake installed",
  "notes": "",
  "name": "Quake Mission Pack 2: Dissolution of Eternity",
  "year": 1997,
  "steamid": 9030,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "linux",
  "slug": "quake-mission-pack-2-dissolut-cdrom-darkplaces",
  "installer_slug": "quake-mission-pack-2-dissolut-cdrom-darkplaces",
  "script": {
    "files": [
      {
        "game": "N/A:Select a file with *.PAK extension"
      }
    ],
    "game": {
      "args": "-game rogue -rogue"
    },
    "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/rouge",
          "file": "mkdir"
        }
      },
      {
        "execute": {
          "args": "$game/ $GAMEDIR/rouge",
          "file": "$CACHE/selectcopy.sh"
        }
      }
    ],
    "requires": "quake-cdrom-darkplaces"
  }
}
Back to game