files:
- gogsetup: N/A:Please select the exe setup file downloaded from your GOG account.
- engine: https://github.com/CorsixTH/CorsixTH/releases/download/v0.68.0/CorsixTH-0.68-Windows-x64.zip
- game_cfg: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Theme%20Hospital/config.txt
- game_music: https://www.dropbox.com/scl/fi/hkk96of5d1ph3qcu6uqln/Theme-Hospital-Remastered-Krytie2X4B-OGG.zip?rlkey=de3nzsw0gv16vusb87guiwzwm&st=s8bo1isd&dl=1#
game:
args: --config-file=c:\\corsixth\\config.txt
exe: drive_c/CorsixTH/CorsixTH.exe
prefix: $GAMEDIR
installer:
- task:
arch: win64
description: Creating 64bit Wine prefix.
name: create_prefix
prefix: $GAMEDIR
- extract:
dst: $GAMEDIR/drive_c/CorsixTH
file: engine
- extract:
dst: $GAMEDIR/drive_c/CorsixTH/TH
file: gogsetup
format: gog
- extract:
dst: $GAMEDIR/drive_c/CorsixTH/music
file: game_music
- merge:
dst: $GAMEDIR/drive_c/CorsixTH
src: game_cfg
- input_menu:
description: 'Choose the game''s language:'
id: LANG
options:
- en: English
- fr: French
- de: German
- es: Spanish
- it: Italian
- sv: Swedish
preselect: en
- execute:
command: cd "$GAMEDIR/drive_c/CorsixTH"; sed -i -e "s/theme_hospital_install.*/theme_hospital_install
= [[TH]]/g" -e "s/audio_music.*/audio_music = [[music]]/g" -e "s/.*language.*/language
= [[$INPUT_LANG]]/g" -e "s/width =.*/width = $RESOLUTION_WIDTH/g" -e "s/height
= .*/height = $RESOLUTION_HEIGHT/g" -e "s/audio_frequency.*/audio_frequency
= 48000/g" -e "s/audio_buffer_size.*/audio_buffer_size = 4096/g" config.txt;
description: Play "Theme Hospital" provided by GOG on Linux!
game_slug: theme-hospital
gogslug: theme_hospital
humblestoreid: ''
installer_slug: theme-hospital-gog-corsixth
name: Theme Hospital
notes: "- Using CorsixTH open source engine\r\n- Includes Theme Hospital soundtrack\
\ remastered by Krytie2X4B\r\n- Multilanguage: choose your preferred language for\
\ interface and game texts between English (default), French, German, Spanish, Italian,\
\ Swedish"
runner: wine
script:
files:
- gogsetup: N/A:Please select the exe setup file downloaded from your GOG account.
- engine: https://github.com/CorsixTH/CorsixTH/releases/download/v0.68.0/CorsixTH-0.68-Windows-x64.zip
- game_cfg: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Theme%20Hospital/config.txt
- game_music: https://www.dropbox.com/scl/fi/hkk96of5d1ph3qcu6uqln/Theme-Hospital-Remastered-Krytie2X4B-OGG.zip?rlkey=de3nzsw0gv16vusb87guiwzwm&st=s8bo1isd&dl=1#
game:
args: --config-file=c:\\corsixth\\config.txt
exe: drive_c/CorsixTH/CorsixTH.exe
prefix: $GAMEDIR
installer:
- task:
arch: win64
description: Creating 64bit Wine prefix.
name: create_prefix
prefix: $GAMEDIR
- extract:
dst: $GAMEDIR/drive_c/CorsixTH
file: engine
- extract:
dst: $GAMEDIR/drive_c/CorsixTH/TH
file: gogsetup
format: gog
- extract:
dst: $GAMEDIR/drive_c/CorsixTH/music
file: game_music
- merge:
dst: $GAMEDIR/drive_c/CorsixTH
src: game_cfg
- input_menu:
description: 'Choose the game''s language:'
id: LANG
options:
- en: English
- fr: French
- de: German
- es: Spanish
- it: Italian
- sv: Swedish
preselect: en
- execute:
command: cd "$GAMEDIR/drive_c/CorsixTH"; sed -i -e "s/theme_hospital_install.*/theme_hospital_install
= [[TH]]/g" -e "s/audio_music.*/audio_music = [[music]]/g" -e "s/.*language.*/language
= [[$INPUT_LANG]]/g" -e "s/width =.*/width = $RESOLUTION_WIDTH/g" -e "s/height
= .*/height = $RESOLUTION_HEIGHT/g" -e "s/audio_frequency.*/audio_frequency
= 48000/g" -e "s/audio_buffer_size.*/audio_buffer_size = 4096/g" config.txt;
slug: theme-hospital-gog-corsixth
steamid: null
version: GOG + CorsixTH
year: 1997
{
"game_slug": "theme-hospital",
"version": "GOG + CorsixTH",
"description": "Play \"Theme Hospital\" provided by GOG on Linux!",
"notes": "- Using CorsixTH open source engine\r\n- Includes Theme Hospital soundtrack remastered by Krytie2X4B\r\n- Multilanguage: choose your preferred language for interface and game texts between English (default), French, German, Spanish, Italian, Swedish",
"name": "Theme Hospital",
"year": 1997,
"steamid": null,
"gogslug": "theme_hospital",
"humblestoreid": "",
"runner": "wine",
"slug": "theme-hospital-gog-corsixth",
"installer_slug": "theme-hospital-gog-corsixth",
"script": {
"files": [
{
"gogsetup": "N/A:Please select the exe setup file downloaded from your GOG account."
},
{
"engine": "https://github.com/CorsixTH/CorsixTH/releases/download/v0.68.0/CorsixTH-0.68-Windows-x64.zip"
},
{
"game_cfg": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Theme%20Hospital/config.txt"
},
{
"game_music": "https://www.dropbox.com/scl/fi/hkk96of5d1ph3qcu6uqln/Theme-Hospital-Remastered-Krytie2X4B-OGG.zip?rlkey=de3nzsw0gv16vusb87guiwzwm&st=s8bo1isd&dl=1#"
}
],
"game": {
"args": "--config-file=c:\\\\corsixth\\\\config.txt",
"exe": "drive_c/CorsixTH/CorsixTH.exe",
"prefix": "$GAMEDIR"
},
"installer": [
{
"task": {
"arch": "win64",
"description": "Creating 64bit Wine prefix.",
"name": "create_prefix",
"prefix": "$GAMEDIR"
}
},
{
"extract": {
"dst": "$GAMEDIR/drive_c/CorsixTH",
"file": "engine"
}
},
{
"extract": {
"dst": "$GAMEDIR/drive_c/CorsixTH/TH",
"file": "gogsetup",
"format": "gog"
}
},
{
"extract": {
"dst": "$GAMEDIR/drive_c/CorsixTH/music",
"file": "game_music"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/CorsixTH",
"src": "game_cfg"
}
},
{
"input_menu": {
"description": "Choose the game's language:",
"id": "LANG",
"options": [
{
"en": "English"
},
{
"fr": "French"
},
{
"de": "German"
},
{
"es": "Spanish"
},
{
"it": "Italian"
},
{
"sv": "Swedish"
}
],
"preselect": "en"
}
},
{
"execute": {
"command": "cd \"$GAMEDIR/drive_c/CorsixTH\"; sed -i -e \"s/theme_hospital_install.*/theme_hospital_install = [[TH]]/g\" -e \"s/audio_music.*/audio_music = [[music]]/g\" -e \"s/.*language.*/language = [[$INPUT_LANG]]/g\" -e \"s/width =.*/width = $RESOLUTION_WIDTH/g\" -e \"s/height = .*/height = $RESOLUTION_HEIGHT/g\" -e \"s/audio_frequency.*/audio_frequency = 48000/g\" -e \"s/audio_buffer_size.*/audio_buffer_size = 4096/g\" config.txt;"
}
}
]
}
}