GOG.com - Theme Hospital

Informations

Creator Message
petch

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 19988
Wine: 1.4-dos_support_0.6

Feedbacks

Description

English: Strategy game, manage a crazy hospital.
(updated for GOG installer v2)

GOG now has installers for Mac

Français : Jeu de stratégie, dirigez un hôpital en folie.
(mis à jour pour l'installeur GOG v2)

GOG propose maintenant des installeurs pour Mac

Source code

#!/bin/bash
# Date : (2012-05-03 22-02)
# Last revision : (2013-05-14 22-23)
# Wine version used : 1.4-dos_support_0.6
# Distribution used to test : Debian Sid (Unstable)
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"

GOGID="theme_hospital"
PREFIX="ThemeHospital_gog"
WORKING_WINE_VERSION="1.4-dos_support_0.6"

TITLE="GOG.com - Theme Hospital"
SHORTCUT_NAME="Theme Hospital"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

POL_SetupWindow_Init
POL_SetupWindow_SetID 1162
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Bullfrog Productions / Electronic Arts" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "88806c2c2f9376b696dc282939afd8cf"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install


# "640x480 256 colors"
POL_SetupWindow_VMS "2"

cat <<_EOFCFG_ >> "$WINEPREFIX/playonlinux_dos.cfg"
cpu_core=auto
cpu_cputype=auto
cpu_cycles=auto
render_frameskip=1
mixer_rate=44100
mixer_prebuffer=240
sblaster_sbtype=sb16
sblaster_sbbase=220
sblaster_irq=7
sblaster_dma=1
sblaster_hdma=5
sblaster_sbmixer=true
sblaster_oplmode=auto
sblaster_oplemu=default
sblaster_oplrate=44100

speaker_pcspeaker=false
speaker_tandy=off
speaker_disney=false
joystick_joysticktype=none
midi_mpu401=none
gus_gus=false
_EOFCFG_
[ "$POL_OS" = "Linux" ] && echo "render_scaler=hq2x" >> "$WINEPREFIX/playonlinux_dos.cfg"

# Set real install path
cat <<'_EOFCFG_' | perl -pe 's/\n/\r\n/' > "$WINEPREFIX/drive_c/GOG Games/Theme Hospital/HOSPITAL.CFG"
INSTALL_PATH=c:\GOGGAM~1\THEMEH~1\
INSTALL_TYPE=MAX
LANGUAGE=ENG
_EOFCFG_

POL_Shortcut "HOSPITAL.EXE" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;StrategyGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/GOG Games/Theme Hospital/manual.pdf"

POL_SetupWindow_Close

exit 0

Contributions

Filters:

Contribute
Member Message
PriceChild Wednesday 15 November 2017 at 20:01
PriceChild Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

The downloader reports the file as corrupted if downloaded using a gog username/password.

Guessing this is because the downloader has been updated?

I'm assuming the string in the script is an md5sum so I've updated it to what I've fetched, but no idea how to test that script on it's own?

Differences

@@ -26,7 +26,7 @@
 
 POL_SetupWindow_presentation "$TITLE" "Bullfrog Productions / Electronic Arts" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"
 
-POL_Call POL_GoG_setup "$GOGID" "88806c2c2f9376b696dc282939afd8cf"
+POL_Call POL_GoG_setup "$GOGID" "c1dc6cd19a3e22f7f7b31a72957babf7"
 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

New source code

#!/bin/bash
# Date : (2012-05-03 22-02)
# Last revision : (2013-05-14 22-23)
# Wine version used : 1.4-dos_support_0.6
# Distribution used to test : Debian Sid (Unstable)
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"

GOGID="theme_hospital"
PREFIX="ThemeHospital_gog"
WORKING_WINE_VERSION="1.4-dos_support_0.6"

TITLE="GOG.com - Theme Hospital"
SHORTCUT_NAME="Theme Hospital"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

POL_SetupWindow_Init
POL_SetupWindow_SetID 1162
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Bullfrog Productions / Electronic Arts" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "c1dc6cd19a3e22f7f7b31a72957babf7"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install


# "640x480 256 colors"
POL_SetupWindow_VMS "2"

cat <<_EOFCFG_ >> "$WINEPREFIX/playonlinux_dos.cfg"
cpu_core=auto
cpu_cputype=auto
cpu_cycles=auto
render_frameskip=1
mixer_rate=44100
mixer_prebuffer=240
sblaster_sbtype=sb16
sblaster_sbbase=220
sblaster_irq=7
sblaster_dma=1
sblaster_hdma=5
sblaster_sbmixer=true
sblaster_oplmode=auto
sblaster_oplemu=default
sblaster_oplrate=44100

speaker_pcspeaker=false
speaker_tandy=off
speaker_disney=false
joystick_joysticktype=none
midi_mpu401=none
gus_gus=false
_EOFCFG_
[ "$POL_OS" = "Linux" ] && echo "render_scaler=hq2x" >> "$WINEPREFIX/playonlinux_dos.cfg"

# Set real install path
cat <<'_EOFCFG_' | perl -pe 's/\n/\r\n/' > "$WINEPREFIX/drive_c/GOG Games/Theme Hospital/HOSPITAL.CFG"
INSTALL_PATH=c:\GOGGAM~1\THEMEH~1\
INSTALL_TYPE=MAX
LANGUAGE=ENG
_EOFCFG_

POL_Shortcut "HOSPITAL.EXE" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;StrategyGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/GOG Games/Theme Hospital/manual.pdf"

POL_SetupWindow_Close

exit 0

Replies

Anonymous
Wednesday 15 November 2017 at 20:02
FWIW the installer does trigger a few errors near the end, but everything looks fine to me.
fell Friday 18 July 2014 at 23:32
fell Anonymous

Message

Working fine in Dosbox. Don't forget to have ia32-libs installed!

Replies

Anonymous
Friday 18 July 2014 at 23:38
Interesting. Which lib needs ia32-libs?
Anonymous
Friday 26 September 2014 at 16:55
Theme Hospital would not play until I installed ia32-libs on ubuntu 12.04 (64bit). It was crashing on startup. This helped. Thanks.

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com