Вы находитесь здесь

Captvty v3

Informations

Creator Message
RemyH Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 13712
Wine: 4.0.4

Feedbacks

Description

For french TV : it allows to download replay TV programs from the websites of most of the french TV channels (that usually only allow to view, not to download).
"Accédez, depuis un point unique grâce à Captvty, aux directs et à une multitude d’émissions proposées au rattrapage par différentes chaînes de télévision."  Website.

Screenshots

Miniature

Source code

#!/usr/bin/env playonlinux-bash
# Date : (2020-03-03)
# Last revision : See changelog below
# Wine version used : see below
# Distribution used to test : Ubuntu 18.10 amd64
# Script licence : GPL3
# Program licence : Retail
#
# Playonlinux version used : 4.3.4
#
# Software used to write the script : Captvty  3.0.0.65022 (2020-02)
# Software based on : MS VisualBasic, MS DotNet.
#
#
# CHANGELOG
# [Dadu042] (2020-03-03)
#   First version, from script for v3.
# [Dadu042] (2020-09-10)
#   Provide choice between different versions of DotNet.
#   Wine 4.0.3 -> 4.0.4
# 
#
# KNOWN ISSUES :
# - x
#
#
# IMPROVEMENT IDEAS: 
# - change the Videos output folder to the OS's Videos folder.
# - add a option to upgrade the software (it is provided as a .ZIP).
 
   
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
    
TITLE="Captvty v3"
PREFIX="captvty_v3"
WORKING_WINE_VERSION="4.0.4"
AUTHOR="Dadu042"
EDITOR="Guillaume"
GAME_URL="https://captvty.fr"
   
POL_SetupWindow_Init
POL_Debug_Init
      
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
  
POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
  
  
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"
   
Set_OS "win7"
   
# POL_SetupWindow_message  "Please note: once installed the program does not run.\n" "$TITLE"
   
###############
# Go          #
###############
   
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup ZIP file to extract.')" "$TITLE"
SETUP_EXE="$APP_ANSWER"
   
cd "$POL_System_TmpDir"
TARGET_DIR="$WINEPREFIX/drive_c/CapTvTy"
mkdir -p "$TARGET_DIR"
cd "$TARGET_DIR"
   
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE"
   
POL_System_unzip "$APP_ANSWER" -d "$WINEPREFIX/drive_c/CapTvTy/"
   
POL_Shortcut "Captvty.exe" "$TITLE" "" "" "AudioVideo;"



##################
# Install DotNet #
################## 

POL_SetupWindow_menu "$(eval_gettext 'Quelle version de DotNet installer ? (la première étant recommandée)')" "$TITLE" "$(eval_gettext 'v4.6.1')~$(eval_gettext 'v4.5.0')~$(eval_gettext 'v4.8.0')" "~"

POL_SetupWindow_message  "Attention: si l'installation de Dotnet ne se termine jamais (plus 30 minutes), fermez la fenêtre.\n\nWarning: If the installation of DotNet does never end (> 30 minutes), do close the window." "$TITLE"

if [ "$APP_ANSWER" == "v4.6.1" ]; then
        POL_Call POL_Install_dotnet461

elif [ "$APP_ANSWER" == "$(eval_gettext 'v4.5.0')" ]; then
        POL_Call POL_Install_dotnet45

elif [ "$APP_ANSWER" == "$(eval_gettext 'v4.8.0')" ]; then
        POL_Call POL_Install_dotnet480
fi



#######################################
#  Installing mandatory dependencies  #
#######################################

# Seem useless
# POL_Call POL_Install_gdiplus
   
# Should be useful for msvcr90.dll, file located inside /tools/
# POL_Call POL_Install_vcrun2005
   
# Should be useful for msvcr100.dll, file located inside /tools/
# POL_Call POL_Install_vcrun2010

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
yalassev Sunday 25 December 2022 at 10:08
yalassev Anonymous

Message

