Captvty v3

Informations

Créateur Messages
RemyH Anonymous

Information

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

Informations

Plate-formes :
Téléchargements : 13713
Wine: 4.0.4

Retours d'expérience

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.

Captures d'écran

Miniature

Code source

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

Contribuer
Membre Messages
yalassev Dimanche 25 Décembre 2022 à 10:08
yalassev Anonymous

Messages

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

Réponses

babiole Lundi 26 Avril 2021 à 19:04
babiole Anonymous

Messages

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

Réponses

Dadu042 Jeudi 10 September 2020 à 18:38
Dadu042

Information

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

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"
 

Nouveau code source

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

Réponses

Anonymous
Dimanche 22 Novembre 2020 à 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 Jeudi 10 September 2020 à 18:33
Dadu042

Warning

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

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"
 

Nouveau code source

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

Réponses

Dadu042 Jeudi 10 September 2020 à 18:31
Dadu042

Warning

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

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
 

Nouveau code source

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

Réponses

RemyH Lundi 9 Mars 2020 à 23:33
RemyH Anonymous

Warning

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

Messages

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

Nouveau code source

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

Réponses

Jeudi 12 Mars 2020 à 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
Samedi 14 Mars 2020 à 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 Lundi 9 Mars 2020 à 14:54
Dadu042

Warning

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

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

Nouveau code source

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

Réponses

Lundi 9 Mars 2020 à 14:58
Note: Wine 4.21 semble empecher Dotnet461 de s'installer correctement.