Captvty v2

Informations

Creator Message
Dadu042

Warning

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

Informations

Platforms:
Downloads: 18395
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

MiniatureMiniature

Source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-05-14 09:08)
# Last revision : See changelog below
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
#
# Playonlinux version used : 4.3.4
#
# Software used to write the script : Captvty v2.8.2 (2019), v2.8.8.1 (2020).
# Software based on : MS VisualBasic, MS DotNet.
#
#
# CHANGELOG
# [Dadu042] (2019-05-14 09:08)
#   First version.
# [Dadu042] (2019-07-14 12:43) 
#   Add GDIplus (useless). 
#   Add more comments.
# [Dadu042] (2019-07-14 14:24)
#   Software started without crashing ("CLR error: 80004005"). Fix is Dotnet461 (instead of Dotnet40), very long to install (30 min?).
# [Dadu042] (2019-07-14 19:07)
#   Translate some parts to french because this software is only for french speakers.
# [Dadu042] (2019-09-20)
#   Wine 4.0.1 -> 4.0.2
#   Fix path name.
#   winxp -> win7.
#   Add warning about Dotnet461 that might never end.
# [Dadu042] (2019-12-30)
#   Add POL_RequiredVersion
#   Wine 4.0.2 -> 4.0.3
# [Dadu042] (2020-03-09 11:57)
#   OK with v2.8.8.1 (2020)
# 
#
# KNOWN ISSUES :
# - "CLR error: 80004005. The program will now terminate.": s'ouvre aussitôt l'appli lancée 
#   (arrive avec Captvty v2.7.13, v2.7.15. Wine v4.0.1, 4.12.1)  OK avec Dotnet461 (+ wine 4.12.1) au liee de Dotnet40.
# - "Ouvrir le dossier l'emplacement du fichier" (via clic droit) plante l'appli ("Erreur inattendue"). Arrive avec Wine 4.0.1 et 4.12.1 sans aucun Vcrun d'installé.
#
#
# 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"
PREFIX="captvty"
WORKING_WINE_VERSION="4.0.4"
AUTHOR="Dadu042"
EDITOR="Guillaume"
GAME_URL="https://captvty.fr"
APP_ID="2795"
  
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

Contributions

Filters:

Contribute
Member Message
hdesbois Monday 24 October 2022 at 22:24
hdesbois Anonymous

Message

Bonjour,

J'ai essayé l'installation de Captvty 2 sous lubuntu 22.4

A la fin de l'installation, l'erreur ci-dessous apparaît :

mscorsvw.exe - Assrert Failure

Description : Infinite recursion during resource lookup within mscorlib.

Que faire pour résoudre cette anomalie ?

Replies

lifesaver Friday 26 February 2021 at 12:40
lifesaver Anonymous

Message

OK pour moi, mais l'installation est longue et ponctuée d'erreurs.

Sous Kubuntu 20.04

Replies

Edited by lifesaver

Dadu042 Sunday 1 November 2020 at 13:15
Dadu042

Information

This update has been approved by the team.

Differences

@@ -50,7 +50,7 @@
    
 TITLE="Captvty"
 PREFIX="captvty"
-WORKING_WINE_VERSION="4.0.3"
+WORKING_WINE_VERSION="4.0.4"
 AUTHOR="Dadu042"
 EDITOR="Guillaume"
 GAME_URL="https://captvty.fr"

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-05-14 09:08)
# Last revision : See changelog below
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
#
# Playonlinux version used : 4.3.4
#
# Software used to write the script : Captvty v2.8.2 (2019), v2.8.8.1 (2020).
# Software based on : MS VisualBasic, MS DotNet.
#
#
# CHANGELOG
# [Dadu042] (2019-05-14 09:08)
#   First version.
# [Dadu042] (2019-07-14 12:43) 
#   Add GDIplus (useless). 
#   Add more comments.
# [Dadu042] (2019-07-14 14:24)
#   Software started without crashing ("CLR error: 80004005"). Fix is Dotnet461 (instead of Dotnet40), very long to install (30 min?).
# [Dadu042] (2019-07-14 19:07)
#   Translate some parts to french because this software is only for french speakers.
# [Dadu042] (2019-09-20)
#   Wine 4.0.1 -> 4.0.2
#   Fix path name.
#   winxp -> win7.
#   Add warning about Dotnet461 that might never end.
# [Dadu042] (2019-12-30)
#   Add POL_RequiredVersion
#   Wine 4.0.2 -> 4.0.3
# [Dadu042] (2020-03-09 11:57)
#   OK with v2.8.8.1 (2020)
# 
#
# KNOWN ISSUES :
# - "CLR error: 80004005. The program will now terminate.": s'ouvre aussitôt l'appli lancée 
#   (arrive avec Captvty v2.7.13, v2.7.15. Wine v4.0.1, 4.12.1)  OK avec Dotnet461 (+ wine 4.12.1) au liee de Dotnet40.
# - "Ouvrir le dossier l'emplacement du fichier" (via clic droit) plante l'appli ("Erreur inattendue"). Arrive avec Wine 4.0.1 et 4.12.1 sans aucun Vcrun d'installé.
#
#
# 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"
PREFIX="captvty"
WORKING_WINE_VERSION="4.0.4"
AUTHOR="Dadu042"
EDITOR="Guillaume"
GAME_URL="https://captvty.fr"
APP_ID="2795"
  
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

