Wildlife Park 2

Informations

Créateur Messages
LinuxScripter Anonymous

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 491
Wine: 3.0

Retours d'expérience

Description

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

Wikipedia. PCGamingWiki

Code source

#!/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:

Contribuer
Membre Messages
LinuxScripter Samedi 24 Mars 2018 à 9:53
LinuxScripter Anonymous

Information

Cette mise à jour a été acceptée par l'équipe

Messages

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

Nouveau code source

#!/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

Réponses

LinuxScripter Vendredi 23 Mars 2018 à 23:09
LinuxScripter Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

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

Nouveau code source

#!/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

Réponses

Anonymous
Vendredi 23 Mars 2018 à 23:11
whoops forgot about finishing that second if loop