Pro Pilkki 2 update v1.1.5

Informations

Creator Message
lahtis

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 3290
Wine: 3.0

Feedbacks

Description

Pro Pilkki 2 updater 1.1 to 1.1.5 version.

 

Ice Fishing Game.

Source code

#!/usr/bin/env playonlinux-bash
# Date : (2017-01-19 16:27)
# Last revision : (2017-02-11 17-38)
# Wine version used : 2.0-rc5
# Distribution used to test : Ubuntu Mate 16.04 LTS, 64 bit
# Author : lahtis <lahtis@gmail.com>
# Script licence : GPLv2
# Pro Pilkki 2 update 1.1 to 1.1.5 version

[ -z "$PLAYONLINUX" ] && exit
source "$PLAYONLINUX/lib/sources"

PREFIX="ProPilkki2"
WORKING_WINE_VERSION="3.0"
TITLE="Pro Pilkki 2"
EDITOR="Team Procyon"
GAME_URL="http://www.kalassa.net/propilkki2/index.php?eng=1"
AUTHOR="lahtis"
GAME_VMS="512"

CURRENT_VERSION="v.1.1"
UPDATE_VERSION="v.1.1.5"

# Initialization
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 3110
POL_Debug_Init
 
# Presentation
POL_SetupWindow_presentation "$TITLE update $UPDATE_VERSION" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

POL_SetupWindow_checkexist()
{       
        if [ ! -e $REPERTOIRE/wineprefix/$1 ]; then
                POL_SetupWindow_message "$(eval_gettext 'Please install $TITLE $CURRENT_VERSION first.')" "$TITLE"
                POL_SetupWindow_Close
                exit 0
        fi
}

# Create Prefix
POL_SetupWindow_checkexist "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$PREFIX"

Set_OS "win8"

# Download update file.
cd "$POL_System_TmpDir"
POL_Download "http://propilkki.ddns.net/propilkki2/download_1.1.5/PP2_download.php?id=0"
POL_Wine_WaitBefore "$TITLE" 

# Move file to correct filename
mv "PP2_download.php?id=0" "P2Updater_v1.1.5.exe"

# Installing update
POL_Wine "$POL_System_TmpDir/P2Updater_v1.1.5.exe" || POL_Debug_Fatal "$(eval_gettext 'Error file installing!')"
POL_Wine_WaitExit "$TITLE"

POL_SetupWindow_message "$(eval_gettext '$TITLE $UPDATE_VERSION has been successfully installed.')"

POL_System_TmpDelete 
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
lahtis Sunday 11 February 2018 at 16:42
lahtis

Information

This update has been approved by the team.

Differences

@@ -0,0 +1,67 @@
+#!/usr/bin/env playonlinux-bash
+# Date : (2017-01-19 16:27)
+# Last revision : (2017-02-11 17-38)
+# Wine version used : 2.0-rc5
+# Distribution used to test : Ubuntu Mate 16.04 LTS, 64 bit
+# Author : lahtis <lahtis@gmail.com>
+# Script licence : GPLv2
+# Pro Pilkki 2 update 1.1 to 1.1.5 version
+
+[ -z "$PLAYONLINUX" ] && exit
+source "$PLAYONLINUX/lib/sources"
+
+PREFIX="ProPilkki2"
+WORKING_WINE_VERSION="3.0"
+TITLE="Pro Pilkki 2"
+EDITOR="Team Procyon"
+GAME_URL="http://www.kalassa.net/propilkki2/index.php?eng=1"
+AUTHOR="lahtis"
+GAME_VMS="512"
+
+CURRENT_VERSION="v.1.1"
+UPDATE_VERSION="v.1.1.5"
+
+# Initialization
+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 3110
+POL_Debug_Init
+ 
+# Presentation
+POL_SetupWindow_presentation "$TITLE update $UPDATE_VERSION" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+
+POL_SetupWindow_checkexist()
+{       
+        if [ ! -e $REPERTOIRE/wineprefix/$1 ]; then
+                POL_SetupWindow_message "$(eval_gettext 'Please install $TITLE $CURRENT_VERSION first.')" "$TITLE"
+                POL_SetupWindow_Close
+                exit 0
+        fi
+}
+
+# Create Prefix
+POL_SetupWindow_checkexist "$PREFIX"
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+POL_System_TmpCreate "$PREFIX"
+
+Set_OS "win8"
+
+# Download update file.
+cd "$POL_System_TmpDir"
+POL_Download "http://propilkki.ddns.net/propilkki2/download_1.1.5/PP2_download.php?id=0"
+POL_Wine_WaitBefore "$TITLE" 
+
+# Move file to correct filename
+mv "PP2_download.php?id=0" "P2Updater_v1.1.5.exe"
+
+# Installing update
+POL_Wine "$POL_System_TmpDir/P2Updater_v1.1.5.exe" || POL_Debug_Fatal "$(eval_gettext 'Error file installing!')"
+POL_Wine_WaitExit "$TITLE"
+
+POL_SetupWindow_message "$(eval_gettext '$TITLE $UPDATE_VERSION has been successfully installed.')"
+
+POL_System_TmpDelete 
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2017-01-19 16:27)
# Last revision : (2017-02-11 17-38)
# Wine version used : 2.0-rc5
# Distribution used to test : Ubuntu Mate 16.04 LTS, 64 bit
# Author : lahtis <lahtis@gmail.com>
# Script licence : GPLv2
# Pro Pilkki 2 update 1.1 to 1.1.5 version

