Installer the-bizarre-adventures-of-woo-cdrom

files:
- game: N/A:Select the file *.stk
game:
  game_id: gob
  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 "*.stk" -o -iname "*.ITK" \) -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: the-bizarre-adventures-of-woodruff-and-the-schnibb
gogslug: ''
humblestoreid: ''
installer_slug: the-bizarre-adventures-of-woo-cdrom
name: The Bizarre Adventures of Woodruff and the Schnibble
notes: ''
runner: scummvm
script:
  files:
  - game: N/A:Select the file *.stk
  game:
    game_id: gob
    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 "*.stk" -o -iname "*.ITK" \) -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: the-bizarre-adventures-of-woo-cdrom
steamid: null
version: CDrom
year: 1995
{
  "game_slug": "the-bizarre-adventures-of-woodruff-and-the-schnibb",
  "version": "CDrom",
  "description": null,
  "notes": "",
  "name": "The Bizarre Adventures of Woodruff and the Schnibble",
  "year": 1995,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "scummvm",
  "slug": "the-bizarre-adventures-of-woo-cdrom",
  "installer_slug": "the-bizarre-adventures-of-woo-cdrom",
  "script": {
    "files": [
      {
        "game": "N/A:Select the file *.stk"
      }
    ],
    "game": {
      "game_id": "gob",
      "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 \"*.stk\" -o -iname \"*.ITK\" \\) -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