Anonymous
Sunday 22 November 2020 at 1:51
Bonjour, tout nouveau sur cette plateforme. J'ai essayé toutes les versions et ça plante à chaque fois chez moi. Je tourne sur Mac, je lance l'installation, ça me met "Installing .NET 4.0", ça marche, 4.5 aussi et à chaque fois arrivé à 4.6.1 ça plante "An error happened during download" et ce pour toutes les versions même si j'essaie avec Captvty v3.
Anonymous
Sunday 22 November 2020 at 1:52
Je précise que je suis sur MacOS Big Sur .. Vous avez une solution svp ? Merci d'avance
Dadu042 Monday 9 March 2020 at 13:47
Dadu042

Warning

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

Differences

@@ -8,7 +8,7 @@
 #
 # Playonlinux version used : 4.3.4
 #
-# Software used to write the script : Captvty v2.8.2 (2019)
+# Software used to write the script : Captvty v2.8.2 (2019), v2.8.8.1 (2020).
 # Software based on : MS VisualBasic, MS DotNet.
 #
 #
@@ -23,23 +23,31 @@
 # [Dadu042] (2019-07-14 19:07)
 #   Translate some parts to french because this software is only for french speakers.
 # [Dadu042] (2019-09-20)
-#   Wine 4.0.1 -> 4.0.2
+#   Wine 4.0.1 -> 4.0.2
 #   Fix path name.
-#   winxp -> win7.
-#   Add warning about Dotnet461 that might never end.
+#   winxp -> win7.
+#   Add warning about Dotnet461 that might never end.
 # [Dadu042] (2019-12-30)
 #   Add POL_RequiredVersion
 #   Wine 4.0.2 -> 4.0.3
-
+# [Dadu042] (2020-03-09 11:57)
+#   OK with v2.8.8.1 (2020)
+# 
 #
 # KNOWN ISSUES :
 # - "CLR error: 80004005. The program will now terminate.": s'ouvre aussitôt l'appli lancée 
 #   (arrive avec Captvty v2.7.13, v2.7.15. Wine v4.0.1, 4.12.1)  OK avec Dotnet461 (+ wine 4.12.1) au liee de Dotnet40.
 # - "Ouvrir le dossier l'emplacement du fichier" (via clic droit) plante l'appli ("Erreur inattendue"). Arrive avec Wine 4.0.1 et 4.12.1 sans aucun Vcrun d'installé.
- 
+#
+#
+# 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"
 PREFIX="captvty"
 WORKING_WINE_VERSION="4.0.3"
@@ -47,59 +55,57 @@
 EDITOR="Guillaume"
 GAME_URL="https://captvty.fr"
 APP_ID="2795"
- 
+  
 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 usefull for msvcr90.dll, file located inside /tools/
+  
+# Should be useful for msvcr90.dll, file located inside /tools/
 # POL_Call POL_Install_vcrun2005
- 
-# Should be usefull for msvcr100.dll, file located inside /tools/
+  
+# Should be useful for msvcr100.dll, file located inside /tools/
 # POL_Call POL_Install_vcrun2010
