Installer stationfall-msdos

This script is for reference only and can't be directly used to install the game in the Lutris client. To install the game, download the full script.

files:
- game: N/A:Select the Bat or EXE file
game:
  main_file: $GAMEDIR/stationfall.conf
installer:
- execute:
    args: $GAMEDIR/HDD $GAMEDIR/HDD/fall
    file: mkdir
- 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/HDD/fall
    file: $CACHE/bulkcopy.sh
- write_file:
    content: '[autoexec]

      mount C "$GAMEDIR/HDD" -t dir

      C:

      cd fall

      stationf

      exit'
    file: $GAMEDIR/stationfall.conf
{
  "files": [
    {
      "game": "N/A:Select the Bat or EXE file"
    }
  ],
  "game": {
    "main_file": "$GAMEDIR/stationfall.conf"
  },
  "installer": [
    {
      "execute": {
        "args": "$GAMEDIR/HDD $GAMEDIR/HDD/fall",
        "file": "mkdir"
      }
    },
    {
      "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/HDD/fall",
        "file": "$CACHE/bulkcopy.sh"
      }
    },
    {
      "write_file": {
        "content": "[autoexec]\nmount C \"$GAMEDIR/HDD\" -t dir\nC:\ncd fall\nstationf\nexit",
        "file": "$GAMEDIR/stationfall.conf"
      }
    }
  ]
}
Back to game