Theme Park World
Informations
| Creator | Message |
|---|---|
NSLW
|
InformationThis installer has been approved by the team. InformationsPlatforms: Feedbacks0 2 Source code#!/bin/bash # Date : (2009-09-17 18-00) # Last revision : (2015-12-16) # Wine version used : 1.8-rc4 # Distribution used to test : (Not tested) # Author : NSLW # Modified by MTres19 # Licence : Retail [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Theme Park World" PREFIX="ThemeParkWorld" WINEVERSION="1.8-rc4" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "Bullfrog Productions" "" "NSLW" "$PREFIX" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" POL_SetupWindow_cdrom POL_Wine_InstallCDROM "d" Set_OS "win2k" POL_Wine start /unix "$CDROM/Autorun.exe" POL_Wine_WaitExit "$TITLE" POL_SetupWindow_VMS "32" POL_Shortcut "TP.EXE" "$TITLE" POL_Call POL_Function_NoCDWarning POL_SetupWindow_Close exit 0 |
Contributions
Filters:
Contribute| Member | Message |
| MTres19 | Saturday 26 December 2015 at 19:25 |
MTres19
|
MessageCould my fix for POL_Wine_WaitExit be approved? As petch pointed out, it could be confusing without it. Replies |
| MTres19 | Tuesday 22 December 2015 at 21:08 |
MTres19
|
InformationThis update has been approved by the team. Differences@@ -26,8 +26,8 @@ Set_OS "win2k" -POL_Wine_WaitBefore "$TITLE" POL_Wine start /unix "$CDROM/Autorun.exe" +POL_Wine_WaitExit "$TITLE" POL_SetupWindow_VMS "32" New source code#!/bin/bash # Date : (2009-09-17 18-00) # Last revision : (2015-12-16) # Wine version used : 1.8-rc4 # Distribution used to test : (Not tested) # Author : NSLW # Modified by MTres19 # Licence : Retail [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Theme Park World" PREFIX="ThemeParkWorld" WINEVERSION="1.8-rc4" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "Bullfrog Productions" "" "NSLW" "$PREFIX" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" POL_SetupWindow_cdrom POL_Wine_InstallCDROM "d" Set_OS "win2k" POL_Wine start /unix "$CDROM/Autorun.exe" POL_Wine_WaitExit "$TITLE" POL_SetupWindow_VMS "32" POL_Shortcut "TP.EXE" "$TITLE" POL_Call POL_Function_NoCDWarning POL_SetupWindow_Close exit 0 Replies |
| MTres19 | Saturday 19 December 2015 at 16:28 |
MTres19
|
WarningThis update has not been approved yet by the team. MessageSame as before, but no POL_SetupWindow_messages. (They aren't really necessary.) Differences@@ -1,116 +1,39 @@
#!/bin/bash
# Date : (2009-09-17 18-00)
-# Last revision : (2009-12-07 18-00)
-# Wine version used : 1.1.38
-# Distribution used to test : Fedora 11
+# Last revision : (2015-12-16)
+# Wine version used : 1.8-rc4
+# Distribution used to test : (Not tested)
# Author : NSLW
+# Modified by MTres19
# Licence : Retail
-# Depend : -
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
-TYTUL="Theme Park World"
-PREFIX="TPW"
-WORKINGWINEVERSION="1.1.38"
+TITLE="Theme Park World"
+PREFIX="ThemeParkWorld"
+WINEVERSION="1.8-rc4"
+
+POL_SetupWindow_Init
+POL_Debug_Init
+POL_SetupWindow_presentation "$TITLE" "Bullfrog Productions" "" "NSLW" "$PREFIX"
-POL_SetupWindow_make_icon_for_shortcut()
-{
-convert "$HOME/.local/share/icons/$2" -geometry 32X32 "$REPERTOIRE/icones/32/$1"
-}
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
-wget http://upload.wikimedia.org/wikipedia/en/a/a5/SimThemeParkWorld.jpg --output-document="$REPERTOIRE/tmp/leftnotscaled.jpeg"
-convert "$REPERTOIRE/tmp/leftnotscaled.jpeg" -scale 150x356\! "$REPERTOIRE/tmp/left.jpeg"
-POL_SetupWindow_Init "" "$REPERTOIRE/tmp/left.jpeg"
-
-POL_SetupWindow_presentation "$TYTUL" "Bullfrog Productions" "N/A" "NSLW" "$PREFIX"
-
-select_prefix "$REPERTOIRE/wineprefix/$PREFIX"
-
-POL_SetupWindow_message "Please insert $TYTUL media into your disk drive."
POL_SetupWindow_cdrom
-POL_SetupWindow_check_cdrom "Autorun.exe"
+POL_Wine_InstallCDROM "d"
-POL_SetupWindow_install_wine "$WORKINGWINEVERSION"
-Use_WineVersion "$WORKINGWINEVERSION"
-POL_SetupWindow_prefixcreate
-
-#fetching PROGRAMFILES environmental variable
-PROGRAMFILES=`wine cmd /c echo "%ProgramFiles%" |tr -d '\015' | tr -d '\010'`
-PROGRAMFILES=${PROGRAMFILES:3}
-
-#adding CD-ROM as drive e: to winecfg
-cd "$WINEPREFIX/dosdevices"
-ln -s "$CDROM" e:
-
-cd "$WINEPREFIX/drive_c/windows/temp/"
-echo "[HKEY_LOCAL_MACHINE\\Software\\Wine\\Drives]" > cdrom.reg
-echo "\"e:\"=\"cdrom\"" >> cdrom.reg
-regedit cdrom.reg
-sleep 5
-
-#SafeDisk will work only on MS Windows 2000
Set_OS "win2k"
-#starting installation
-wine start /unix "$CDROM/Autorun.exe"
-POL_SetupWindow_message "Click \"Next\" when installation will finish." "$TYTUL"
-
-POL_SetupWindow_menu "What is your language version?" "Languages" "european and american~traditional chinese~simplified chinese~korean~japanese" "~"
- LANGUAGEVERSION=$APP_ANSWER
- if [ "$APP_ANSWER" == "european and american" ]; then
- LANGUAGEVERSIONSHRT="EUROAMER"
- elif [ "$APP_ANSWER" == "traditional chinese" ]
- then
- LANGUAGEVERSIONSHRT="TCHINESE"
- elif [ "$APP_ANSWER" == "simplified chinese" ]
- then
- LANGUAGEVERSIONSHRT="SCHINESE"
- elif [ "$APP_ANSWER" == "korean" ]
- then
- LANGUAGEVERSIONSHRT="KOREAN"
- elif [ "$APP_ANSWER" == "japanese" ]
- then
- LANGUAGEVERSIONSHRT="JAPANESE"
- fi
-
- cd "$REPERTOIRE/ressources"
- if [ ! -e "TPPatchTwo${LANGUAGEVERSIONSHRT}20000324a.exe" ]; then
- POL_SetupWindow_wait_next_signal "PlayOnLinux is downloading TPPatchTwo${LANGUAGEVERSIONSHRT}20000324a.exe (ca. 6 MB)" "$TYTUL"
- wget "ftp://159.153.229.114/Pub/TPW/PATCH/TPPatchTwo${LANGUAGEVERSIONSHRT}20000324a.exe"
- POL_SetupWindow_detect_exit
- fi
- POL_SetupWindow_wait_next_signal "Installation in progress..." "$TYTUL"
- wine "TPPatchTwo${LANGUAGEVERSIONSHRT}20000324a.exe"
- POL_SetupWindow_detect_exit
- POL_SetupWindow_message "Patch for $TYTUL has been installed successfully" "$TYTUL"
-
-cd "$WINEPREFIX/drive_c/windows/temp/"
-#setting MouseWarpOverride to disable to get mouse working
-echo "[HKEY_CURRENT_USER\\Software\\Wine\\DirectInput]" > mwo.reg
-echo "\"MouseWarpOverride\"=\"disable\"" >> mwo.reg
-regedit mwo.reg
-
-#asking about memory size
-POL_SetupWindow_menu_list "How much memory do your graphic card have got?" "$TYTUL" "32-64-128-256-384-512-768-890-1024-2048" "-" "256"
-VMS="$APP_ANSWER"
-
-echo "[HKEY_CURRENT_USER\\Software\\Wine\\Direct3D]" > vms.reg
-echo "\"VideoMemorySize\"=\"$VMS\"" >> vms.reg
-regedit vms.reg
-
-#cleaning temp
-cd "$WINEPREFIX/drive_c/windows/temp/"
-rm -rf *
-
-#making shortcut
-POL_SetupWindow_make_shortcut "$PREFIX" "$PROGRAMFILES/Bullfrog/Theme Park World" "TP.EXE" "" "$TYTUL" "" ""
-Set_WineVersion_Assign "$WORKINGWINEVERSION" "$TYTUL"
-POL_SetupWindow_make_icon_for_shortcut "$TYTUL" "*_tp.0.png"
+POL_Wine_WaitBefore "$TITLE"
+POL_Wine start /unix "$CDROM/Autorun.exe"
+
+POL_SetupWindow_VMS "32"
-POL_SetupWindow_message "$TYTUL has been installed successfully" "$TYTUL"
+POL_Shortcut "TP.EXE" "$TITLE"
-POL_SetupWindow_message_image "Please note that this game has a copy protection system\nand sadly, it can cause you a problem starting this game.\n\nThere are two solutions to this:\n1) be patient at starting the game\n2) find unoriginal executable file for\nTheme Park World version 2.0" "Note about copy protection" "$PLAYONLINUX/themes/tango/warning.png"
+POL_Call POL_Function_NoCDWarning
POL_SetupWindow_Close
-exit
\ No newline at end of file
+exit 0
\ No newline at end of file
New source code#!/bin/bash # Date : (2009-09-17 18-00) # Last revision : (2015-12-16) # Wine version used : 1.8-rc4 # Distribution used to test : (Not tested) # Author : NSLW # Modified by MTres19 # Licence : Retail [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Theme Park World" PREFIX="ThemeParkWorld" WINEVERSION="1.8-rc4" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "Bullfrog Productions" "" "NSLW" "$PREFIX" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" POL_SetupWindow_cdrom POL_Wine_InstallCDROM "d" Set_OS "win2k" POL_Wine_WaitBefore "$TITLE" POL_Wine start /unix "$CDROM/Autorun.exe" POL_SetupWindow_VMS "32" POL_Shortcut "TP.EXE" "$TITLE" POL_Call POL_Function_NoCDWarning POL_SetupWindow_Close exit 0 Replies |
| MTres19 | Friday 18 December 2015 at 21:01 |
MTres19
|
WarningThis update has not been approved yet by the team. MessageOkay, try this then.... Differences@@ -1,116 +1,42 @@
#!/bin/bash
# Date : (2009-09-17 18-00)
-# Last revision : (2009-12-07 18-00)
-# Wine version used : 1.1.38
-# Distribution used to test : Fedora 11
+# Last revision : (2015-12-16)
+# Wine version used : 1.8-rc4
+# Distribution used to test : (Not tested)
# Author : NSLW
+# Modified by MTres19
# Licence : Retail
-# Depend : -
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
-TYTUL="Theme Park World"
-PREFIX="TPW"
-WORKINGWINEVERSION="1.1.38"
+TITLE="Theme Park World"
+PREFIX="ThemeParkWorld"
+WINEVERSION="1.8-rc4"
+
+POL_SetupWindow_Init
+POL_Debug_Init
+POL_SetupWindow_presentation "$TITLE" "Bullfrog Productions" "" "NSLW" "$PREFIX"
-POL_SetupWindow_make_icon_for_shortcut()
-{
-convert "$HOME/.local/share/icons/$2" -geometry 32X32 "$REPERTOIRE/icones/32/$1"
-}
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
-wget http://upload.wikimedia.org/wikipedia/en/a/a5/SimThemeParkWorld.jpg --output-document="$REPERTOIRE/tmp/leftnotscaled.jpeg"
-convert "$REPERTOIRE/tmp/leftnotscaled.jpeg" -scale 150x356\! "$REPERTOIRE/tmp/left.jpeg"
-POL_SetupWindow_Init "" "$REPERTOIRE/tmp/left.jpeg"
-
-POL_SetupWindow_presentation "$TYTUL" "Bullfrog Productions" "N/A" "NSLW" "$PREFIX"
-
-select_prefix "$REPERTOIRE/wineprefix/$PREFIX"
-
-POL_SetupWindow_message "Please insert $TYTUL media into your disk drive."
+POL_SetupWindow_message "Please insert $TITLE media into your disk drive."
POL_SetupWindow_cdrom
-POL_SetupWindow_check_cdrom "Autorun.exe"
+POL_Wine_InstallCDROM "d"
-POL_SetupWindow_install_wine "$WORKINGWINEVERSION"
-Use_WineVersion "$WORKINGWINEVERSION"
-POL_SetupWindow_prefixcreate
-
-#fetching PROGRAMFILES environmental variable
-PROGRAMFILES=`wine cmd /c echo "%ProgramFiles%" |tr -d '\015' | tr -d '\010'`
-PROGRAMFILES=${PROGRAMFILES:3}
-
-#adding CD-ROM as drive e: to winecfg
-cd "$WINEPREFIX/dosdevices"
-ln -s "$CDROM" e:
-
-cd "$WINEPREFIX/drive_c/windows/temp/"
-echo "[HKEY_LOCAL_MACHINE\\Software\\Wine\\Drives]" > cdrom.reg
-echo "\"e:\"=\"cdrom\"" >> cdrom.reg
-regedit cdrom.reg
-sleep 5
-
-#SafeDisk will work only on MS Windows 2000
Set_OS "win2k"
-#starting installation
-wine start /unix "$CDROM/Autorun.exe"
-POL_SetupWindow_message "Click \"Next\" when installation will finish." "$TYTUL"
-
-POL_SetupWindow_menu "What is your language version?" "Languages" "european and american~traditional chinese~simplified chinese~korean~japanese" "~"
- LANGUAGEVERSION=$APP_ANSWER
- if [ "$APP_ANSWER" == "european and american" ]; then
- LANGUAGEVERSIONSHRT="EUROAMER"
- elif [ "$APP_ANSWER" == "traditional chinese" ]
- then
- LANGUAGEVERSIONSHRT="TCHINESE"
- elif [ "$APP_ANSWER" == "simplified chinese" ]
- then
- LANGUAGEVERSIONSHRT="SCHINESE"
- elif [ "$APP_ANSWER" == "korean" ]
- then
- LANGUAGEVERSIONSHRT="KOREAN"
- elif [ "$APP_ANSWER" == "japanese" ]
- then
- LANGUAGEVERSIONSHRT="JAPANESE"
- fi
-
- cd "$REPERTOIRE/ressources"
- if [ ! -e "TPPatchTwo${LANGUAGEVERSIONSHRT}20000324a.exe" ]; then
- POL_SetupWindow_wait_next_signal "PlayOnLinux is downloading TPPatchTwo${LANGUAGEVERSIONSHRT}20000324a.exe (ca. 6 MB)" "$TYTUL"
- wget "ftp://159.153.229.114/Pub/TPW/PATCH/TPPatchTwo${LANGUAGEVERSIONSHRT}20000324a.exe"
- POL_SetupWindow_detect_exit
- fi
- POL_SetupWindow_wait_next_signal "Installation in progress..." "$TYTUL"
- wine "TPPatchTwo${LANGUAGEVERSIONSHRT}20000324a.exe"
- POL_SetupWindow_detect_exit
- POL_SetupWindow_message "Patch for $TYTUL has been installed successfully" "$TYTUL"
-
-cd "$WINEPREFIX/drive_c/windows/temp/"
-#setting MouseWarpOverride to disable to get mouse working
-echo "[HKEY_CURRENT_USER\\Software\\Wine\\DirectInput]" > mwo.reg
-echo "\"MouseWarpOverride\"=\"disable\"" >> mwo.reg
-regedit mwo.reg
-
-#asking about memory size
-POL_SetupWindow_menu_list "How much memory do your graphic card have got?" "$TYTUL" "32-64-128-256-384-512-768-890-1024-2048" "-" "256"
-VMS="$APP_ANSWER"
-
-echo "[HKEY_CURRENT_USER\\Software\\Wine\\Direct3D]" > vms.reg
-echo "\"VideoMemorySize\"=\"$VMS\"" >> vms.reg
-regedit vms.reg
-
-#cleaning temp
-cd "$WINEPREFIX/drive_c/windows/temp/"
-rm -rf *
-
-#making shortcut
-POL_SetupWindow_make_shortcut "$PREFIX" "$PROGRAMFILES/Bullfrog/Theme Park World" "TP.EXE" "" "$TYTUL" "" ""
-Set_WineVersion_Assign "$WORKINGWINEVERSION" "$TYTUL"
-POL_SetupWindow_make_icon_for_shortcut "$TYTUL" "*_tp.0.png"
+POL_Wine_WaitBefore "$TITLE"
+POL_Wine start /unix "$CDROM/Autorun.exe"
+
+POL_SetupWindow_VMS "32"
+
+POL_Shortcut "TP.EXE" "$TITLE"
-POL_SetupWindow_message "$TYTUL has been installed successfully" "$TYTUL"
+POL_SetupWindow_message "$TITLE has been installed successfully" "$TITLE"
-POL_SetupWindow_message_image "Please note that this game has a copy protection system\nand sadly, it can cause you a problem starting this game.\n\nThere are two solutions to this:\n1) be patient at starting the game\n2) find unoriginal executable file for\nTheme Park World version 2.0" "Note about copy protection" "$PLAYONLINUX/themes/tango/warning.png"
+POL_Call POL_Function_NoCDWarning
POL_SetupWindow_Close
-exit
\ No newline at end of file
+exit 0
\ No newline at end of file
New source code#!/bin/bash # Date : (2009-09-17 18-00) # Last revision : (2015-12-16) # Wine version used : 1.8-rc4 # Distribution used to test : (Not tested) # Author : NSLW # Modified by MTres19 # Licence : Retail [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Theme Park World" PREFIX="ThemeParkWorld" WINEVERSION="1.8-rc4" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "Bullfrog Productions" "" "NSLW" "$PREFIX" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" POL_SetupWindow_message "Please insert $TITLE media into your disk drive." POL_SetupWindow_cdrom POL_Wine_InstallCDROM "d" Set_OS "win2k" POL_Wine_WaitBefore "$TITLE" POL_Wine start /unix "$CDROM/Autorun.exe" POL_SetupWindow_VMS "32" POL_Shortcut "TP.EXE" "$TITLE" POL_SetupWindow_message "$TITLE has been installed successfully" "$TITLE" POL_Call POL_Function_NoCDWarning POL_SetupWindow_Close exit 0 RepliesFriday 18 December 2015 at 23:35
|
| MTres19 | Thursday 17 December 2015 at 4:11 |
MTres19
|
WarningThis update has not been approved yet by the team. MessageI cleaned up the script and updated the Wine version, but I don't have the game to test it. However, the game came out in 1999, so it probably will work. Differences@@ -1,116 +1,42 @@
#!/bin/bash
# Date : (2009-09-17 18-00)
-# Last revision : (2009-12-07 18-00)
-# Wine version used : 1.1.38
-# Distribution used to test : Fedora 11
+# Last revision : (2015-12-16)
+# Wine version used : 1.8-rc4
+# Distribution used to test : (Not tested)
# Author : NSLW
+# Modified by MTres19
# Licence : Retail
-# Depend : -
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
-TYTUL="Theme Park World"
-PREFIX="TPW"
-WORKINGWINEVERSION="1.1.38"
+TITLE="Theme Park World"
+PREFIX="ThemeParkWorld"
+WINEVERSION="1.8-rc4"
+
+POL_SetupWindow_Init
+POL_Debug_Init
+POL_SetupWindow_presentation "$TITLE" "Bullfrog Productions" "" "NSLW" "$PREFIX"
-POL_SetupWindow_make_icon_for_shortcut()
-{
-convert "$HOME/.local/share/icons/$2" -geometry 32X32 "$REPERTOIRE/icones/32/$1"
-}
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
-wget http://upload.wikimedia.org/wikipedia/en/a/a5/SimThemeParkWorld.jpg --output-document="$REPERTOIRE/tmp/leftnotscaled.jpeg"
-convert "$REPERTOIRE/tmp/leftnotscaled.jpeg" -scale 150x356\! "$REPERTOIRE/tmp/left.jpeg"
-POL_SetupWindow_Init "" "$REPERTOIRE/tmp/left.jpeg"
+POL_SetupWindow_message "Please insert $TITLE media into your disk drive."
+POL_SetupWindow_cdrom
+POL_Wine_InstallCDROM "d"
-POL_SetupWindow_presentation "$TYTUL" "Bullfrog Productions" "N/A" "NSLW" "$PREFIX"
+Set_OS "win98"
-select_prefix "$REPERTOIRE/wineprefix/$PREFIX"
+POL_Wine_WaitBefore "$TITLE"
+POL_Wine start /unix "$CDROM/Autorun.exe"
-POL_SetupWindow_message "Please insert $TYTUL media into your disk drive."
-POL_SetupWindow_cdrom
-POL_SetupWindow_check_cdrom "Autorun.exe"
+POL_SetupWindow_VMS "32"
-POL_SetupWindow_install_wine "$WORKINGWINEVERSION"
-Use_WineVersion "$WORKINGWINEVERSION"
-POL_SetupWindow_prefixcreate
-
-#fetching PROGRAMFILES environmental variable
-PROGRAMFILES=`wine cmd /c echo "%ProgramFiles%" |tr -d '\015' | tr -d '\010'`
-PROGRAMFILES=${PROGRAMFILES:3}
-
-#adding CD-ROM as drive e: to winecfg
-cd "$WINEPREFIX/dosdevices"
-ln -s "$CDROM" e:
-
-cd "$WINEPREFIX/drive_c/windows/temp/"
-echo "[HKEY_LOCAL_MACHINE\\Software\\Wine\\Drives]" > cdrom.reg
-echo "\"e:\"=\"cdrom\"" >> cdrom.reg
-regedit cdrom.reg
-sleep 5
-
-#SafeDisk will work only on MS Windows 2000
-Set_OS "win2k"
-
-#starting installation
-wine start /unix "$CDROM/Autorun.exe"
-POL_SetupWindow_message "Click \"Next\" when installation will finish." "$TYTUL"
-
-POL_SetupWindow_menu "What is your language version?" "Languages" "european and american~traditional chinese~simplified chinese~korean~japanese" "~"
- LANGUAGEVERSION=$APP_ANSWER
- if [ "$APP_ANSWER" == "european and american" ]; then
- LANGUAGEVERSIONSHRT="EUROAMER"
- elif [ "$APP_ANSWER" == "traditional chinese" ]
- then
- LANGUAGEVERSIONSHRT="TCHINESE"
- elif [ "$APP_ANSWER" == "simplified chinese" ]
- then
- LANGUAGEVERSIONSHRT="SCHINESE"
- elif [ "$APP_ANSWER" == "korean" ]
- then
- LANGUAGEVERSIONSHRT="KOREAN"
- elif [ "$APP_ANSWER" == "japanese" ]
- then
- LANGUAGEVERSIONSHRT="JAPANESE"
- fi
-
- cd "$REPERTOIRE/ressources"
- if [ ! -e "TPPatchTwo${LANGUAGEVERSIONSHRT}20000324a.exe" ]; then
- POL_SetupWindow_wait_next_signal "PlayOnLinux is downloading TPPatchTwo${LANGUAGEVERSIONSHRT}20000324a.exe (ca. 6 MB)" "$TYTUL"
- wget "ftp://159.153.229.114/Pub/TPW/PATCH/TPPatchTwo${LANGUAGEVERSIONSHRT}20000324a.exe"
- POL_SetupWindow_detect_exit
- fi
- POL_SetupWindow_wait_next_signal "Installation in progress..." "$TYTUL"
- wine "TPPatchTwo${LANGUAGEVERSIONSHRT}20000324a.exe"
- POL_SetupWindow_detect_exit
- POL_SetupWindow_message "Patch for $TYTUL has been installed successfully" "$TYTUL"
-
-cd "$WINEPREFIX/drive_c/windows/temp/"
-#setting MouseWarpOverride to disable to get mouse working
-echo "[HKEY_CURRENT_USER\\Software\\Wine\\DirectInput]" > mwo.reg
-echo "\"MouseWarpOverride\"=\"disable\"" >> mwo.reg
-regedit mwo.reg
-
-#asking about memory size
-POL_SetupWindow_menu_list "How much memory do your graphic card have got?" "$TYTUL" "32-64-128-256-384-512-768-890-1024-2048" "-" "256"
-VMS="$APP_ANSWER"
-
-echo "[HKEY_CURRENT_USER\\Software\\Wine\\Direct3D]" > vms.reg
-echo "\"VideoMemorySize\"=\"$VMS\"" >> vms.reg
-regedit vms.reg
-
-#cleaning temp
-cd "$WINEPREFIX/drive_c/windows/temp/"
-rm -rf *
-
-#making shortcut
-POL_SetupWindow_make_shortcut "$PREFIX" "$PROGRAMFILES/Bullfrog/Theme Park World" "TP.EXE" "" "$TYTUL" "" ""
-Set_WineVersion_Assign "$WORKINGWINEVERSION" "$TYTUL"
-POL_SetupWindow_make_icon_for_shortcut "$TYTUL" "*_tp.0.png"
+POL_Shortcut "TP.EXE" "$TITLE"
-POL_SetupWindow_message "$TYTUL has been installed successfully" "$TYTUL"
+POL_SetupWindow_message "$TITLE has been installed successfully" "$TITLE"
-POL_SetupWindow_message_image "Please note that this game has a copy protection system\nand sadly, it can cause you a problem starting this game.\n\nThere are two solutions to this:\n1) be patient at starting the game\n2) find unoriginal executable file for\nTheme Park World version 2.0" "Note about copy protection" "$PLAYONLINUX/themes/tango/warning.png"
+POL_Call POL_Function_NoCDWarning
POL_SetupWindow_Close
-exit
\ No newline at end of file
+exit 0
\ No newline at end of file
New source code#!/bin/bash # Date : (2009-09-17 18-00) # Last revision : (2015-12-16) # Wine version used : 1.8-rc4 # Distribution used to test : (Not tested) # Author : NSLW # Modified by MTres19 # Licence : Retail [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="Theme Park World" PREFIX="ThemeParkWorld" WINEVERSION="1.8-rc4" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "Bullfrog Productions" "" "NSLW" "$PREFIX" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" POL_SetupWindow_message "Please insert $TITLE media into your disk drive." POL_SetupWindow_cdrom POL_Wine_InstallCDROM "d" Set_OS "win98" POL_Wine_WaitBefore "$TITLE" POL_Wine start /unix "$CDROM/Autorun.exe" POL_SetupWindow_VMS "32" POL_Shortcut "TP.EXE" "$TITLE" POL_SetupWindow_message "$TITLE has been installed successfully" "$TITLE" POL_Call POL_Function_NoCDWarning POL_SetupWindow_Close exit 0 RepliesThursday 17 December 2015 at 13:03
|
| Deleted account | Wednesday 16 December 2015 at 14:12 |
Deleted account
|
MessageHi, ThemeParkWorld is not running out of the box, after Installing and Starting I got: [12/16/15 14:07:36] - Running wine-1.1.38 TP.EXE (Working directory : ~/.PlayOnLinux/wineprefix/TPW/drive_c/Programme/Bullfrog/Theme Park World) wine: Modul nicht gefunden err:winedevice:ServiceMain driver L"Secdrv" failed to load wine: Unhandled illegal instruction at address 0x409870 (thread 0009), starting debugger... Can't attach process 0008: error 5 After renaming SECDRV.SYS (folder windows/system32/drivers) into secdrv.sys i got: [12/16/15 14:09:48] - Running wine-1.1.38 TP.EXE (Working directory : ~/.PlayOnLinux/wineprefix/TPW/drive_c/Programme/Bullfrog/Theme Park World) wine: Unhandled illegal instruction at address 0x409870 (thread 0024), starting debugger... Can't attach process 0023: error 5 which still resilt in non working... Where is the problem? RepliesWednesday 16 December 2015 at 23:52
Thursday 17 December 2015 at 3:45
Monday 21 August 2023 at 12:19
Monday 21 August 2023 at 12:19
Monday 21 August 2023 at 12:37
Monday 21 August 2023 at 13:19
Monday 21 August 2023 at 13:19
Edited by Tutul |
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
Install this program