- 
-# To add ?: a option to upgrade the software (it is provided as a .ZIP).
- 
+
 POL_System_TmpDelete
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-05-14 09:08)
# Last revision : See changelog below
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
#
# Playonlinux version used : 4.3.4
#
# Software used to write the script : Captvty v2.8.2 (2019), v2.8.8.1 (2020).
# Software based on : MS VisualBasic, MS DotNet.
#
#
# CHANGELOG
# [Dadu042] (2019-05-14 09:08)
#   First version.
# [Dadu042] (2019-07-14 12:43) 
#   Add GDIplus (useless). 
#   Add more comments.
# [Dadu042] (2019-07-14 14:24)
#   Software started without crashing ("CLR error: 80004005"). Fix is Dotnet461 (instead of Dotnet40), very long to install (30 min?).
# [Dadu042] (2019-07-14 19:07)
#   Translate some parts to french because this software is only for french speakers.
# [Dadu042] (2019-09-20)
#   Wine 4.0.1 -> 4.0.2
#   Fix path name.
#   winxp -> win7.
#   Add warning about Dotnet461 that might never end.
# [Dadu042] (2019-12-30)
#   Add POL_RequiredVersion
#   Wine 4.0.2 -> 4.0.3
# [Dadu042] (2020-03-09 11:57)
#   OK with v2.8.8.1 (2020)
# 
#
# KNOWN ISSUES :
# - "CLR error: 80004005. The program will now terminate.": s'ouvre aussitôt l'appli lancée 
#   (arrive avec Captvty v2.7.13, v2.7.15. Wine v4.0.1, 4.12.1)  OK avec Dotnet461 (+ wine 4.12.1) au liee de Dotnet40.
# - "Ouvrir le dossier l'emplacement du fichier" (via clic droit) plante l'appli ("Erreur inattendue"). Arrive avec Wine 4.0.1 et 4.12.1 sans aucun Vcrun d'installé.
#
#
# 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"
PREFIX="captvty"
WORKING_WINE_VERSION="4.0.3"
AUTHOR="Dadu042"
EDITOR="Guillaume"
GAME_URL="https://captvty.fr"
APP_ID="2795"
  
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

Dadu042 Tuesday 31 December 2019 at 1:49
Dadu042

Warning

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

Differences

@@ -27,20 +27,22 @@
 #   Fix path name.
 #   winxp -> win7.
 #   Add warning about Dotnet461 that might never end.
+# [Dadu042] (2019-12-30)
+#   Add POL_RequiredVersion
+#   Wine 4.0.2 -> 4.0.3
+
 #
 # KNOWN ISSUES :
 # - "CLR error: 80004005. The program will now terminate.": s'ouvre aussitôt l'appli lancée 
 #   (arrive avec Captvty v2.7.13, v2.7.15. Wine v4.0.1, 4.12.1)  OK avec Dotnet461 (+ wine 4.12.1) au liee de Dotnet40.
 # - "Ouvrir le dossier l'emplacement du fichier" (via clic droit) plante l'appli ("Erreur inattendue"). Arrive avec Wine 4.0.1 et 4.12.1 sans aucun Vcrun d'installé.
-#
- 
  
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
   
 TITLE="Captvty"
 PREFIX="captvty"
-WORKING_WINE_VERSION="4.0.2"
+WORKING_WINE_VERSION="4.0.3"
 AUTHOR="Dadu042"
 EDITOR="Guillaume"
 GAME_URL="https://captvty.fr"
@@ -50,7 +52,10 @@
 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"

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-05-14 09:08)
# Last revision : See changelog below
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
#
# Playonlinux version used : 4.3.4
#
# Software used to write the script : Captvty v2.8.2 (2019)
# Software based on : MS VisualBasic, MS DotNet.
#
#
# CHANGELOG
# [Dadu042] (2019-05-14 09:08)
#   First version.
# [Dadu042] (2019-07-14 12:43) 
#   Add GDIplus (useless). 
#   Add more comments.
# [Dadu042] (2019-07-14 14:24)
#   Software started without crashing ("CLR error: 80004005"). Fix is Dotnet461 (instead of Dotnet40), very long to install (30 min?).
# [Dadu042] (2019-07-14 19:07)
#   Translate some parts to french because this software is only for french speakers.
# [Dadu042] (2019-09-20)
#   Wine 4.0.1 -> 4.0.2
#   Fix path name.
#   winxp -> win7.
#   Add warning about Dotnet461 that might never end.
# [Dadu042] (2019-12-30)
#   Add POL_RequiredVersion
#   Wine 4.0.2 -> 4.0.3

#
# KNOWN ISSUES :
# - "CLR error: 80004005. The program will now terminate.": s'ouvre aussitôt l'appli lancée 
#   (arrive avec Captvty v2.7.13, v2.7.15. Wine v4.0.1, 4.12.1)  OK avec Dotnet461 (+ wine 4.12.1) au liee de Dotnet40.
# - "Ouvrir le dossier l'emplacement du fichier" (via clic droit) plante l'appli ("Erreur inattendue"). Arrive avec Wine 4.0.1 et 4.12.1 sans aucun Vcrun d'installé.
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Captvty"
PREFIX="captvty"
WORKING_WINE_VERSION="4.0.3"
AUTHOR="Dadu042"
EDITOR="Guillaume"
GAME_URL="https://captvty.fr"
APP_ID="2795"
 
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 usefull for msvcr90.dll, file located inside /tools/
# POL_Call POL_Install_vcrun2005
 
