Installer full-throttle-ms-dos

files:
- game: N/A:Select file Full Throttle.exe
game:
  game_id: ft
  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 "ft.la*" -o -iname "monster.sou" \) -print  -exec
      cp {} "$dst" \;

      find "$src_path" -type d \( -iname video -o -iname data \) -print  -exec cp
      {} -r "$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: full-throttle
gogslug: ''
humblestoreid: ''
installer_slug: full-throttle-ms-dos
name: Full Throttle
notes: ''
runner: scummvm
script:
  files:
  - game: N/A:Select file Full Throttle.exe
  game:
    game_id: ft
    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 "ft.la*" -o -iname "monster.sou" \) -print  -exec
        cp {} "$dst" \;

        find "$src_path" -type d \( -iname video -o -iname data \) -print  -exec cp
        {} -r "$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: full-throttle-ms-dos
steamid: null
version: MS-DOS
year: 1995
{
  "game_slug": "full-throttle",
  "version": "MS-DOS",
  "description": null,
  "notes": "",
  "name": "Full Throttle",
  "year": 1995,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "scummvm",
  "slug": "full-throttle-ms-dos",
  "installer_slug": "full-throttle-ms-dos",
  "script": {
    "files": [
      {
        "game": "N/A:Select file Full Throttle.exe"
      }
    ],
    "game": {
      "game_id": "ft",
      "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 \"ft.la*\" -o -iname \"monster.sou\" \\) -print  -exec cp {} \"$dst\" \\;\nfind \"$src_path\" -type d \\( -iname video -o -iname data \\) -print  -exec cp {} -r \"$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