Installer the-big-red-adventure-cdrom-image

files:
- game: N/A:Select the CD.cue file. Note the cue filename must be CD, and also all
    files within the same folder as the cue will be copied.
game:
  main_file: $GAMEDIR/red.conf
installer:
- execute:
    args: $GAMEDIR/HDD  $GAMEDIR/CDD
    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
    file: $CACHE/bulkcopy.sh
- write_file:
    content: '[sdl]

      capture_mouse=onclick middlerelease

      [autoexec]

      imgmount D "$GAMEDIR/CDD/CD.cue"  -t iso

      mount C "$GAMEDIR/HDD" -t dir

      d:

      setup

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

      capture_mouse=onclick middlerelease

      [autoexec]

      imgmount D "$GAMEDIR/CDD/CD.cue" -t iso

      mount C "$GAMEDIR/HDD" -t dir

      cls

      ECHO OFF

      goto launcher

      :launcher

      cls

      ECHO  -------------------------------------------

      ECHO             The Big Red Adventure

      ECHO  -------------------------------------------

      ECHO   1) Play

      ECHO   2) Setup

      ECHO  -------------------------------------------

      ECHO   3) exit program

      ECHO  -------------------------------------------

      choice /c123 /s Which program do you want to run? [1-3]: /n

      if errorlevel 3 goto exit

      if errorlevel 2 goto setup

      if errorlevel 1 goto game


      :game

      cls

      C:

      cd BIGRED

      TBRA

      goto exit


      :setup

      cls

      D:

      setup

      goto launcher


      :exit

      exit'
    file: $GAMEDIR/red.conf
- execute:
    args: -R 775  "$GAMEDIR"
    file: /bin/chmod
description: "The game uses CD audio,  the CD must be ripped to a cue/bin or cue/iso/mp3\
  \ format.\r\n\r\nHowto\r\nhttps://www.dosbox.com/wiki/Cuesheet"
game_slug: the-big-red-adventure
gogslug: ''
humblestoreid: ''
installer_slug: the-big-red-adventure-cdrom-image
name: The Big Red Adventure
notes: ''
runner: dosbox
script:
  files:
  - game: N/A:Select the CD.cue file. Note the cue filename must be CD, and also all
      files within the same folder as the cue will be copied.
  game:
    main_file: $GAMEDIR/red.conf
  installer:
  - execute:
      args: $GAMEDIR/HDD  $GAMEDIR/CDD
      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
      file: $CACHE/bulkcopy.sh
  - write_file:
      content: '[sdl]

        capture_mouse=onclick middlerelease

        [autoexec]

        imgmount D "$GAMEDIR/CDD/CD.cue"  -t iso

        mount C "$GAMEDIR/HDD" -t dir

        d:

        setup

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

        capture_mouse=onclick middlerelease

        [autoexec]

        imgmount D "$GAMEDIR/CDD/CD.cue" -t iso

        mount C "$GAMEDIR/HDD" -t dir

        cls

        ECHO OFF

        goto launcher

        :launcher

        cls

        ECHO  -------------------------------------------

        ECHO             The Big Red Adventure

        ECHO  -------------------------------------------

        ECHO   1) Play

        ECHO   2) Setup

        ECHO  -------------------------------------------

        ECHO   3) exit program

        ECHO  -------------------------------------------

        choice /c123 /s Which program do you want to run? [1-3]: /n

        if errorlevel 3 goto exit

        if errorlevel 2 goto setup

        if errorlevel 1 goto game


        :game

        cls

        C:

        cd BIGRED

        TBRA

        goto exit


        :setup

        cls

        D:

        setup

        goto launcher


        :exit

        exit'
      file: $GAMEDIR/red.conf
  - execute:
      args: -R 775  "$GAMEDIR"
      file: /bin/chmod
slug: the-big-red-adventure-cdrom-image
steamid: null
version: CDrom IMAGE
year: 1995
{
  "game_slug": "the-big-red-adventure",
  "version": "CDrom IMAGE",
  "description": "The game uses CD audio,  the CD must be ripped to a cue/bin or cue/iso/mp3 format.\r\n\r\nHowto\r\nhttps://www.dosbox.com/wiki/Cuesheet",
  "notes": "",
  "name": "The Big Red Adventure",
  "year": 1995,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "the-big-red-adventure-cdrom-image",
  "installer_slug": "the-big-red-adventure-cdrom-image",
  "script": {
    "files": [
      {
        "game": "N/A:Select the CD.cue file. Note the cue filename must be CD, and also all files within the same folder as the cue will be copied."
      }
    ],
    "game": {
      "main_file": "$GAMEDIR/red.conf"
    },
    "installer": [
      {
        "execute": {
          "args": "$GAMEDIR/HDD  $GAMEDIR/CDD",
          "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",
          "file": "$CACHE/bulkcopy.sh"
        }
      },
      {
        "write_file": {
          "content": "[sdl]\ncapture_mouse=onclick middlerelease\n[autoexec]\nimgmount D \"$GAMEDIR/CDD/CD.cue\"  -t iso\nmount C \"$GAMEDIR/HDD\" -t dir\nd:\nsetup\nexit",
          "file": "$GAMEDIR/red_setup.conf"
        }
      },
      {
        "task": {
          "config_file": "$GAMEDIR/red_setup.conf",
          "name": "dosexec",
          "working_dir": "$GAMEDIR/HDD"
        }
      },
      {
        "write_file": {
          "content": "[sdl]\ncapture_mouse=onclick middlerelease\n[autoexec]\nimgmount D \"$GAMEDIR/CDD/CD.cue\" -t iso\nmount C \"$GAMEDIR/HDD\" -t dir\ncls\nECHO OFF\ngoto launcher\n:launcher\ncls\nECHO  -------------------------------------------\nECHO             The Big Red Adventure\nECHO  -------------------------------------------\nECHO   1) Play\nECHO   2) Setup\nECHO  -------------------------------------------\nECHO   3) exit program\nECHO  -------------------------------------------\nchoice /c123 /s Which program do you want to run? [1-3]: /n\nif errorlevel 3 goto exit\nif errorlevel 2 goto setup\nif errorlevel 1 goto game\n\n:game\ncls\nC:\ncd BIGRED\nTBRA\ngoto exit\n\n:setup\ncls\nD:\nsetup\ngoto launcher\n\n:exit\nexit",
          "file": "$GAMEDIR/red.conf"
        }
      },
      {
        "execute": {
          "args": "-R 775  \"$GAMEDIR\"",
          "file": "/bin/chmod"
        }
      }
    ]
  }
}
Back to game