# Should be usefull for msvcr100.dll, file located inside /tools/
# POL_Call POL_Install_vcrun2010
 
# To add ?: a option to upgrade the software (it is provided as a .ZIP).
 
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Dadu042 Friday 20 September 2019 at 13:48
Dadu042

Warning

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

Message

Testé avec v2.8.2

 

To do list :

  • Trouver le moyen de sauvegarder automatiquement les vidéos dans  ~/home/Vidéos/

Differences

@@ -2,14 +2,14 @@
 # Date : (2019-05-14 09:08)
 # Last revision : See changelog below
 # Wine version used : see below
-# Distribution used to test : XUbuntu 19.04 x64
+# Distribution used to test : Ubuntu 18.04 x64
 # Script licence : GPL3
 # Program licence : Retail
 #
 # Playonlinux version used : 4.3.4
 #
-# Software used to write the script : Captvty v2.7.15 (2019)
-# Based on : MS VisualBasic.
+# Software used to write the script : Captvty v2.8.2 (2019)
+# Software based on : MS VisualBasic, MS DotNet.
 #
 #
 # CHANGELOG
@@ -19,77 +19,82 @@
 #   Add GDIplus (useless). 
 #   Add more comments.
 # [Dadu042] (2019-07-14 14:24)
-#   Software started without crashing ("CLR error: 80004005"). Fix is Dotnet461 (instead of Dotnet40), very long to install (30 min?).
+#   Software started without crashing ("CLR error: 80004005"). Fix is Dotnet461 (instead of Dotnet40), very long to install (30 min?).
 # [Dadu042] (2019-07-14 19:07)
-#   Translate some parts to french because this software is only for french speakers.
+#   Translate some parts to french because this software is only for french speakers.
+# [Dadu042] (2019-09-20)
+#   Wine 4.0.1 -> 4.0.2
+#   Fix path name.
+#   winxp -> win7.
+#   Add warning about Dotnet461 that might never end.
 #
 # KNOWN ISSUES :
-# - "CLR error: 80004005. The program will now terminate.": s'ouvre aussitôt l'appli lancée 
-#   (arrive avec Captvty v2.7.13, v2.7.15. Wine v4.0.1, 4.12.1)  OK avec Dotnet461 (+ wine 4.12.1) au liee de Dotnet40.
+# - "CLR error: 80004005. The program will now terminate.": s'ouvre aussitôt l'appli lancée 
+#   (arrive avec Captvty v2.7.13, v2.7.15. Wine v4.0.1, 4.12.1)  OK avec Dotnet461 (+ wine 4.12.1) au liee de Dotnet40.
 # - "Ouvrir le dossier l'emplacement du fichier" (via clic droit) plante l'appli ("Erreur inattendue"). Arrive avec Wine 4.0.1 et 4.12.1 sans aucun Vcrun d'installé.
 #
-
-
+ 
+ 
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
- 
+  
 TITLE="Captvty"
 PREFIX="captvty"
-WORKING_WINE_VERSION="4.0.1"
+WORKING_WINE_VERSION="4.0.2"
 AUTHOR="Dadu042"
 EDITOR="Guillaume"
 GAME_URL="https://captvty.fr"
 APP_ID="2795"
-
+ 
 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 "$TITLE"
-
-Set_OS "winxp"
-
-# POL_SetupWindow_message  "Please note: once installed the program does not run.\n" "$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/"
-
+ 
+POL_System_unzip "$APP_ANSWER" -d "$WINEPREFIX/drive_c/CapTvTy/"
+ 
 POL_Shortcut "Captvty.exe" "$TITLE" "" "" "AudioVideo;"
-
-
-# Seem useless
+ 
+ 
+# Seem useless
 # POL_Call POL_Install_gdiplus
 
-# POL_SetupWindow_message  "Warning: If the installation of DotNet never end, wait many minutes." "$TITLE"
+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 usefull for msvcr90.dll, file located inside /tools/
-# POL_Call POL_Install_vcrun2005
-
-# Should be usefull for msvcr100.dll, file located inside /tools/
-# POL_Call POL_Install_vcrun2010
-
+# POL_Call POL_Install_dotnet40
+ 
+# Should be usefull for msvcr90.dll, file located inside /tools/
+# POL_Call POL_Install_vcrun2005
+ 
+# Should be usefull for msvcr100.dll, file located inside /tools/
+# POL_Call POL_Install_vcrun2010
+ 
 # To add ?: a option to upgrade the software (it is provided as a .ZIP).
