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

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:
- 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
{
  "requires": "quake-cdrom-darkplaces",
  "files": [
    {
      "game": "N/A:Select a file with *.PAK extension"
    }
  ],
  "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": {
        "file": "mkdir",
        "args": "$GAMEDIR/rouge"
      }
    },
    {
      "execute": {
        "file": "$CACHE/selectcopy.sh",
        "args": "$game/ $GAMEDIR/rouge"
      }
    }
  ],
  "game": {
    "args": "-game rogue -rogue"
  }
}
Back to game