Pro Pilkki 2

Informations

Créateur Messages
lahtis

Attention

This installer is a beta script. It means that it might not work as expected

Informations

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

Retours d'expérience

Description

It's a realistic ice fishing game (Europe). URL for download.

Note: this script can download automatically the game.

Captures d'écran

MiniatureMiniature

Code source

#!/bin/bash
# Date : (2013-02-26 ??-??)
# Last revision : see changelog
# Distribution used to test : Ubuntu 18.04 LTS
# Author : lahtis
# Licence : GPLv3
# Installer for Pro pilkki 2 v1.4.2
# PlayOnLinux: 4.1.9, 4.2.1, 4.2.9
 
# CHANGELOG
# [SuperPlumus] (2013-07-24 09-37)
#   Update gettext messages
#   Clean code
#   Fix $PLAYONLINUX check presence
# [Lahtis] (2019-03-08 15-48)
#
# [Dadu042] (2019-11-10)
#   Add warning about log size.

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Pro Pilkki 2"
PREFIX="ProPilkki2"
WORKING_WINE_VERSION="3.0"
EDITOR="Team Procyon"
GAME_URL="http://www.kalassa.net/propilkki2/index.php?eng=1"
AUTHOR="lahtis"

  
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 1595
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
POL_System_TmpCreate "$PREFIX"
 
Set_OS "win8"
 
cd "$POL_System_TmpDir"
POL_Download "http://propilkki.ddns.net/propilkki2/download/PP2_download.php?id=0"

mv "PP2_download.php?id=0" "P2Installer_v1.4.2.exe" || POL_Debug_Fatal "$(eval_gettext 'Error rename the file!')"
 
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$POL_System_TmpDir/P2Installer_v1.4.2.exe"
POL_Wine_WaitExit "$TITLE"
 
POL_Shortcut 'ProPilkki2.exe' "$TITLE"

POL_SetupWindow_message "$(eval_gettext 'WARNING: to avoid to have huge log file, you should type \ninto Debug flags : fixme-all')" "$TITLE"

POL_System_TmpDelete 
POL_SetupWindow_Close
 
exit 0

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Dimanche 10 Novembre 2019 à 12:43
Dadu042

Information

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

Differences

@@ -1,6 +1,6 @@
 #!/bin/bash
 # Date : (2013-02-26 ??-??)
-# Last revision : (2019-03-08 15-48)
+# Last revision : see changelog
 # Distribution used to test : Ubuntu 18.04 LTS
 # Author : lahtis
 # Licence : GPLv3
@@ -12,7 +12,11 @@
 #   Update gettext messages
 #   Clean code
 #   Fix $PLAYONLINUX check presence
- 
+# [Lahtis] (2019-03-08 15-48)
+#
+# [Dadu042] (2019-11-10)
+#   Add warning about log size.
+
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
  
@@ -50,6 +54,8 @@
  
 POL_Shortcut 'ProPilkki2.exe' "$TITLE"
 
+POL_SetupWindow_message "$(eval_gettext 'WARNING: to avoid to have huge log file, you should type \ninto Debug flags : fixme-all')" "$TITLE"
+
 POL_System_TmpDelete 
 POL_SetupWindow_Close
  

Nouveau code source

#!/bin/bash
# Date : (2013-02-26 ??-??)
# Last revision : see changelog
# Distribution used to test : Ubuntu 18.04 LTS
# Author : lahtis
# Licence : GPLv3
# Installer for Pro pilkki 2 v1.4.2
# PlayOnLinux: 4.1.9, 4.2.1, 4.2.9
 
# CHANGELOG
# [SuperPlumus] (2013-07-24 09-37)
#   Update gettext messages
#   Clean code
#   Fix $PLAYONLINUX check presence
# [Lahtis] (2019-03-08 15-48)
#
# [Dadu042] (2019-11-10)
#   Add warning about log size.

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Pro Pilkki 2"
PREFIX="ProPilkki2"
WORKING_WINE_VERSION="3.0"
EDITOR="Team Procyon"
GAME_URL="http://www.kalassa.net/propilkki2/index.php?eng=1"
AUTHOR="lahtis"

  
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 1595
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
POL_System_TmpCreate "$PREFIX"
 
Set_OS "win8"
 
cd "$POL_System_TmpDir"
POL_Download "http://propilkki.ddns.net/propilkki2/download/PP2_download.php?id=0"

mv "PP2_download.php?id=0" "P2Installer_v1.4.2.exe" || POL_Debug_Fatal "$(eval_gettext 'Error rename the file!')"
 
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$POL_System_TmpDir/P2Installer_v1.4.2.exe"
POL_Wine_WaitExit "$TITLE"
 
POL_Shortcut 'ProPilkki2.exe' "$TITLE"

POL_SetupWindow_message "$(eval_gettext 'WARNING: to avoid to have huge log file, you should type \ninto Debug flags : fixme-all')" "$TITLE"

POL_System_TmpDelete 
POL_SetupWindow_Close
 
exit 0

Réponses

lahtis Vendredi 2 Aoüt 2019 à 23:31
lahtis

Warning

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

Messages

Old script not working. New version of game. This script working.

Differences

@@ -1,62 +1,56 @@
 #!/bin/bash
 # Date : (2013-02-26 ??-??)
-# Last revision : (2015-02-09 15-48)
-# Distribution used to test : Ubuntu 12.10
+# Last revision : (2019-03-08 15-48)
+# Distribution used to test : Ubuntu 18.04 LTS
 # Author : lahtis
 # Licence : GPLv3
-# Installer for Pro pilkki 2 v1.0.3
+# Installer for Pro pilkki 2 v1.4.2
 # PlayOnLinux: 4.1.9, 4.2.1, 4.2.9
