Installer warcraft-ii-tides-of-darkness-original-1995-dos-cd

game:
  main_file: $GAMEDIR/war2.conf
installer:
- insert-disc:
    requires: war2.exa
- execute:
    args: unmount -b /dev/cdrom
    description: Peparing CD-ROM copy
    file: /usr/bin/udisksctl
- execute:
    args: -p $GAMEDIR/C $GAMEDIR/CD
    description: Creating directories
    file: /bin/mkdir
- execute:
    args: 'read-cd --read-raw --device /dev/cdrom --driver generic-mmc:0x20000 --datafile
      "$GAMEDIR/CD/SIEDLER2.bin" $GAMEDIR/CD/WAR2.toc

      '
    description: Copying CD-ROM
    file: /usr/bin/cdrdao
    terminal: false
- execute:
    args: '$GAMEDIR/CD/WAR2.toc $GAMEDIR/CD/WAR2.cue

      '
    description: Creating cue sheet for CD-ROM image
    file: /usr/bin/toc2cue
    terminal: false
- write_file:
    content: '[autoexec]

      imgmount D $GAMEDIR/CD/WAR2.cue -t cdrom

      config -securemode

      C:

      install.bat

      exit

      '
    description: Creating Dosbox Configuration for installation
    file: $GAMEDIR/install.conf
- write_file:
    content: 'd:

      SETUP.EXE

      exit

      '
    description: Creating install script
    file: $GAMEDIR/C/install.bat
- task:
    config_file: $GAMEDIR/install.conf
    description: Installing - please always select default options
    executable: $GAMEDIR/C
    name: dosexec
- execute:
    args: '-f $GAMEDIR/C/install.bat $GAMEDIR/install.conf

      '
    description: Cleaning up
    file: /bin/rm
    terminal: false
- write_file:
    content: '[cpu]

      cycles = fixed 20000

      [autoexec]

      mount c $GAMEDIR/C

      imgmount d $GAMEDIR/CD/WAR2.cue -t cdrom

      c:

      cd \WAR2

      config -t securemode

      c:\WAR2\WAR2.EXE

      exit

      '
    description: Creating DosBox config file
    file: $GAMEDIR/war2.conf
- write_file:
    content: ';

      ;Miles Design Audio Interface Library V3.03 of 7-Nov-95

      ;

      DEVICE      Creative Labs Sound Blaster 16 or AWE32

      DRIVER      SB16.DIG

      IO_ADDR     220h

      IRQ         -1

      DMA_8_BIT   -1

      DMA_16_BIT  -1

      '
    description: Creating sound configuration file
    file: $GAMEDIR/C/WAR2/DIG.INI
- write_file:
    content: ';

      ;Miles Design Audio Interface Library V3.03 of 7-Nov-95

      ;

      DEVICE      Creative Labs Sound Blaster 16 or AWE32

      DRIVER      SBPRO2.MDI

      IO_ADDR     220h

      IRQ         -1

      DMA_8_BIT   -1

      DMA_16_BIT  -1'
    description: Creating Midi configuration file
    file: $GAMEDIR/C/WAR2/MDI.INI
require-binaries: cdrdao, toc2cue, udisksctl
description: Use this installer if you have a DOS CD-ROM containing "WAR2.EXA". The
  installer will copy the CD-ROM to your hard disk
game_slug: warcraft-ii-tides-of-darkness
gogslug: warcraft_i_ii_bundle_war_wind_2
humblestoreid: ''
installer_slug: warcraft-ii-tides-of-darkness-original-1995-dos-cd
name: 'Warcraft II: Tides of Darkness'
notes: ''
runner: dosbox
script:
  game:
    main_file: $GAMEDIR/war2.conf
  installer:
  - insert-disc:
      requires: war2.exa
  - execute:
      args: unmount -b /dev/cdrom
      description: Peparing CD-ROM copy
      file: /usr/bin/udisksctl
  - execute:
      args: -p $GAMEDIR/C $GAMEDIR/CD
      description: Creating directories
      file: /bin/mkdir
  - execute:
      args: 'read-cd --read-raw --device /dev/cdrom --driver generic-mmc:0x20000 --datafile
        "$GAMEDIR/CD/SIEDLER2.bin" $GAMEDIR/CD/WAR2.toc

        '
      description: Copying CD-ROM
      file: /usr/bin/cdrdao
      terminal: false
  - execute:
      args: '$GAMEDIR/CD/WAR2.toc $GAMEDIR/CD/WAR2.cue

        '
      description: Creating cue sheet for CD-ROM image
      file: /usr/bin/toc2cue
      terminal: false
  - write_file:
      content: '[autoexec]

        imgmount D $GAMEDIR/CD/WAR2.cue -t cdrom

        config -securemode

        C:

        install.bat

        exit

        '
      description: Creating Dosbox Configuration for installation
      file: $GAMEDIR/install.conf
  - write_file:
      content: 'd:

        SETUP.EXE

        exit

        '
      description: Creating install script
      file: $GAMEDIR/C/install.bat
  - task:
      config_file: $GAMEDIR/install.conf
      description: Installing - please always select default options
      executable: $GAMEDIR/C
      name: dosexec
  - execute:
      args: '-f $GAMEDIR/C/install.bat $GAMEDIR/install.conf

        '
      description: Cleaning up
      file: /bin/rm
      terminal: false
  - write_file:
      content: '[cpu]

        cycles = fixed 20000

        [autoexec]

        mount c $GAMEDIR/C

        imgmount d $GAMEDIR/CD/WAR2.cue -t cdrom

        c:

        cd \WAR2

        config -t securemode

        c:\WAR2\WAR2.EXE

        exit

        '
      description: Creating DosBox config file
      file: $GAMEDIR/war2.conf
  - write_file:
      content: ';

        ;Miles Design Audio Interface Library V3.03 of 7-Nov-95

        ;

        DEVICE      Creative Labs Sound Blaster 16 or AWE32

        DRIVER      SB16.DIG

        IO_ADDR     220h

        IRQ         -1

        DMA_8_BIT   -1

        DMA_16_BIT  -1

        '
      description: Creating sound configuration file
      file: $GAMEDIR/C/WAR2/DIG.INI
  - write_file:
      content: ';

        ;Miles Design Audio Interface Library V3.03 of 7-Nov-95

        ;

        DEVICE      Creative Labs Sound Blaster 16 or AWE32

        DRIVER      SBPRO2.MDI

        IO_ADDR     220h

        IRQ         -1

        DMA_8_BIT   -1

        DMA_16_BIT  -1'
      description: Creating Midi configuration file
      file: $GAMEDIR/C/WAR2/MDI.INI
  require-binaries: cdrdao, toc2cue, udisksctl