[ -z "$PLAYONLINUX" ] && exit
source "$PLAYONLINUX/lib/sources"

PREFIX="ProPilkki2"
WORKING_WINE_VERSION="3.0"
TITLE="Pro Pilkki 2"
EDITOR="Team Procyon"
GAME_URL="http://www.kalassa.net/propilkki2/index.php?eng=1"
AUTHOR="lahtis"
GAME_VMS="512"

CURRENT_VERSION="v.1.1"
UPDATE_VERSION="v.1.1.5"

# Initialization
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 3110
POL_Debug_Init
 
# Presentation
POL_SetupWindow_presentation "$TITLE update $UPDATE_VERSION" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

POL_SetupWindow_checkexist()
{       
        if [ ! -e $REPERTOIRE/wineprefix/$1 ]; then
                POL_SetupWindow_message "$(eval_gettext 'Please install $TITLE $CURRENT_VERSION first.')" "$TITLE"
                POL_SetupWindow_Close
                exit 0
        fi
}

# Create Prefix
POL_SetupWindow_checkexist "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$PREFIX"

Set_OS "win8"

# Download update file.
cd "$POL_System_TmpDir"
POL_Download "http://propilkki.ddns.net/propilkki2/download_1.1.5/PP2_download.php?id=0"
POL_Wine_WaitBefore "$TITLE" 

# Move file to correct filename
mv "PP2_download.php?id=0" "P2Updater_v1.1.5.exe"

# Installing update
POL_Wine "$POL_System_TmpDir/P2Updater_v1.1.5.exe" || POL_Debug_Fatal "$(eval_gettext 'Error file installing!')"
POL_Wine_WaitExit "$TITLE"

POL_SetupWindow_message "$(eval_gettext '$TITLE $UPDATE_VERSION has been successfully installed.')"

POL_System_TmpDelete 
POL_SetupWindow_Close
exit 0

Replies

Friday 2 August 2019 at 17:15
Approved.
lahtis Friday 20 January 2017 at 15:48
lahtis

Warning

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

Differences

