Installer al-qadim-the-genies-curse-cdrom

game:
  main_file: $GAMEDIR/Al-Qadim.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
    file: mkdir
- insert-disc:
    description: Please insert disc
    requires: install.exe
- execute:
    args: $DISC "$GAMEDIR/CDD/DISC1"
    file: $CACHE/bulkcopy-alt.sh
- execute:
    args: -R 775  "$GAMEDIR/CDD/DISC1"
    file: /bin/chmod
- write_file:
    content: '[sdl]

      sensitivity=30

      [autoexec]

      mount C "$GAMEDIR/HDD" -t dir

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

      D:

      install.exe

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

      sensitivity=30

      [autoexec]

      mount C "$GAMEDIR/HDD" -t dir

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

      C:

      cd genie

      genie

      exit'
    file: $GAMEDIR/Al-Qadim.conf
- execute:
    args: -R 775  "$GAMEDIR"
    file: /bin/chmod
description: null
game_slug: al-qadim-the-genies-curse
gogslug: dd_classics
humblestoreid: ''
installer_slug: al-qadim-the-genies-curse-cdrom
name: 'Al-Qadim: The Genie''s Curse'
notes: ''
runner: dosbox
script:
  game:
    main_file: $GAMEDIR/Al-Qadim.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
      file: mkdir
  - insert-disc:
      description: Please insert disc
      requires: install.exe
  - execute:
      args: $DISC "$GAMEDIR/CDD/DISC1"
      file: $CACHE/bulkcopy-alt.sh
  - execute:
      args: -R 775  "$GAMEDIR/CDD/DISC1"
      file: /bin/chmod
  - write_file:
      content: '[sdl]

        sensitivity=30

        [autoexec]

        mount C "$GAMEDIR/HDD" -t dir

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

        D:

        install.exe

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

        sensitivity=30

        [autoexec]

        mount C "$GAMEDIR/HDD" -t dir

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

        C:

        cd genie

        genie

        exit'
      file: $GAMEDIR/Al-Qadim.conf
  - execute:
      args: -R 775  "$GAMEDIR"
      file: /bin/chmod
slug: al-qadim-the-genies-curse-cdrom
steamid: 1904640
version: CDrom
year: 1993
{
  "game_slug": "al-qadim-the-genies-curse",
  "version": "CDrom",
  "description": null,
  "notes": "",
  "name": "Al-Qadim: The Genie's Curse",
  "year": 1993,
  "steamid": 1904640,
  "gogslug": "dd_classics",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "al-qadim-the-genies-curse-cdrom",
  "installer_slug": "al-qadim-the-genies-curse-cdrom",
  "script": {
    "game": {
      "main_file": "$GAMEDIR/Al-Qadim.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",
          "file": "mkdir"
        }
      },
      {
        "insert-disc": {
          "description": "Please insert disc",
          "requires": "install.exe"
        }
      },
      {
        "execute": {
          "args": "$DISC \"$GAMEDIR/CDD/DISC1\"",
          "file": "$CACHE/bulkcopy-alt.sh"
        }
      },
      {
        "execute": {
          "args": "-R 775  \"$GAMEDIR/CDD/DISC1\"",
          "file": "/bin/chmod"
        }
      },
      {
        "write_file": {
          "content": "[sdl]\nsensitivity=30\n[autoexec]\nmount C \"$GAMEDIR/HDD\" -t dir\nmount D \"$GAMEDIR/CDD/DISC1\" -t cdrom\nD:\ninstall.exe\nexit",
          "file": "$GAMEDIR/Al-Qadim_setup.conf"
        }
      },
      {
        "task": {
          "config_file": "$GAMEDIR/Al-Qadim_setup.conf",
          "name": "dosexec",
          "working_dir": "$GAMEDIR/HDD/"
        }
      },
      {
        "write_file": {
          "content": "[sdl]\nsensitivity=30\n[autoexec]\nmount C \"$GAMEDIR/HDD\" -t dir\nmount D \"$GAMEDIR/CDD/DISC1\" -t cdrom\nC:\ncd genie\ngenie\nexit",
          "file": "$GAMEDIR/Al-Qadim.conf"
        }
      },
      {
        "execute": {
          "args": "-R 775  \"$GAMEDIR\"",
          "file": "/bin/chmod"
        }
      }
    ]
  }
}
Back to game