Captvty v2

Informations

Créateur Messages
Dadu042

Attention

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

Informations

Plate-formes :
Téléchargements : 18372
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

MiniatureMiniature

Code source

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

Contribuer
Membre Messages
hdesbois Lundi 24 Octobre 2022 à 22:24
hdesbois Anonymous

Messages

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 ?

Réponses

lifesaver Vendredi 26 Février 2021 à 12:40
lifesaver Anonymous

Messages

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

Sous Kubuntu 20.04

Réponses

Edité par lifesaver

Dadu042 Dimanche 1 Novembre 2020 à 13:15
Dadu042

Information

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

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"

Nouveau code source

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

Réponses

Anonymous
Dimanche 22 Novembre 2020 à 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
Dimanche 22 Novembre 2020 à 1:52
Je précise que je suis sur MacOS Big Sur .. Vous avez une solution svp ? Merci d'avance
Dadu042 Lundi 9 Mars 2020 à 13:47
Dadu042

Warning

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

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

Nouveau code source

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

Réponses

Dadu042 Mardi 31 Décembre 2019 à 1:49
Dadu042

Warning

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

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"

Nouveau code source

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

Réponses

Dadu042 Vendredi 20 September 2019 à 13:48
Dadu042

Warning

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

Messages

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

Nouveau code source

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

Réponses

Edité par Dadu042

Dadu042 Mardi 23 Juillet 2019 à 7:03
Dadu042

Messages

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/

Réponses

Edité par Dadu042

Dadu042 Dimanche 14 Juillet 2019 à 19:07
Dadu042

Warning

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

Messages

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"
  

Nouveau code source

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

Réponses

Edité par Dadu042

Dadu042 Dimanche 14 Juillet 2019 à 14:24
Dadu042

Warning

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

Messages

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

Nouveau code source

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

Réponses

Dadu042 Dimanche 14 Juillet 2019 à 12:44
Dadu042

Warning

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

Messages

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

Nouveau code source

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

Réponses

Edité par Dadu042

Dadu042 Dimanche 19 Mai 2019 à 0:59
Dadu042

Warning

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

Messages

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"

Nouveau code source

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

Réponses

Edité par 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