Wildlife Park 2

Informations

Creator Message
LinuxScripter Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 334
Wine: 3.0

Feedbacks

Description

Become a zoo manager and take good care of your animals.

Wikipedia. PCGamingWiki

Source code

#!/bin/bash
# Date : (2018-03-23 22:41)
# Last revision : (2018-03-24 09:51)
# Wine version used : 3.0
# Distribution used to test : Ubuntu 18.04 64bit
# Author : LinuxScripter
# Script licence : GPLv3
# Program licence : Proprietary

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

TITLE="Wildlife Park 2"
PREFIX="WildlifePark2"
EDITOR="B-Alive"
AUTHOR="LinuxScripter"
GAME_URL="www.wildlifepark2.com"
WORKING_WINE_VERSION="3.0"

POL_SetupWindow_Init
POL_Debug_Init
   
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_Function_SetResolution

POL_Call POL_Install_quartz
POL_Wine_OverrideDLL "" "winegstreamer"

POL_SetupWindow_InstallMethod "CD,STEAM"

if [ "$INSTALL_METHOD" == "CD" ]; then
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "wlp2.ico"
POL_Wine start /unix "$CDROM/setup.exe"
POL_Wine_WaitExit "$TITLE"
else
POL_Call POL_Install_steam
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine "steam.exe" steam://install/304350
POL_Wine_WaitBefore "$TITLE"
fi

if ["$INSTALL_METHOD" == "STEAM"]; then
POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/304350"
else
POL_Shortcut "WLP2.exe" "$TITLE" "wlp2.ico"
fi

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
LinuxScripter Saturday 24 March 2018 at 9:53
LinuxScripter Anonymous

Information

This update has been approved by the team.

Message

Added a proper end to the second if loop.

Differences

@@ -0,0 +1,54 @@
+#!/bin/bash
+# Date : (2018-03-23 22:41)
+# Last revision : (2018-03-24 09:51)
+# Wine version used : 3.0
+# Distribution used to test : Ubuntu 18.04 64bit
+# Author : LinuxScripter
+# Script licence : GPLv3
+# Program licence : Proprietary
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="Wildlife Park 2"
+PREFIX="WildlifePark2"
+EDITOR="B-Alive"
+AUTHOR="LinuxScripter"
+GAME_URL="www.wildlifepark2.com"
+WORKING_WINE_VERSION="3.0"
+
+POL_SetupWindow_Init
+POL_Debug_Init
+   
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+
+POL_Call POL_Function_SetResolution
+
+POL_Call POL_Install_quartz
+POL_Wine_OverrideDLL "" "winegstreamer"
+
+POL_SetupWindow_InstallMethod "CD,STEAM"
+
+if [ "$INSTALL_METHOD" == "CD" ]; then
+POL_SetupWindow_cdrom
+POL_SetupWindow_check_cdrom "wlp2.ico"
+POL_Wine start /unix "$CDROM/setup.exe"
+POL_Wine_WaitExit "$TITLE"
+else
+POL_Call POL_Install_steam
+cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+POL_Wine "steam.exe" steam://install/304350
+POL_Wine_WaitBefore "$TITLE"
+fi
+
+if ["$INSTALL_METHOD" == "STEAM"]; then
+POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/304350"
+else
+POL_Shortcut "WLP2.exe" "$TITLE" "wlp2.ico"
+fi
+
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2018-03-23 22:41)
# Last revision : (2018-03-24 09:51)
# Wine version used : 3.0
# Distribution used to test : Ubuntu 18.04 64bit
# Author : LinuxScripter
# Script licence : GPLv3
# Program licence : Proprietary

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

TITLE="Wildlife Park 2"
PREFIX="WildlifePark2"
EDITOR="B-Alive"
AUTHOR="LinuxScripter"
GAME_URL="www.wildlifepark2.com"
WORKING_WINE_VERSION="3.0"

POL_SetupWindow_Init
POL_Debug_Init
   
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_Function_SetResolution

POL_Call POL_Install_quartz
POL_Wine_OverrideDLL "" "winegstreamer"

