fr

Changes for GOG.com - Theme Hospital

Revision by petch (14 May 2013 23:07:00)

@@ -1,6 +1,6 @@
 #!/bin/bash
 # Date : (2012-05-03 22-02)
-# Last revision : (2013-03-25 23-45)
+# 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
@@ -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" "9bc7c8181a088c7d5412e93d742f87c9"
+POL_Call POL_GoG_setup "$GOGID" "88806c2c2f9376b696dc282939afd8cf"
 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

Revision by petch (01 April 2013 08:42:53)

@@ -1,6 +1,6 @@
 #!/bin/bash
 # Date : (2012-05-03 22-02)
-# Last revision : (2012-11-23 20-13)
+# Last revision : (2013-03-25 23-45)
 # Wine version used : 1.4-dos_support_0.6
 # Distribution used to test : Debian Sid (Unstable)
 # Author : Pierre Etchemaite pe-pol@concept-micro.com
@@ -24,7 +24,7 @@
 POL_SetupWindow_SetID 1162
 POL_Debug_Init
 
-POL_SetupWindow_presentation "$TITLE" "Bullfrog Productions / Electronic Arts" "http://www.gog.com/en/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"
+POL_SetupWindow_presentation "$TITLE" "Bullfrog Productions / Electronic Arts" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"
 
 POL_Call POL_GoG_setup "$GOGID" "9bc7c8181a088c7d5412e93d742f87c9"
 
@@ -70,9 +70,9 @@
 LANGUAGE=ENG
 _EOFCFG_
 
-POL_Shortcut "HOSPITAL.EXE" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" ""
+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
+exit 0

Revision by petch (23 November 2012 21:08:41)

@@ -1,7 +1,7 @@
 #!/bin/bash
 # Date : (2012-05-03 22-02)
-# Last revision : (2012-10-29 02-53)
-# Wine version used : 1.4-dos_support_0.5
+# Last revision : (2012-11-23 20-13)
+# 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
@@ -13,7 +13,7 @@
 
 GOGID="theme_hospital"
 PREFIX="ThemeHospital_gog"
-WORKING_WINE_VERSION="1.4-dos_support_0.5"
+WORKING_WINE_VERSION="1.4-dos_support_0.6"
 
 TITLE="GOG.com - Theme Hospital"
 SHORTCUT_NAME="Theme Hospital"
@@ -26,17 +26,13 @@
 
 POL_SetupWindow_presentation "$TITLE" "Bullfrog Productions / Electronic Arts" "http://www.gog.com/en/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"
 
-POL_Call POL_GoG_setup "$GOGID" "d79126b277bc155b5acee2822f4203b5"
+POL_Call POL_GoG_setup "$GOGID" "9bc7c8181a088c7d5412e93d742f87c9"
 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
-# Prevent GoG installer from installing Acrobat Reader or Foxit in each prefix
-POL_Call POL_Function_SetNativeExtension "pdf"
+POL_Call POL_GoG_install
 
-POL_Wine_WaitBefore "$TITLE"
-
-POL_Wine "$POL_GoG_location" || POL_Debug_Fatal "$(eval_gettext 'Error while installing archive')"
 
 # "640x480 256 colors"
 POL_SetupWindow_VMS "2"
@@ -45,14 +41,18 @@
 cpu_core=auto
 cpu_cputype=auto
 cpu_cycles=auto
+render_frameskip=1
 mixer_rate=44100
-mixer_prebuffer=50
+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
-ipx_enable=1
-ipx_connection=1
-ipx_ipx=true
+sblaster_oplrate=44100
 
 speaker_pcspeaker=false
 speaker_tandy=off
@@ -61,16 +61,17 @@
 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/$PROGRAMFILES/GOG.com/Theme Hospital/HOSPITAL.CFG"
-INSTALL_PATH=c:\PROGRA~1\GOG.COM\THEMEH~1\
+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" ""
-POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/$PROGRAMFILES/GOG.com/Theme Hospital/manual.pdf"
+POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/GOG Games/Theme Hospital/manual.pdf"
 
 POL_SetupWindow_Close
 

Revision by petch (28 October 2012 14:23:50)

@@ -1,6 +1,6 @@
 #!/bin/bash
 # Date : (2012-05-03 22-02)
-# Last revision : (2012-06-06 21-04)
+# Last revision : (2012-10-29 02-53)
 # Wine version used : 1.4-dos_support_0.5
 # Distribution used to test : Debian Sid (Unstable)
 # Author : Pierre Etchemaite pe-pol@concept-micro.com
@@ -15,12 +15,13 @@
 PREFIX="ThemeHospital_gog"
 WORKING_WINE_VERSION="1.4-dos_support_0.5"
 
-TITLE="Theme Hospital (GoG release)"
+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/en/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

Revision by petch (06 June 2012 21:45:16)

@@ -1,7 +1,7 @@
 #!/bin/bash
 # Date : (2012-05-03 22-02)