-
+ 
 # CHANGELOG
 # [SuperPlumus] (2013-07-24 09-37)
 #   Update gettext messages
 #   Clean code
 #   Fix $PLAYONLINUX check presence
-
+ 
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 TITLE="Pro Pilkki 2"
 PREFIX="ProPilkki2"
-WORKING_WINE_VERSION="1.5.28"
+WORKING_WINE_VERSION="3.0"
 EDITOR="Team Procyon"
 GAME_URL="http://www.kalassa.net/propilkki2/index.php?eng=1"
 AUTHOR="lahtis"
-GAME_VMS="512"
-
 
+  
 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_Init 
+POL_SetupWindow_SetID 1595
 POL_Debug_Init
-
+ 
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
-
+ 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_System_SetArch "x86"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
-
+ 
 POL_System_TmpCreate "$PREFIX"
-
-# Fix pulseaudio issue
-which pulseaudio && Set_OS "winxp"
-
-# Asking about memory size of graphic card
-POL_SetupWindow_VMS $GAME_VMS
-
+ 
+Set_OS "win8"
+ 
 cd "$POL_System_TmpDir"
 POL_Download "http://propilkki.ddns.net/propilkki2/download/PP2_download.php?id=0"
 
-# Move file to correct filename
-mv "PP2_download.php?id=0" "P2Installer_v1.1.exe"
-
+mv "PP2_download.php?id=0" "P2Installer_v1.4.2.exe" || POL_Debug_Fatal "$(eval_gettext 'Error rename the file!')"
+ 
 POL_Wine_WaitBefore "$TITLE"
-POL_Wine "$POL_System_TmpDir/P2Installer_v1.1.exe"
+POL_Wine "$POL_System_TmpDir/P2Installer_v1.4.2.exe"
 POL_Wine_WaitExit "$TITLE"
-
-POL_System_TmpDelete
-
+ 
 POL_Shortcut 'ProPilkki2.exe' "$TITLE"
 
+POL_System_TmpDelete 
 POL_SetupWindow_Close
-
+ 
 exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2013-02-26 ??-??)
# Last revision : (2019-03-08 15-48)
# Distribution used to test : Ubuntu 18.04 LTS
# Author : lahtis
# Licence : GPLv3
# Installer for Pro pilkki 2 v1.4.2
# PlayOnLinux: 4.1.9, 4.2.1, 4.2.9
 
# CHANGELOG
# [SuperPlumus] (2013-07-24 09-37)
#   Update gettext messages
#   Clean code
#   Fix $PLAYONLINUX check presence
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Pro Pilkki 2"
PREFIX="ProPilkki2"
WORKING_WINE_VERSION="3.0"
EDITOR="Team Procyon"
GAME_URL="http://www.kalassa.net/propilkki2/index.php?eng=1"
AUTHOR="lahtis"

  
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 1595
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
POL_System_TmpCreate "$PREFIX"
 
Set_OS "win8"
 
cd "$POL_System_TmpDir"
POL_Download "http://propilkki.ddns.net/propilkki2/download/PP2_download.php?id=0"

mv "PP2_download.php?id=0" "P2Installer_v1.4.2.exe" || POL_Debug_Fatal "$(eval_gettext 'Error rename the file!')"
 
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$POL_System_TmpDir/P2Installer_v1.4.2.exe"
POL_Wine_WaitExit "$TITLE"
 
POL_Shortcut 'ProPilkki2.exe' "$TITLE"

POL_System_TmpDelete 
POL_SetupWindow_Close
 
exit 0

Réponses

Samedi 3 Aoüt 2019 à 1:08
Approved.
lahtis Vendredi 9 Février 2018 à 16:38
lahtis

Warning

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

Messages

little fix

Differences

@@ -1,62 +1,57 @@
-#!/bin/bash
+#!/usr/bin/env playonlinux-bash
 # Date : (2013-02-26 ??-??)
-# Last revision : (2015-02-09 15-48)
-# Distribution used to test : Ubuntu 12.10
+# Last revision : (2018-02-09 17-34)
+# Distribution used to test : Ubuntu 16.04 lts, 64-bit
 # Author : lahtis
 # Licence : GPLv3
-# Installer for Pro pilkki 2 v1.0.3
-# PlayOnLinux: 4.1.9, 4.2.1, 4.2.9
-
+# Installer for Pro pilkki 2 v1.2
+# PlayOnLinux: 4.1.9, 4.2.1, 4.2.9 4.2.10, 4.2.12
+# Latest found https://github.com/lahtis/playonlinux/blob/master/working/ProPilkki2
+   
 # CHANGELOG
 # [SuperPlumus] (2013-07-24 09-37)
 #   Update gettext messages
 #   Clean code
 #   Fix $PLAYONLINUX check presence
