Installer toonstruck-cd-dosbox

custom-name: Toonstruck - CD - 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/Toonstruck/toonstruck_dosbox.conf
game:
  main_file: $GAMEDIR/toonstruck_dosbox.conf
installer:
- insert-disc:
    description: Please insert disc 1
    requires: act1/arcaddbl/arcaddbl.pak
- extract:
    dst: $GAMEDIR
    src: cdrtools
- chmodx: script
- execute:
    args: TOON 0
    file: script
- insert-disc:
    description: Please insert disc 2
    requires: act2/armory/armory.pak
- execute:
    args: TOONS
    file: script
- execute:
    command: cd $GAMEDIR; mv TOON.cue TOONSTRUCK_CD1.cue; mv TOON.bin TOONSTRUCK_CD1.bin;
      mv TOONS.cue TOONSTRUCK_CD2.cue; mv TOONS.bin TOONSTRUCK_CD2.bin; sed -i 's/TOON.bin/TOONSTRUCK_CD1.bin/g'
      TOONSTRUCK_CD1.cue; sed -i 's/TOONS.bin/TOONSTRUCK_CD2.bin/g' TOONSTRUCK_CD2.cue;
- copy:
    dst: $GAMEDIR
    src: conf
description: '"Toonstruck" CD edition for DOSBox.'
game_slug: toonstruck
gogslug: toonstruck
humblestoreid: ''
installer_slug: toonstruck-cd-dosbox
name: Toonstruck
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: Toonstruck - CD - 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/Toonstruck/toonstruck_dosbox.conf
  game:
    main_file: $GAMEDIR/toonstruck_dosbox.conf
  installer:
  - insert-disc:
      description: Please insert disc 1
      requires: act1/arcaddbl/arcaddbl.pak
  - extract:
      dst: $GAMEDIR
      src: cdrtools
  - chmodx: script
  - execute:
      args: TOON 0
      file: script
  - insert-disc:
      description: Please insert disc 2
      requires: act2/armory/armory.pak
  - execute:
      args: TOONS
      file: script
  - execute:
      command: cd $GAMEDIR; mv TOON.cue TOONSTRUCK_CD1.cue; mv TOON.bin TOONSTRUCK_CD1.bin;
        mv TOONS.cue TOONSTRUCK_CD2.cue; mv TOONS.bin TOONSTRUCK_CD2.bin; sed -i 's/TOON.bin/TOONSTRUCK_CD1.bin/g'
        TOONSTRUCK_CD1.cue; sed -i 's/TOONS.bin/TOONSTRUCK_CD2.bin/g' TOONSTRUCK_CD2.cue;
  - copy:
      dst: $GAMEDIR
      src: conf
slug: toonstruck-cd-dosbox
steamid: 369830
version: CD + DOSBox
year: 1996
{
  "game_slug": "toonstruck",
  "version": "CD + DOSBox",
  "description": "\"Toonstruck\" 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": "Toonstruck",
  "year": 1996,
  "steamid": 369830,
  "gogslug": "toonstruck",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "toonstruck-cd-dosbox",
  "installer_slug": "toonstruck-cd-dosbox",
  "script": {
    "custom-name": "Toonstruck - CD - 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/Toonstruck/toonstruck_dosbox.conf"
      }
    ],
    "game": {
      "main_file": "$GAMEDIR/toonstruck_dosbox.conf"
    },
    "installer": [
      {
        "insert-disc": {
          "description": "Please insert disc 1",
          "requires": "act1/arcaddbl/arcaddbl.pak"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR",
          "src": "cdrtools"
        }
      },
      {
        "chmodx": "script"
      },
      {
        "execute": {
          "args": "TOON 0",
          "file": "script"
        }
      },
      {
        "insert-disc": {
          "description": "Please insert disc 2",
          "requires": "act2/armory/armory.pak"
        }
      },
      {
        "execute": {
          "args": "TOONS",
          "file": "script"
        }
      },
      {
        "execute": {
          "command": "cd $GAMEDIR; mv TOON.cue TOONSTRUCK_CD1.cue; mv TOON.bin TOONSTRUCK_CD1.bin; mv TOONS.cue TOONSTRUCK_CD2.cue; mv TOONS.bin TOONSTRUCK_CD2.bin; sed -i 's/TOON.bin/TOONSTRUCK_CD1.bin/g' TOONSTRUCK_CD1.cue; sed -i 's/TOONS.bin/TOONSTRUCK_CD2.bin/g' TOONSTRUCK_CD2.cue;"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR",
          "src": "conf"
        }
      }
    ]
  }
}
Back to game