Installer theme-hospital-gog

This script is for reference only and can't be directly used to install the game in the Lutris client. To install the game, download the full script.

custom-name: Theme Hospital - GOG - DOSBox
files:
- inno: http://constexpr.org/innoextract/files/snapshots/innoextract-1.8-dev-2019-01-13/innoextract-1.8-dev-2019-01-13-linux.tar.xz
- gog: N/A:Please select the GOG.com Linux installer
game:
  config_file: $GAMEDIR/dosbox_conf/dosboxTH.conf
  main_file: $GAMEDIR/dosbox_conf/dosboxTH_single.conf
installer:
- extract:
    dst: $CACHE/
    src: inno
- execute:
    args: -d "$GAMEDIR/" "$gog"
    file: $CACHE/innoextract
- 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
      ; mkdir dosbox_conf; mv __support/app/*.conf dosbox_conf ; mv __support/save/SAVE
      . ; rm -f -r app commonappdata DOSBOX __redist __support tmp goggame-1207659026.*
      ; cd dosbox_conf ; sed -i -e "s/output=overlay/output=opengl/g" -e "s/mididevice=default/mididevice=none/g"
      dosboxTH.conf ; '
{
  "custom-name": "Theme Hospital - GOG - DOSBox",
  "files": [
    {
      "inno": "http://constexpr.org/innoextract/files/snapshots/innoextract-1.8-dev-2019-01-13/innoextract-1.8-dev-2019-01-13-linux.tar.xz"
    },
    {
      "gog": "N/A:Please select the GOG.com Linux installer"
    }
  ],
  "game": {
    "config_file": "$GAMEDIR/dosbox_conf/dosboxTH.conf",
    "main_file": "$GAMEDIR/dosbox_conf/dosboxTH_single.conf"
  },
  "installer": [
    {
      "extract": {
        "dst": "$CACHE/",
        "src": "inno"
      }
    },
    {
      "execute": {
        "args": "-d \"$GAMEDIR/\" \"$gog\"",
        "file": "$CACHE/innoextract"
      }
    },
    {
      "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 ; mkdir dosbox_conf; mv __support/app/*.conf dosbox_conf ; mv __support/save/SAVE . ; rm -f -r app commonappdata DOSBOX __redist __support tmp goggame-1207659026.* ; cd dosbox_conf ; sed -i -e \"s/output=overlay/output=opengl/g\" -e \"s/mididevice=default/mididevice=none/g\" dosboxTH.conf ; "
      }
    }
  ]
}
Back to game