Installer tex-murphy-under-a-killing-mo-4cd

game:
  main_file: $GAMEDIR/moon.conf
installer:
- 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/HDD $GAMEDIR/CDD $GAMEDIR/CDD/DISC1 $GAMEDIR/CDD/DISC2 $GAMEDIR/CDD/DISC3
      $GAMEDIR/CDD/DISC4
    file: mkdir
- insert-disc:
    description: Please insert disc 1
    requires: mastertx
- execute:
    args: $DISC "$GAMEDIR/CDD/DISC1"
    file: $CACHE/bulkcopy-alt.sh
- execute:
    args: -R 775  "$GAMEDIR/CDD/DISC1"
    file: /bin/chmod
- insert-disc:
    description: Please insert disc 2
    requires: mastertx
- execute:
    args: $DISC "$GAMEDIR/CDD/DISC2"
    file: $CACHE/bulkcopy-alt.sh
- execute:
    args: -R 775  "$GAMEDIR/CDD/DISC2"
    file: /bin/chmod
- insert-disc:
    description: Please insert disc 3
    requires: mastertx
- execute:
    args: $DISC "$GAMEDIR/CDD/DISC3"
    file: $CACHE/bulkcopy-alt.sh
- execute:
    args: -R 775  "$GAMEDIR/CDD/DISC3"
    file: /bin/chmod
- insert-disc:
    description: Please insert disc 4
    requires: mastertx
- execute:
    args: $DISC "$GAMEDIR/CDD/DISC4"
    file: $CACHE/bulkcopy-alt.sh
- execute:
    args: -R 775  "$GAMEDIR/CDD/DISC4"
    file: /bin/chmod
- write_file:
    content: '[sdl]

      sensitivity=12

      [autoexec]

      mount C "$GAMEDIR/HDD" -t dir

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

      mount E "$GAMEDIR/CDD/DISC2" -label DISK2 -t cdrom

      mount F "$GAMEDIR/CDD/DISC3" -label DISK3 -t cdrom

      mount G "$GAMEDIR/CDD/DISC4" -label DISK4 -t cdrom

      D:

      install

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

      sensitivity=12

      fullresolution=desktop

      windowresolution=original

      output=opengl

      [render]

      aspect=true

      scaler=normal2x

      [autoexec]

      mount C "$GAMEDIR/HDD" -t dir

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

      mount E "$GAMEDIR/CDD/DISC2" -label DISK2 -t cdrom

      mount F "$GAMEDIR/CDD/DISC3" -label DISK3 -t cdrom

      mount G "$GAMEDIR/CDD/DISC4" -label DISK4 -t cdrom

      C:

      cd moon

      tex3

      exit'
    file: $GAMEDIR/moon.conf
description: "In game config set \r\nDisc 1 D\r\nDisc 2 E\r\nDisc 3 F\r\nDisc 4 G"
game_slug: tex-murphy-under-a-killing-moon
gogslug: tex_murphy_under_a_killing_moon
humblestoreid: ''
installer_slug: tex-murphy-under-a-killing-mo-4cd
name: 'Tex Murphy: Under a Killing Moon'
notes: ''
runner: dosbox
script:
  game:
    main_file: $GAMEDIR/moon.conf
  installer:
  - 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/HDD $GAMEDIR/CDD $GAMEDIR/CDD/DISC1 $GAMEDIR/CDD/DISC2 $GAMEDIR/CDD/DISC3
        $GAMEDIR/CDD/DISC4
      file: mkdir
  - insert-disc:
      description: Please insert disc 1
      requires: mastertx
  - execute:
      args: $DISC "$GAMEDIR/CDD/DISC1"
      file: $CACHE/bulkcopy-alt.sh
  - execute:
      args: -R 775  "$GAMEDIR/CDD/DISC1"
      file: /bin/chmod
  - insert-disc:
      description: Please insert disc 2
      requires: mastertx
  - execute:
      args: $DISC "$GAMEDIR/CDD/DISC2"
      file: $CACHE/bulkcopy-alt.sh
  - execute:
      args: -R 775  "$GAMEDIR/CDD/DISC2"
      file: /bin/chmod
  - insert-disc:
      description: Please insert disc 3
      requires: mastertx
  - execute:
      args: $DISC "$GAMEDIR/CDD/DISC3"
      file: $CACHE/bulkcopy-alt.sh
  - execute:
      args: -R 775  "$GAMEDIR/CDD/DISC3"
      file: /bin/chmod
  - insert-disc:
      description: Please insert disc 4
      requires: mastertx
  - execute:
      args: $DISC "$GAMEDIR/CDD/DISC4"
      file: $CACHE/bulkcopy-alt.sh
  - execute:
      args: -R 775  "$GAMEDIR/CDD/DISC4"
      file: /bin/chmod
  - write_file:
      content: '[sdl]

        sensitivity=12

        [autoexec]

        mount C "$GAMEDIR/HDD" -t dir

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

        mount E "$GAMEDIR/CDD/DISC2" -label DISK2 -t cdrom

        mount F "$GAMEDIR/CDD/DISC3" -label DISK3 -t cdrom

        mount G "$GAMEDIR/CDD/DISC4" -label DISK4 -t cdrom

        D:

        install

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

        sensitivity=12

        fullresolution=desktop

        windowresolution=original

        output=opengl

        [render]

        aspect=true

        scaler=normal2x

        [autoexec]

        mount C "$GAMEDIR/HDD" -t dir

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

        mount E "$GAMEDIR/CDD/DISC2" -label DISK2 -t cdrom

        mount F "$GAMEDIR/CDD/DISC3" -label DISK3 -t cdrom

        mount G "$GAMEDIR/CDD/DISC4" -label DISK4 -t cdrom

        C:

        cd moon

        tex3

        exit'
      file: $GAMEDIR/moon.conf