-
+ 
 POL_System_TmpDelete
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-05-14 09:08)
# Last revision : See changelog below
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
#
# Playonlinux version used : 4.3.4
#
# Software used to write the script : Captvty v2.8.2 (2019)
# Software based on : MS VisualBasic, MS DotNet.
#
#
# CHANGELOG
# [Dadu042] (2019-05-14 09:08)
#   First version.
# [Dadu042] (2019-07-14 12:43) 
#   Add GDIplus (useless). 
#   Add more comments.
# [Dadu042] (2019-07-14 14:24)
#   Software started without crashing ("CLR error: 80004005"). Fix is Dotnet461 (instead of Dotnet40), very long to install (30 min?).
# [Dadu042] (2019-07-14 19:07)
#   Translate some parts to french because this software is only for french speakers.
# [Dadu042] (2019-09-20)
#   Wine 4.0.1 -> 4.0.2
#   Fix path name.
#   winxp -> win7.
#   Add warning about Dotnet461 that might never end.
#
# KNOWN ISSUES :
# - "CLR error: 80004005. The program will now terminate.": s'ouvre aussitôt l'appli lancée 
#   (arrive avec Captvty v2.7.13, v2.7.15. Wine v4.0.1, 4.12.1)  OK avec Dotnet461 (+ wine 4.12.1) au liee de Dotnet40.
# - "Ouvrir le dossier l'emplacement du fichier" (via clic droit) plante l'appli ("Erreur inattendue"). Arrive avec Wine 4.0.1 et 4.12.1 sans aucun Vcrun d'installé.
#
 
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Captvty"
PREFIX="captvty"
WORKING_WINE_VERSION="4.0.2"
AUTHOR="Dadu042"
EDITOR="Guillaume"
GAME_URL="https://captvty.fr"
APP_ID="2795"
 
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 "$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 usefull for msvcr90.dll, file located inside /tools/
# POL_Call POL_Install_vcrun2005
 
# Should be usefull for msvcr100.dll, file located inside /tools/
# POL_Call POL_Install_vcrun2010
 
# To add ?: a option to upgrade the software (it is provided as a .ZIP).
 
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Edited by Dadu042

Dadu042 Tuesday 23 July 2019 at 7:03
Dadu042

Message

OK pour Captvty v2.8(.0), bien que j'ai eu finalement à fermer la fenêtre d'installation après 20 min sans que le script ne veuille se terminer.

 

To do list :

  • Réparer : TARGET_DIR (pour unzip).
  • Trouver le moyen de sauvegarder automatiquement les vidéos dans  ~/home/Vidéos/

Replies

Edited by Dadu042

Dadu042 Sunday 14 July 2019 at 19:07
Dadu042

Warning

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

Message

Non testés (et sans doute non fonctionnels) : onglet "Conversion" et "Enregistrement en direct".

Differences

@@ -2,7 +2,7 @@
 # Date : (2019-05-14 09:08)
 # Last revision : See changelog below
 # Wine version used : see below
-# Distribution used to test : Ubuntu 19.04 x64
+# Distribution used to test : XUbuntu 19.04 x64
 # Script licence : GPL3
 # Program licence : Retail
 #
@@ -20,11 +20,16 @@
 #   Add more comments.
 # [Dadu042] (2019-07-14 14:24)
 #   Software started without crashing ("CLR error: 80004005"). Fix is Dotnet461 (instead of Dotnet40), very long to install (30 min?).
+# [Dadu042] (2019-07-14 19:07)
+#   Translate some parts to french because this software is only for french speakers.
 #
 # KNOWN ISSUES :