-# Last revision : (2012-05-11 10-09)
-# Wine version used : 1.4-dos_support_0.4
+# Last revision : (2012-06-06 21-04)
+# Wine version used : 1.4-dos_support_0.5
 # Distribution used to test : Debian Sid (Unstable)
 # Author : Pierre Etchemaite pe-pol@concept-micro.com
 # Script licence : GPL v.2
@@ -13,7 +13,7 @@
 
 GOGID="theme_hospital"
 PREFIX="ThemeHospital_gog"
-WORKING_WINE_VERSION="1.4-dos_support_0.4"
+WORKING_WINE_VERSION="1.4-dos_support_0.5"
 
 TITLE="Theme Hospital (GoG release)"
 SHORTCUT_NAME="Theme Hospital"
@@ -30,14 +30,12 @@
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
-POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"
-
 # Prevent GoG installer from installing Acrobat Reader or Foxit in each prefix
 POL_Call POL_Function_SetNativeExtension "pdf"
 
-POL_Wine "$POL_GoG_location" || POL_Debug_Fatal "$(eval_gettext 'Error while installing archive')"
+POL_Wine_WaitBefore "$TITLE"
 
-POL_Wine_WaitExit "$TITLE"
+POL_Wine "$POL_GoG_location" || POL_Debug_Fatal "$(eval_gettext 'Error while installing archive')"
 
 # "640x480 256 colors"
 POL_SetupWindow_VMS "2"

Revision by petch (11 May 2012 10:10:54)

@@ -1,6 +1,6 @@
 #!/bin/bash
 # Date : (2012-05-03 22-02)
-# Last revision : (2012-05-04 02-26)
+# Last revision : (2012-05-11 10-09)
 # Wine version used : 1.4-dos_support_0.4
 # Distribution used to test : Debian Sid (Unstable)
 # Author : Pierre Etchemaite pe-pol@concept-micro.com
@@ -46,16 +46,21 @@
 cpu_core=auto
 cpu_cputype=auto
 cpu_cycles=auto
-#mixer_rate=44100
-mixer_prebuffer=20
+mixer_rate=44100
+mixer_prebuffer=50
 sblaster_oplmode=auto
 sblaster_oplemu=default
 #sblaster_oplrate=44100
-#speaker_pcrate=44100
-#speaker_tandyrate=44100
 ipx_enable=1
 ipx_connection=1
 ipx_ipx=true
+
+speaker_pcspeaker=false
+speaker_tandy=off
+speaker_disney=false
+joystick_joysticktype=none
+midi_mpu401=none
+gus_gus=false
 _EOFCFG_
 
 # Set real install path

Revision by petch (04 May 2012 05:37:14)

@@ -0,0 +1,73 @@
+#!/bin/bash
+# Date : (2012-05-03 22-02)
+# Last revision : (2012-05-04 02-26)
+# Wine version used : 1.4-dos_support_0.4
+# 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.4"
+
+TITLE="Theme Hospital (GoG release)"
+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_Debug_Init
+
+POL_SetupWindow_presentation "$TITLE" "Bullfrog Productions / Electronic Arts" "http://www.gog.com/en/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"
+
+POL_Call POL_GoG_setup "$GOGID" "d79126b277bc155b5acee2822f4203b5"
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+
+POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"
+
+# Prevent GoG installer from installing Acrobat Reader or Foxit in each prefix
+POL_Call POL_Function_SetNativeExtension "pdf"
+
+POL_Wine "$POL_GoG_location" || POL_Debug_Fatal "$(eval_gettext 'Error while installing archive')"
+
+POL_Wine_WaitExit "$TITLE"
+
+# "640x480 256 colors"
+POL_SetupWindow_VMS "2"
+
+cat <<_EOFCFG_ >> "$WINEPREFIX/playonlinux_dos.cfg"
+cpu_core=auto
+cpu_cputype=auto
+cpu_cycles=auto
+#mixer_rate=44100
+mixer_prebuffer=20
+sblaster_oplmode=auto
+sblaster_oplemu=default
+#sblaster_oplrate=44100
+#speaker_pcrate=44100
+#speaker_tandyrate=44100
+ipx_enable=1
+ipx_connection=1
+ipx_ipx=true
+_EOFCFG_
+
+# Set real install path
+cat <<'_EOFCFG_' | perl -pe 's/\n/\r\n/' > "$WINEPREFIX/drive_c/$PROGRAMFILES/GOG.com/Theme Hospital/HOSPITAL.CFG"
+INSTALL_PATH=c:\PROGRA~1\GOG.COM\THEMEH~1\
+INSTALL_TYPE=MAX
+LANGUAGE=ENG
+_EOFCFG_
+
+POL_Shortcut "HOSPITAL.EXE" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" ""
+POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/$PROGRAMFILES/GOG.com/Theme Hospital/manual.pdf"
+
+POL_SetupWindow_Close
+
+exit
Il n'y a rien à voir ici