-
-[ -z "$PLAYONLINUX" ] && exit 0
+   
+[ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+   
 TITLE="Pro Pilkki 2"
 PREFIX="ProPilkki2"
-WORKING_WINE_VERSION="1.5.28"
+WORKING_WINE_VERSION="3.0"
 EDITOR="Team Procyon"
-GAME_URL="http://www.kalassa.net/propilkki2/index.php?eng=1"
+GAME_URL="http://www.kalassa.net"
 AUTHOR="lahtis"
-GAME_VMS="512"
-
-
+CURRENT_VERSION="v.1.2"
+   
 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
-
+   
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
-
+   
 POL_Wine_SelectPrefix "$PREFIX"
 POL_System_SetArch "x86"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
-
 POL_System_TmpCreate "$PREFIX"
-
-# Fix pulseaudio issue
-which pulseaudio && Set_OS "winxp"
-
+Set_OS "win8"
+   
 # Asking about memory size of graphic card
-POL_SetupWindow_VMS $GAME_VMS
-
+POL_SetupWindow_VMS "512"
+   
 cd "$POL_System_TmpDir"
 POL_Download "http://propilkki.ddns.net/propilkki2/download/PP2_download.php?id=0"
-
+   
 # Move file to correct filename
-mv "PP2_download.php?id=0" "P2Installer_v1.1.exe"
-
+mv "PP2_download.php?id=0" "P2Installer_v1.2.exe" || POL_Debug_Fatal "$(eval_gettext 'Error rename the file!')"
+   
 POL_Wine_WaitBefore "$TITLE"
-POL_Wine "$POL_System_TmpDir/P2Installer_v1.1.exe"
+POL_Wine "$POL_System_TmpDir/P2Installer_v1.2.exe" || POL_Debug_Fatal "$(eval_gettext 'Error file installing!')"
 POL_Wine_WaitExit "$TITLE"
-
+    
+POL_Shortcut "ProPilkki2.exe" "$TITLE" || POL_Debug_Fatal "$(eval_gettext 'Error in shortcut!')"
+   
 POL_System_TmpDelete
-
-POL_Shortcut 'ProPilkki2.exe' "$TITLE"
-
 POL_SetupWindow_Close
-
 exit 0
\ No newline at end of file

Nouveau code source

#!/usr/bin/env playonlinux-bash
# Date : (2013-02-26 ??-??)
# Last revision : (2018-02-09 17-34)
# Distribution used to test : Ubuntu 16.04 lts, 64-bit
# Author : lahtis
# Licence : GPLv3
# Installer for Pro pilkki 2 v1.2
# PlayOnLinux: 4.1.9, 4.2.1, 4.2.9 4.2.10, 4.2.12
# Latest found https://github.com/lahtis/playonlinux/blob/master/working/ProPilkki2
   
# CHANGELOG
# [SuperPlumus] (2013-07-24 09-37)
#   Update gettext messages
#   Clean code
#   Fix $PLAYONLINUX check presence
   
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Pro Pilkki 2"
PREFIX="ProPilkki2"
WORKING_WINE_VERSION="3.0"
EDITOR="Team Procyon"
GAME_URL="http://www.kalassa.net"
AUTHOR="lahtis"
CURRENT_VERSION="v.1.2"
   
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
   
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
   
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$PREFIX"
Set_OS "win8"
   
# Asking about memory size of graphic card
POL_SetupWindow_VMS "512"
   
cd "$POL_System_TmpDir"
POL_Download "http://propilkki.ddns.net/propilkki2/download/PP2_download.php?id=0"
   
# Move file to correct filename
mv "PP2_download.php?id=0" "P2Installer_v1.2.exe" || POL_Debug_Fatal "$(eval_gettext 'Error rename the file!')"
   
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$POL_System_TmpDir/P2Installer_v1.2.exe" || POL_Debug_Fatal "$(eval_gettext 'Error file installing!')"
POL_Wine_WaitExit "$TITLE"
    
POL_Shortcut "ProPilkki2.exe" "$TITLE" || POL_Debug_Fatal "$(eval_gettext 'Error in shortcut!')"
   
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Réponses

Vendredi 9 Février 2018 à 16:50
You remove your previous patch ?
Vendredi 9 Février 2018 à 20:38
yes. no needed anymore. The patch is included in the program file.
Dimanche 11 Février 2018 à 16:35
The patch section has an older version of patch that update the older version as a new one.
lahtis Vendredi 26 Janvier 2018 à 17:32
lahtis

Warning

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

Messages

fix

Differences

@@ -1,62 +1,63 @@
 #!/bin/bash
 # Date : (2013-02-26 ??-??)
-# Last revision : (2015-02-09 15-48)
-# Distribution used to test : Ubuntu 12.10
+# Last revision : (2018-01-26 18:12)
+# Distribution used to test : Ubuntu 16.04 lts, 64-bit
 # Author : lahtis
 # Licence : GPLv3
-# Installer for Pro pilkki 2 v1.0.3
-# PlayOnLinux: 4.1.9, 4.2.1, 4.2.9
-
+# Installer for Pro pilkki 2 v1.1 and update 1.1.5
+# PlayOnLinux: 4.1.9, 4.2.1, 4.2.9 4.2.10, 4.2.12
+# Latest found https://github.com/lahtis/playonlinux/blob/master/working/ProPilkki2
+  
 # CHANGELOG
 # [SuperPlumus] (2013-07-24 09-37)
 #   Update gettext messages
 #   Clean code
 #   Fix $PLAYONLINUX check presence
-
+  
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+  
 TITLE="Pro Pilkki 2"
 PREFIX="ProPilkki2"
-WORKING_WINE_VERSION="1.5.28"
+WORKING_WINE_VERSION="3.0"
 EDITOR="Team Procyon"
-GAME_URL="http://www.kalassa.net/propilkki2/index.php?eng=1"
+GAME_URL="http://www.kalassa.net"
 AUTHOR="lahtis"
 GAME_VMS="512"
-
-
+ 
+CURRENT_VERSION="v.1.2"
+  
 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
-
+  
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
-
+  
 POL_Wine_SelectPrefix "$PREFIX"
 POL_System_SetArch "x86"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
-
+  
 POL_System_TmpCreate "$PREFIX"
-
+  
 # Fix pulseaudio issue
-which pulseaudio && Set_OS "winxp"
-
+which pulseaudio && Set_OS "win8"
+  
 # Asking about memory size of graphic card
 POL_SetupWindow_VMS $GAME_VMS
-
+  
 cd "$POL_System_TmpDir"
 POL_Download "http://propilkki.ddns.net/propilkki2/download/PP2_download.php?id=0"
-
+  
 # Move file to correct filename
-mv "PP2_download.php?id=0" "P2Installer_v1.1.exe"
-
+mv "PP2_download.php?id=0" "P2Installer_v1.2.exe" || POL_Debug_Fatal "$(eval_gettext 'Error rename the file!')"
+  
 POL_Wine_WaitBefore "$TITLE"
-POL_Wine "$POL_System_TmpDir/P2Installer_v1.1.exe"
+POL_Wine "$POL_System_TmpDir/P2Installer_v1.2.exe" || POL_Debug_Fatal "$(eval_gettext 'Error file installing!')"
 POL_Wine_WaitExit "$TITLE"
-
+   
+POL_Shortcut "ProPilkki2.exe" "$TITLE" || POL_Debug_Fatal "$(eval_gettext 'Error in shortcut!')"
+  
 POL_System_TmpDelete
-
-POL_Shortcut 'ProPilkki2.exe' "$TITLE"
-
 POL_SetupWindow_Close
-
+  
 exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2013-02-26 ??-??)
