Installer rex-nebular-and-the-cosmic-ge-cdrom

files:
- game: N/A:Select the file REX.BAT
game:
  game_id: nebular
  path: $GAMEDIR
installer:
- write_file:
    content: '#!/bin/bash

      src=$1

      dst=$2

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

      find "$src_path" -type f \( -iname "*.00?" -o -iname "*.HAG" -o -iname "*.RES"
      -o -iname "DIGITAL.ADA" \) -exec cp {} "$dst" \;'
    file: $CACHE/selectcopy.sh
- chmodx: $CACHE/selectcopy.sh
- execute:
    args: $game $GAMEDIR
    file: $CACHE/selectcopy.sh
- execute:
    args: -R 775  "$GAMEDIR"
    file: /bin/chmod
scummvm:
  fullscreen: true
description: null
game_slug: rex-nebular-and-the-cosmic-gender-bender
gogslug: rex_nebular_and_the_cosmic_gender_bender
humblestoreid: ''
installer_slug: rex-nebular-and-the-cosmic-ge-cdrom
name: Rex Nebular and the Cosmic Gender Bender
notes: ''
runner: scummvm
script:
  files:
  - game: N/A:Select the file REX.BAT
  game:
    game_id: nebular
    path: $GAMEDIR
  installer:
  - write_file:
      content: '#!/bin/bash

        src=$1

        dst=$2

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

        find "$src_path" -type f \( -iname "*.00?" -o -iname "*.HAG" -o -iname "*.RES"
        -o -iname "DIGITAL.ADA" \) -exec cp {} "$dst" \;'
      file: $CACHE/selectcopy.sh
  - chmodx: $CACHE/selectcopy.sh
  - execute:
      args: $game $GAMEDIR
      file: $CACHE/selectcopy.sh
  - execute:
      args: -R 775  "$GAMEDIR"
      file: /bin/chmod
  scummvm:
    fullscreen: true
slug: rex-nebular-and-the-cosmic-ge-cdrom
steamid: 328430
version: CDrom
year: 1992
{
  "game_slug": "rex-nebular-and-the-cosmic-gender-bender",
  "version": "CDrom",
  "description": null,
  "notes": "",
  "name": "Rex Nebular and the Cosmic Gender Bender",
  "year": 1992,
  "steamid": 328430,
  "gogslug": "rex_nebular_and_the_cosmic_gender_bender",
  "humblestoreid": "",
  "runner": "scummvm",
  "slug": "rex-nebular-and-the-cosmic-ge-cdrom",
  "installer_slug": "rex-nebular-and-the-cosmic-ge-cdrom",
  "script": {
    "files": [
      {
        "game": "N/A:Select the file REX.BAT"
      }
    ],
    "game": {
      "game_id": "nebular",
      "path": "$GAMEDIR"
    },
    "installer": [
      {
        "write_file": {
          "content": "#!/bin/bash\nsrc=$1\ndst=$2\nsrc_path=$(echo \"$1\" | sed -r \"s/(.+)\\/.+/\\1/\")\nfind \"$src_path\" -type f \\( -iname \"*.00?\" -o -iname \"*.HAG\" -o -iname \"*.RES\" -o -iname \"DIGITAL.ADA\" \\) -exec cp {} \"$dst\" \\;",
          "file": "$CACHE/selectcopy.sh"
        }
      },
      {
        "chmodx": "$CACHE/selectcopy.sh"
      },
      {
        "execute": {
          "args": "$game $GAMEDIR",
          "file": "$CACHE/selectcopy.sh"
        }
      },
      {
        "execute": {
          "args": "-R 775  \"$GAMEDIR\"",
          "file": "/bin/chmod"
        }
      }
    ],
    "scummvm": {
      "fullscreen": true
    }
  }
}
Back to game