You are here
Plants Vs Zombies
Informations
Creator | Message |
---|---|
GuerreroAzul
|
InformationThis installer has been approved by the team. InformationsPlatforms: Feedbacks1 0 DescriptionPlants vs. Zombies is a tower defense-style video game developed and published on May 5, 2009 by PopCap Games. Source code#!/usr/bin/env PlayOnLinux-Bash # Information # Date: 2023-11-09 # Last revision: 2023-11-09 # Wine Version: 7.22 # OS: Linux Mint 21.2 x86_64 # Author: GuerreroAzul # PlayOnLinux : 4.3.4 # Script licence : GPL3 # Program licence : Retail # Running the Scripts [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" POL_SetupWindow_Init POL_Debug_Init # Variable TITLE="Plants Vs Zombies" PREFIX="PlantsVsZombies" POLVERSION="4.3.4" WINEVERSION="7.22" OSVERSION="win7" ARCHITECTURE="x86" COMPANY="PopCap Games" SITEWEB="https://www.ea.com/es-es/games/plants-vs-zombies/plants-vs-zombies" AUTHOR="GuerreroAzul" #Presentation POL_SetupWindow_presentation "$TITLE" "$COMPANY" "$SITEWEB" "$AUTHOR" "$TITLE" # POL Validations POL_RequiredVersion $POLVERSION || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION !nPlease update!" #Linux Validations if [ "$POL_OS" = "Linux" ]; then wbinfo -V || POL_Debug_Fatal "Please install winbind before installing $TITLE!" fi #Mac Validations if [ "$POL_OS" = "Mac" ]; then POL_Call POL_GetTool_samba3 source "$POL_USER_ROOT/tools/samba3/init" fi #wine Setup And Installation POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" Set_OS "$OS" POL_System_SetArch "$ARQUITECTURE" # Installation of Libraries POL_Call POL_Install_d3dx9 # Installation cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" INSTALLER="$APP_ANSWER" #Installation started POL_Wine start /unix "$INSTALLER" POL_Wine_WaitExit "$INSTALLER" POL_Shortcut "PlantsVsZombies.exe" "Plants Vs Zombies" #End installation POL_System_TmpDelete POL_SetupWindow_Close exit 0 |
Contributions
Filters:
ContributeMember | Message |
GuerreroAzul | Thursday 9 November 2023 at 21:17 |
GuerreroAzul
|
InformationThis update has been approved by the team. Differences@@ -0,0 +1,70 @@ +#!/usr/bin/env PlayOnLinux-Bash +# Information +# Date: 2023-11-09 +# Last revision: 2023-11-09 +# Wine Version: 7.22 +# OS: Linux Mint 21.2 x86_64 +# Author: GuerreroAzul +# PlayOnLinux : 4.3.4 +# Script licence : GPL3 +# Program licence : Retail + +# Running the Scripts +[ "$PLAYONLINUX" = "" ] && exit 0 +source "$PLAYONLINUX/lib/sources" +POL_SetupWindow_Init +POL_Debug_Init + +# Variable +TITLE="Plants Vs Zombies" +PREFIX="PlantsVsZombies" +POLVERSION="4.3.4" +WINEVERSION="7.22" +OSVERSION="win7" +ARCHITECTURE="x86" +COMPANY="PopCap Games" +SITEWEB="https://www.ea.com/es-es/games/plants-vs-zombies/plants-vs-zombies" +AUTHOR="GuerreroAzul" + + +#Presentation +POL_SetupWindow_presentation "$TITLE" "$COMPANY" "$SITEWEB" "$AUTHOR" "$TITLE" + +# POL Validations +POL_RequiredVersion $POLVERSION || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION !nPlease update!" + +#Linux Validations +if [ "$POL_OS" = "Linux" ]; then + wbinfo -V || POL_Debug_Fatal "Please install winbind before installing $TITLE!" +fi + +#Mac Validations +if [ "$POL_OS" = "Mac" ]; then + POL_Call POL_GetTool_samba3 + source "$POL_USER_ROOT/tools/samba3/init" +fi + +#wine Setup And Installation +POL_Wine_SelectPrefix "$PREFIX" +POL_Wine_PrefixCreate "$WINEVERSION" +Set_OS "$OS" +POL_System_SetArch "$ARQUITECTURE" + +# Installation of Libraries +POL_Call POL_Install_d3dx9 + +# Installation +cd "$HOME" +POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" +INSTALLER="$APP_ANSWER" + +#Installation started +POL_Wine start /unix "$INSTALLER" +POL_Wine_WaitExit "$INSTALLER" + +POL_Shortcut "PlantsVsZombies.exe" "Plants Vs Zombies" + +#End installation +POL_System_TmpDelete +POL_SetupWindow_Close +exit 0 \ No newline at end of file New source code#!/usr/bin/env PlayOnLinux-Bash # Information # Date: 2023-11-09 # Last revision: 2023-11-09 # Wine Version: 7.22 # OS: Linux Mint 21.2 x86_64 # Author: GuerreroAzul # PlayOnLinux : 4.3.4 # Script licence : GPL3 # Program licence : Retail # Running the Scripts [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" POL_SetupWindow_Init POL_Debug_Init # Variable TITLE="Plants Vs Zombies" PREFIX="PlantsVsZombies" POLVERSION="4.3.4" WINEVERSION="7.22" OSVERSION="win7" ARCHITECTURE="x86" COMPANY="PopCap Games" SITEWEB="https://www.ea.com/es-es/games/plants-vs-zombies/plants-vs-zombies" AUTHOR="GuerreroAzul" #Presentation POL_SetupWindow_presentation "$TITLE" "$COMPANY" "$SITEWEB" "$AUTHOR" "$TITLE" # POL Validations POL_RequiredVersion $POLVERSION || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION !nPlease update!" #Linux Validations if [ "$POL_OS" = "Linux" ]; then wbinfo -V || POL_Debug_Fatal "Please install winbind before installing $TITLE!" fi #Mac Validations if [ "$POL_OS" = "Mac" ]; then POL_Call POL_GetTool_samba3 source "$POL_USER_ROOT/tools/samba3/init" fi #wine Setup And Installation POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINEVERSION" Set_OS "$OS" POL_System_SetArch "$ARQUITECTURE" # Installation of Libraries POL_Call POL_Install_d3dx9 # Installation cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" INSTALLER="$APP_ANSWER" #Installation started POL_Wine start /unix "$INSTALLER" POL_Wine_WaitExit "$INSTALLER" POL_Shortcut "PlantsVsZombies.exe" "Plants Vs Zombies" #End installation POL_System_TmpDelete POL_SetupWindow_Close exit 0 RepliesMonday 8 January 2024 at 13:50
|
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