Style impossible to install dotnet with any version :( from France

Error in POL_Download_Resource
error during download! (7 attempt)

could you please link :

https://go.microsoft.com/fwlink/?linkid=2088631 for DOT Net version 4.8

or propose to use a offline DOTNet exe file, like ndp48-x86-x64-allos-enu.exe for exemple.

TKS

Replies

babiole Monday 26 April 2021 at 19:04
babiole Anonymous

Message

Bonjour,

Je n'arrive pas à installer Captvty v3. Quel que soit la version choisie de dotnet, soit ca crash à l'install, soit au lancement du programme. Je ne sais pas si ca vient de moi ou d'une évolution de captvty.

Merci

Replies

Dadu042 Thursday 10 September 2020 at 18:38
Dadu042

Information

This update has been approved by the team.

Differences

@@ -81,7 +81,7 @@
 # Install DotNet #
 ################## 
 
-POL_SetupWindow_menu "$(eval_gettext 'Quelle version de DotNet installer ? (la première étant recommandée)')" "$TITLE" "$(eval_gettext 'v4.5.0')~$(eval_gettext 'v4.6.1')~$(eval_gettext 'v4.8.0')" "~"
+POL_SetupWindow_menu "$(eval_gettext 'Quelle version de DotNet installer ? (la première étant recommandée)')" "$TITLE" "$(eval_gettext 'v4.6.1')~$(eval_gettext 'v4.5.0')~$(eval_gettext 'v4.8.0')" "~"
 
 POL_SetupWindow_message  "Attention: si l'installation de Dotnet ne se termine jamais (plus 30 minutes), fermez la fenêtre.\n\nWarning: If the installation of DotNet does never end (> 30 minutes), do close the window." "$TITLE"
 

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2020-03-03)
# Last revision : See changelog below
# Wine version used : see below
# Distribution used to test : Ubuntu 18.10 amd64
# Script licence : GPL3
# Program licence : Retail
#
# Playonlinux version used : 4.3.4
#
# Software used to write the script : Captvty  3.0.0.65022 (2020-02)
# Software based on : MS VisualBasic, MS DotNet.
#
#
# CHANGELOG
# [Dadu042] (2020-03-03)
#   First version, from script for v3.
# [Dadu042] (2020-09-10)
#   Provide choice between different versions of DotNet.
#   Wine 4.0.3 -> 4.0.4
# 
#
# KNOWN ISSUES :
# - x
#
#
# IMPROVEMENT IDEAS: 
# - change the Videos output folder to the OS's Videos folder.
# - add a option to upgrade the software (it is provided as a .ZIP).
 
   
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
    
TITLE="Captvty v3"
PREFIX="captvty_v3"
WORKING_WINE_VERSION="4.0.4"
AUTHOR="Dadu042"
EDITOR="Guillaume"
GAME_URL="https://captvty.fr"
   
POL_SetupWindow_Init
POL_Debug_Init
      
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
  
POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
  
  
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"
   
Set_OS "win7"
   
# POL_SetupWindow_message  "Please note: once installed the program does not run.\n" "$TITLE"
   
###############
# Go          #
###############
   
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup ZIP file to extract.')" "$TITLE"
SETUP_EXE="$APP_ANSWER"
   
cd "$POL_System_TmpDir"
TARGET_DIR="$WINEPREFIX/drive_c/CapTvTy"
mkdir -p "$TARGET_DIR"
cd "$TARGET_DIR"
   
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE"
   
POL_System_unzip "$APP_ANSWER" -d "$WINEPREFIX/drive_c/CapTvTy/"
   
POL_Shortcut "Captvty.exe" "$TITLE" "" "" "AudioVideo;"



##################
# Install DotNet #
################## 

POL_SetupWindow_menu "$(eval_gettext 'Quelle version de DotNet installer ? (la première étant recommandée)')" "$TITLE" "$(eval_gettext 'v4.6.1')~$(eval_gettext 'v4.5.0')~$(eval_gettext 'v4.8.0')" "~"

POL_SetupWindow_message  "Attention: si l'installation de Dotnet ne se termine jamais (plus 30 minutes), fermez la fenêtre.\n\nWarning: If the installation of DotNet does never end (> 30 minutes), do close the window." "$TITLE"

if [ "$APP_ANSWER" == "v4.6.1" ]; then
        POL_Call POL_Install_dotnet461

elif [ "$APP_ANSWER" == "$(eval_gettext 'v4.5.0')" ]; then
        POL_Call POL_Install_dotnet45

elif [ "$APP_ANSWER" == "$(eval_gettext 'v4.8.0')" ]; then
        POL_Call POL_Install_dotnet480
fi



#######################################
#  Installing mandatory dependencies  #
#######################################

# Seem useless
# POL_Call POL_Install_gdiplus
   