-# - As soon as it start, error window "CLR error: 80004005. The program will now terminate." 
-#   (Occurs with Captvty v2.7.13, v2.7.15. Wine v4.0.1, 4.12.1)  OK with Dotnet461 (+ wine 4.12.1) instead of Dotnet40.
- 
+# - "CLR error: 80004005. The program will now terminate.": s'ouvre aussitôt l'appli lancée 
+#   (arrive avec Captvty v2.7.13, v2.7.15. Wine v4.0.1, 4.12.1)  OK avec Dotnet461 (+ wine 4.12.1) au liee de Dotnet40.
+# - "Ouvrir le dossier l'emplacement du fichier" (via clic droit) plante l'appli ("Erreur inattendue"). Arrive avec Wine 4.0.1 et 4.12.1 sans aucun Vcrun d'installé.
+#
+
+
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
  

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-05-14 09:08)
# Last revision : See changelog below
# Wine version used : see below
# Distribution used to test : XUbuntu 19.04 x64
# Script licence : GPL3
# Program licence : Retail
#
# Playonlinux version used : 4.3.4
#
# Software used to write the script : Captvty v2.7.15 (2019)
# Based on : MS VisualBasic.
#
#
# CHANGELOG
# [Dadu042] (2019-05-14 09:08)
#   First version.
# [Dadu042] (2019-07-14 12:43) 
#   Add GDIplus (useless). 
#   Add more comments.
# [Dadu042] (2019-07-14 14:24)
#   Software started without crashing ("CLR error: 80004005"). Fix is Dotnet461 (instead of Dotnet40), very long to install (30 min?).
# [Dadu042] (2019-07-14 19:07)
#   Translate some parts to french because this software is only for french speakers.
#
# KNOWN ISSUES :
# - "CLR error: 80004005. The program will now terminate.": s'ouvre aussitôt l'appli lancée 
#   (arrive avec Captvty v2.7.13, v2.7.15. Wine v4.0.1, 4.12.1)  OK avec Dotnet461 (+ wine 4.12.1) au liee de Dotnet40.
# - "Ouvrir le dossier l'emplacement du fichier" (via clic droit) plante l'appli ("Erreur inattendue"). Arrive avec Wine 4.0.1 et 4.12.1 sans aucun Vcrun d'installé.
#


[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Captvty"
PREFIX="captvty"
WORKING_WINE_VERSION="4.0.1"
AUTHOR="Dadu042"
EDITOR="Guillaume"
GAME_URL="https://captvty.fr"
APP_ID="2795"

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 "$TITLE"

Set_OS "winxp"

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

POL_Shortcut "Captvty.exe" "$TITLE" "" "" "AudioVideo;"


# Seem useless
# POL_Call POL_Install_gdiplus

# POL_SetupWindow_message  "Warning: If the installation of DotNet never end, wait many minutes." "$TITLE"
POL_Call POL_Install_dotnet461
# POL_Call POL_Install_dotnet40

# Should be usefull for msvcr90.dll, file located inside /tools/
# POL_Call POL_Install_vcrun2005

# Should be usefull for msvcr100.dll, file located inside /tools/
# POL_Call POL_Install_vcrun2010

# To add ?: a option to upgrade the software (it is provided as a .ZIP).

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Edited by Dadu042

Dadu042 Sunday 14 July 2019 at 14:24
Dadu042

Warning

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

Message

Maintenant le logiciel démarre. Usage pas testé.

Differences

@@ -1,6 +1,6 @@
 #!/usr/bin/env playonlinux-bash
-# Date : (2019-05-14 09-08)
-# Last revision : (2019-05-19 00-58)
+# Date : (2019-05-14 09:08)
+# Last revision : See changelog below
 # Wine version used : see below
 # Distribution used to test : Ubuntu 19.04 x64
 # Script licence : GPL3
@@ -8,10 +8,22 @@
 #
 # Playonlinux version used : 4.3.4
 #
-# Software used to write the script : Captvty v2.7.13 (2019)
+# Software used to write the script : Captvty v2.7.15 (2019)
+# Based on : MS VisualBasic.
 #
-# Known issues :
-# As soon as it start (v2.7.13), error window "CLR error: 80004005. The program will now terminate."
+#
+# CHANGELOG
+# [Dadu042] (2019-05-14 09:08)
+#   First version.
+# [Dadu042] (2019-07-14 12:43) 
+#   Add GDIplus (useless). 
+#   Add more comments.
+# [Dadu042] (2019-07-14 14:24)
+#   Software started without crashing ("CLR error: 80004005"). Fix is Dotnet461 (instead of Dotnet40), very long to install (30 min?).
+#
+# KNOWN ISSUES :
+# - As soon as it start, error window "CLR error: 80004005. The program will now terminate." 
+#   (Occurs with Captvty v2.7.13, v2.7.15. Wine v4.0.1, 4.12.1)  OK with Dotnet461 (+ wine 4.12.1) instead of Dotnet40.
  
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
@@ -35,13 +47,13 @@
 POL_System_TmpCreate "$TITLE"
 
 Set_OS "winxp"
- 
+
 # 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"
@@ -55,22 +67,24 @@
 
 POL_System_unzip "$APP_ANSWER" -d "$WINEPREFIX/drive_c/"
 
-POL_Shortcut "Captvty.exe" "$TITLE" "" "AudioVideo;"
+POL_Shortcut "Captvty.exe" "$TITLE" "" "" "AudioVideo;"
+
 
+# Seem useless
+# POL_Call POL_Install_gdiplus
 
-# POL_SetupWindow_message  "Warning: If the installation of DotNet never end, click Cancel." "$TITLE"
-POL_Call POL_Install_dotnet40
+# POL_SetupWindow_message  "Warning: If the installation of DotNet never end, wait many minutes." "$TITLE"
+POL_Call POL_Install_dotnet461
+# POL_Call POL_Install_dotnet40
 
-# for msvcr90.dll
-POL_Call POL_Install_vcrun2005
+# Should be usefull for msvcr90.dll, file located inside /tools/
+# POL_Call POL_Install_vcrun2005
 
-# for msvcr100.dll
-POL_Call POL_Install_vcrun2010
+# Should be usefull for msvcr100.dll, file located inside /tools/
+# POL_Call POL_Install_vcrun2010
 
+# To add ?: a option to upgrade the software (it is provided as a .ZIP).
 
 POL_System_TmpDelete
 POL_SetupWindow_Close
-exit 0
-
-
-# To add ?: option to upgrade the software (it is provided as a .ZIP).
+exit 0
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-05-14 09:08)
# Last revision : See changelog below
# Wine version used : see below
# Distribution used to test : Ubuntu 19.04 x64
# Script licence : GPL3
# Program licence : Retail
#
# Playonlinux version used : 4.3.4
#
# Software used to write the script : Captvty v2.7.15 (2019)
# Based on : MS VisualBasic.
#
#
# CHANGELOG
# [Dadu042] (2019-05-14 09:08)
#   First version.
# [Dadu042] (2019-07-14 12:43) 
#   Add GDIplus (useless). 
#   Add more comments.
# [Dadu042] (2019-07-14 14:24)
#   Software started without crashing ("CLR error: 80004005"). Fix is Dotnet461 (instead of Dotnet40), very long to install (30 min?).
#
# KNOWN ISSUES :
# - As soon as it start, error window "CLR error: 80004005. The program will now terminate." 
#   (Occurs with Captvty v2.7.13, v2.7.15. Wine v4.0.1, 4.12.1)  OK with Dotnet461 (+ wine 4.12.1) instead of Dotnet40.
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Captvty"
PREFIX="captvty"
WORKING_WINE_VERSION="4.0.1"
AUTHOR="Dadu042"
EDITOR="Guillaume"
GAME_URL="https://captvty.fr"
APP_ID="2795"

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 "$TITLE"

