Installer gateway-ii-homeworld-ms-dos

files:
- game: N/A:Select the file Install.EXE
game:
  main_file: $GAMEDIR/Gateway.conf
installer:
- execute:
    args: $GAMEDIR/HDD $GAMEDIR/CDD  $GAMEDIR/CDD/DISK1
    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/CDD/DISK1
    file: $CACHE/bulkcopy.sh
- write_file:
    content: '[sdl]

      sensitivity=20

      [autoexec]

      mount D "$GAMEDIR/CDD/DISK1" -t cdrom

      mount C "$GAMEDIR/HDD" -t dir

      D:

      install

      exit'
    file: $GAMEDIR/Gateway-setup.conf
- task:
    config_file: $GAMEDIR/Gateway-setup.conf
    name: dosexec
    working_dir: $GAMEDIR/HDD/
- write_file:
    content: '[dosbox]

      machine = svga_et4000

      [sdl]

      sensitivity=20

      [autoexec]

      mount D "$GAMEDIR/CDD/DISK1" -t cdrom

      mount C "$GAMEDIR/HDD" -t dir

      D:

      cd GW2

      Home.EXE

      exit'
    file: $GAMEDIR/Gateway.conf
description: null
game_slug: gateway-ii-homeworld
gogslug: ''
humblestoreid: ''
installer_slug: gateway-ii-homeworld-ms-dos
name: 'Gateway II: Homeworld'
notes: ''
runner: dosbox
script:
  files:
  - game: N/A:Select the file Install.EXE
  game:
    main_file: $GAMEDIR/Gateway.conf
  installer:
  - execute:
      args: $GAMEDIR/HDD $GAMEDIR/CDD  $GAMEDIR/CDD/DISK1
      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/CDD/DISK1
      file: $CACHE/bulkcopy.sh
  - write_file:
      content: '[sdl]

        sensitivity=20

        [autoexec]

        mount D "$GAMEDIR/CDD/DISK1" -t cdrom

        mount C "$GAMEDIR/HDD" -t dir

        D:

        install

        exit'
      file: $GAMEDIR/Gateway-setup.conf
  - task:
      config_file: $GAMEDIR/Gateway-setup.conf
      name: dosexec
      working_dir: $GAMEDIR/HDD/
  - write_file:
      content: '[dosbox]

        machine = svga_et4000

        [sdl]

        sensitivity=20

        [autoexec]

        mount D "$GAMEDIR/CDD/DISK1" -t cdrom

        mount C "$GAMEDIR/HDD" -t dir

        D:

        cd GW2

        Home.EXE

        exit'
      file: $GAMEDIR/Gateway.conf
slug: gateway-ii-homeworld-ms-dos
steamid: null
version: MS-DOS
year: 1993
{
  "game_slug": "gateway-ii-homeworld",
  "version": "MS-DOS",
  "description": null,
  "notes": "",
  "name": "Gateway II: Homeworld",
  "year": 1993,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "gateway-ii-homeworld-ms-dos",
  "installer_slug": "gateway-ii-homeworld-ms-dos",
  "script": {
    "files": [
      {
        "game": "N/A:Select the file Install.EXE"
      }
    ],
    "game": {
      "main_file": "$GAMEDIR/Gateway.conf"
    },
    "installer": [
      {
        "execute": {
          "args": "$GAMEDIR/HDD $GAMEDIR/CDD  $GAMEDIR/CDD/DISK1",
          "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/CDD/DISK1",
          "file": "$CACHE/bulkcopy.sh"
        }
      },
      {
        "write_file": {
          "content": "[sdl]\nsensitivity=20\n[autoexec]\nmount D \"$GAMEDIR/CDD/DISK1\" -t cdrom\nmount C \"$GAMEDIR/HDD\" -t dir\nD:\ninstall\nexit",
          "file": "$GAMEDIR/Gateway-setup.conf"
        }
      },
      {
        "task": {
          "config_file": "$GAMEDIR/Gateway-setup.conf",
          "name": "dosexec",
          "working_dir": "$GAMEDIR/HDD/"
        }
      },
      {
        "write_file": {
          "content": "[dosbox]\nmachine = svga_et4000\n[sdl]\nsensitivity=20\n[autoexec]\nmount D \"$GAMEDIR/CDD/DISK1\" -t cdrom\nmount C \"$GAMEDIR/HDD\" -t dir\nD:\ncd GW2\nHome.EXE\nexit",
          "file": "$GAMEDIR/Gateway.conf"
        }
      }
    ]
  }
}
Back to game