Installer the-journeyman-project-2-buri-win31-cdrom

files:
- game: N/A:Select the Autoexec.bat from a Win3.1 install
game:
  main_file: $GAMEDIR/journeyman.conf
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
- write_file:
    content: '#!/bin/bash

      src=$1

      dst=$2

      cp -avr "$src/."  "$dst"'
    file: $CACHE/bulkcopy-alt.sh
- chmodx: $CACHE/bulkcopy-alt.sh
- execute:
    args: $GAMEDIR/CDD $GAMEDIR/CDD/DISC1
    file: mkdir
- execute:
    args: $game $GAMEDIR/HDD
    file: $CACHE/bulkcopy.sh
- insert-disc:
    description: Please insert disc 1
    requires: bitdata
- execute:
    args: $DISC $GAMEDIR/CDD/DISC1
    file: $CACHE/bulkcopy-alt.sh
- insert-disc:
    description: Please insert disc 2
    requires: bitdata
- execute:
    args: $DISC $GAMEDIR/CDD/DISC1
    file: $CACHE/bulkcopy-alt.sh
- insert-disc:
    description: Please insert disc 3
    requires: bitdata
- execute:
    args: $DISC $GAMEDIR/CDD/DISC1
    file: $CACHE/bulkcopy-alt.sh
- extract:
    dst: $GAMEDIR/HDD/runexit
    file: $runexit
    format: zip
- execute:
    args: -R 775  "$GAMEDIR/CDD"
    file: /bin/chmod
- write_file:
    content: '[sblaster]

      irq=5

      [sdl]

      sensitivity=20

      [autoexec]

      mount C "$GAMEDIR/HDD" -t dir

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

      SET PATH=%PATH%;C:\WINDOWS;C:\runexit

      SET TEMP=C:\WINDOWS\TEMP

      C:

      win D:\bitsetup.exe

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

      irq=5

      [sdl]

      sensitivity=20

      [autoexec]

      mount C "$GAMEDIR/HDD" -t dir

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

      SET PATH=%PATH%;C:\WINDOWS;C:\runexit

      SET TEMP=C:\WINDOWS\TEMP

      C:

      win

      exit'
    file: $GAMEDIR/journeyman.conf
description: null
game_slug: the-journeyman-project-2-buried-in-time
gogslug: journeyman_project_2
humblestoreid: ''
installer_slug: the-journeyman-project-2-buri-win31-cdrom
name: 'The Journeyman Project 2: Buried in Time'
notes: ''
runner: dosbox
script:
  files:
  - game: N/A:Select the Autoexec.bat from a Win3.1 install
  game:
    main_file: $GAMEDIR/journeyman.conf
  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
  - write_file:
      content: '#!/bin/bash

        src=$1

        dst=$2

        cp -avr "$src/."  "$dst"'
      file: $CACHE/bulkcopy-alt.sh
  - chmodx: $CACHE/bulkcopy-alt.sh
  - execute:
      args: $GAMEDIR/CDD $GAMEDIR/CDD/DISC1
      file: mkdir
  - execute:
      args: $game $GAMEDIR/HDD
      file: $CACHE/bulkcopy.sh
  - insert-disc:
      description: Please insert disc 1
      requires: bitdata
  - execute:
      args: $DISC $GAMEDIR/CDD/DISC1
      file: $CACHE/bulkcopy-alt.sh
  - insert-disc:
      description: Please insert disc 2
      requires: bitdata
  - execute:
      args: $DISC $GAMEDIR/CDD/DISC1
      file: $CACHE/bulkcopy-alt.sh
  - insert-disc:
      description: Please insert disc 3
      requires: bitdata
  - execute:
      args: $DISC $GAMEDIR/CDD/DISC1
      file: $CACHE/bulkcopy-alt.sh
  - extract:
      dst: $GAMEDIR/HDD/runexit
      file: $runexit
      format: zip
  - execute:
      args: -R 775  "$GAMEDIR/CDD"
      file: /bin/chmod
  - write_file:
      content: '[sblaster]

        irq=5

        [sdl]

        sensitivity=20

        [autoexec]

        mount C "$GAMEDIR/HDD" -t dir

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

        SET PATH=%PATH%;C:\WINDOWS;C:\runexit

        SET TEMP=C:\WINDOWS\TEMP

        C:

        win D:\bitsetup.exe

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

        irq=5

        [sdl]

        sensitivity=20

        [autoexec]

        mount C "$GAMEDIR/HDD" -t dir

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

        SET PATH=%PATH%;C:\WINDOWS;C:\runexit

        SET TEMP=C:\WINDOWS\TEMP

        C:

        win

        exit'
      file: $GAMEDIR/journeyman.conf