# Last revision : (2018-01-26 18:12)
# Distribution used to test : Ubuntu 16.04 lts, 64-bit
# Author : lahtis
# Licence : GPLv3
# Installer for Pro pilkki 2 v1.1 and update 1.1.5
# PlayOnLinux: 4.1.9, 4.2.1, 4.2.9 4.2.10, 4.2.12
# Latest found https://github.com/lahtis/playonlinux/blob/master/working/ProPilkki2
  
# CHANGELOG
# [SuperPlumus] (2013-07-24 09-37)
#   Update gettext messages
#   Clean code
#   Fix $PLAYONLINUX check presence
  
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Pro Pilkki 2"
PREFIX="ProPilkki2"
WORKING_WINE_VERSION="3.0"
EDITOR="Team Procyon"
GAME_URL="http://www.kalassa.net"
AUTHOR="lahtis"
GAME_VMS="512"
 
CURRENT_VERSION="v.1.2"
  
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
  
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
  
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
  
POL_System_TmpCreate "$PREFIX"
  
# Fix pulseaudio issue
which pulseaudio && Set_OS "win8"
  
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
  
cd "$POL_System_TmpDir"
POL_Download "http://propilkki.ddns.net/propilkki2/download/PP2_download.php?id=0"
  
# Move file to correct filename
mv "PP2_download.php?id=0" "P2Installer_v1.2.exe" || POL_Debug_Fatal "$(eval_gettext 'Error rename the file!')"
  
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$POL_System_TmpDir/P2Installer_v1.2.exe" || POL_Debug_Fatal "$(eval_gettext 'Error file installing!')"
POL_Wine_WaitExit "$TITLE"
   
POL_Shortcut "ProPilkki2.exe" "$TITLE" || POL_Debug_Fatal "$(eval_gettext 'Error in shortcut!')"
  
POL_System_TmpDelete
POL_SetupWindow_Close
  
exit 0

Réponses

lahtis Vendredi 27 Janvier 2017 à 13:16
lahtis

Warning

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

Messages

fixed shortcut for mac users.

Differences

@@ -1,62 +1,82 @@
 #!/bin/bash
 # Date : (2013-02-26 ??-??)
-# Last revision : (2015-02-09 15-48)
-# Distribution used to test : Ubuntu 12.10
+# Last revision : (2017-01-20 21-16)
+# Distribution used to test : Ubuntu 16.04 lts, 64-bit
 # Author : lahtis
 # Licence : GPLv3
-# Installer for Pro pilkki 2 v1.0.3
-# PlayOnLinux: 4.1.9, 4.2.1, 4.2.9
-
+# Installer for Pro pilkki 2 v1.1 and update 1.1.5
+# PlayOnLinux: 4.1.9, 4.2.1, 4.2.9 4.2.10
+# Latest found https://github.com/lahtis/playonlinux/blob/master/working/ProPilkki2
+ 
 # CHANGELOG
 # [SuperPlumus] (2013-07-24 09-37)
 #   Update gettext messages
 #   Clean code
 #   Fix $PLAYONLINUX check presence
-
+ 
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 TITLE="Pro Pilkki 2"
 PREFIX="ProPilkki2"
-WORKING_WINE_VERSION="1.5.28"
+WORKING_WINE_VERSION="2.0-rc5"
 EDITOR="Team Procyon"
-GAME_URL="http://www.kalassa.net/propilkki2/index.php?eng=1"
+GAME_URL="http://www.kalassa.net"
 AUTHOR="lahtis"
 GAME_VMS="512"
 
-
+CURRENT_VERSION="v.1.1"
+UPDATE_VERSION="v.1.1.5"
+ 
 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
-
+ 
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
-
+ 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_System_SetArch "x86"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
-
+ 
 POL_System_TmpCreate "$PREFIX"
-
+ 
 # Fix pulseaudio issue
-which pulseaudio && Set_OS "winxp"
-
+which pulseaudio && Set_OS "win8"
+ 
 # Asking about memory size of graphic card
 POL_SetupWindow_VMS $GAME_VMS
-
+ 
 cd "$POL_System_TmpDir"
 POL_Download "http://propilkki.ddns.net/propilkki2/download/PP2_download.php?id=0"
-
+ 
 # Move file to correct filename
-mv "PP2_download.php?id=0" "P2Installer_v1.1.exe"
-
+mv "PP2_download.php?id=0" "P2Installer_v1.1.exe" || POL_Debug_Fatal "$(eval_gettext 'Error rename the file!')"
+ 
 POL_Wine_WaitBefore "$TITLE"