# Should be useful for msvcr90.dll, file located inside /tools/
# POL_Call POL_Install_vcrun2005
   
# Should be useful for msvcr100.dll, file located inside /tools/
# POL_Call POL_Install_vcrun2010

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Anonymous
Sunday 22 November 2020 at 1:59
Bonsoir impossible pour moi d'utiliser chacune de ces versions. Au cours de l'installation, systématiquement "Installing .NET 4.0" fonctionne, puis 4.5, mais jamais 4.6.1, qui finit toujours en erreur de téléchargement puis lorsque j'essaie de lancer Captvty "Error in main
Captvty crashed.
Select its shortcut and click on "Debug" in the side panel to get more details." .. Je suis sur Mac avec MacOS Big Sur, une solution pour m'aider svp ? Merci d'avance
Dadu042 Thursday 10 September 2020 at 18:33
Dadu042

Warning

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

Differences

@@ -81,7 +81,7 @@
 # Install DotNet #
 ################## 
 
-POL_SetupWindow_menu "$(eval_gettext 'Quelle version de DotNet installer ? (la première étant recommandée)')" "$TITLE" "$(eval_gettext 'v4.5')~$(eval_gettext 'v4.6.1')~$(eval_gettext 'v4.8.0')" "~"
+POL_SetupWindow_menu "$(eval_gettext 'Quelle version de DotNet installer ? (la première étant recommandée)')" "$TITLE" "$(eval_gettext 'v4.5.0')~$(eval_gettext 'v4.6.1')~$(eval_gettext 'v4.8.0')" "~"
 
 POL_SetupWindow_message  "Attention: si l'installation de Dotnet ne se termine jamais (plus 30 minutes), fermez la fenêtre.\n\nWarning: If the installation of DotNet does never end (> 30 minutes), do close the window." "$TITLE"
 

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2020-03-03)
# Last revision : See changelog below
# Wine version used : see below
# Distribution used to test : Ubuntu 18.10 amd64
# Script licence : GPL3
# Program licence : Retail
#
# Playonlinux version used : 4.3.4
#
# Software used to write the script : Captvty  3.0.0.65022 (2020-02)
# Software based on : MS VisualBasic, MS DotNet.
#
#
# CHANGELOG
# [Dadu042] (2020-03-03)
#   First version, from script for v3.
# [Dadu042] (2020-09-10)
#   Provide choice between different versions of DotNet.
#   Wine 4.0.3 -> 4.0.4
# 
#
# KNOWN ISSUES :
# - x
#
#
# IMPROVEMENT IDEAS: 
# - change the Videos output folder to the OS's Videos folder.
# - add a option to upgrade the software (it is provided as a .ZIP).
 
   
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
    
TITLE="Captvty v3"
PREFIX="captvty_v3"
WORKING_WINE_VERSION="4.0.4"
AUTHOR="Dadu042"
EDITOR="Guillaume"
GAME_URL="https://captvty.fr"
   
POL_SetupWindow_Init
POL_Debug_Init
      
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
  
POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
  
  
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"
   
Set_OS "win7"
   
# POL_SetupWindow_message  "Please note: once installed the program does not run.\n" "$TITLE"
   
###############
# Go          #
###############
   
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup ZIP file to extract.')" "$TITLE"
SETUP_EXE="$APP_ANSWER"
   
cd "$POL_System_TmpDir"
TARGET_DIR="$WINEPREFIX/drive_c/CapTvTy"
mkdir -p "$TARGET_DIR"
cd "$TARGET_DIR"
   
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE"
   
POL_System_unzip "$APP_ANSWER" -d "$WINEPREFIX/drive_c/CapTvTy/"
   
POL_Shortcut "Captvty.exe" "$TITLE" "" "" "AudioVideo;"



##################
# Install DotNet #
################## 

POL_SetupWindow_menu "$(eval_gettext 'Quelle version de DotNet installer ? (la première étant recommandée)')" "$TITLE" "$(eval_gettext 'v4.5.0')~$(eval_gettext 'v4.6.1')~$(eval_gettext 'v4.8.0')" "~"

POL_SetupWindow_message  "Attention: si l'installation de Dotnet ne se termine jamais (plus 30 minutes), fermez la fenêtre.\n\nWarning: If the installation of DotNet does never end (> 30 minutes), do close the window." "$TITLE"

