Installer future-wars-adventures-in-tim-ms-dos

files:
- game: N/A:Select the file INSTALL.EXE
game:
  game_id: cine
  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 "*.DAT" -o -iname "*.PAL" -o -iname "*.PRC"
      -o -iname "BASESON.SND" -o -iname "PART*" \) -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: future-wars-adventures-in-time
gogslug: ''
humblestoreid: ''
installer_slug: future-wars-adventures-in-tim-ms-dos
name: 'Future Wars: Adventures in Time'
notes: ''
runner: scummvm
script:
  files:
  - game: N/A:Select the file INSTALL.EXE
  game:
    game_id: cine
    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 "*.DAT" -o -iname "*.PAL" -o -iname "*.PRC"
        -o -iname "BASESON.SND" -o -iname "PART*" \) -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: future-wars-adventures-in-tim-ms-dos
steamid: null
version: MS-DOS
year: 1989
{
  "game_slug": "future-wars-adventures-in-time",
  "version": "MS-DOS",
  "description": null,
  "notes": "",
  "name": "Future Wars: Adventures in Time",
  "year": 1989,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "scummvm",
  "slug": "future-wars-adventures-in-tim-ms-dos",
  "installer_slug": "future-wars-adventures-in-tim-ms-dos",
  "script": {
    "files": [
      {
        "game": "N/A:Select the file INSTALL.EXE"
      }
    ],
    "game": {
      "game_id": "cine",
      "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 \"*.DAT\" -o -iname \"*.PAL\" -o -iname \"*.PRC\" -o -iname \"BASESON.SND\" -o -iname \"PART*\" \\) -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