Set_OS "winxp"

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

POL_Shortcut "Captvty.exe" "$TITLE" "" "" "AudioVideo;"


# Seem useless
# POL_Call POL_Install_gdiplus

# POL_SetupWindow_message  "Warning: If the installation of DotNet never end, wait many minutes." "$TITLE"
POL_Call POL_Install_dotnet461
# POL_Call POL_Install_dotnet40

# Should be usefull for msvcr90.dll, file located inside /tools/
# POL_Call POL_Install_vcrun2005

# Should be usefull for msvcr100.dll, file located inside /tools/
# POL_Call POL_Install_vcrun2010

# To add ?: a option to upgrade the software (it is provided as a .ZIP).

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Dadu042 Sunday 14 July 2019 at 12:44
Dadu042

Warning

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

Message

See changelog.

Differences

@@ -1,6 +1,6 @@
 #!/usr/bin/env playonlinux-bash
-# Date : (2019-05-14 09-08)
-# Last revision : (2019-05-19 00-58)
+# Date : (2019-05-14 09:08)
+# Last revision : See changelog below
 # Wine version used : see below
 # Distribution used to test : Ubuntu 19.04 x64
 # Script licence : GPL3
@@ -10,8 +10,15 @@
 #
 # Software used to write the script : Captvty v2.7.13 (2019)
 #
-# Known issues :
-# As soon as it start (v2.7.13), error window "CLR error: 80004005. The program will now terminate."
+# CHANGELOG
+# [Dadu042] (2019-05-14 09:08)
+#   First version.
+# [Dadu042] (2019-07-14 12:43) 
+#   Add GDIplus (useless). 
+#   Add more comments.
+#
+# KNOWN ISSUES :
+# As soon as it start, error window "CLR error: 80004005. The program will now terminate."  Occurs with Captvty v2.7.13, v2.7.15. Wine v4.0.1
  
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
@@ -35,13 +42,13 @@
 POL_System_TmpCreate "$TITLE"
 
 Set_OS "winxp"
- 
+
 # 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"