if [ "$APP_ANSWER" == "v4.6.1" ]; then
        POL_Call POL_Install_dotnet461

elif [ "$APP_ANSWER" == "$(eval_gettext 'v4.5.0')" ]; then
        POL_Call POL_Install_dotnet45

elif [ "$APP_ANSWER" == "$(eval_gettext 'v4.8.0')" ]; then
        POL_Call POL_Install_dotnet480
fi



#######################################
#  Installing mandatory dependencies  #
#######################################

# Seem useless
# POL_Call POL_Install_gdiplus
   
# Should be useful for msvcr90.dll, file located inside /tools/
# POL_Call POL_Install_vcrun2005
   
# Should be useful for msvcr100.dll, file located inside /tools/
# POL_Call POL_Install_vcrun2010

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Dadu042 Thursday 10 September 2020 at 18:31
Dadu042

Warning

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

Differences

@@ -15,6 +15,9 @@
 # CHANGELOG
 # [Dadu042] (2020-03-03)
 #   First version, from script for v3.
+# [Dadu042] (2020-09-10)
+#   Provide choice between different versions of DotNet.
+#   Wine 4.0.3 -> 4.0.4
 # 
 #
 # KNOWN ISSUES :
@@ -24,65 +27,86 @@
 # IMPROVEMENT IDEAS: 
 # - change the Videos output folder to the OS's Videos folder.
 # - add a option to upgrade the software (it is provided as a .ZIP).
-
-  
+ 
+   
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-   
-TITLE="Captvty v3 alpha"
-PREFIX="captvty_v3_alpha"
-WORKING_WINE_VERSION="4.0.3"
+    
+TITLE="Captvty v3"
+PREFIX="captvty_v3"
+WORKING_WINE_VERSION="4.0.4"
 AUTHOR="Dadu042"
 EDITOR="Guillaume"
 GAME_URL="https://captvty.fr"
-  
+   
 POL_SetupWindow_Init
 POL_Debug_Init
-     
+      
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
- 
+  
 POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
- 
- 
+  
+  
 POL_Wine_SelectPrefix "$PREFIX"
 POL_System_SetArch "x86"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 POL_System_TmpCreate "$TITLE"
-  
+   
 Set_OS "win7"
-  
+   
 # POL_SetupWindow_message  "Please note: once installed the program does not run.\n" "$TITLE"
-  
+   
 ###############
 # Go          #
 ###############
-  
+   
 cd "$HOME"
 POL_SetupWindow_browse "$(eval_gettext 'Please select the setup ZIP file to extract.')" "$TITLE"
 SETUP_EXE="$APP_ANSWER"
-  
+   
 cd "$POL_System_TmpDir"
 TARGET_DIR="$WINEPREFIX/drive_c/CapTvTy"
 mkdir -p "$TARGET_DIR"
 cd "$TARGET_DIR"
-  
+   
 POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE"
-  
+   
 POL_System_unzip "$APP_ANSWER" -d "$WINEPREFIX/drive_c/CapTvTy/"
-  
+   
 POL_Shortcut "Captvty.exe" "$TITLE" "" "" "AudioVideo;"
-  
-  
+
+
+
+##################
+# Install DotNet #
+################## 
+
+POL_SetupWindow_menu "$(eval_gettext 'Quelle version de DotNet installer ? (la première étant recommandée)')" "$TITLE" "$(eval_gettext 'v4.5')~$(eval_gettext 'v4.6.1')~$(eval_gettext 'v4.8.0')" "~"
+
+POL_SetupWindow_message  "Attention: si l'installation de Dotnet ne se termine jamais (plus 30 minutes), fermez la fenêtre.\n\nWarning: If the installation of DotNet does never end (> 30 minutes), do close the window." "$TITLE"
+
+if [ "$APP_ANSWER" == "v4.6.1" ]; then
+	POL_Call POL_Install_dotnet461
+
+elif [ "$APP_ANSWER" == "$(eval_gettext 'v4.5.0')" ]; then
+	POL_Call POL_Install_dotnet45
+
+elif [ "$APP_ANSWER" == "$(eval_gettext 'v4.8.0')" ]; then
+	POL_Call POL_Install_dotnet480
+fi
+
+
+
+#######################################
+#  Installing mandatory dependencies  #
+#######################################
+
 # Seem useless
 # POL_Call POL_Install_gdiplus