-POL_Wine "$POL_System_TmpDir/P2Installer_v1.1.exe"
+POL_Wine "$POL_System_TmpDir/P2Installer_v1.1.exe" || POL_Debug_Fatal "$(eval_gettext 'Error file installing!')"
 POL_Wine_WaitExit "$TITLE"
+  
+POL_Shortcut "ProPilkki2.exe" "$TITLE" || POL_Debug_Fatal "$(eval_gettext 'Error in shortcut!')"
 
-POL_System_TmpDelete
+POL_SetupWindow_question "$(eval_gettext 'Do you want to install $TITLE $UPDATE_VERSION update?')" "$TITLE"
+if [ "$APP_ANSWER" = "TRUE" ]
+then
+
+	# 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" || POL_Debug_Fatal "$(eval_gettext 'Error rename the file!')"
+
+	# 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_Shortcut 'ProPilkki2.exe' "$TITLE"
+fi
 
+POL_System_TmpDelete
 POL_SetupWindow_Close
-
-exit 0
\ No newline at end of file
+ 
+exit 0

Nouveau code source

#!/bin/bash
# Date : (2013-02-26 ??-??)
# Last revision : (2017-01-20 21-16)
# Distribution used to test : Ubuntu 16.04 lts, 64-bit
# Author : lahtis
# Licence : GPLv3
# Installer for Pro pilkki 2 v1.1 and update 1.1.5
# PlayOnLinux: 4.1.9, 4.2.1, 4.2.9 4.2.10
# Latest found https://github.com/lahtis/playonlinux/blob/master/working/ProPilkki2
 
# CHANGELOG
# [SuperPlumus] (2013-07-24 09-37)
#   Update gettext messages
#   Clean code
#   Fix $PLAYONLINUX check presence
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Pro Pilkki 2"
PREFIX="ProPilkki2"
WORKING_WINE_VERSION="2.0-rc5"
EDITOR="Team Procyon"
GAME_URL="http://www.kalassa.net"
AUTHOR="lahtis"
GAME_VMS="512"

CURRENT_VERSION="v.1.1"
UPDATE_VERSION="v.1.1.5"
 
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
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
POL_System_TmpCreate "$PREFIX"
 
# Fix pulseaudio issue
which pulseaudio && Set_OS "win8"
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
 
cd "$POL_System_TmpDir"
POL_Download "http://propilkki.ddns.net/propilkki2/download/PP2_download.php?id=0"
 
# Move file to correct filename
mv "PP2_download.php?id=0" "P2Installer_v1.1.exe" || POL_Debug_Fatal "$(eval_gettext 'Error rename the file!')"
 
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$POL_System_TmpDir/P2Installer_v1.1.exe" || POL_Debug_Fatal "$(eval_gettext 'Error file installing!')"
POL_Wine_WaitExit "$TITLE"
  
POL_Shortcut "ProPilkki2.exe" "$TITLE" || POL_Debug_Fatal "$(eval_gettext 'Error in shortcut!')"

POL_SetupWindow_question "$(eval_gettext 'Do you want to install $TITLE $UPDATE_VERSION update?')" "$TITLE"
if [ "$APP_ANSWER" = "TRUE" ]
then

        # 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" || POL_Debug_Fatal "$(eval_gettext 'Error rename the file!')"

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

fi

POL_System_TmpDelete
POL_SetupWindow_Close
 
exit 0

Réponses

lahtis Vendredi 20 Janvier 2017 à 20:30
lahtis

Warning

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

Messages

wrong prefix. sorry.

Differences

@@ -1,62 +1,81 @@
 #!/bin/bash
 # Date : (2013-02-26 ??-??)
-# Last revision : (2015-02-09 15-48)
-# Distribution used to test : Ubuntu 12.10
+# Last revision : (2017-01-20 21-16)
+# Distribution used to test : Ubuntu 16.04 lts, 64-bit
 # Author : lahtis
 # Licence : GPLv3
-# Installer for Pro pilkki 2 v1.0.3
-# PlayOnLinux: 4.1.9, 4.2.1, 4.2.9
-
+# Installer for Pro pilkki 2 v1.1 and update 1.1.5
+# PlayOnLinux: 4.1.9, 4.2.1, 4.2.9 4.2.10
+ 
 # CHANGELOG
 # [SuperPlumus] (2013-07-24 09-37)
 #   Update gettext messages
 #   Clean code
 #   Fix $PLAYONLINUX check presence
-
+ 
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 TITLE="Pro Pilkki 2"
 PREFIX="ProPilkki2"
-WORKING_WINE_VERSION="1.5.28"
+WORKING_WINE_VERSION="2.0-rc5"
 EDITOR="Team Procyon"
-GAME_URL="http://www.kalassa.net/propilkki2/index.php?eng=1"
+GAME_URL="http://www.kalassa.net"
 AUTHOR="lahtis"
 GAME_VMS="512"
 
-
+CURRENT_VERSION="v.1.1"
+UPDATE_VERSION="v.1.1.5"
+ 
 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
-
+ 
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
-
+ 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_System_SetArch "x86"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
-
+ 
 POL_System_TmpCreate "$PREFIX"
-
+ 
 # Fix pulseaudio issue
-which pulseaudio && Set_OS "winxp"
-
+which pulseaudio && Set_OS "win8"
+ 
 # Asking about memory size of graphic card
 POL_SetupWindow_VMS $GAME_VMS
-
+ 
 cd "$POL_System_TmpDir"
 POL_Download "http://propilkki.ddns.net/propilkki2/download/PP2_download.php?id=0"
-
+ 
 # Move file to correct filename
-mv "PP2_download.php?id=0" "P2Installer_v1.1.exe"
-
+mv "PP2_download.php?id=0" "P2Installer_v1.1.exe" || POL_Debug_Fatal "$(eval_gettext 'Error rename the file!')"
+ 
 POL_Wine_WaitBefore "$TITLE"
