Installer theme-hospital-gog-corsix-th-x64

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 - Corsix-TH
files:
- gogsetup: N/A:Please select the exe setup file downloaded from your GOG account.
- inno: https://constexpr.org/innoextract/files/innoextract-1.9/innoextract-1.9-linux.tar.xz
- corsixth: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Theme%20Hospital/corsix-th_linux_x64_portable.tar.xz
- wmidi: https://github.com/legluondunet/mlls-tools/raw/master/wildmidi/wildmidi.tar.xz
game:
  exe: $GAMEDIR/corsix-th.sh
installer:
- extract:
    dst: $CACHE/
    src: inno
- execute:
    args: -d "$GAMEDIR/TH" $gogsetup
    file: $CACHE/innoextract
- extract:
    dst: $GAMEDIR/
    src: corsixth
- extract:
    dst: $GAMEDIR/Wildmidi
    src: wmidi
- input_menu:
    description: 'Choose the game''s language:'
    id: LANG
    options:
    - de: German
    - da: Danish
    - fi: Finnish
    - en: English
    - fr: French
    - it: Italian
    - pt: Portuguese
    - br: Brazilian Portuguese
    - sv: Swedish
    - nb: Norwegian
    - es: Spanish
    preselect: en
- chmodx: $GAMEDIR/corsix-th.sh
- chmodx: $GAMEDIR/Wildmidi/wildmidi.sh
- execute:
    command: cd "$GAMEDIR"; sed -i -e "s=../app/=../TH/=g"  -e "s/width = .*/width
      = $RESOLUTION_WIDTH/g" -e "s/height = .*/height = $RESOLUTION_HEIGHT/g" -e "s/.*language.*/language
      = [[$INPUT_LANG]]/g" -e "s/audio_music = .*/audio_music = [[music]]/g" Corsix-TH/config.txt
      ; cd TH; rm -f -r app commonappdata DOSBOX __redist tmp __support goggame-1207659026.*;
{
  "custom-name": "Theme Hospital - GOG - Corsix-TH",
  "files": [
    {
      "gogsetup": "N/A:Please select the exe setup file downloaded from your GOG account."
    },
    {
      "inno": "https://constexpr.org/innoextract/files/innoextract-1.9/innoextract-1.9-linux.tar.xz"
    },
    {
      "corsixth": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Theme%20Hospital/corsix-th_linux_x64_portable.tar.xz"
    },
    {
      "wmidi": "https://github.com/legluondunet/mlls-tools/raw/master/wildmidi/wildmidi.tar.xz"
    }
  ],
  "game": {
    "exe": "$GAMEDIR/corsix-th.sh"
  },
  "installer": [
    {
      "extract": {
        "dst": "$CACHE/",
        "src": "inno"
      }
    },
    {
      "execute": {
        "args": "-d \"$GAMEDIR/TH\" $gogsetup",
        "file": "$CACHE/innoextract"
      }
    },
    {
      "extract": {
        "dst": "$GAMEDIR/",
        "src": "corsixth"
      }
    },
    {
      "extract": {
        "dst": "$GAMEDIR/Wildmidi",
        "src": "wmidi"
      }
    },
    {
      "input_menu": {
        "description": "Choose the game's language:",
        "id": "LANG",
        "options": [
          {
            "de": "German"
          },
          {
            "da": "Danish"
          },
          {
            "fi": "Finnish"
          },
          {
            "en": "English"
          },
          {
            "fr": "French"
          },
          {
            "it": "Italian"
          },
          {
            "pt": "Portuguese"
          },
          {
            "br": "Brazilian Portuguese"
          },
          {
            "sv": "Swedish"
          },
          {
            "nb": "Norwegian"
          },
          {
            "es": "Spanish"
          }
        ],
        "preselect": "en"
      }
    },
    {
      "chmodx": "$GAMEDIR/corsix-th.sh"
    },
    {
      "chmodx": "$GAMEDIR/Wildmidi/wildmidi.sh"
    },
    {
      "execute": {
        "command": "cd \"$GAMEDIR\"; sed -i -e \"s=../app/=../TH/=g\"  -e \"s/width = .*/width = $RESOLUTION_WIDTH/g\" -e \"s/height = .*/height = $RESOLUTION_HEIGHT/g\" -e \"s/.*language.*/language = [[$INPUT_LANG]]/g\" -e \"s/audio_music = .*/audio_music = [[music]]/g\" Corsix-TH/config.txt ; cd TH; rm -f -r app commonappdata DOSBOX __redist tmp __support goggame-1207659026.*;"
      }
    }
  ]
}
Back to game