- 
-POL_SetupWindow_message  "Attention: si l'installation de Dotnet ne se termine jamais, patientez plusieurs minutes (ex: 20) puis fermez la fenêtre.\n\nWarning: If the installation of DotNet never end, wait many minutes (ie: 20) then close the window." "$TITLE"
-POL_Call POL_Install_dotnet461
-# POL_Call POL_Install_dotnet40
-  
+   
 # Should be useful for msvcr90.dll, file located inside /tools/
 # POL_Call POL_Install_vcrun2005
-  
+   
 # Should be useful for msvcr100.dll, file located inside /tools/
 # POL_Call POL_Install_vcrun2010
 

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2020-03-03)
# Last revision : See changelog below
# Wine version used : see below
# Distribution used to test : Ubuntu 18.10 amd64
# Script licence : GPL3
# Program licence : Retail
#
# Playonlinux version used : 4.3.4
#
# Software used to write the script : Captvty  3.0.0.65022 (2020-02)
# Software based on : MS VisualBasic, MS DotNet.
#
#
# CHANGELOG
# [Dadu042] (2020-03-03)
#   First version, from script for v3.
# [Dadu042] (2020-09-10)
#   Provide choice between different versions of DotNet.
#   Wine 4.0.3 -> 4.0.4
# 
#
# KNOWN ISSUES :
# - x
#
#
# IMPROVEMENT IDEAS: 
# - change the Videos output folder to the OS's Videos folder.
# - add a option to upgrade the software (it is provided as a .ZIP).
 
   
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
    
TITLE="Captvty v3"
PREFIX="captvty_v3"
WORKING_WINE_VERSION="4.0.4"
AUTHOR="Dadu042"
EDITOR="Guillaume"
GAME_URL="https://captvty.fr"
   
POL_SetupWindow_Init
POL_Debug_Init
      
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
  
POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
  
  
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"
   
Set_OS "win7"
   
# POL_SetupWindow_message  "Please note: once installed the program does not run.\n" "$TITLE"
   
###############
# Go          #
###############
   
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup ZIP file to extract.')" "$TITLE"
SETUP_EXE="$APP_ANSWER"
   
cd "$POL_System_TmpDir"
TARGET_DIR="$WINEPREFIX/drive_c/CapTvTy"
mkdir -p "$TARGET_DIR"
cd "$TARGET_DIR"
   
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE"
   
POL_System_unzip "$APP_ANSWER" -d "$WINEPREFIX/drive_c/CapTvTy/"
   
POL_Shortcut "Captvty.exe" "$TITLE" "" "" "AudioVideo;"



##################
# Install DotNet #
################## 

POL_SetupWindow_menu "$(eval_gettext 'Quelle version de DotNet installer ? (la première étant recommandée)')" "$TITLE" "$(eval_gettext 'v4.5')~$(eval_gettext 'v4.6.1')~$(eval_gettext 'v4.8.0')" "~"

POL_SetupWindow_message  "Attention: si l'installation de Dotnet ne se termine jamais (plus 30 minutes), fermez la fenêtre.\n\nWarning: If the installation of DotNet does never end (> 30 minutes), do close the window." "$TITLE"

if [ "$APP_ANSWER" == "v4.6.1" ]; then
        POL_Call POL_Install_dotnet461

elif [ "$APP_ANSWER" == "$(eval_gettext 'v4.5.0')" ]; then
        POL_Call POL_Install_dotnet45

elif [ "$APP_ANSWER" == "$(eval_gettext 'v4.8.0')" ]; then
        POL_Call POL_Install_dotnet480
fi



#######################################
#  Installing mandatory dependencies  #
#######################################

# Seem useless
# POL_Call POL_Install_gdiplus
   
# Should be useful for msvcr90.dll, file located inside /tools/
# POL_Call POL_Install_vcrun2005
   
# Should be useful for msvcr100.dll, file located inside /tools/
# POL_Call POL_Install_vcrun2010

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

RemyH Monday 9 March 2020 at 23:33
RemyH Anonymous

Warning

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

Message

This script uses the auto-extractible version and not the ZIP file of Captvty.
It uses DotNet4.5 and not 4.6

 

Differences

@@ -1,91 +1,42 @@
 #!/usr/bin/env playonlinux-bash