-POL_Wine "$POL_System_TmpDir/P2Installer_v1.1.exe"
+POL_Wine "$POL_System_TmpDir/P2Installer_v1.1.exe" || POL_Debug_Fatal "$(eval_gettext 'Error file installing!')"
 POL_Wine_WaitExit "$TITLE"
+  
+POL_Shortcut 'ProPilkki2.exe' "$TITLE" || POL_Debug_Fatal "$(eval_gettext 'Error in shortcut!')"
 
-POL_System_TmpDelete
+POL_SetupWindow_question "$(eval_gettext 'Do you want to install $TITLE $UPDATE_VERSION update?')" "$TITLE"
+if [ "$APP_ANSWER" = "TRUE" ]
+then
+
+	# 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" || POL_Debug_Fatal "$(eval_gettext 'Error rename the file!')"
+
+	# 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_Shortcut 'ProPilkki2.exe' "$TITLE"
+fi
 
+POL_System_TmpDelete
 POL_SetupWindow_Close
-
+ 
 exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2013-02-26 ??-??)
# Last revision : (2017-01-20 21-16)
# Distribution used to test : Ubuntu 16.04 lts, 64-bit
# Author : lahtis
# Licence : GPLv3
# Installer for Pro pilkki 2 v1.1 and update 1.1.5
# PlayOnLinux: 4.1.9, 4.2.1, 4.2.9 4.2.10
 
# CHANGELOG
# [SuperPlumus] (2013-07-24 09-37)
#   Update gettext messages
#   Clean code
#   Fix $PLAYONLINUX check presence
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Pro Pilkki 2"
PREFIX="ProPilkki2"
WORKING_WINE_VERSION="2.0-rc5"
EDITOR="Team Procyon"
GAME_URL="http://www.kalassa.net"
AUTHOR="lahtis"
GAME_VMS="512"

CURRENT_VERSION="v.1.1"
UPDATE_VERSION="v.1.1.5"
 
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
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
POL_System_TmpCreate "$PREFIX"
 
# Fix pulseaudio issue
which pulseaudio && Set_OS "win8"
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
 
cd "$POL_System_TmpDir"
POL_Download "http://propilkki.ddns.net/propilkki2/download/PP2_download.php?id=0"
 
# Move file to correct filename
mv "PP2_download.php?id=0" "P2Installer_v1.1.exe" || POL_Debug_Fatal "$(eval_gettext 'Error rename the file!')"
 
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$POL_System_TmpDir/P2Installer_v1.1.exe" || POL_Debug_Fatal "$(eval_gettext 'Error file installing!')"
POL_Wine_WaitExit "$TITLE"
  
POL_Shortcut 'ProPilkki2.exe' "$TITLE" || POL_Debug_Fatal "$(eval_gettext 'Error in shortcut!')"

POL_SetupWindow_question "$(eval_gettext 'Do you want to install $TITLE $UPDATE_VERSION update?')" "$TITLE"
if [ "$APP_ANSWER" = "TRUE" ]
then

        # 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" || POL_Debug_Fatal "$(eval_gettext 'Error rename the file!')"

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

fi

POL_System_TmpDelete
POL_SetupWindow_Close
 
exit 0

Réponses

lahtis Vendredi 20 Janvier 2017 à 20:27
lahtis

Warning

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

Messages

This is a new installer for new players.

* Add question. Do you want to install Pro Pilkki 2 v.1.1.5 update?

If you want to upgrade old 1.1 version to a new version 1.1.5. Use the Pro Pilkki 2 update patch. -> https://www.playonlinux.com/en/app-3110-Pro_Pilkki_2_update_v115.html

Differences

@@ -1,62 +1,95 @@
 #!/bin/bash
 # Date : (2013-02-26 ??-??)
-# Last revision : (2015-02-09 15-48)
-# Distribution used to test : Ubuntu 12.10
+# Last revision : (2017-01-20 21-16)
+# Distribution used to test : Ubuntu 16.04 lts, 64-bit
 # Author : lahtis
 # Licence : GPLv3
-# Installer for Pro pilkki 2 v1.0.3
-# PlayOnLinux: 4.1.9, 4.2.1, 4.2.9
-
+# Installer for Pro pilkki 2 v1.1 and update 1.1.5
+# PlayOnLinux: 4.1.9, 4.2.1, 4.2.9 4.2.10
+# Latest found https://github.com/lahtis/playonlinux/blob/master/working/ProPilkki2
+ 
 # CHANGELOG
 # [SuperPlumus] (2013-07-24 09-37)
 #   Update gettext messages
 #   Clean code
 #   Fix $PLAYONLINUX check presence
-
+ 
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 TITLE="Pro Pilkki 2"
-PREFIX="ProPilkki2"
-WORKING_WINE_VERSION="1.5.28"
+PREFIX="ProPilkki2-115"
+WORKING_WINE_VERSION="2.0-rc5"
 EDITOR="Team Procyon"
-GAME_URL="http://www.kalassa.net/propilkki2/index.php?eng=1"
+GAME_URL="http://www.kalassa.net"
 AUTHOR="lahtis"
 GAME_VMS="512"
 
-
+CURRENT_VERSION="v.1.1"
+UPDATE_VERSION="v.1.1.5"
+ 
 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
-
+ 
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
-
+ 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_System_SetArch "x86"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
-
+ 
 POL_System_TmpCreate "$PREFIX"
-
+ 
 # Fix pulseaudio issue
-which pulseaudio && Set_OS "winxp"
-
+which pulseaudio && Set_OS "win8"
+ 
 # Asking about memory size of graphic card
 POL_SetupWindow_VMS $GAME_VMS
