Installer alien-rampage-cdrom

files:
- game: N/A:Select file INSTALL.exe.
game:
  main_file: $GAMEDIR/alien.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=10

      [autoexec]

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

      mount C "$GAMEDIR/HDD" -t dir

      d:

      install

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

      sensitivity=10

      [autoexec]

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

      mount C "$GAMEDIR/HDD" -t dir

      c:

      cd RAMPAGE

      RAMPAGE

      exit'
    file: $GAMEDIR/alien.conf
- execute:
    args: -R 775  "$GAMEDIR"
    file: /bin/chmod
description: null
game_slug: alien-rampage
gogslug: alien_rampage
humblestoreid: ''
installer_slug: alien-rampage-cdrom
name: Alien Rampage
notes: ''
runner: dosbox
script:
  files:
  - game: N/A:Select file INSTALL.exe.
  game:
    main_file: $GAMEDIR/alien.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=10

        [autoexec]

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

        mount C "$GAMEDIR/HDD" -t dir

        d:

        install

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

        sensitivity=10

        [autoexec]

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

        mount C "$GAMEDIR/HDD" -t dir

        c:

        cd RAMPAGE

        RAMPAGE

        exit'
      file: $GAMEDIR/alien.conf
  - execute:
      args: -R 775  "$GAMEDIR"
      file: /bin/chmod
slug: alien-rampage-cdrom
steamid: 516440
version: CDRom
year: 1996
{
  "game_slug": "alien-rampage",
  "version": "CDRom",
  "description": null,
  "notes": "",
  "name": "Alien Rampage",
  "year": 1996,
  "steamid": 516440,
  "gogslug": "alien_rampage",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "alien-rampage-cdrom",
  "installer_slug": "alien-rampage-cdrom",
  "script": {
    "files": [
      {
        "game": "N/A:Select file INSTALL.exe."
      }
    ],
    "game": {
      "main_file": "$GAMEDIR/alien.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=10\n[autoexec]\nmount D \"$GAMEDIR/CDD/DISK1\" -t cdrom\nmount C \"$GAMEDIR/HDD\" -t dir\nd:\ninstall\nexit",
          "file": "$GAMEDIR/alien-setup.conf"
        }
      },
      {
        "task": {
          "config_file": "$GAMEDIR/alien-setup.conf",
          "name": "dosexec",
          "working_dir": "$GAMEDIR/HDD"
        }
      },
      {
        "write_file": {
          "content": "[sdl]\nsensitivity=10\n[autoexec]\nmount D \"$GAMEDIR/CDD/DISK1\" -t cdrom\nmount C \"$GAMEDIR/HDD\" -t dir\nc:\ncd RAMPAGE\nRAMPAGE\nexit",
          "file": "$GAMEDIR/alien.conf"
        }
      },
      {
        "execute": {
          "args": "-R 775  \"$GAMEDIR\"",
          "file": "/bin/chmod"
        }
      }
    ]
  }
}
Back to game