Installer waxworks-ms-dos

files:
- game: N/A:Select a file with *.exe extension
game:
  game_id: waxworks
  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 "*.MUS" -o -iname "MENUS.DAT" -o -iname "MUSIC.DRV"
      -o -iname "ROOMS*" -o -iname "ROOMSLST*" -o -iname "START*" -o -iname "STATELST"
      -o -iname "STRIPPED.TXT" -o -iname "TABLES*" -o -iname "TBLLIST" -o -iname "TEXT*"
      -o -iname "WAX.FXB" -o -iname "XTABLE*" -o -iname "XTBLLIST" -o -iname "*.VGA"
      -o -iname "GAMEPC" -o -iname "ICON.DAT" \) -exec cp {} "$dst" \;'
    file: $CACHE/selectcopy.sh
- chmodx: $CACHE/selectcopy.sh
- execute:
    args: $game $GAMEDIR
    file: $CACHE/selectcopy.sh
description: null
game_slug: waxworks
gogslug: waxworks
humblestoreid: ''
installer_slug: waxworks-ms-dos
name: Waxworks
notes: ''
runner: scummvm
script:
  files:
  - game: N/A:Select a file with *.exe extension
  game:
    game_id: waxworks
    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 "*.MUS" -o -iname "MENUS.DAT" -o -iname
        "MUSIC.DRV" -o -iname "ROOMS*" -o -iname "ROOMSLST*" -o -iname "START*" -o
        -iname "STATELST" -o -iname "STRIPPED.TXT" -o -iname "TABLES*" -o -iname "TBLLIST"
        -o -iname "TEXT*" -o -iname "WAX.FXB" -o -iname "XTABLE*" -o -iname "XTBLLIST"
        -o -iname "*.VGA" -o -iname "GAMEPC" -o -iname "ICON.DAT" \) -exec cp {} "$dst"
        \;'
      file: $CACHE/selectcopy.sh
  - chmodx: $CACHE/selectcopy.sh
  - execute:
      args: $game $GAMEDIR
      file: $CACHE/selectcopy.sh
slug: waxworks-ms-dos
steamid: null
version: MS-DOS
year: 1992
{
  "game_slug": "waxworks",
  "version": "MS-DOS",
  "description": null,
  "notes": "",
  "name": "Waxworks",
  "year": 1992,
  "steamid": null,
  "gogslug": "waxworks",
  "humblestoreid": "",
  "runner": "scummvm",
  "slug": "waxworks-ms-dos",
  "installer_slug": "waxworks-ms-dos",
  "script": {
    "files": [
      {
        "game": "N/A:Select a file with *.exe extension"
      }
    ],
    "game": {
      "game_id": "waxworks",
      "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 \"*.MUS\" -o -iname \"MENUS.DAT\" -o -iname \"MUSIC.DRV\" -o -iname \"ROOMS*\" -o -iname \"ROOMSLST*\" -o -iname \"START*\" -o -iname \"STATELST\" -o -iname \"STRIPPED.TXT\" -o -iname \"TABLES*\" -o -iname \"TBLLIST\" -o -iname \"TEXT*\" -o -iname \"WAX.FXB\" -o -iname \"XTABLE*\" -o -iname \"XTBLLIST\" -o -iname \"*.VGA\" -o -iname \"GAMEPC\" -o -iname \"ICON.DAT\" \\) -exec cp {} \"$dst\" \\;",
          "file": "$CACHE/selectcopy.sh"
        }
      },
      {
        "chmodx": "$CACHE/selectcopy.sh"
      },
      {
        "execute": {
          "args": "$game $GAMEDIR",
          "file": "$CACHE/selectcopy.sh"
        }
      }
    ]
  }
}
Back to game