POL_SetupWindow_InstallMethod "CD,STEAM"

if [ "$INSTALL_METHOD" == "CD" ]; then
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "wlp2.ico"
POL_Wine start /unix "$CDROM/setup.exe"
POL_Wine_WaitExit "$TITLE"
else
POL_Call POL_Install_steam
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine "steam.exe" steam://install/304350
POL_Wine_WaitBefore "$TITLE"
fi

if ["$INSTALL_METHOD" == "STEAM"]; then
POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/304350"
else
POL_Shortcut "WLP2.exe" "$TITLE" "wlp2.ico"
fi

POL_SetupWindow_Close
exit 0

Replies

LinuxScripter Friday 23 March 2018 at 23:09
LinuxScripter Anonymous

Warning

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

Message

The winegstreamer lib might not be visible when browsing though dlls in winecfg but without it the instalation process from the CD fails. Quartz is needed to go past the B-Alive splash screen. The game should be run in virtual desktop or else it changes user's resolution. When all of those fixes are applied the game runs flawlessly. The webpage is down so don't bother.

Differences

@@ -0,0 +1,53 @@
+#!/bin/bash
+# Date : (2018-03-23 22:41)
+# Last revision : (2018-03-23 22:41)
+# Wine version used : 3.0
+# Distribution used to test : Ubuntu 18.04 64bit
+# Author : LinuxScripter
+# Script licence : GPLv3
+# Program licence : Proprietary
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="Wildlife Park 2"
+PREFIX="WildlifePark2"
+EDITOR="B-Alive"
+AUTHOR="LinuxScripter"
+GAME_URL="www.wildlifepark2.com"
+WORKING_WINE_VERSION="3.0"
+
+POL_SetupWindow_Init
+POL_Debug_Init
+   
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+
+POL_Call POL_Function_SetResolution
+
+POL_Call POL_Install_quartz
+POL_Wine_OverrideDLL "" "winegstreamer"
+
+POL_SetupWindow_InstallMethod "CD,STEAM"
+
+if [ "$INSTALL_METHOD" == "CD" ]; then
+POL_SetupWindow_cdrom
+POL_SetupWindow_check_cdrom "wlp2.ico"
+POL_Wine start /unix "$CDROM/setup.exe"
+POL_Wine_WaitExit "$TITLE"
+else
+POL_Call POL_Install_steam
+cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+POL_Wine "steam.exe" steam://install/304350
+POL_Wine_WaitBefore "$TITLE"
+fi
+
+if ["$INSTALL_METHOD" == "STEAM"]; then
+POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/304350"
+else
+POL_Shortcut "WLP2.exe" "$TITLE" "wlp2.ico"
+
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2018-03-23 22:41)
# Last revision : (2018-03-23 22:41)
# Wine version used : 3.0
# Distribution used to test : Ubuntu 18.04 64bit
# Author : LinuxScripter
# Script licence : GPLv3
# Program licence : Proprietary

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

TITLE="Wildlife Park 2"
PREFIX="WildlifePark2"
EDITOR="B-Alive"
AUTHOR="LinuxScripter"
GAME_URL="www.wildlifepark2.com"
WORKING_WINE_VERSION="3.0"

POL_SetupWindow_Init
POL_Debug_Init
   
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_Function_SetResolution

POL_Call POL_Install_quartz
POL_Wine_OverrideDLL "" "winegstreamer"

POL_SetupWindow_InstallMethod "CD,STEAM"

if [ "$INSTALL_METHOD" == "CD" ]; then
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "wlp2.ico"
POL_Wine start /unix "$CDROM/setup.exe"
POL_Wine_WaitExit "$TITLE"
else
POL_Call POL_Install_steam
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine "steam.exe" steam://install/304350
POL_Wine_WaitBefore "$TITLE"
fi

if ["$INSTALL_METHOD" == "STEAM"]; then
POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/304350"
else
POL_Shortcut "WLP2.exe" "$TITLE" "wlp2.ico"

POL_SetupWindow_Close
exit 0

Replies

Anonymous
Friday 23 March 2018 at 23:11
whoops forgot about finishing that second if loop