Installer simcity-2000-ms-dos

files:
- game: N/A:Select the file SC2000.EXE
game:
  main_file: $GAMEDIR/city.conf
installer:
- execute:
    args: $GAMEDIR/HDD $GAMEDIR/HDD/city
    file: mkdir
- write_file:
    content: '#!/bin/bash

      src=$1

      dst=$2

      src_path=$(echo "$1" | sed -r "s/(.+)\/.+/\1/")

      cp -avr "$src_path/."  "$dst"'
    file: $CACHE/bulkcopy.sh
- chmodx: $CACHE/bulkcopy.sh
- execute:
    args: $game $GAMEDIR/HDD/city
    file: $CACHE/bulkcopy.sh
- execute:
    args: -R 775  "$GAMEDIR"
    file: /bin/chmod
- write_file:
    content: '[sdl]

      sensitivity=20

      fullscreen=true

      fulldouble=true

      fullresolution=desktop

      windowresolution=desktop

      output=opengl

      [autoexec]

      mount C "$GAMEDIR/HDD" -t dir

      C:

      cd city

      cls

      ECHO OFF

      goto launcher

      :launcher

      cls

      ECHO  -------------------------------------------

      ECHO                SimCity 2000

      ECHO  -------------------------------------------

      ECHO   1) Played Game

      ECHO   2) Setup

      ECHO  -------------------------------------------

      ECHO   3) exit program

      ECHO  -------------------------------------------


      choice /c123 /s Which program do you want to run? [1-3]: /n

      if errorlevel 3 goto exit

      if errorlevel 2 goto setup

      if errorlevel 1 goto game


      :game

      cls

      SC2000.EXE

      goto exit


      :setup

      cls

      INSTALL.EXE

      goto launcher


      :exit

      exit

      exit'
    file: $GAMEDIR/city.conf
description: null
game_slug: simcity-2000
gogslug: simcity_2000_special_edition
humblestoreid: ''
installer_slug: simcity-2000-ms-dos
name: SimCity 2000
notes: ''
runner: dosbox
script:
  files:
  - game: N/A:Select the file SC2000.EXE
  game:
    main_file: $GAMEDIR/city.conf
  installer:
  - execute:
      args: $GAMEDIR/HDD $GAMEDIR/HDD/city
      file: mkdir
  - write_file:
      content: '#!/bin/bash

        src=$1

        dst=$2

        src_path=$(echo "$1" | sed -r "s/(.+)\/.+/\1/")

        cp -avr "$src_path/."  "$dst"'
      file: $CACHE/bulkcopy.sh
  - chmodx: $CACHE/bulkcopy.sh
  - execute:
      args: $game $GAMEDIR/HDD/city
      file: $CACHE/bulkcopy.sh
  - execute:
      args: -R 775  "$GAMEDIR"
      file: /bin/chmod
  - write_file:
      content: '[sdl]

        sensitivity=20

        fullscreen=true

        fulldouble=true

        fullresolution=desktop

        windowresolution=desktop

        output=opengl

        [autoexec]

        mount C "$GAMEDIR/HDD" -t dir

        C:

        cd city

        cls

        ECHO OFF

        goto launcher

        :launcher

        cls

        ECHO  -------------------------------------------

        ECHO                SimCity 2000

        ECHO  -------------------------------------------

        ECHO   1) Played Game

        ECHO   2) Setup

        ECHO  -------------------------------------------

        ECHO   3) exit program

        ECHO  -------------------------------------------


        choice /c123 /s Which program do you want to run? [1-3]: /n

        if errorlevel 3 goto exit

        if errorlevel 2 goto setup

        if errorlevel 1 goto game


        :game

        cls

        SC2000.EXE

        goto exit


        :setup

        cls

        INSTALL.EXE

        goto launcher


        :exit

        exit

        exit'
      file: $GAMEDIR/city.conf
slug: simcity-2000-ms-dos
steamid: null
version: MS-DOS
year: 1994
{
  "game_slug": "simcity-2000",
  "version": "MS-DOS",
  "description": null,
  "notes": "",
  "name": "SimCity 2000",
  "year": 1994,
  "steamid": null,
  "gogslug": "simcity_2000_special_edition",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "simcity-2000-ms-dos",
  "installer_slug": "simcity-2000-ms-dos",
  "script": {
    "files": [
      {
        "game": "N/A:Select the file SC2000.EXE"
      }
    ],
    "game": {
      "main_file": "$GAMEDIR/city.conf"
    },
    "installer": [
      {
        "execute": {
          "args": "$GAMEDIR/HDD $GAMEDIR/HDD/city",
          "file": "mkdir"
        }
      },
      {
        "write_file": {
          "content": "#!/bin/bash\nsrc=$1\ndst=$2\nsrc_path=$(echo \"$1\" | sed -r \"s/(.+)\\/.+/\\1/\")\ncp -avr \"$src_path/.\"  \"$dst\"",
          "file": "$CACHE/bulkcopy.sh"
        }
      },
      {
        "chmodx": "$CACHE/bulkcopy.sh"
      },
      {
        "execute": {
          "args": "$game $GAMEDIR/HDD/city",
          "file": "$CACHE/bulkcopy.sh"
        }
      },
      {
        "execute": {
          "args": "-R 775  \"$GAMEDIR\"",
          "file": "/bin/chmod"
        }
      },
      {
        "write_file": {
          "content": "[sdl]\nsensitivity=20\nfullscreen=true\nfulldouble=true\nfullresolution=desktop\nwindowresolution=desktop\noutput=opengl\n[autoexec]\nmount C \"$GAMEDIR/HDD\" -t dir\nC:\ncd city\ncls\nECHO OFF\ngoto launcher\n:launcher\ncls\nECHO  -------------------------------------------\nECHO                SimCity 2000\nECHO  -------------------------------------------\nECHO   1) Played Game\nECHO   2) Setup\nECHO  -------------------------------------------\nECHO   3) exit program\nECHO  -------------------------------------------\n\nchoice /c123 /s Which program do you want to run? [1-3]: /n\nif errorlevel 3 goto exit\nif errorlevel 2 goto setup\nif errorlevel 1 goto game\n\n:game\ncls\nSC2000.EXE\ngoto exit\n\n:setup\ncls\nINSTALL.EXE\ngoto launcher\n\n:exit\nexit\nexit",
          "file": "$GAMEDIR/city.conf"
        }
      }
    ]
  }
}
Back to game