-
+ 
 cd "$POL_System_TmpDir"
 POL_Download "http://propilkki.ddns.net/propilkki2/download/PP2_download.php?id=0"
-
+ 
 # Move file to correct filename
-mv "PP2_download.php?id=0" "P2Installer_v1.1.exe"
-
+mv "PP2_download.php?id=0" "P2Installer_v1.1.exe" || POL_Debug_Fatal "$(eval_gettext 'Error rename the file!')"
+ 
 POL_Wine_WaitBefore "$TITLE"
-POL_Wine "$POL_System_TmpDir/P2Installer_v1.1.exe"
+POL_Wine "$POL_System_TmpDir/P2Installer_v1.1.exe" || POL_Debug_Fatal "$(eval_gettext 'Error file installing!')"
 POL_Wine_WaitExit "$TITLE"
+  
+POL_Shortcut 'ProPilkki2.exe' "$TITLE" || POL_Debug_Fatal "$(eval_gettext 'Error in shortcut!')"
 
-POL_System_TmpDelete
+POL_SetupWindow_question "$(eval_gettext 'Do you want to install $TITLE $UPDATE_VERSION update?')" "$TITLE"
+if [ "$APP_ANSWER" = "TRUE" ]
+then
+
+	# 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" || POL_Debug_Fatal "$(eval_gettext 'Error rename the file!')"
+
+	# 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_Shortcut 'ProPilkki2.exe' "$TITLE"
+fi
 
+POL_System_TmpDelete
 POL_SetupWindow_Close
-
-exit 0
\ No newline at end of file
+ 
+exit 0
+mv "PP2_download.php?id=0" "P2Installer_v1.0.3.exe"
+ 
+POL_Wine_WaitBefore "$TITLE"
+POL_Wine "$POL_System_TmpDir/P2Installer_v1.0.3.exe"
+POL_Wine_WaitExit "$TITLE"
+ 
+POL_System_TmpDelete
+ 
+POL_Shortcut 'ProPilkki2.exe' "$TITLE"
+ 
+POL_SetupWindow_Close
+ 
+exit 0

Nouveau code source

#!/bin/bash
# Date : (2013-02-26 ??-??)
# Last revision : (2017-01-20 21-16)
# Distribution used to test : Ubuntu 16.04 lts, 64-bit
# Author : lahtis
# Licence : GPLv3
# Installer for Pro pilkki 2 v1.1 and update 1.1.5
# PlayOnLinux: 4.1.9, 4.2.1, 4.2.9 4.2.10
# Latest found https://github.com/lahtis/playonlinux/blob/master/working/ProPilkki2
 
# CHANGELOG
# [SuperPlumus] (2013-07-24 09-37)
#   Update gettext messages
#   Clean code
#   Fix $PLAYONLINUX check presence
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Pro Pilkki 2"
PREFIX="ProPilkki2-115"
WORKING_WINE_VERSION="2.0-rc5"
EDITOR="Team Procyon"
GAME_URL="http://www.kalassa.net"
AUTHOR="lahtis"
GAME_VMS="512"

CURRENT_VERSION="v.1.1"
UPDATE_VERSION="v.1.1.5"
 
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
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
POL_System_TmpCreate "$PREFIX"
 
# Fix pulseaudio issue
which pulseaudio && Set_OS "win8"
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
 
cd "$POL_System_TmpDir"
POL_Download "http://propilkki.ddns.net/propilkki2/download/PP2_download.php?id=0"
 
# Move file to correct filename
mv "PP2_download.php?id=0" "P2Installer_v1.1.exe" || POL_Debug_Fatal "$(eval_gettext 'Error rename the file!')"
 
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$POL_System_TmpDir/P2Installer_v1.1.exe" || POL_Debug_Fatal "$(eval_gettext 'Error file installing!')"
POL_Wine_WaitExit "$TITLE"
  
POL_Shortcut 'ProPilkki2.exe' "$TITLE" || POL_Debug_Fatal "$(eval_gettext 'Error in shortcut!')"

POL_SetupWindow_question "$(eval_gettext 'Do you want to install $TITLE $UPDATE_VERSION update?')" "$TITLE"
if [ "$APP_ANSWER" = "TRUE" ]
then

        # 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" || POL_Debug_Fatal "$(eval_gettext 'Error rename the file!')"

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

fi

POL_System_TmpDelete
POL_SetupWindow_Close
 
exit 0
mv "PP2_download.php?id=0" "P2Installer_v1.0.3.exe"
 
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$POL_System_TmpDir/P2Installer_v1.0.3.exe"
POL_Wine_WaitExit "$TITLE"
 
POL_System_TmpDelete
 
POL_Shortcut 'ProPilkki2.exe' "$TITLE"
 
POL_SetupWindow_Close
 
exit 0

Réponses

lahtis Mardi 9 Février 2016 à 14:53
lahtis

Warning

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

Messages

version 1.1 update

Differences

@@ -1,11 +1,11 @@
 #!/bin/bash
 # Date : (2013-02-26 ??-??)
-# Last revision : (2013-07-24 09-37)
+# Last revision : (2015-02-09 15-48)
 # Distribution used to test : Ubuntu 12.10
 # Author : lahtis
 # Licence : GPLv3
 # Installer for Pro pilkki 2 v1.0.3
-# PlayOnLinux: 4.1.9, 4.2.1
+# PlayOnLinux: 4.1.9, 4.2.1, 4.2.9
 
 # CHANGELOG
 # [SuperPlumus] (2013-07-24 09-37)
@@ -44,13 +44,13 @@
 POL_SetupWindow_VMS $GAME_VMS
 
 cd "$POL_System_TmpDir"
