Installer simcity-2000-cd-special-edition

files:
- game_cd:
    filename: SimCity 2000 - Special Edition (Maxis, Inc.)(1996).ISO
    url: https://archive.org/download/SimCity_2000_Special_Edition_Maxis_Inc._1996/SimCity%202000%20-%20Special%20Edition%20%28Maxis%2C%20Inc.%29%281996%29.ISO
game:
  main_file: $GAMEDIR/dosbox.conf
installer:
- copy:
    dst: $GAMEDIR/CD
    src: game_cd
- write_file:
    content: '[autoexec]

      @echo off

      mount c C

      imgmount d "CD/SimCity 2000 - Special Edition (Maxis, Inc.)(1996).ISO" -t iso
      -fs iso

      if not exist "c:\SC2000" goto :install

      :play

      c:

      cd SC2000

      SC2VESA.BAT

      goto :exit

      :install

      d:

      cd dos

      call install

      goto :play

      :exit

      exit'
    file: $GAMEDIR/dosbox.conf
- execute:
    command: cd "$GAMEDIR" ; mkdir C ;
description: Play "SimCity 2000 Special Edition" on Linux!
game_slug: simcity-2000
gogslug: simcity_2000_special_edition
humblestoreid: ''
installer_slug: simcity-2000-cd-special-edition
name: SimCity 2000
notes: '- DOS version'
runner: dosbox
script:
  files:
  - game_cd:
      filename: SimCity 2000 - Special Edition (Maxis, Inc.)(1996).ISO
      url: https://archive.org/download/SimCity_2000_Special_Edition_Maxis_Inc._1996/SimCity%202000%20-%20Special%20Edition%20%28Maxis%2C%20Inc.%29%281996%29.ISO
  game:
    main_file: $GAMEDIR/dosbox.conf
  installer:
  - copy:
      dst: $GAMEDIR/CD
      src: game_cd
  - write_file:
      content: '[autoexec]

        @echo off

        mount c C

        imgmount d "CD/SimCity 2000 - Special Edition (Maxis, Inc.)(1996).ISO" -t
        iso -fs iso

        if not exist "c:\SC2000" goto :install

        :play

        c:

        cd SC2000

        SC2VESA.BAT

        goto :exit

        :install

        d:

        cd dos

        call install

        goto :play

        :exit

        exit'
      file: $GAMEDIR/dosbox.conf
  - execute:
      command: cd "$GAMEDIR" ; mkdir C ;
slug: simcity-2000-cd-special-edition
steamid: null
version: CD Special Edition
year: 1994
{
  "game_slug": "simcity-2000",
  "version": "CD Special Edition",
  "description": "Play \"SimCity 2000 Special Edition\" on Linux!",
  "notes": "- DOS version",
  "name": "SimCity 2000",
  "year": 1994,
  "steamid": null,
  "gogslug": "simcity_2000_special_edition",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "simcity-2000-cd-special-edition",
  "installer_slug": "simcity-2000-cd-special-edition",
  "script": {
    "files": [
      {
        "game_cd": {
          "filename": "SimCity 2000 - Special Edition (Maxis, Inc.)(1996).ISO",
          "url": "https://archive.org/download/SimCity_2000_Special_Edition_Maxis_Inc._1996/SimCity%202000%20-%20Special%20Edition%20%28Maxis%2C%20Inc.%29%281996%29.ISO"
        }
      }
    ],
    "game": {
      "main_file": "$GAMEDIR/dosbox.conf"
    },
    "installer": [
      {
        "copy": {
          "dst": "$GAMEDIR/CD",
          "src": "game_cd"
        }
      },
      {
        "write_file": {
          "content": "[autoexec]\n@echo off\nmount c C\nimgmount d \"CD/SimCity 2000 - Special Edition (Maxis, Inc.)(1996).ISO\" -t iso -fs iso\nif not exist \"c:\\SC2000\" goto :install\n:play\nc:\ncd SC2000\nSC2VESA.BAT\ngoto :exit\n:install\nd:\ncd dos\ncall install\ngoto :play\n:exit\nexit",
          "file": "$GAMEDIR/dosbox.conf"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR\" ; mkdir C ;"
        }
      }
    ]
  }
}
Back to game