@@ -0,0 +1,69 @@
+#!/bin/bash
+# Date : (2017-01-19 16:27)
+# Last revision : (2017-01-19 16:27)
+# Wine version used : 2.0-rc5
+# Distribution used to test : Ubuntu Mate 16.04 LTS, 64 bit
+# Author : lahtis <lahtis@gmail.com>
+# Script licence : GPLv2
+# Pro Pilkki 2 update 1.1 to 1.1.5 version
+
+[ -z "$PLAYONLINUX" = "" ] && exit
+source "$PLAYONLINUX/lib/sources"
+
+PREFIX="ProPilkki2"
+WORKING_WINE_VERSION="2.0-rc5"
+TITLE="Pro Pilkki 2"
+EDITOR="Team Procyon"
+GAME_URL="http://www.kalassa.net/propilkki2/index.php?eng=1"
+AUTHOR="lahtis"
+GAME_VMS="512"
+
+CURRENT_VERSION="v.1.1"
+UPDATE_VERSION="v.1.1.5"
+
+# Initialization
+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
+ 
+# Presentation
+POL_SetupWindow_presentation "$TITLE update $UPDATE_VERSION" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+
+POL_SetupWindow_checkexist()
+{       
+        if [ ! -e $REPERTOIRE/wineprefix/$1 ]; then
+                POL_SetupWindow_message "$(eval_gettext 'Please install $TITLE $CURRENT_VERSION first.')" "$TITLE"
+                POL_SetupWindow_Close
+                exit 0
+        fi
+}
+
+# Create Prefix
+POL_SetupWindow_checkexist "$PREFIX"
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+POL_System_TmpCreate "$PREFIX"
+
+
+# Fix pulseaudio issue
+which pulseaudio && Set_OS "win8"
+
+# Download update file.
+cd "$POL_System_TmpDir"
+POL_Download "http://propilkki.ddns.net/propilkki2/download_1.1.5/PP2_download.php?id=0"
+POL_Wine_WaitBefore "$TITLE" 
+
+# Move file to correct filename
+mv "PP2_download.php?id=0" "P2Updater_v1.1.5.exe"
+
+# Installing update
+POL_Wine "$POL_System_TmpDir/P2Updater_v1.1.5.exe" || POL_Debug_Fatal "$(eval_gettext 'Error file installing!')"
+POL_Wine_WaitExit "$TITLE"
+
+POL_SetupWindow_message "$(eval_gettext '$TITLE $UPDATE_VERSION has been successfully installed.')"
+
+POL_System_TmpDelete 
+POL_SetupWindow_Close
+ 
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2017-01-19 16:27)
# Last revision : (2017-01-19 16:27)
# Wine version used : 2.0-rc5
# Distribution used to test : Ubuntu Mate 16.04 LTS, 64 bit
# Author : lahtis <lahtis@gmail.com>
# Script licence : GPLv2
# Pro Pilkki 2 update 1.1 to 1.1.5 version

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

PREFIX="ProPilkki2"
WORKING_WINE_VERSION="2.0-rc5"
TITLE="Pro Pilkki 2"
EDITOR="Team Procyon"
GAME_URL="http://www.kalassa.net/propilkki2/index.php?eng=1"
AUTHOR="lahtis"
GAME_VMS="512"

CURRENT_VERSION="v.1.1"
UPDATE_VERSION="v.1.1.5"

# Initialization
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
 
# Presentation
POL_SetupWindow_presentation "$TITLE update $UPDATE_VERSION" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

POL_SetupWindow_checkexist()
{       
        if [ ! -e $REPERTOIRE/wineprefix/$1 ]; then
                POL_SetupWindow_message "$(eval_gettext 'Please install $TITLE $CURRENT_VERSION first.')" "$TITLE"
                POL_SetupWindow_Close
                exit 0
        fi
}

# Create Prefix
POL_SetupWindow_checkexist "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$PREFIX"


# Fix pulseaudio issue
which pulseaudio && Set_OS "win8"

# Download update file.
cd "$POL_System_TmpDir"
POL_Download "http://propilkki.ddns.net/propilkki2/download_1.1.5/PP2_download.php?id=0"
POL_Wine_WaitBefore "$TITLE" 

# Move file to correct filename
mv "PP2_download.php?id=0" "P2Updater_v1.1.5.exe"

# Installing update
POL_Wine "$POL_System_TmpDir/P2Updater_v1.1.5.exe" || POL_Debug_Fatal "$(eval_gettext 'Error file installing!')"
POL_Wine_WaitExit "$TITLE"

POL_SetupWindow_message "$(eval_gettext '$TITLE $UPDATE_VERSION has been successfully installed.')"

POL_System_TmpDelete 
POL_SetupWindow_Close
 
exit 0

Replies

Friday 20 January 2017 at 20:57
version 1.1 to 1.1.5
Anonymous
Friday 3 February 2017 at 17:46
Can't update with this. Operating system not supported error
Monday 6 February 2017 at 19:53
I do not know why the error message is only for Mac OS.

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