Installer loom-ms-dos

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 a file with the extension *.lfl
game:
  game_id: loom
  path: $GAMEDIR
installer:
- 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
{
  "files": [
    {
      "game": "N/A:Select a file with the extension *.lfl"
    }
  ],
  "game": {
    "game_id": "loom",
    "path": "$GAMEDIR"
  },
  "installer": [
    {
      "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