Installer flashback-reminisence

files:
- game: N/A:Select the file FB.exe
- engine: https://github.com/luxtorpeda-dev/packages/releases/download/reminiscence-1/reminiscence-961620-1.tar.xz
game:
  exe: rs
installer:
- extract:
    dst: $GAMEDIR
    file: engine
- write_file:
    content: '#!/bin/bash

      src=$1

      dst=$2

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

      cp -avr "$src_path/."  "$dst"'
    file: $CACHE/bulkcopy.sh
- chmodx: $CACHE/bulkcopy.sh
- execute:
    args: $game $GAMEDIR
    file: $CACHE/bulkcopy.sh
description: "Arrow Keys      move Conrad\r\n    Enter                 use the current\
  \ inventory object\r\n    Shift                   talk / use / run / shoot\r\n \
  \   Escape              display the options\r\n    Backspace       display the inventory\r\
  \n    Alt Enter           toggle windowed/fullscreen mode\r\n    Alt + and -   \
  \     change video scaler"
game_slug: flashback
gogslug: flashback
humblestoreid: ''
installer_slug: flashback-reminisence
name: Flashback
notes: ''
runner: linux
script:
  files:
  - game: N/A:Select the file FB.exe
  - engine: https://github.com/luxtorpeda-dev/packages/releases/download/reminiscence-1/reminiscence-961620-1.tar.xz
  game:
    exe: rs
  installer:
  - extract:
      dst: $GAMEDIR
      file: engine
  - write_file:
      content: '#!/bin/bash

        src=$1

        dst=$2

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

        cp -avr "$src_path/."  "$dst"'
      file: $CACHE/bulkcopy.sh
  - chmodx: $CACHE/bulkcopy.sh
  - execute:
      args: $game $GAMEDIR
      file: $CACHE/bulkcopy.sh
slug: flashback-reminisence
steamid: 245730
version: Reminisence
year: 1992
{
  "game_slug": "flashback",
  "version": "Reminisence",
  "description": "Arrow Keys      move Conrad\r\n    Enter                 use the current inventory object\r\n    Shift                   talk / use / run / shoot\r\n    Escape              display the options\r\n    Backspace       display the inventory\r\n    Alt Enter           toggle windowed/fullscreen mode\r\n    Alt + and -        change video scaler",
  "notes": "",
  "name": "Flashback",
  "year": 1992,
  "steamid": 245730,
  "gogslug": "flashback",
  "humblestoreid": "",
  "runner": "linux",
  "slug": "flashback-reminisence",
  "installer_slug": "flashback-reminisence",
  "script": {
    "files": [
      {
        "game": "N/A:Select the file FB.exe"
      },
      {
        "engine": "https://github.com/luxtorpeda-dev/packages/releases/download/reminiscence-1/reminiscence-961620-1.tar.xz"
      }
    ],
    "game": {
      "exe": "rs"
    },
    "installer": [
      {
        "extract": {
          "dst": "$GAMEDIR",
          "file": "engine"
        }
      },
      {
        "write_file": {
          "content": "#!/bin/bash\nsrc=$1\ndst=$2\nsrc_path=$(echo \"$1\" | sed -r \"s/(.+)\\/.+/\\1/\")\ncp -avr \"$src_path/.\"  \"$dst\"",
          "file": "$CACHE/bulkcopy.sh"
        }
      },
      {
        "chmodx": "$CACHE/bulkcopy.sh"
      },
      {
        "execute": {
          "args": "$game $GAMEDIR",
          "file": "$CACHE/bulkcopy.sh"
        }
      }
    ]
  }
}
Back to game