-# Date : (2020-03-03)
-# Last revision : See changelog below
-# Wine version used : see below
-# Distribution used to test : Ubuntu 18.10 amd64
-# Script licence : GPL3
-# Program licence : Retail
-#
-# Playonlinux version used : 4.3.4
-#
-# Software used to write the script : Captvty  3.0.0.65022 (2020-02)
-# Software based on : MS VisualBasic, MS DotNet.
-#
-#
-# CHANGELOG
-# [Dadu042] (2020-03-03)
-#   First version, from script for v3.
-# 
-#
-# KNOWN ISSUES :
-# - x
-#
-#
-# IMPROVEMENT IDEAS: 
-# - change the Videos output folder to the OS's Videos folder.
-# - add a option to upgrade the software (it is provided as a .ZIP).
 
+# Date : (2020-03-08)
+# Last revision : (2020-03-08)
+# Wine version used : 3.20
+# Distribution used to test : Linux Mint 19.3
+# Author : Remy
+# PlayOnLinux : 4.2.12
+# Script licence : GPL3
+# It's my first PlayOnLinux script
   
-[ -z "$PLAYONLINUX" ] && exit 0
+[ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-   
-TITLE="Captvty v3 alpha"
-PREFIX="captvty_v3_alpha"
-WORKING_WINE_VERSION="4.0.3"
-AUTHOR="Dadu042"
-EDITOR="Guillaume"
-GAME_URL="https://captvty.fr"
-  
+
 POL_SetupWindow_Init
-POL_Debug_Init
-     
-POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
- 
-POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
- 
- 
-POL_Wine_SelectPrefix "$PREFIX"
-POL_System_SetArch "x86"
-POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
-POL_System_TmpCreate "$TITLE"
-  
-Set_OS "win7"
-  
-# POL_SetupWindow_message  "Please note: once installed the program does not run.\n" "$TITLE"
-  
-###############
-# Go          #
-###############
-  
-cd "$HOME"
-POL_SetupWindow_browse "$(eval_gettext 'Please select the setup ZIP file to extract.')" "$TITLE"
-SETUP_EXE="$APP_ANSWER"
-  
-cd "$POL_System_TmpDir"
-TARGET_DIR="$WINEPREFIX/drive_c/CapTvTy"
-mkdir -p "$TARGET_DIR"
-cd "$TARGET_DIR"
-  
-POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE"
-  
-POL_System_unzip "$APP_ANSWER" -d "$WINEPREFIX/drive_c/CapTvTy/"
-  
-POL_Shortcut "Captvty.exe" "$TITLE" "" "" "AudioVideo;"
-  
-  
-# Seem useless
-# POL_Call POL_Install_gdiplus
- 
-POL_SetupWindow_message  "Attention: si l'installation de Dotnet ne se termine jamais, patientez plusieurs minutes (ex: 20) puis fermez la fenêtre.\n\nWarning: If the installation of DotNet never end, wait many minutes (ie: 20) then close the window." "$TITLE"
-POL_Call POL_Install_dotnet461
-# POL_Call POL_Install_dotnet40
-  
-# Should be useful for msvcr90.dll, file located inside /tools/
-# POL_Call POL_Install_vcrun2005
-  
-# Should be useful for msvcr100.dll, file located inside /tools/
-# POL_Call POL_Install_vcrun2010
 
-POL_System_TmpDelete
+POL_SetupWindow_presentation "Captvty 3" "Captvty" "http://v3.captvty.fr/" "Remy" "Captvty3"
+
+# Information
+POL_SetupWindow_message "Cet installateur installe la version 3, qui apporte un super système de recherche." "Captvty 3"
+
+# Instructions
+POL_SetupWindow_message "Téléchargez d'abord la dernière version autoextractible du logiciel sur http://v3.captvty.fr/." "Captvty 3"
+POL_SetupWindow_message "Si une erreur apparaît pendant l'installation des différentes couches de DotNet, validez sans vous inquiéter. Ca fonctionne." "Captvty 3"
+POL_SetupWindow_message "Lorsqu'il demande où installer le logiciel, indiquez de préférence un répertoire dans l'arborescence du prefixe. Exemple : /home/<user>/PlayOnLinux's virtual drives/Captvty3/drive_c/Program Files" "Captvty 3"
+
+POL_SetupWindow_browse "Selectionnez le fichier d'installation autoextractible" "Indiquez le fichier d'installation."
+
+
+POL_Wine_SelectPrefix "Captvty3"
+POL_Wine_PrefixCreate "3.20"
+
+# Install DotNet4.5
+POL_Call POL_Install_dotnet45
+
+# Install files
+POL_Wine "$APP_ANSWER"
+
+POL_Shortcut "Captvty.exe" "Captvty 3"
+
 POL_SetupWindow_Close
-exit 0
\ No newline at end of file
+exit

New source code

#!/usr/bin/env playonlinux-bash

# Date : (2020-03-08)
# Last revision : (2020-03-08)
# Wine version used : 3.20
# Distribution used to test : Linux Mint 19.3
# Author : Remy
# PlayOnLinux : 4.2.12
# Script licence : GPL3
# It's my first PlayOnLinux script
  
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

POL_SetupWindow_Init

POL_SetupWindow_presentation "Captvty 3" "Captvty" "http://v3.captvty.fr/" "Remy" "Captvty3"

# Information
POL_SetupWindow_message "Cet installateur installe la version 3, qui apporte un super système de recherche." "Captvty 3"

# Instructions
POL_SetupWindow_message "Téléchargez d'abord la dernière version autoextractible du logiciel sur http://v3.captvty.fr/." "Captvty 3"
POL_SetupWindow_message "Si une erreur apparaît pendant l'installation des différentes couches de DotNet, validez sans vous inquiéter. Ca fonctionne." "Captvty 3"
POL_SetupWindow_message "Lorsqu'il demande où installer le logiciel, indiquez de préférence un répertoire dans l'arborescence du prefixe. Exemple : /home/<user>/PlayOnLinux's virtual drives/Captvty3/drive_c/Program Files" "Captvty 3"

POL_SetupWindow_browse "Selectionnez le fichier d'installation autoextractible" "Indiquez le fichier d'installation."


POL_Wine_SelectPrefix "Captvty3"
POL_Wine_PrefixCreate "3.20"

# Install DotNet4.5
POL_Call POL_Install_dotnet45

# Install files
POL_Wine "$APP_ANSWER"

POL_Shortcut "Captvty.exe" "Captvty 3"

POL_SetupWindow_Close
exit

Replies

Thursday 12 March 2020 at 20:55
Merci de contribuer, j'ai apparament écrit un script avant toi. Libre à toi d'y proposer des modifications. Je conseille d'utiliser plutot le .ZIP que le .EXE de l'appli.
Anonymous
Saturday 14 March 2020 at 19:26
Hello,
J'en avais écrit un aussi. J'ai essayé le tien. Il ne marche pas chez moi.
J'utilise DotNet4.5, qui ne signale qu'une erreur mineure sans impact.
Comme mon script n'a pas été validé, j'utilise ma version en local.
Dadu042 Monday 9 March 2020 at 14:54
Dadu042

Warning

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

Differences

@@ -0,0 +1,91 @@
+#!/usr/bin/env playonlinux-bash
+# Date : (2020-03-03)
+# Last revision : See changelog below
+# Wine version used : see below
+# Distribution used to test : Ubuntu 18.10 amd64
+# Script licence : GPL3
+# Program licence : Retail
+#
+# Playonlinux version used : 4.3.4
+#
+# Software used to write the script : Captvty  3.0.0.65022 (2020-02)
+# Software based on : MS VisualBasic, MS DotNet.
+#
+#
+# CHANGELOG
+# [Dadu042] (2020-03-03)
+#   First version, from script for v3.
+# 
+#
+# KNOWN ISSUES :
+# - x
+#
+#
+# IMPROVEMENT IDEAS: 
+# - change the Videos output folder to the OS's Videos folder.
+# - add a option to upgrade the software (it is provided as a .ZIP).
+
+  
+[ -z "$PLAYONLINUX" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+   
+TITLE="Captvty v3 alpha"
+PREFIX="captvty_v3_alpha"
+WORKING_WINE_VERSION="4.0.3"
+AUTHOR="Dadu042"
+EDITOR="Guillaume"
+GAME_URL="https://captvty.fr"
+  
+POL_SetupWindow_Init
+POL_Debug_Init
+     
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+ 
+POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
+ 
+ 
+POL_Wine_SelectPrefix "$PREFIX"
+POL_System_SetArch "x86"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+POL_System_TmpCreate "$TITLE"
+  
+Set_OS "win7"
+  
+# POL_SetupWindow_message  "Please note: once installed the program does not run.\n" "$TITLE"
+  
+###############
+# Go          #
+###############
+  
+cd "$HOME"
+POL_SetupWindow_browse "$(eval_gettext 'Please select the setup ZIP file to extract.')" "$TITLE"
+SETUP_EXE="$APP_ANSWER"
+  
+cd "$POL_System_TmpDir"
+TARGET_DIR="$WINEPREFIX/drive_c/CapTvTy"
+mkdir -p "$TARGET_DIR"
+cd "$TARGET_DIR"
+  
+POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE"
+  
+POL_System_unzip "$APP_ANSWER" -d "$WINEPREFIX/drive_c/CapTvTy/"
+  
+POL_Shortcut "Captvty.exe" "$TITLE" "" "" "AudioVideo;"
+  
+  
+# Seem useless
+# POL_Call POL_Install_gdiplus
+ 
+POL_SetupWindow_message  "Attention: si l'installation de Dotnet ne se termine jamais, patientez plusieurs minutes (ex: 20) puis fermez la fenêtre.\n\nWarning: If the installation of DotNet never end, wait many minutes (ie: 20) then close the window." "$TITLE"
+POL_Call POL_Install_dotnet461
+# POL_Call POL_Install_dotnet40
+  
+# Should be useful for msvcr90.dll, file located inside /tools/
+# POL_Call POL_Install_vcrun2005
+  
+# Should be useful for msvcr100.dll, file located inside /tools/
+# POL_Call POL_Install_vcrun2010
+
+POL_System_TmpDelete
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2020-03-03)
# Last revision : See changelog below
# Wine version used : see below
# Distribution used to test : Ubuntu 18.10 amd64
# Script licence : GPL3
# Program licence : Retail
#
# Playonlinux version used : 4.3.4
#
# Software used to write the script : Captvty  3.0.0.65022 (2020-02)
# Software based on : MS VisualBasic, MS DotNet.
#
#
# CHANGELOG
# [Dadu042] (2020-03-03)
#   First version, from script for v3.
# 
#
# KNOWN ISSUES :
# - x
#
#
# IMPROVEMENT IDEAS: 
# - change the Videos output folder to the OS's Videos folder.
# - add a option to upgrade the software (it is provided as a .ZIP).

  
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Captvty v3 alpha"
PREFIX="captvty_v3_alpha"
WORKING_WINE_VERSION="4.0.3"
AUTHOR="Dadu042"
EDITOR="Guillaume"
GAME_URL="https://captvty.fr"
  
POL_SetupWindow_Init
POL_Debug_Init
     
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
 
 
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"
  
Set_OS "win7"
  
# POL_SetupWindow_message  "Please note: once installed the program does not run.\n" "$TITLE"
  
###############
# Go          #
###############
  
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup ZIP file to extract.')" "$TITLE"
SETUP_EXE="$APP_ANSWER"
  
cd "$POL_System_TmpDir"
TARGET_DIR="$WINEPREFIX/drive_c/CapTvTy"
mkdir -p "$TARGET_DIR"
cd "$TARGET_DIR"
  
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Extracting the archive...')" "$TITLE"
  
POL_System_unzip "$APP_ANSWER" -d "$WINEPREFIX/drive_c/CapTvTy/"
  
POL_Shortcut "Captvty.exe" "$TITLE" "" "" "AudioVideo;"
  
  
# Seem useless
# POL_Call POL_Install_gdiplus
 
POL_SetupWindow_message  "Attention: si l'installation de Dotnet ne se termine jamais, patientez plusieurs minutes (ex: 20) puis fermez la fenêtre.\n\nWarning: If the installation of DotNet never end, wait many minutes (ie: 20) then close the window." "$TITLE"
POL_Call POL_Install_dotnet461
# POL_Call POL_Install_dotnet40
  
# Should be useful for msvcr90.dll, file located inside /tools/
# POL_Call POL_Install_vcrun2005
  
# Should be useful for msvcr100.dll, file located inside /tools/
# POL_Call POL_Install_vcrun2010

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Monday 9 March 2020 at 14:58
Note: Wine 4.21 semble empecher Dotnet461 de s'installer correctement.