-POL_Download "http://www.kalassa.net/propilkki2/download/PP2_download.php?id=0" "293f9e4e4ba0905f7f9526042510c2d1"
+POL_Download "http://propilkki.ddns.net/propilkki2/download/PP2_download.php?id=0"
 
 # Move file to correct filename
-mv "PP2_download.php?id=0" "P2Installer_v1.0.3.exe"
+mv "PP2_download.php?id=0" "P2Installer_v1.1.exe"
 
 POL_Wine_WaitBefore "$TITLE"
-POL_Wine "$POL_System_TmpDir/P2Installer_v1.0.3.exe"
+POL_Wine "$POL_System_TmpDir/P2Installer_v1.1.exe"
 POL_Wine_WaitExit "$TITLE"
 
 POL_System_TmpDelete

Nouveau code source

#!/bin/bash
# Date : (2013-02-26 ??-??)
# Last revision : (2015-02-09 15-48)
# Distribution used to test : Ubuntu 12.10
# Author : lahtis
# Licence : GPLv3
# Installer for Pro pilkki 2 v1.0.3
# PlayOnLinux: 4.1.9, 4.2.1, 4.2.9

# CHANGELOG
# [SuperPlumus] (2013-07-24 09-37)
#   Update gettext messages
#   Clean code
#   Fix $PLAYONLINUX check presence

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

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


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

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

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_System_TmpCreate "$PREFIX"

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

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

cd "$POL_System_TmpDir"
POL_Download "http://propilkki.ddns.net/propilkki2/download/PP2_download.php?id=0"

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

POL_Wine_WaitBefore "$TITLE"
POL_Wine "$POL_System_TmpDir/P2Installer_v1.1.exe"
POL_Wine_WaitExit "$TITLE"

POL_System_TmpDelete

POL_Shortcut 'ProPilkki2.exe' "$TITLE"

POL_SetupWindow_Close

exit 0

Réponses

Anonymous
Mercredi 20 Avril 2016 à 16:54
Does not work for me... Error in POL_Shortcut.
The installer does not give an option to change the installation directory so I don't know how I can cause this issue, or resolve it either..
Jeudi 21 Avril 2016 à 20:31
in mac version or linux version?
Jeudi 21 Avril 2016 à 20:37
Don't change installer directory. (windows game installer) The Playonlinux or playonmac program does not work that way. You get Error in POL_Shortcut error.
Anonymous
Vendredi 22 Avril 2016 à 7:52
Playonmac version. I did nothing except clicking directly the "Install this program" button right up there and even tried the updated 1.1 version. I did not change any installation directories because it is not even possible on Pro Pilkki 2 installer. And I haven't messed up with any playonmac settings. Just plain raw installed it to Applications folder in my Mac and right after that tried your installer provided here.
Vendredi 20 Janvier 2017 à 15:04
it is new installer not updater.
lahtis Mercredi 21 Octobre 2015 à 4:16
lahtis

Warning

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

Messages

New version 1.0.6. Removed md5 check.

Differences

@@ -1,11 +1,11 @@
 #!/bin/bash
 # Date : (2013-02-26 ??-??)
-# Last revision : (2013-07-24 09-37)
+# Last revision : (2015-10-21 05-13)
 # Distribution used to test : Ubuntu 12.10
 # Author : lahtis
 # Licence : GPLv3
-# Installer for Pro pilkki 2 v1.0.3
-# PlayOnLinux: 4.1.9, 4.2.1
+# Installer for Pro pilkki 2 v1.0.6
+# PlayOnLinux: 4.1.9, 4.2.1, 4.2.9
 
 # CHANGELOG
 # [SuperPlumus] (2013-07-24 09-37)
@@ -44,13 +44,13 @@
 POL_SetupWindow_VMS $GAME_VMS
 
 cd "$POL_System_TmpDir"
-POL_Download "http://www.kalassa.net/propilkki2/download/PP2_download.php?id=0" "293f9e4e4ba0905f7f9526042510c2d1"
+POL_Download "http://www.kalassa.net/propilkki2/download/PP2_download.php?id=0"
 
 # Move file to correct filename
-mv "PP2_download.php?id=0" "P2Installer_v1.0.3.exe"
+mv "PP2_download.php?id=0" "P2Installer_v1.0.6.exe"
 
 POL_Wine_WaitBefore "$TITLE"
-POL_Wine "$POL_System_TmpDir/P2Installer_v1.0.3.exe"
+POL_Wine "$POL_System_TmpDir/P2Installer_v1.0.6.exe"
 POL_Wine_WaitExit "$TITLE"
 
 POL_System_TmpDelete

Nouveau code source

#!/bin/bash
# Date : (2013-02-26 ??-??)
# Last revision : (2015-10-21 05-13)
# Distribution used to test : Ubuntu 12.10
# Author : lahtis
# Licence : GPLv3
# Installer for Pro pilkki 2 v1.0.6
# PlayOnLinux: 4.1.9, 4.2.1, 4.2.9

# CHANGELOG
# [SuperPlumus] (2013-07-24 09-37)
#   Update gettext messages
#   Clean code
#   Fix $PLAYONLINUX check presence

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

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


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

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

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_System_TmpCreate "$PREFIX"

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

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

cd "$POL_System_TmpDir"
POL_Download "http://www.kalassa.net/propilkki2/download/PP2_download.php?id=0"

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

POL_Wine_WaitBefore "$TITLE"
POL_Wine "$POL_System_TmpDir/P2Installer_v1.0.6.exe"
POL_Wine_WaitExit "$TITLE"

POL_System_TmpDelete

POL_Shortcut 'ProPilkki2.exe' "$TITLE"

POL_SetupWindow_Close

exit 0

Réponses