slug: warcraft-ii-tides-of-darkness-original-1995-dos-cd
steamid: null
version: Original 1995 DOS CD-ROM (no bat
year: 1999
{
  "game_slug": "warcraft-ii-tides-of-darkness",
  "version": "Original 1995 DOS CD-ROM (no bat",
  "description": "Use this installer if you have a DOS CD-ROM containing \"WAR2.EXA\". The installer will copy the CD-ROM to your hard disk",
  "notes": "",
  "name": "Warcraft II: Tides of Darkness",
  "year": 1999,
  "steamid": null,
  "gogslug": "warcraft_i_ii_bundle_war_wind_2",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "warcraft-ii-tides-of-darkness-original-1995-dos-cd",
  "installer_slug": "warcraft-ii-tides-of-darkness-original-1995-dos-cd",
  "script": {
    "game": {
      "main_file": "$GAMEDIR/war2.conf"
    },
    "installer": [
      {
        "insert-disc": {
          "requires": "war2.exa"
        }
      },
      {
        "execute": {
          "args": "unmount -b /dev/cdrom",
          "description": "Peparing CD-ROM copy",
          "file": "/usr/bin/udisksctl"
        }
      },
      {
        "execute": {
          "args": "-p $GAMEDIR/C $GAMEDIR/CD",
          "description": "Creating directories",
          "file": "/bin/mkdir"
        }
      },
      {
        "execute": {
          "args": "read-cd --read-raw --device /dev/cdrom --driver generic-mmc:0x20000 --datafile \"$GAMEDIR/CD/SIEDLER2.bin\" $GAMEDIR/CD/WAR2.toc\n",
          "description": "Copying CD-ROM",
          "file": "/usr/bin/cdrdao",
          "terminal": false
        }
      },
      {
        "execute": {
          "args": "$GAMEDIR/CD/WAR2.toc $GAMEDIR/CD/WAR2.cue\n",
          "description": "Creating cue sheet for CD-ROM image",
          "file": "/usr/bin/toc2cue",
          "terminal": false
        }
      },
      {
        "write_file": {
          "content": "[autoexec]\nimgmount D $GAMEDIR/CD/WAR2.cue -t cdrom\nconfig -securemode\nC:\ninstall.bat\nexit\n",
          "description": "Creating Dosbox Configuration for installation",
          "file": "$GAMEDIR/install.conf"
        }
      },
      {
        "write_file": {
          "content": "d:\nSETUP.EXE\nexit\n",
          "description": "Creating install script",
          "file": "$GAMEDIR/C/install.bat"
        }
      },
      {
        "task": {
          "config_file": "$GAMEDIR/install.conf",
          "description": "Installing - please always select default options",
          "executable": "$GAMEDIR/C",
          "name": "dosexec"
        }
      },
      {
        "execute": {
          "args": "-f $GAMEDIR/C/install.bat $GAMEDIR/install.conf\n",
          "description": "Cleaning up",
          "file": "/bin/rm",
          "terminal": false
        }
      },
      {
        "write_file": {
          "content": "[cpu]\ncycles = fixed 20000\n[autoexec]\nmount c $GAMEDIR/C\nimgmount d $GAMEDIR/CD/WAR2.cue -t cdrom\nc:\ncd \\WAR2\nconfig -t securemode\nc:\\WAR2\\WAR2.EXE\nexit\n",
          "description": "Creating DosBox config file",
          "file": "$GAMEDIR/war2.conf"
        }
      },
      {
        "write_file": {
          "content": ";\n;Miles Design Audio Interface Library V3.03 of 7-Nov-95\n;\nDEVICE      Creative Labs Sound Blaster 16 or AWE32\nDRIVER      SB16.DIG\nIO_ADDR     220h\nIRQ         -1\nDMA_8_BIT   -1\nDMA_16_BIT  -1\n",
          "description": "Creating sound configuration file",
          "file": "$GAMEDIR/C/WAR2/DIG.INI"
        }
      },
      {
        "write_file": {
          "content": ";\n;Miles Design Audio Interface Library V3.03 of 7-Nov-95\n;\nDEVICE      Creative Labs Sound Blaster 16 or AWE32\nDRIVER      SBPRO2.MDI\nIO_ADDR     220h\nIRQ         -1\nDMA_8_BIT   -1\nDMA_16_BIT  -1",
          "description": "Creating Midi configuration file",
          "file": "$GAMEDIR/C/WAR2/MDI.INI"
        }
      }
    ],
    "require-binaries": "cdrdao, toc2cue, udisksctl"
  }
}
Back to game