slug: tex-murphy-under-a-killing-mo-4cd
steamid: 302350
version: 4CD
year: 1994
{
  "game_slug": "tex-murphy-under-a-killing-moon",
  "version": "4CD",
  "description": "In game config set \r\nDisc 1 D\r\nDisc 2 E\r\nDisc 3 F\r\nDisc 4 G",
  "notes": "",
  "name": "Tex Murphy: Under a Killing Moon",
  "year": 1994,
  "steamid": 302350,
  "gogslug": "tex_murphy_under_a_killing_moon",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "tex-murphy-under-a-killing-mo-4cd",
  "installer_slug": "tex-murphy-under-a-killing-mo-4cd",
  "script": {
    "game": {
      "main_file": "$GAMEDIR/moon.conf"
    },
    "installer": [
      {
        "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/HDD $GAMEDIR/CDD $GAMEDIR/CDD/DISC1 $GAMEDIR/CDD/DISC2 $GAMEDIR/CDD/DISC3 $GAMEDIR/CDD/DISC4",
          "file": "mkdir"
        }
      },
      {
        "insert-disc": {
          "description": "Please insert disc 1",
          "requires": "mastertx"
        }
      },
      {
        "execute": {
          "args": "$DISC \"$GAMEDIR/CDD/DISC1\"",
          "file": "$CACHE/bulkcopy-alt.sh"
        }
      },
      {
        "execute": {
          "args": "-R 775  \"$GAMEDIR/CDD/DISC1\"",
          "file": "/bin/chmod"
        }
      },
      {
        "insert-disc": {
          "description": "Please insert disc 2",
          "requires": "mastertx"
        }
      },
      {
        "execute": {
          "args": "$DISC \"$GAMEDIR/CDD/DISC2\"",
          "file": "$CACHE/bulkcopy-alt.sh"
        }
      },
      {
        "execute": {
          "args": "-R 775  \"$GAMEDIR/CDD/DISC2\"",
          "file": "/bin/chmod"
        }
      },
      {
        "insert-disc": {
          "description": "Please insert disc 3",
          "requires": "mastertx"
        }
      },
      {
        "execute": {
          "args": "$DISC \"$GAMEDIR/CDD/DISC3\"",
          "file": "$CACHE/bulkcopy-alt.sh"
        }
      },
      {
        "execute": {
          "args": "-R 775  \"$GAMEDIR/CDD/DISC3\"",
          "file": "/bin/chmod"
        }
      },
      {
        "insert-disc": {
          "description": "Please insert disc 4",
          "requires": "mastertx"
        }
      },
      {
        "execute": {
          "args": "$DISC \"$GAMEDIR/CDD/DISC4\"",
          "file": "$CACHE/bulkcopy-alt.sh"
        }
      },
      {
        "execute": {
          "args": "-R 775  \"$GAMEDIR/CDD/DISC4\"",
          "file": "/bin/chmod"
        }
      },
      {
        "write_file": {
          "content": "[sdl]\nsensitivity=12\n[autoexec]\nmount C \"$GAMEDIR/HDD\" -t dir\nmount D \"$GAMEDIR/CDD/DISC1\" -label DISK1 -t cdrom\nmount E \"$GAMEDIR/CDD/DISC2\" -label DISK2 -t cdrom\nmount F \"$GAMEDIR/CDD/DISC3\" -label DISK3 -t cdrom\nmount G \"$GAMEDIR/CDD/DISC4\" -label DISK4 -t cdrom\nD:\ninstall\nexit",
          "file": "$GAMEDIR/moon_setup.conf"
        }
      },
      {
        "task": {
          "config_file": "$GAMEDIR/moon_setup.conf",
          "name": "dosexec",
          "working_dir": "$GAMEDIR/HDD/"
        }
      },
      {
        "write_file": {
          "content": "[sdl]\nsensitivity=12\nfullresolution=desktop\nwindowresolution=original\noutput=opengl\n[render]\naspect=true\nscaler=normal2x\n[autoexec]\nmount C \"$GAMEDIR/HDD\" -t dir\nmount D \"$GAMEDIR/CDD/DISC1\" -label DISK1 -t cdrom\nmount E \"$GAMEDIR/CDD/DISC2\" -label DISK2 -t cdrom\nmount F \"$GAMEDIR/CDD/DISC3\" -label DISK3 -t cdrom\nmount G \"$GAMEDIR/CDD/DISC4\" -label DISK4 -t cdrom\nC:\ncd moon\ntex3\nexit",
          "file": "$GAMEDIR/moon.conf"
        }
      }
    ]
  }
}
Back to game