slug: the-journeyman-project-2-buri-win31-cdrom
steamid: null
version: Win3.1 CDRom
year: 1995
{
  "game_slug": "the-journeyman-project-2-buried-in-time",
  "version": "Win3.1 CDRom",
  "description": null,
  "notes": "",
  "name": "The Journeyman Project 2: Buried in Time",
  "year": 1995,
  "steamid": null,
  "gogslug": "journeyman_project_2",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "the-journeyman-project-2-buri-win31-cdrom",
  "installer_slug": "the-journeyman-project-2-buri-win31-cdrom",
  "script": {
    "files": [
      {
        "game": "N/A:Select the Autoexec.bat from a Win3.1 install"
      }
    ],
    "game": {
      "main_file": "$GAMEDIR/journeyman.conf"
    },
    "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"
      },
      {
        "write_file": {
          "content": "#!/bin/bash\nsrc=$1\ndst=$2\ncp -avr \"$src/.\"  \"$dst\"",
          "file": "$CACHE/bulkcopy-alt.sh"
        }
      },
      {
        "chmodx": "$CACHE/bulkcopy-alt.sh"
      },
      {
        "execute": {
          "args": "$GAMEDIR/CDD $GAMEDIR/CDD/DISC1",
          "file": "mkdir"
        }
      },
      {
        "execute": {
          "args": "$game $GAMEDIR/HDD",
          "file": "$CACHE/bulkcopy.sh"
        }
      },
      {
        "insert-disc": {
          "description": "Please insert disc 1",
          "requires": "bitdata"
        }
      },
      {
        "execute": {
          "args": "$DISC $GAMEDIR/CDD/DISC1",
          "file": "$CACHE/bulkcopy-alt.sh"
        }
      },
      {
        "insert-disc": {
          "description": "Please insert disc 2",
          "requires": "bitdata"
        }
      },
      {
        "execute": {
          "args": "$DISC $GAMEDIR/CDD/DISC1",
          "file": "$CACHE/bulkcopy-alt.sh"
        }
      },
      {
        "insert-disc": {
          "description": "Please insert disc 3",
          "requires": "bitdata"
        }
      },
      {
        "execute": {
          "args": "$DISC $GAMEDIR/CDD/DISC1",
          "file": "$CACHE/bulkcopy-alt.sh"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/HDD/runexit",
          "file": "$runexit",
          "format": "zip"
        }
      },
      {
        "execute": {
          "args": "-R 775  \"$GAMEDIR/CDD\"",
          "file": "/bin/chmod"
        }
      },
      {
        "write_file": {
          "content": "[sblaster]\nirq=5\n[sdl]\nsensitivity=20\n[autoexec]\nmount C \"$GAMEDIR/HDD\" -t dir\nmount D \"$GAMEDIR/CDD/DISC1\" -t cdrom\nSET PATH=%PATH%;C:\\WINDOWS;C:\\runexit\nSET TEMP=C:\\WINDOWS\\TEMP\nC:\nwin D:\\bitsetup.exe\nexit",
          "file": "$GAMEDIR/journeyman-setup.conf"
        }
      },
      {
        "task": {
          "config_file": "$GAMEDIR/journeyman-setup.conf",
          "name": "dosexec",
          "working_dir": "$GAMEDIR/HDD"
        }
      },
      {
        "write_file": {
          "content": "[sblaster]\nirq=5\n[sdl]\nsensitivity=20\n[autoexec]\nmount C \"$GAMEDIR/HDD\" -t dir\nmount D \"$GAMEDIR/CDD/DISC1\" -t cdrom\nSET PATH=%PATH%;C:\\WINDOWS;C:\\runexit\nSET TEMP=C:\\WINDOWS\\TEMP\nC:\nwin\nexit",
          "file": "$GAMEDIR/journeyman.conf"
        }
      }
    ]
  }
}
Back to game