@@ -58,19 +65,19 @@
 POL_Shortcut "Captvty.exe" "$TITLE" "" "AudioVideo;"
 
 
+POL_Call POL_Install_gdiplus
+
 # POL_SetupWindow_message  "Warning: If the installation of DotNet never end, click Cancel." "$TITLE"
 POL_Call POL_Install_dotnet40
 
-# for msvcr90.dll
+# Should be usefull for msvcr90.dll, file located inside /tools/
 POL_Call POL_Install_vcrun2005
 
-# for msvcr100.dll
+# Should be usefull for msvcr100.dll, file located inside /tools/
 POL_Call POL_Install_vcrun2010
 
+# To add ?: a option to upgrade the software (it is provided as a .ZIP).
 
 POL_System_TmpDelete
 POL_SetupWindow_Close
-exit 0
-
-
-# To add ?: option to upgrade the software (it is provided as a .ZIP).
+exit 0
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-05-14 09:08)
# Last revision : See changelog below
# Wine version used : see below
# Distribution used to test : Ubuntu 19.04 x64
# Script licence : GPL3
# Program licence : Retail
#
# Playonlinux version used : 4.3.4
#
# Software used to write the script : Captvty v2.7.13 (2019)
#
# CHANGELOG
# [Dadu042] (2019-05-14 09:08)
#   First version.
# [Dadu042] (2019-07-14 12:43) 
#   Add GDIplus (useless). 
#   Add more comments.
#
# KNOWN ISSUES :
# As soon as it start, error window "CLR error: 80004005. The program will now terminate."  Occurs with Captvty v2.7.13, v2.7.15. Wine v4.0.1
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Captvty"
PREFIX="captvty"
WORKING_WINE_VERSION="4.0.1"
AUTHOR="Dadu042"
EDITOR="Guillaume"
GAME_URL="https://captvty.fr"
APP_ID="2795"

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 "$TITLE"

Set_OS "winxp"

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

POL_Shortcut "Captvty.exe" "$TITLE" "" "AudioVideo;"


POL_Call POL_Install_gdiplus

# POL_SetupWindow_message  "Warning: If the installation of DotNet never end, click Cancel." "$TITLE"
POL_Call POL_Install_dotnet40

# Should be usefull for msvcr90.dll, file located inside /tools/
POL_Call POL_Install_vcrun2005

# Should be usefull for msvcr100.dll, file located inside /tools/
POL_Call POL_Install_vcrun2010

# To add ?: a option to upgrade the software (it is provided as a .ZIP).

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Replies

Edited by Dadu042

Dadu042 Sunday 19 May 2019 at 0:59
Dadu042

Warning

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

Message

The script allow to install the app from is zip file.

But the app crash when loading. angry (even with Wine up to v4.8).

Differences

@@ -55,7 +55,7 @@
 
 POL_System_unzip "$APP_ANSWER" -d "$WINEPREFIX/drive_c/"
 
-POL_Shortcut "Captvty.exe" "$TITLE" ""
+POL_Shortcut "Captvty.exe" "$TITLE" "" "AudioVideo;"
 
 
 # POL_SetupWindow_message  "Warning: If the installation of DotNet never end, click Cancel." "$TITLE"

New source code

#!/usr/bin/env playonlinux-bash
# Date : (2019-05-14 09-08)
# Last revision : (2019-05-19 00-58)
# Wine version used : see below
# Distribution used to test : Ubuntu 19.04 x64
# Script licence : GPL3
# Program licence : Retail
#
# Playonlinux version used : 4.3.4
#
# Software used to write the script : Captvty v2.7.13 (2019)
#
# Known issues :
# As soon as it start (v2.7.13), error window "CLR error: 80004005. The program will now terminate."
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Captvty"
PREFIX="captvty"
WORKING_WINE_VERSION="4.0.1"
AUTHOR="Dadu042"
EDITOR="Guillaume"
GAME_URL="https://captvty.fr"
APP_ID="2795"

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 "$TITLE"

Set_OS "winxp"
 
# 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/"

POL_Shortcut "Captvty.exe" "$TITLE" "" "AudioVideo;"


# POL_SetupWindow_message  "Warning: If the installation of DotNet never end, click Cancel." "$TITLE"
POL_Call POL_Install_dotnet40

# for msvcr90.dll
POL_Call POL_Install_vcrun2005

# for msvcr100.dll
POL_Call POL_Install_vcrun2010


POL_System_TmpDelete
POL_SetupWindow_Close
exit 0


# To add ?: option to upgrade the software (it is provided as a .ZIP).

Replies

Edited by Dadu042

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com