Installer superhero-league-of-hoboken-cdrom

files:
- game: N/A:Select the file Install.bat
game:
  main_file: $GAMEDIR/hoboken.conf
installer:
- execute:
    args: $GAMEDIR/HDD $GAMEDIR/CDD  $GAMEDIR/CDD/DISC1
    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/DISC1
    file: $CACHE/bulkcopy.sh
- execute:
    args: -R 775  "$GAMEDIR"
    file: /bin/chmod
- write_file:
    content: '[sdl]

      sensitivity=20

      [autoexec]

      mount C "$GAMEDIR/HDD" -t dir

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

      C:

      cd HOBOKEN

      SLH.EXE

      exit'
    file: $GAMEDIR/hoboken.conf
- write_file:
    content: '[sdl]

      sensitivity=20

      [autoexec]

      mount C "$GAMEDIR/HDD" -t dir

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

      D:

      install

      exit'
    file: $GAMEDIR/hoboken-setup.conf
- task:
    config_file: $GAMEDIR/hoboken-setup.conf
    name: dosexec
    working_dir: $GAMEDIR/HDD
description: null
game_slug: superhero-league-of-hoboken
gogslug: superhero_league_of_hoboken
humblestoreid: ''
installer_slug: superhero-league-of-hoboken-cdrom
name: Superhero League of Hoboken
notes: ''
runner: dosbox
script:
  files:
  - game: N/A:Select the file Install.bat
  game:
    main_file: $GAMEDIR/hoboken.conf
  installer:
  - execute:
      args: $GAMEDIR/HDD $GAMEDIR/CDD  $GAMEDIR/CDD/DISC1
      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/DISC1
      file: $CACHE/bulkcopy.sh
  - execute:
      args: -R 775  "$GAMEDIR"
      file: /bin/chmod
  - write_file:
      content: '[sdl]

        sensitivity=20

        [autoexec]

        mount C "$GAMEDIR/HDD" -t dir

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

        C:

        cd HOBOKEN

        SLH.EXE

        exit'
      file: $GAMEDIR/hoboken.conf
  - write_file:
      content: '[sdl]

        sensitivity=20

        [autoexec]

        mount C "$GAMEDIR/HDD" -t dir

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

        D:

        install

        exit'
      file: $GAMEDIR/hoboken-setup.conf
  - task:
      config_file: $GAMEDIR/hoboken-setup.conf
      name: dosexec
      working_dir: $GAMEDIR/HDD
slug: superhero-league-of-hoboken-cdrom
steamid: null
version: CDrom
year: 1994
{
  "game_slug": "superhero-league-of-hoboken",
  "version": "CDrom",
  "description": null,
  "notes": "",
  "name": "Superhero League of Hoboken",
  "year": 1994,
  "steamid": null,
  "gogslug": "superhero_league_of_hoboken",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "superhero-league-of-hoboken-cdrom",
  "installer_slug": "superhero-league-of-hoboken-cdrom",
  "script": {
    "files": [
      {
        "game": "N/A:Select the file Install.bat"
      }
    ],
    "game": {
      "main_file": "$GAMEDIR/hoboken.conf"
    },
    "installer": [
      {
        "execute": {
          "args": "$GAMEDIR/HDD $GAMEDIR/CDD  $GAMEDIR/CDD/DISC1",
          "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/DISC1",
          "file": "$CACHE/bulkcopy.sh"
        }
      },
      {
        "execute": {
          "args": "-R 775  \"$GAMEDIR\"",
          "file": "/bin/chmod"
        }
      },
      {
        "write_file": {
          "content": "[sdl]\nsensitivity=20\n[autoexec]\nmount C \"$GAMEDIR/HDD\" -t dir\nmount D \"$GAMEDIR/CDD/DISC1\" -t cdrom\nC:\ncd HOBOKEN\nSLH.EXE\nexit",
          "file": "$GAMEDIR/hoboken.conf"
        }
      },
      {
        "write_file": {
          "content": "[sdl]\nsensitivity=20\n[autoexec]\nmount C \"$GAMEDIR/HDD\" -t dir\nmount D \"$GAMEDIR/CDD/DISC1\" -t cdrom\nD:\ninstall\nexit",
          "file": "$GAMEDIR/hoboken-setup.conf"
        }
      },
      {
        "task": {
          "config_file": "$GAMEDIR/hoboken-setup.conf",
          "name": "dosexec",
          "working_dir": "$GAMEDIR/HDD"
        }
      }
    ]
  }
}
Back to game