Installer theme-hospital-gog

files:
- gogsetup: N/A:Please select the GOG.com Windows installer
game:
  config_file: $GAMEDIR/dosbox_conf/dosboxTH.conf
  main_file: $GAMEDIR/dosbox_conf/dosboxTH_single.conf
installer:
- extract:
    dst: $GAMEDIR
    file: gogsetup
    format: gog
- merge:
    dst: $GAMEDIR
    src: $GAMEDIR/__support/save
- merge:
    dst: $GAMEDIR/dosbox_conf
    src: $GAMEDIR/__support/app
- input_menu:
    description: 'Choose the game''s language:'
    id: LANG
    options:
    - GER: German
    - ENG: English
    - FR: French
    - ITA: Italian
    - SW: Swedish
    - SPA: Spanish
    preselect: ENG
- execute:
    command: cd "$GAMEDIR"; sed -i "s/LANGUAGE=.*/LANGUAGE=$INPUT_LANG/g" HOSPITAL.CFG;
description: Play "Theme Hospital" provided by GOG on Linux!
game_slug: theme-hospital
gogslug: theme_hospital
humblestoreid: ''
installer_slug: theme-hospital-gog
name: Theme Hospital
notes: '- Multilanguage: choose your preferred language for interface and game texts
  between German, English, French, Italian, Swedish and Spanish'
runner: dosbox
script:
  files:
  - gogsetup: N/A:Please select the GOG.com Windows installer
  game:
    config_file: $GAMEDIR/dosbox_conf/dosboxTH.conf
    main_file: $GAMEDIR/dosbox_conf/dosboxTH_single.conf
  installer:
  - extract:
      dst: $GAMEDIR
      file: gogsetup
      format: gog
  - merge:
      dst: $GAMEDIR
      src: $GAMEDIR/__support/save
  - merge:
      dst: $GAMEDIR/dosbox_conf
      src: $GAMEDIR/__support/app
  - input_menu:
      description: 'Choose the game''s language:'
      id: LANG
      options:
      - GER: German
      - ENG: English
      - FR: French
      - ITA: Italian
      - SW: Swedish
      - SPA: Spanish
      preselect: ENG
  - execute:
      command: cd "$GAMEDIR"; sed -i "s/LANGUAGE=.*/LANGUAGE=$INPUT_LANG/g" HOSPITAL.CFG;
slug: theme-hospital-gog
steamid: null
version: GOG
year: 1997
{
  "game_slug": "theme-hospital",
  "version": "GOG",
  "description": "Play \"Theme Hospital\" provided by GOG on Linux!",
  "notes": "- Multilanguage: choose your preferred language for interface and game texts between German, English, French, Italian, Swedish and Spanish",
  "name": "Theme Hospital",
  "year": 1997,
  "steamid": null,
  "gogslug": "theme_hospital",
  "humblestoreid": "",
  "runner": "dosbox",
  "slug": "theme-hospital-gog",
  "installer_slug": "theme-hospital-gog",
  "script": {
    "files": [
      {
        "gogsetup": "N/A:Please select the GOG.com Windows installer"
      }
    ],
    "game": {
      "config_file": "$GAMEDIR/dosbox_conf/dosboxTH.conf",
      "main_file": "$GAMEDIR/dosbox_conf/dosboxTH_single.conf"
    },
    "installer": [
      {
        "extract": {
          "dst": "$GAMEDIR",
          "file": "gogsetup",
          "format": "gog"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR",
          "src": "$GAMEDIR/__support/save"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/dosbox_conf",
          "src": "$GAMEDIR/__support/app"
        }
      },
      {
        "input_menu": {
          "description": "Choose the game's language:",
          "id": "LANG",
          "options": [
            {
              "GER": "German"
            },
            {
              "ENG": "English"
            },
            {
              "FR": "French"
            },
            {
              "ITA": "Italian"
            },
            {
              "SW": "Swedish"
            },
            {
              "SPA": "Spanish"
            }
          ],
          "preselect": "ENG"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR\"; sed -i \"s/LANGUAGE=.*/LANGUAGE=$INPUT_LANG/g\" HOSPITAL.CFG;"
        }
      }
    ]
  }
}
Back to game