Pro Pilkki 2 update v1.1.5

Informations

Créateur Messages
lahtis

Information

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

Informations

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

Retours d'expérience

Description

Pro Pilkki 2 updater 1.1 to 1.1.5 version.

 

Ice Fishing Game.

Code source

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

Contribuer
Membre Messages
lahtis Dimanche 11 Février 2018 à 16:42
lahtis

Information

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

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

Nouveau code source

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

Réponses

Vendredi 2 Aoüt 2019 à 17:15
Approved.
lahtis Vendredi 20 Janvier 2017 à 15:48
lahtis

Warning

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

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

Nouveau code source

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

Réponses

Vendredi 20 Janvier 2017 à 20:57
version 1.1 to 1.1.5
Anonymous
Vendredi 3 Février 2017 à 17:46
Can't update with this. Operating system not supported error
Lundi 6 Février 2017 à 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