Installer d-the-game-cd-dos

custom-name: D - The Game - CD DOS - DOSBox
files:
- cdrtools: https://github.com/legluondunet/mlls-tools/raw/master/cdrtools/cdrtools.zip
- script: https://github.com/legluondunet/mlls-tools/raw/master/scripts/copycd.sh
- conf: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/D%20-%20The%20Game/D_dosbox.conf
game:
  main_file: $GAMEDIR/D_dosbox.conf
installer:
- insert-disc:
    description: Please insert disc 1
    requires: d/laura.exe
- extract:
    dst: $GAMEDIR
    src: cdrtools
- chmodx: script
- execute:
    args: disk 0
    file: script
- insert-disc:
    description: Please insert disc 2
    requires: efc/baby.raw
- execute:
    args: D_
    file: script
- execute:
    command: cd $GAMEDIR; rm -f -r *.toc; mv disk.cue D_CD1.cue; mv disk.bin D_CD1.bin;
      mv D_.cue D_CD2.cue; mv D_.bin D_CD2.bin; sed -i 's/disk.bin/D_CD1.bin/g' D_CD1.cue;
      sed -i 's/D_.bin/D_CD2.bin/g' D_CD2.cue
- copy:
    dst: $GAMEDIR
    src: conf
description: '"D" DOS CD edition for DOSBox.'
game_slug: d-the-game
gogslug: d_the_game
humblestoreid: ''
installer_slug: d-the-game-cd-dos
name: 'D: The Game'
notes: "- You will need the 2 CD only during install\r\n- During gaming, type \"CTRL+F4\"\
  \ to change CD1 to CD2"
runner: dosbox
script:
  custom-name: D - The Game - CD DOS - DOSBox
  files:
  - cdrtools: https://github.com/legluondunet/mlls-tools/raw/master/cdrtools/cdrtools.zip
  - script: https://github.com/legluondunet/mlls-tools/raw/master/scripts/copycd.sh
  - conf: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/D%20-%20The%20Game/D_dosbox.conf
  game:
    main_file: $GAMEDIR/D_dosbox.conf
  installer:
  - insert-disc:
      description: Please insert disc 1
      requires: d/laura.exe
  - extract:
      dst: $GAMEDIR
      src: cdrtools
  - chmodx: script
  - execute:
      args: disk 0
      file: script
  - insert-disc:
      description: Please insert disc 2
      requires: efc/baby.raw
  - execute:
      args: D_
      file: script
  - execute:
      command: cd $GAMEDIR; rm -f -r *.toc; mv disk.cue D_CD1.cue; mv disk.bin D_CD1.bin;
        mv D_.cue D_CD2.cue; mv D_.bin D_CD2.bin; sed -i 's/disk.bin/D_CD1.bin/g'
        D_CD1.cue; sed -i 's/D_.bin/D_CD2.bin/g' D_CD2.cue
  - copy:
      dst: $GAMEDIR
      src: conf
slug: d-the-game-cd-dos
steamid: 510590
version: CD DOS
year: 1995
{
  "game_slug": "d-the-game",
  "version": "CD DOS",
  "description": "\"D\" DOS CD edition for DOSBox.",
  "notes": "- You will need the 2 CD only during install\r\n- During gaming, type \"CTRL+F4\" to change CD1 to CD2",
  "name": "D: The Game",
  "year": 1995,
  "steamid": 510590,
  "gogslug": "d_the_game",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "d-the-game-cd-dos",
  "installer_slug": "d-the-game-cd-dos",
  "script": {
    "custom-name": "D - The Game - CD DOS - DOSBox",
    "files": [
      {
        "cdrtools": "https://github.com/legluondunet/mlls-tools/raw/master/cdrtools/cdrtools.zip"
      },
      {
        "script": "https://github.com/legluondunet/mlls-tools/raw/master/scripts/copycd.sh"
      },
      {
        "conf": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/D%20-%20The%20Game/D_dosbox.conf"
      }
    ],
    "game": {
      "main_file": "$GAMEDIR/D_dosbox.conf"
    },
    "installer": [
      {
        "insert-disc": {
          "description": "Please insert disc 1",
          "requires": "d/laura.exe"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR",
          "src": "cdrtools"
        }
      },
      {
        "chmodx": "script"
      },
      {
        "execute": {
          "args": "disk 0",
          "file": "script"
        }
      },
      {
        "insert-disc": {
          "description": "Please insert disc 2",
          "requires": "efc/baby.raw"
        }
      },
      {
        "execute": {
          "args": "D_",
          "file": "script"
        }
      },
      {
        "execute": {
          "command": "cd $GAMEDIR; rm -f -r *.toc; mv disk.cue D_CD1.cue; mv disk.bin D_CD1.bin; mv D_.cue D_CD2.cue; mv D_.bin D_CD2.bin; sed -i 's/disk.bin/D_CD1.bin/g' D_CD1.cue; sed -i 's/D_.bin/D_CD2.bin/g' D_CD2.cue"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR",
          "src": "conf"
        }
      }
    ]
  }
}
Back to game