Memories On TV
Informations
Créateur | Messages |
---|---|
Ueliton
|
InformationCet installateur a été accepté par l'équipe. InformationsPlate-formes : Retours d'expérience6 0 DescriptionMemoriesOnTV is our award-winning photo/video slideshow software. This feature-packed program comes with beautiful and elegant pre-built effects that you can use. In addition, the powerful and advanced features and tools allow you to craft your slideshows anyway you want. Captures d'écranCode source#!/usr/bin/env playonlinux-bash # CHANGELOG # [Ueliton] (2015-06-03) UTC-3 14:28 # Correction, script not working # Changed PREFIX and TITLE(Thank you [petch]) # Added install method Local # Changed URL link download of version 4.1.2 # Added versions 4.1.0 # Added translations # **PlayOnLinux 4.2.8** # Wine version used: 1.7.28 # Distribution used to test: openSUSE 13.2 x86_64 # MemoriesOnTV versions used to test: 4.1.0 and 4.1.2 # Author: Ueliton [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" # Variables ------------- AUTHOR="Ueliton" BINU_SERVER="http://media.binu.com/12630290/stream" PREFIX="MemoriesOnTV4" TEXT_INSTRUCTIONS="$(eval_gettext '\nDuring installation please deselect Creation of Icon Launcher/Desktop\n\nDO NOT let RESTART.')" TITLE="Memories On TV" WORKING_WINE_VERSION="1.7.28" # -------------------------- POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE" # -------------------------- POL_SetupWindow_Init POL_SetupWindow_SetID 2531 # Enable debugging POL_Debug_Init # Presentation --------- POL_SetupWindow_presentation "$TITLE" "Codejam Pte Ltd" "www.codejam.com" "$AUTHOR" "$PREFIX" # INFO ------------------- POL_SetupWindow_message "$(eval_gettext 'INFO: This install MemoriesOnTV version 4.\n\nIf you have registration code from earlier versions to 3...\n\nYou can find the installer on PlayOnLinux / Mac for PictureToTV, MemoriesOnTV2 or MemoriesOnTV3.')" "$TITLE" # Managing prefix and Wine version ----- POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" # Creating Temp directory ---------------- POL_System_TmpCreate "$PREFIX" cd "$POL_System_TmpDir" # -------------------------- POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL" # Installation Method DOWNLOAD ------------- if [ "$INSTALL_METHOD" = "DOWNLOAD" ] then POL_SetupWindow_menu "$(eval_gettext 'What version do you want to install?')" "Version Selection" \ "4.1.2|4.1.0" "|" case "$APP_ANSWER" in "4.1.2") DOWNLOAD_LINK="$BINU_SERVER/98566924702-1e5186bca8f75fca/motv412.exe" MD5SUM="277a4be8e2c6746332f04791e853f03f";; "4.1.0") DOWNLOAD_LINK="$BINU_SERVER/98566923396-96ea64f3a1aa2fd0/motv410.exe" MD5SUM="d1ea7b849cb22b7fc1edc7b5c7b6f47c";; *) esac POL_Download "$DOWNLOAD_LINK" "$MD5SUM" EXE_FILE="${DOWNLOAD_LINK##*/}" POL_SetupWindow_message "$TEXT_INSTRUCTIONS" "$TITLE" POL_Wine_WaitBefore "$TITLE" POL_Wine ${EXE_FILE} fi # Installation Method LOCAL -------------------- if [ "$INSTALL_METHOD" = "LOCAL" ] then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" POL_SetupWindow_message "$TEXT_INSTRUCTIONS" "$TITLE" POL_Wine_WaitBefore "$TITLE" POL_Wine "$APP_ANSWER" fi # Selection and configuration of DLL language ---------------- cd "$WINEPREFIX/drive_c/$PROGRAMFILES/MemoriesOnTV4" mv MotvLOC.dll MotvLOC_old.dll POL_SetupWindow_menu "$(eval_gettext 'Please select a language:')" "$TITLE" \ "Default(English)|Dutch|French|German|Hungarian|Italian|Portuguese|Russian|Spanish|Turkish" "|" case "$APP_ANSWER" in "Default(English)") mv MotvLOC_old.dll MotvLOC.dll;; "Dutch") POL_Download "$BINU_SERVER/98566921347-5bd53571b9788463/MotvLOC.dll" "36fecb8db3888ef75ddfdca19394b3f8";; "French") POL_Download "$BINU_SERVER/98566922123-5e1b18c4c6a6d316/MotvLOC.dll" "53c8f62a2d3d2385dc5b62ad5636a59e";; "German") POL_Download "$BINU_SERVER/98566922572-3bd318565e4adbe5/MotvLOC.dll" "ad4f646965049ffeeef9892768c8f41b";; "Hungarian") POL_Download "$BINU_SERVER/98566921834-3341f6f048384ec7/MotvLOC.dll" "96acbeea725f6539263e9d716a379985";; "Italian") POL_Download "$BINU_SERVER/98566921653-ec6826e925952de7/MotvLOC.dll" "e65ac42b6b06866dd558d5916e918b9d";; "Portuguese") POL_Download "$BINU_SERVER/98566921226-69421f032498c970/MotvLOC.dll" "ca4791dad5f5b19148f52c2e4fd5c71a";; "Russian") POL_Download "$BINU_SERVER/98566921112-a45a1d12ee0fb7f1/MotvLOC.dll" "2829de4f938f8b60408b4fd2fdce3759";; "Spanish") POL_Download "$BINU_SERVER/98566922293-50905d7b2216bfec/MotvLOC.dll" "c48fb0066e9c45293487cf955196befd";; "Turkish") POL_Download "$BINU_SERVER/98566920860-a9be4c2a4041cadb/MotvLOC.dll" "b3047242bf07affee0d4ce84bfc00b2b";; *) esac # Delete temp directory -------------------------- POL_System_TmpDelete # Create a launcher POL_Shortcut "Motv.exe" "$TITLE" POL_SetupWindow_Close exit 0 |
Contributions
Filters:
ContribuerMembre | Messages |
Ueliton | Samedi 6 Juin 2015 à 17:09 |
Ueliton
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. MessagesAdded: # Solution to overwrite versions already installed rm -r "$WINEPREFIX/drive_c/$PROGRAMFILES/MemoriesOnTV4" Differences@@ -38,6 +38,8 @@ POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" # Creating Temp directory ---------------- POL_System_TmpCreate "$PREFIX" +# Solution to overwrite versions already installed +rm -r "$WINEPREFIX/drive_c/$PROGRAMFILES/MemoriesOnTV4" cd "$POL_System_TmpDir" # -------------------------- POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL" Nouveau code source#!/usr/bin/env playonlinux-bash # CHANGELOG # [Ueliton] (2015-06-03) UTC-3 14:28 # Correction, script not working # Changed PREFIX and TITLE(Thank you [petch]) # Added install method Local # Changed URL link download of version 4.1.2 # Added versions 4.1.0 # Added translations # **PlayOnLinux 4.2.8** # Wine version used: 1.7.28 # Distribution used to test: openSUSE 13.2 x86_64 # MemoriesOnTV versions used to test: 4.1.0 and 4.1.2 # Author: Ueliton [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" # Variables ------------- AUTHOR="Ueliton" BINU_SERVER="http://media.binu.com/12630290/stream" PREFIX="MemoriesOnTV4" TEXT_INSTRUCTIONS="$(eval_gettext '\nDuring installation please deselect Creation of Icon Launcher/Desktop\n\nDO NOT let RESTART.')" TITLE="Memories On TV" WORKING_WINE_VERSION="1.7.28" # -------------------------- POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE" # -------------------------- POL_SetupWindow_Init POL_SetupWindow_SetID 2531 # Enable debugging POL_Debug_Init # Presentation --------- POL_SetupWindow_presentation "$TITLE" "Codejam Pte Ltd" "www.codejam.com" "$AUTHOR" "$PREFIX" # INFO ------------------- POL_SetupWindow_message "$(eval_gettext 'INFO: This install MemoriesOnTV version 4.\n\nIf you have registration code from earlier versions to 3...\n\nYou can find the installer on PlayOnLinux / Mac for PictureToTV, MemoriesOnTV2 or MemoriesOnTV3.')" "$TITLE" # Managing prefix and Wine version ----- POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" # Creating Temp directory ---------------- POL_System_TmpCreate "$PREFIX" # Solution to overwrite versions already installed rm -r "$WINEPREFIX/drive_c/$PROGRAMFILES/MemoriesOnTV4" cd "$POL_System_TmpDir" # -------------------------- POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL" # Installation Method DOWNLOAD ------------- if [ "$INSTALL_METHOD" = "DOWNLOAD" ] then POL_SetupWindow_menu "$(eval_gettext 'What version do you want to install?')" "Version Selection" \ "4.1.2|4.1.0" "|" case "$APP_ANSWER" in "4.1.2") DOWNLOAD_LINK="$BINU_SERVER/98566924702-1e5186bca8f75fca/motv412.exe" MD5SUM="277a4be8e2c6746332f04791e853f03f";; "4.1.0") DOWNLOAD_LINK="$BINU_SERVER/98566923396-96ea64f3a1aa2fd0/motv410.exe" MD5SUM="d1ea7b849cb22b7fc1edc7b5c7b6f47c";; *) esac POL_Download "$DOWNLOAD_LINK" "$MD5SUM" EXE_FILE="${DOWNLOAD_LINK##*/}" POL_SetupWindow_message "$TEXT_INSTRUCTIONS" "$TITLE" POL_Wine_WaitBefore "$TITLE" POL_Wine ${EXE_FILE} fi # Installation Method LOCAL -------------------- if [ "$INSTALL_METHOD" = "LOCAL" ] then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" POL_SetupWindow_message "$TEXT_INSTRUCTIONS" "$TITLE" POL_Wine_WaitBefore "$TITLE" POL_Wine "$APP_ANSWER" fi # Selection and configuration of DLL language ---------------- cd "$WINEPREFIX/drive_c/$PROGRAMFILES/MemoriesOnTV4" mv MotvLOC.dll MotvLOC_old.dll POL_SetupWindow_menu "$(eval_gettext 'Please select a language:')" "$TITLE" \ "Default(English)|Dutch|French|German|Hungarian|Italian|Portuguese|Russian|Spanish|Turkish" "|" case "$APP_ANSWER" in "Default(English)") mv MotvLOC_old.dll MotvLOC.dll;; "Dutch") POL_Download "$BINU_SERVER/98566921347-5bd53571b9788463/MotvLOC.dll" "36fecb8db3888ef75ddfdca19394b3f8";; "French") POL_Download "$BINU_SERVER/98566922123-5e1b18c4c6a6d316/MotvLOC.dll" "53c8f62a2d3d2385dc5b62ad5636a59e";; "German") POL_Download "$BINU_SERVER/98566922572-3bd318565e4adbe5/MotvLOC.dll" "ad4f646965049ffeeef9892768c8f41b";; "Hungarian") POL_Download "$BINU_SERVER/98566921834-3341f6f048384ec7/MotvLOC.dll" "96acbeea725f6539263e9d716a379985";; "Italian") POL_Download "$BINU_SERVER/98566921653-ec6826e925952de7/MotvLOC.dll" "e65ac42b6b06866dd558d5916e918b9d";; "Portuguese") POL_Download "$BINU_SERVER/98566921226-69421f032498c970/MotvLOC.dll" "ca4791dad5f5b19148f52c2e4fd5c71a";; "Russian") POL_Download "$BINU_SERVER/98566921112-a45a1d12ee0fb7f1/MotvLOC.dll" "2829de4f938f8b60408b4fd2fdce3759";; "Spanish") POL_Download "$BINU_SERVER/98566922293-50905d7b2216bfec/MotvLOC.dll" "c48fb0066e9c45293487cf955196befd";; "Turkish") POL_Download "$BINU_SERVER/98566920860-a9be4c2a4041cadb/MotvLOC.dll" "b3047242bf07affee0d4ce84bfc00b2b";; *) esac # Delete temp directory -------------------------- POL_System_TmpDelete # Create a launcher POL_Shortcut "Motv.exe" "$TITLE" POL_SetupWindow_Close exit 0 RéponsesSamedi 6 Juin 2015 à 18:34
|
petch | Jeudi 4 Juin 2015 à 1:21 |
petch
|
InformationCette mise à jour a été acceptée par l'équipe MessagesUpdate POL_GetSetupImages, fix one missing localization, missing POL_Wine_WaitBefore Differences@@ -23,7 +23,7 @@ TITLE="Memories On TV" WORKING_WINE_VERSION="1.7.28" # -------------------------- -POL_GetSetupImages "" "" "$TITLE" +POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE" # -------------------------- POL_SetupWindow_Init POL_SetupWindow_SetID 2531 @@ -32,7 +32,7 @@ # Presentation --------- POL_SetupWindow_presentation "$TITLE" "Codejam Pte Ltd" "www.codejam.com" "$AUTHOR" "$PREFIX" # INFO ------------------- -POL_SetupWindow_message "INFO: This install MemoriesOnTV version 4.\n\nIf you have registration code from earlier versions to 3...\n\nYou can find the installer on PlayOnLinux / Mac for PictureToTV, MemoriesOnTV2 or MemoriesOnTV3." "$TITLE" +POL_SetupWindow_message "$(eval_gettext 'INFO: This install MemoriesOnTV version 4.\n\nIf you have registration code from earlier versions to 3...\n\nYou can find the installer on PlayOnLinux / Mac for PictureToTV, MemoriesOnTV2 or MemoriesOnTV3.')" "$TITLE" # Managing prefix and Wine version ----- POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" @@ -56,8 +56,9 @@ *) esac POL_Download "$DOWNLOAD_LINK" "$MD5SUM" - POL_SetupWindow_message "$TEXT_INSTRUCTIONS" "$TITLE" EXE_FILE="${DOWNLOAD_LINK##*/}" + POL_SetupWindow_message "$TEXT_INSTRUCTIONS" "$TITLE" + POL_Wine_WaitBefore "$TITLE" POL_Wine ${EXE_FILE} fi # Installation Method LOCAL -------------------- @@ -66,6 +67,7 @@ cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" POL_SetupWindow_message "$TEXT_INSTRUCTIONS" "$TITLE" + POL_Wine_WaitBefore "$TITLE" POL_Wine "$APP_ANSWER" fi # Selection and configuration of DLL language ---------------- Nouveau code source#!/usr/bin/env playonlinux-bash # CHANGELOG # [Ueliton] (2015-06-03) UTC-3 14:28 # Correction, script not working # Changed PREFIX and TITLE(Thank you [petch]) # Added install method Local # Changed URL link download of version 4.1.2 # Added versions 4.1.0 # Added translations # **PlayOnLinux 4.2.8** # Wine version used: 1.7.28 # Distribution used to test: openSUSE 13.2 x86_64 # MemoriesOnTV versions used to test: 4.1.0 and 4.1.2 # Author: Ueliton [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" # Variables ------------- AUTHOR="Ueliton" BINU_SERVER="http://media.binu.com/12630290/stream" PREFIX="MemoriesOnTV4" TEXT_INSTRUCTIONS="$(eval_gettext '\nDuring installation please deselect Creation of Icon Launcher/Desktop\n\nDO NOT let RESTART.')" TITLE="Memories On TV" WORKING_WINE_VERSION="1.7.28" # -------------------------- POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE" # -------------------------- POL_SetupWindow_Init POL_SetupWindow_SetID 2531 # Enable debugging POL_Debug_Init # Presentation --------- POL_SetupWindow_presentation "$TITLE" "Codejam Pte Ltd" "www.codejam.com" "$AUTHOR" "$PREFIX" # INFO ------------------- POL_SetupWindow_message "$(eval_gettext 'INFO: This install MemoriesOnTV version 4.\n\nIf you have registration code from earlier versions to 3...\n\nYou can find the installer on PlayOnLinux / Mac for PictureToTV, MemoriesOnTV2 or MemoriesOnTV3.')" "$TITLE" # Managing prefix and Wine version ----- POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" # Creating Temp directory ---------------- POL_System_TmpCreate "$PREFIX" cd "$POL_System_TmpDir" # -------------------------- POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL" # Installation Method DOWNLOAD ------------- if [ "$INSTALL_METHOD" = "DOWNLOAD" ] then POL_SetupWindow_menu "$(eval_gettext 'What version do you want to install?')" "Version Selection" \ "4.1.2|4.1.0" "|" case "$APP_ANSWER" in "4.1.2") DOWNLOAD_LINK="$BINU_SERVER/98566924702-1e5186bca8f75fca/motv412.exe" MD5SUM="277a4be8e2c6746332f04791e853f03f";; "4.1.0") DOWNLOAD_LINK="$BINU_SERVER/98566923396-96ea64f3a1aa2fd0/motv410.exe" MD5SUM="d1ea7b849cb22b7fc1edc7b5c7b6f47c";; *) esac POL_Download "$DOWNLOAD_LINK" "$MD5SUM" EXE_FILE="${DOWNLOAD_LINK##*/}" POL_SetupWindow_message "$TEXT_INSTRUCTIONS" "$TITLE" POL_Wine_WaitBefore "$TITLE" POL_Wine ${EXE_FILE} fi # Installation Method LOCAL -------------------- if [ "$INSTALL_METHOD" = "LOCAL" ] then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" POL_SetupWindow_message "$TEXT_INSTRUCTIONS" "$TITLE" POL_Wine_WaitBefore "$TITLE" POL_Wine "$APP_ANSWER" fi # Selection and configuration of DLL language ---------------- cd "$WINEPREFIX/drive_c/$PROGRAMFILES/MemoriesOnTV4" mv MotvLOC.dll MotvLOC_old.dll POL_SetupWindow_menu "$(eval_gettext 'Please select a language:')" "$TITLE" \ "Default(English)|Dutch|French|German|Hungarian|Italian|Portuguese|Russian|Spanish|Turkish" "|" case "$APP_ANSWER" in "Default(English)") mv MotvLOC_old.dll MotvLOC.dll;; "Dutch") POL_Download "$BINU_SERVER/98566921347-5bd53571b9788463/MotvLOC.dll" "36fecb8db3888ef75ddfdca19394b3f8";; "French") POL_Download "$BINU_SERVER/98566922123-5e1b18c4c6a6d316/MotvLOC.dll" "53c8f62a2d3d2385dc5b62ad5636a59e";; "German") POL_Download "$BINU_SERVER/98566922572-3bd318565e4adbe5/MotvLOC.dll" "ad4f646965049ffeeef9892768c8f41b";; "Hungarian") POL_Download "$BINU_SERVER/98566921834-3341f6f048384ec7/MotvLOC.dll" "96acbeea725f6539263e9d716a379985";; "Italian") POL_Download "$BINU_SERVER/98566921653-ec6826e925952de7/MotvLOC.dll" "e65ac42b6b06866dd558d5916e918b9d";; "Portuguese") POL_Download "$BINU_SERVER/98566921226-69421f032498c970/MotvLOC.dll" "ca4791dad5f5b19148f52c2e4fd5c71a";; "Russian") POL_Download "$BINU_SERVER/98566921112-a45a1d12ee0fb7f1/MotvLOC.dll" "2829de4f938f8b60408b4fd2fdce3759";; "Spanish") POL_Download "$BINU_SERVER/98566922293-50905d7b2216bfec/MotvLOC.dll" "c48fb0066e9c45293487cf955196befd";; "Turkish") POL_Download "$BINU_SERVER/98566920860-a9be4c2a4041cadb/MotvLOC.dll" "b3047242bf07affee0d4ce84bfc00b2b";; *) esac # Delete temp directory -------------------------- POL_System_TmpDelete # Create a launcher POL_Shortcut "Motv.exe" "$TITLE" POL_SetupWindow_Close exit 0 RéponsesJeudi 4 Juin 2015 à 1:55
Jeudi 4 Juin 2015 à 2:35
Jeudi 4 Juin 2015 à 3:19
Jeudi 4 Juin 2015 à 3:27
Jeudi 4 Juin 2015 à 3:31
Jeudi 4 Juin 2015 à 3:32
Jeudi 4 Juin 2015 à 4:12
Jeudi 4 Juin 2015 à 4:26
Jeudi 4 Juin 2015 à 4:36
Jeudi 4 Juin 2015 à 5:01
|
Ueliton | Mercredi 3 Juin 2015 à 19:25 |
Ueliton
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. Differences@@ -1,37 +1,115 @@ #!/usr/bin/env playonlinux-bash -# Wine version used : 1.7.28 -# Distribution used to test : openSUSE 13.2 -# Author : Ueliton +# CHANGELOG +# [Ueliton] (2015-06-03) UTC-3 14:28 +# Correction, script not working +# Changed PREFIX and TITLE(Thank you [petch]) +# Added install method Local +# Changed URL link download of version 4.1.2 +# Added versions 4.1.0 +# Added translations +# **PlayOnLinux 4.2.8** +# Wine version used: 1.7.28 +# Distribution used to test: openSUSE 13.2 x86_64 +# MemoriesOnTV versions used to test: 4.1.0 and 4.1.2 +# Author: Ueliton [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" -TITLE="MemoriesOnTV" -PREFIX="memoriesontv" - -# Selection of a prefix for wine and creation +# Variables ------------- +AUTHOR="Ueliton" +BINU_SERVER="http://media.binu.com/12630290/stream" +PREFIX="MemoriesOnTV4" +TEXT_INSTRUCTIONS="$(eval_gettext '\nDuring installation please deselect Creation of Icon Launcher/Desktop\n\nDO NOT let RESTART.')" +TITLE="Memories On TV" +WORKING_WINE_VERSION="1.7.28" +# -------------------------- +POL_GetSetupImages "" "" "$TITLE" +# -------------------------- +POL_SetupWindow_Init +POL_SetupWindow_SetID 2531 +# Enable debugging +POL_Debug_Init +# Presentation --------- +POL_SetupWindow_presentation "$TITLE" "Codejam Pte Ltd" "www.codejam.com" "$AUTHOR" "$PREFIX" +# INFO ------------------- +POL_SetupWindow_message "INFO: This install MemoriesOnTV version 4.\n\nIf you have registration code from earlier versions to 3...\n\nYou can find the installer on PlayOnLinux / Mac for PictureToTV, MemoriesOnTV2 or MemoriesOnTV3." "$TITLE" +# Managing prefix and Wine version ----- POL_Wine_SelectPrefix "$PREFIX" -POL_Wine_PrefixCreate "1.7.28" - -# Create the temp directory +POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" +# Creating Temp directory ---------------- POL_System_TmpCreate "$PREFIX" - -# Download installer to the temp directory cd "$POL_System_TmpDir" -POL_Download "http://www.codejam.com/file/motv412.exe" - -# Running the instalation file from the temp directory -POL_SetupWindow_message "$(eval_gettext 'When installing, be sure not to let MemoriesOnTV launch automatically, so the POL setup can complete.')" "$TITLE" -POL_Wine_WaitBefore "$TITLE" -POL_Wine "$POL_System_TmpDir/motv412.exe" - -# Waiting for the installer to finish -POL_Wine_WaitExit "$TITLE" - -# Delete temp directory +# -------------------------- +POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL" +# Installation Method DOWNLOAD ------------- +if [ "$INSTALL_METHOD" = "DOWNLOAD" ] + then + POL_SetupWindow_menu "$(eval_gettext 'What version do you want to install?')" "Version Selection" \ + "4.1.2|4.1.0" "|" + case "$APP_ANSWER" in + "4.1.2") + DOWNLOAD_LINK="$BINU_SERVER/98566924702-1e5186bca8f75fca/motv412.exe" + MD5SUM="277a4be8e2c6746332f04791e853f03f";; + "4.1.0") + DOWNLOAD_LINK="$BINU_SERVER/98566923396-96ea64f3a1aa2fd0/motv410.exe" + MD5SUM="d1ea7b849cb22b7fc1edc7b5c7b6f47c";; + *) + esac + POL_Download "$DOWNLOAD_LINK" "$MD5SUM" + POL_SetupWindow_message "$TEXT_INSTRUCTIONS" "$TITLE" + EXE_FILE="${DOWNLOAD_LINK##*/}" + POL_Wine ${EXE_FILE} +fi +# Installation Method LOCAL -------------------- +if [ "$INSTALL_METHOD" = "LOCAL" ] + then + cd "$HOME" + POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" + POL_SetupWindow_message "$TEXT_INSTRUCTIONS" "$TITLE" + POL_Wine "$APP_ANSWER" +fi +# Selection and configuration of DLL language ---------------- +cd "$WINEPREFIX/drive_c/$PROGRAMFILES/MemoriesOnTV4" +mv MotvLOC.dll MotvLOC_old.dll + +POL_SetupWindow_menu "$(eval_gettext 'Please select a language:')" "$TITLE" \ +"Default(English)|Dutch|French|German|Hungarian|Italian|Portuguese|Russian|Spanish|Turkish" "|" + +case "$APP_ANSWER" in + "Default(English)") + mv MotvLOC_old.dll MotvLOC.dll;; + + "Dutch") + POL_Download "$BINU_SERVER/98566921347-5bd53571b9788463/MotvLOC.dll" "36fecb8db3888ef75ddfdca19394b3f8";; + + "French") + POL_Download "$BINU_SERVER/98566922123-5e1b18c4c6a6d316/MotvLOC.dll" "53c8f62a2d3d2385dc5b62ad5636a59e";; + + "German") + POL_Download "$BINU_SERVER/98566922572-3bd318565e4adbe5/MotvLOC.dll" "ad4f646965049ffeeef9892768c8f41b";; + + "Hungarian") + POL_Download "$BINU_SERVER/98566921834-3341f6f048384ec7/MotvLOC.dll" "96acbeea725f6539263e9d716a379985";; + + "Italian") + POL_Download "$BINU_SERVER/98566921653-ec6826e925952de7/MotvLOC.dll" "e65ac42b6b06866dd558d5916e918b9d";; + + "Portuguese") + POL_Download "$BINU_SERVER/98566921226-69421f032498c970/MotvLOC.dll" "ca4791dad5f5b19148f52c2e4fd5c71a";; + + "Russian") + POL_Download "$BINU_SERVER/98566921112-a45a1d12ee0fb7f1/MotvLOC.dll" "2829de4f938f8b60408b4fd2fdce3759";; + + "Spanish") + POL_Download "$BINU_SERVER/98566922293-50905d7b2216bfec/MotvLOC.dll" "c48fb0066e9c45293487cf955196befd";; + + "Turkish") + POL_Download "$BINU_SERVER/98566920860-a9be4c2a4041cadb/MotvLOC.dll" "b3047242bf07affee0d4ce84bfc00b2b";; + *) +esac +# Delete temp directory -------------------------- POL_System_TmpDelete - # Create a launcher POL_Shortcut "Motv.exe" "$TITLE" - POL_SetupWindow_Close -exit \ No newline at end of file +exit 0 \ No newline at end of file Nouveau code source#!/usr/bin/env playonlinux-bash # CHANGELOG # [Ueliton] (2015-06-03) UTC-3 14:28 # Correction, script not working # Changed PREFIX and TITLE(Thank you [petch]) # Added install method Local # Changed URL link download of version 4.1.2 # Added versions 4.1.0 # Added translations # **PlayOnLinux 4.2.8** # Wine version used: 1.7.28 # Distribution used to test: openSUSE 13.2 x86_64 # MemoriesOnTV versions used to test: 4.1.0 and 4.1.2 # Author: Ueliton [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" # Variables ------------- AUTHOR="Ueliton" BINU_SERVER="http://media.binu.com/12630290/stream" PREFIX="MemoriesOnTV4" TEXT_INSTRUCTIONS="$(eval_gettext '\nDuring installation please deselect Creation of Icon Launcher/Desktop\n\nDO NOT let RESTART.')" TITLE="Memories On TV" WORKING_WINE_VERSION="1.7.28" # -------------------------- POL_GetSetupImages "" "" "$TITLE" # -------------------------- POL_SetupWindow_Init POL_SetupWindow_SetID 2531 # Enable debugging POL_Debug_Init # Presentation --------- POL_SetupWindow_presentation "$TITLE" "Codejam Pte Ltd" "www.codejam.com" "$AUTHOR" "$PREFIX" # INFO ------------------- POL_SetupWindow_message "INFO: This install MemoriesOnTV version 4.\n\nIf you have registration code from earlier versions to 3...\n\nYou can find the installer on PlayOnLinux / Mac for PictureToTV, MemoriesOnTV2 or MemoriesOnTV3." "$TITLE" # Managing prefix and Wine version ----- POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" # Creating Temp directory ---------------- POL_System_TmpCreate "$PREFIX" cd "$POL_System_TmpDir" # -------------------------- POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL" # Installation Method DOWNLOAD ------------- if [ "$INSTALL_METHOD" = "DOWNLOAD" ] then POL_SetupWindow_menu "$(eval_gettext 'What version do you want to install?')" "Version Selection" \ "4.1.2|4.1.0" "|" case "$APP_ANSWER" in "4.1.2") DOWNLOAD_LINK="$BINU_SERVER/98566924702-1e5186bca8f75fca/motv412.exe" MD5SUM="277a4be8e2c6746332f04791e853f03f";; "4.1.0") DOWNLOAD_LINK="$BINU_SERVER/98566923396-96ea64f3a1aa2fd0/motv410.exe" MD5SUM="d1ea7b849cb22b7fc1edc7b5c7b6f47c";; *) esac POL_Download "$DOWNLOAD_LINK" "$MD5SUM" POL_SetupWindow_message "$TEXT_INSTRUCTIONS" "$TITLE" EXE_FILE="${DOWNLOAD_LINK##*/}" POL_Wine ${EXE_FILE} fi # Installation Method LOCAL -------------------- if [ "$INSTALL_METHOD" = "LOCAL" ] then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" POL_SetupWindow_message "$TEXT_INSTRUCTIONS" "$TITLE" POL_Wine "$APP_ANSWER" fi # Selection and configuration of DLL language ---------------- cd "$WINEPREFIX/drive_c/$PROGRAMFILES/MemoriesOnTV4" mv MotvLOC.dll MotvLOC_old.dll POL_SetupWindow_menu "$(eval_gettext 'Please select a language:')" "$TITLE" \ "Default(English)|Dutch|French|German|Hungarian|Italian|Portuguese|Russian|Spanish|Turkish" "|" case "$APP_ANSWER" in "Default(English)") mv MotvLOC_old.dll MotvLOC.dll;; "Dutch") POL_Download "$BINU_SERVER/98566921347-5bd53571b9788463/MotvLOC.dll" "36fecb8db3888ef75ddfdca19394b3f8";; "French") POL_Download "$BINU_SERVER/98566922123-5e1b18c4c6a6d316/MotvLOC.dll" "53c8f62a2d3d2385dc5b62ad5636a59e";; "German") POL_Download "$BINU_SERVER/98566922572-3bd318565e4adbe5/MotvLOC.dll" "ad4f646965049ffeeef9892768c8f41b";; "Hungarian") POL_Download "$BINU_SERVER/98566921834-3341f6f048384ec7/MotvLOC.dll" "96acbeea725f6539263e9d716a379985";; "Italian") POL_Download "$BINU_SERVER/98566921653-ec6826e925952de7/MotvLOC.dll" "e65ac42b6b06866dd558d5916e918b9d";; "Portuguese") POL_Download "$BINU_SERVER/98566921226-69421f032498c970/MotvLOC.dll" "ca4791dad5f5b19148f52c2e4fd5c71a";; "Russian") POL_Download "$BINU_SERVER/98566921112-a45a1d12ee0fb7f1/MotvLOC.dll" "2829de4f938f8b60408b4fd2fdce3759";; "Spanish") POL_Download "$BINU_SERVER/98566922293-50905d7b2216bfec/MotvLOC.dll" "c48fb0066e9c45293487cf955196befd";; "Turkish") POL_Download "$BINU_SERVER/98566920860-a9be4c2a4041cadb/MotvLOC.dll" "b3047242bf07affee0d4ce84bfc00b2b";; *) esac # Delete temp directory -------------------------- POL_System_TmpDelete # Create a launcher POL_Shortcut "Motv.exe" "$TITLE" POL_SetupWindow_Close exit 0 RéponsesMercredi 3 Juin 2015 à 19:29
Mercredi 3 Juin 2015 à 19:31
Mercredi 3 Juin 2015 à 19:42
Mercredi 3 Juin 2015 à 19:49
Mercredi 3 Juin 2015 à 20:31
|
Ueliton | Mardi 2 Juin 2015 à 23:05 |
Ueliton
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. Differences@@ -1,37 +1,122 @@ #!/usr/bin/env playonlinux-bash -# Wine version used : 1.7.28 -# Distribution used to test : openSUSE 13.2 -# Author : Ueliton +# CHANGELOG +# [Ueliton] (2015-06-02) UTC-3 18:09 +# Correction, script not working +# Changed PREFIX and TITLE +# Added install method Local +# Changed URL link download of version 4.1.2 +# Added versions 4.1.0 +# Added translations +# **PlayOnLinux 4.2.8** +# Wine version used: 1.7.28 +# Distribution used to test: openSUSE 13.2 x86_64 +# MemoriesOnTV versions used to test: 4.1.0 and 4.1.2 +# Author: Ueliton [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" -TITLE="MemoriesOnTV" -PREFIX="memoriesontv" +# Variables ------------- +AUTHOR="Ueliton" +BINU_SERVER="http://media.binu.com/12630290/stream" +PREFIX="Codejam" +TEXT_INSTRUCTIONS="\nDuring installation please deselect Creation of Icon Launcher/Desktop\n\nDO NOT let RESTART." +TITLE="Memories On TV" +WORKING_WINE_VERSION="1.7.28" -# Selection of a prefix for wine and creation +POL_GetSetupImages "http://media.binu.com/12630290/stream/98566919529-bc3ea21614e0fdc4/top.png" "http://media.binu.com/12630290/stream/98566920171-18ead4c77c3f40da/left.png" "$TITLE" + +POL_SetupWindow_Init +POL_SetupWindow_SetID 2531 +# Enable debugging +POL_Debug_Init +# Presentation +POL_SetupWindow_presentation "$TITLE" "Codejam Pte Ltd" "www.codejam.com" "$AUTHOR" "$PREFIX" +# INFO +POL_SetupWindow_message "INFO: This install MemoriesOnTV version 4 or later.\n\nIf you have registration code from earlier versions to 3...\n\nYou can find the installer on PlayOnLinux / Mac for PictureToTV, MemoriesOnTV2 or MemoriesOnTV3." "$TITLE" +# Managing prefix and Wine version POL_Wine_SelectPrefix "$PREFIX" -POL_Wine_PrefixCreate "1.7.28" - -# Create the temp directory +POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" +# Creating Temp directory POL_System_TmpCreate "$PREFIX" - -# Download installer to the temp directory cd "$POL_System_TmpDir" -POL_Download "http://www.codejam.com/file/motv412.exe" - -# Running the instalation file from the temp directory -POL_SetupWindow_message "$(eval_gettext 'When installing, be sure not to let MemoriesOnTV launch automatically, so the POL setup can complete.')" "$TITLE" -POL_Wine_WaitBefore "$TITLE" -POL_Wine "$POL_System_TmpDir/motv412.exe" -# Waiting for the installer to finish -POL_Wine_WaitExit "$TITLE" +POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL" +# Installation Method DOWNLOAD +if [ "$INSTALL_METHOD" = "DOWNLOAD" ] + then + POL_SetupWindow_menu "$(eval_gettext 'What version do you want to install?')" "Version Selection" \ + "4.1.2|4.1.0" "|" + case "$APP_ANSWER" in + "4.1.2") + DOWNLOAD_LINK="$BINU_SERVER/98566924702-1e5186bca8f75fca/motv412.exe" + MD5SUM="277a4be8e2c6746332f04791e853f03f";; + "4.1.0") + DOWNLOAD_LINK="$BINU_SERVER/98566923396-96ea64f3a1aa2fd0/motv410.exe" + MD5SUM="d1ea7b849cb22b7fc1edc7b5c7b6f47c";; + *) + esac + POL_Download "$DOWNLOAD_LINK" "$MD5SUM" + POL_SetupWindow_message "$(eval_gettext '$TEXT_INSTRUCTIONS')" "$TITLE" + POL_Wine_WaitBefore "$TITLE" + EXE_FILE="${DOWNLOAD_LINK##*/}" + POL_Wine ${EXE_FILE} + POL_Wine_WaitExit "$TITLE" +fi + +# Installation Method LOCAL +if [ "$INSTALL_METHOD" = "LOCAL" ] + then + cd "$HOME" + POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" + POL_SetupWindow_message "$(eval_gettext '$TEXT_INSTRUCTIONS')" "$TITLE" + POL_Wine_WaitBefore "$TITLE" + POL_Wine "$APP_ANSWER" + POL_Wine_WaitExit "$TITLE" +fi + +# Selection and configuration of DLL language: +cd $POL_USER_ROOT/wineprefix/Codejam/drive_c/Program\ Files/MemoriesOnTV4 +mv MotvLOC.dll MotvLOC_old.dll + +POL_SetupWindow_menu "$(eval_gettext 'Please select a language:')" "$TITLE" \ +"Default(English)|Dutch|French|German|Hungarian|Italian|Portuguese|Russian|Spanish|Turkish" "|" + +case "$APP_ANSWER" in + "Default(English)") + mv MotvLOC_old.dll MotvLOC.dll;; + + "Dutch") + POL_Download "$BINU_SERVER/98566921347-5bd53571b9788463/MotvLOC.dll" "36fecb8db3888ef75ddfdca19394b3f8";; + + "French") + POL_Download "$BINU_SERVER/98566922123-5e1b18c4c6a6d316/MotvLOC.dll" "53c8f62a2d3d2385dc5b62ad5636a59e";; + + "German") + POL_Download "$BINU_SERVER/98566922572-3bd318565e4adbe5/MotvLOC.dll" "ad4f646965049ffeeef9892768c8f41b";; + + "Hungarian") + POL_Download "$BINU_SERVER/98566921834-3341f6f048384ec7/MotvLOC.dll" "96acbeea725f6539263e9d716a379985";; + + "Italian") + POL_Download "$BINU_SERVER/98566921653-ec6826e925952de7/MotvLOC.dll" "e65ac42b6b06866dd558d5916e918b9d";; + + "Portuguese") + POL_Download "$BINU_SERVER/98566921226-69421f032498c970/MotvLOC.dll" "ca4791dad5f5b19148f52c2e4fd5c71a";; + + "Russian") + POL_Download "$BINU_SERVER/98566921112-a45a1d12ee0fb7f1/MotvLOC.dll" "2829de4f938f8b60408b4fd2fdce3759";; + + "Spanish") + POL_Download "$BINU_SERVER/98566922293-50905d7b2216bfec/MotvLOC.dll" "c48fb0066e9c45293487cf955196befd";; + + "Turkish") + POL_Download "$BINU_SERVER/98566920860-a9be4c2a4041cadb/MotvLOC.dll" "b3047242bf07affee0d4ce84bfc00b2b";; + *) +esac # Delete temp directory POL_System_TmpDelete - # Create a launcher POL_Shortcut "Motv.exe" "$TITLE" - POL_SetupWindow_Close exit \ No newline at end of file Nouveau code source#!/usr/bin/env playonlinux-bash # CHANGELOG # [Ueliton] (2015-06-02) UTC-3 18:09 # Correction, script not working # Changed PREFIX and TITLE # Added install method Local # Changed URL link download of version 4.1.2 # Added versions 4.1.0 # Added translations # **PlayOnLinux 4.2.8** # Wine version used: 1.7.28 # Distribution used to test: openSUSE 13.2 x86_64 # MemoriesOnTV versions used to test: 4.1.0 and 4.1.2 # Author: Ueliton [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" # Variables ------------- AUTHOR="Ueliton" BINU_SERVER="http://media.binu.com/12630290/stream" PREFIX="Codejam" TEXT_INSTRUCTIONS="\nDuring installation please deselect Creation of Icon Launcher/Desktop\n\nDO NOT let RESTART." TITLE="Memories On TV" WORKING_WINE_VERSION="1.7.28" POL_GetSetupImages "http://media.binu.com/12630290/stream/98566919529-bc3ea21614e0fdc4/top.png" "http://media.binu.com/12630290/stream/98566920171-18ead4c77c3f40da/left.png" "$TITLE" POL_SetupWindow_Init POL_SetupWindow_SetID 2531 # Enable debugging POL_Debug_Init # Presentation POL_SetupWindow_presentation "$TITLE" "Codejam Pte Ltd" "www.codejam.com" "$AUTHOR" "$PREFIX" # INFO POL_SetupWindow_message "INFO: This install MemoriesOnTV version 4 or later.\n\nIf you have registration code from earlier versions to 3...\n\nYou can find the installer on PlayOnLinux / Mac for PictureToTV, MemoriesOnTV2 or MemoriesOnTV3." "$TITLE" # Managing prefix and Wine version POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" # Creating Temp directory POL_System_TmpCreate "$PREFIX" cd "$POL_System_TmpDir" POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL" # Installation Method DOWNLOAD if [ "$INSTALL_METHOD" = "DOWNLOAD" ] then POL_SetupWindow_menu "$(eval_gettext 'What version do you want to install?')" "Version Selection" \ "4.1.2|4.1.0" "|" case "$APP_ANSWER" in "4.1.2") DOWNLOAD_LINK="$BINU_SERVER/98566924702-1e5186bca8f75fca/motv412.exe" MD5SUM="277a4be8e2c6746332f04791e853f03f";; "4.1.0") DOWNLOAD_LINK="$BINU_SERVER/98566923396-96ea64f3a1aa2fd0/motv410.exe" MD5SUM="d1ea7b849cb22b7fc1edc7b5c7b6f47c";; *) esac POL_Download "$DOWNLOAD_LINK" "$MD5SUM" POL_SetupWindow_message "$(eval_gettext '$TEXT_INSTRUCTIONS')" "$TITLE" POL_Wine_WaitBefore "$TITLE" EXE_FILE="${DOWNLOAD_LINK##*/}" POL_Wine ${EXE_FILE} POL_Wine_WaitExit "$TITLE" fi # Installation Method LOCAL if [ "$INSTALL_METHOD" = "LOCAL" ] then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" POL_SetupWindow_message "$(eval_gettext '$TEXT_INSTRUCTIONS')" "$TITLE" POL_Wine_WaitBefore "$TITLE" POL_Wine "$APP_ANSWER" POL_Wine_WaitExit "$TITLE" fi # Selection and configuration of DLL language: cd $POL_USER_ROOT/wineprefix/Codejam/drive_c/Program\ Files/MemoriesOnTV4 mv MotvLOC.dll MotvLOC_old.dll POL_SetupWindow_menu "$(eval_gettext 'Please select a language:')" "$TITLE" \ "Default(English)|Dutch|French|German|Hungarian|Italian|Portuguese|Russian|Spanish|Turkish" "|" case "$APP_ANSWER" in "Default(English)") mv MotvLOC_old.dll MotvLOC.dll;; "Dutch") POL_Download "$BINU_SERVER/98566921347-5bd53571b9788463/MotvLOC.dll" "36fecb8db3888ef75ddfdca19394b3f8";; "French") POL_Download "$BINU_SERVER/98566922123-5e1b18c4c6a6d316/MotvLOC.dll" "53c8f62a2d3d2385dc5b62ad5636a59e";; "German") POL_Download "$BINU_SERVER/98566922572-3bd318565e4adbe5/MotvLOC.dll" "ad4f646965049ffeeef9892768c8f41b";; "Hungarian") POL_Download "$BINU_SERVER/98566921834-3341f6f048384ec7/MotvLOC.dll" "96acbeea725f6539263e9d716a379985";; "Italian") POL_Download "$BINU_SERVER/98566921653-ec6826e925952de7/MotvLOC.dll" "e65ac42b6b06866dd558d5916e918b9d";; "Portuguese") POL_Download "$BINU_SERVER/98566921226-69421f032498c970/MotvLOC.dll" "ca4791dad5f5b19148f52c2e4fd5c71a";; "Russian") POL_Download "$BINU_SERVER/98566921112-a45a1d12ee0fb7f1/MotvLOC.dll" "2829de4f938f8b60408b4fd2fdce3759";; "Spanish") POL_Download "$BINU_SERVER/98566922293-50905d7b2216bfec/MotvLOC.dll" "c48fb0066e9c45293487cf955196befd";; "Turkish") POL_Download "$BINU_SERVER/98566920860-a9be4c2a4041cadb/MotvLOC.dll" "b3047242bf07affee0d4ce84bfc00b2b";; *) esac # Delete temp directory POL_System_TmpDelete # Create a launcher POL_Shortcut "Motv.exe" "$TITLE" POL_SetupWindow_Close exit RéponsesMercredi 3 Juin 2015 à 1:19
Mercredi 3 Juin 2015 à 16:29
Mercredi 3 Juin 2015 à 16:39
Mercredi 3 Juin 2015 à 16:57
Mercredi 3 Juin 2015 à 17:00
Mercredi 3 Juin 2015 à 17:08
Mercredi 3 Juin 2015 à 17:09
Mercredi 3 Juin 2015 à 17:10
|
Ueliton | Lundi 1 Juin 2015 à 23:11 |
Ueliton
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. Differences@@ -1,37 +1,127 @@ -#!/usr/bin/env playonlinux-bash -# Wine version used : 1.7.28 -# Distribution used to test : openSUSE 13.2 -# Author : Ueliton +# !/usr/bin/env playonlinux-bash +# CHANGELOG +# [Ueliton] (2015-06-01) 18:10 +# Correction, script not working +# Changed PREFIX +# Added install method Local +# Changed link download + md5 +# Added version 4.1.0 +# Added translations for version 4.1.0 and 4.1.2 +# **PlayOnLinux 4.2.8** +# Wine version used: 1.7.28 +# Distribution used to test: openSUSE 13.2 x86_64 +# MemoriesOnTV versions used to test: 4.1.0 and 4.1.2 +# Author: Ueliton [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" +# Variables ------------- +AUTHOR="Ueliton" +CODEJAM_SERVER="http://www.codejam.com" TITLE="MemoriesOnTV" -PREFIX="memoriesontv" +PREFIX="Codejam" +WORKING_WINE_VERSION="1.7.28" +TEXT_INSTRUCTIONS="\nDuring installation please Deselect Creation of Icon/Launcher\nDo Not let restart." +TITLE="MemoriesOnTV" +WORKING_WINE_VERSION="1.7.28" -# Selection of a prefix for wine and creation +POL_GetSetupImages "http://media.binu.com/12630290/stream/98566919529-bc3ea21614e0fdc4/top.png" "http://media.binu.com/12630290/stream/98566920171-18ead4c77c3f40da/left.png" "$TITLE" + +POL_SetupWindow_Init +POL_SetupWindow_SetID 2531 +# Enable debugging +POL_Debug_Init +# Presentation +POL_SetupWindow_presentation "$TITLE" "Codejam Pte Ltd" "$CODEJAM_SERVER" "$AUTHOR" "$PREFIX" +# Creating Temp directory POL_Wine_SelectPrefix "$PREFIX" -POL_Wine_PrefixCreate "1.7.28" - -# Create the temp directory +POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" - -# Download installer to the temp directory cd "$POL_System_TmpDir" -POL_Download "http://www.codejam.com/file/motv412.exe" -# Running the instalation file from the temp directory -POL_SetupWindow_message "$(eval_gettext 'When installing, be sure not to let MemoriesOnTV launch automatically, so the POL setup can complete.')" "$TITLE" -POL_Wine_WaitBefore "$TITLE" -POL_Wine "$POL_System_TmpDir/motv412.exe" - -# Waiting for the installer to finish -POL_Wine_WaitExit "$TITLE" +POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL" +# Installation Method DOWNLOAD +if [ "$INSTALL_METHOD" = "DOWNLOAD" ] +then + POL_SetupWindow_menu "$(eval_gettext 'What version do you want to install?')" "Version Selection" \ + "4.1.2|4.1.0" "|" +case "$APP_ANSWER" in + "4.1.2") + DOWNLOAD_LINK="http://media.binu.com/12630290/stream/98566924702-1e5186bca8f75fca/motv412.exe" + MD5SUM="277a4be8e2c6746332f04791e853f03f";; + "4.1.0") + DOWNLOAD_LINK="http://media.binu.com/12630290/stream/98566923396-96ea64f3a1aa2fd0/motv410.exe" + MD5SUM="d1ea7b849cb22b7fc1edc7b5c7b6f47c";; + *) + exit 1 ;; +esac + cd "$POL_System_TmpDir" + POL_Download "$DOWNLOAD_LINK" "$MD5SUM" + POL_SetupWindow_message "$(eval_gettext 'When installing, be sure not to let MemoriesOnTV restart, so the POL setup can complete.')" "$TITLE" + POL_Wine_WaitBefore "$TITLE" + EXE_FILE="${DOWNLOAD_LINK##*/}" + POL_Wine start /unix ${EXE_FILE} + POL_Wine_WaitExit "$TITLE" +fi + +# Installation Method LOCAL +if [ "$INSTALL_METHOD" = "LOCAL" ] +then + cd "$HOME" + POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" + POL_SetupWindow_message "$(eval_gettext 'When installing, be sure not to let MemoriesOnTV restart, so the POL setup can complete.')" "$TITLE" + POL_Wine_WaitBefore "$TITLE" + POL_Wine start /unix "$APP_ANSWER" + POL_Wine_WaitExit "$TITLE" +fi + +# Selection and configuration of DLL language: +cd ~/.PlayOn*/wineprefix/Codejam/drive_c/Program\ Files/MemoriesOnTV* +mv MotvLOC.dll MotvLOC_Old.dll +POL_SetupWindow_menu "$(eval_gettext 'Select a language:')" "$TITLE" \ +"Default|Dutch|French|German|Hungarian|Italian|Portuguese|Russian|Spanish|Turkish" "|" + +# Selection and configuration of DLL language: +case "$APP_ANSWER" in + "Dutch") + POL_Download "http://media.binu.com/12630290/stream/98566921347-5bd53571b9788463/MotvLOC.dll" "36fecb8db3888ef75ddfdca19394b3f8";; + + "Default") + POL_SetupWindow_wait_next_signal;; + + "French") + POL_Download "http://media.binu.com/12630290/stream/98566922123-5e1b18c4c6a6d316/MotvLOC.dll" "53c8f62a2d3d2385dc5b62ad5636a59e";; + + "German") + POL_Download "http://media.binu.com/12630290/stream/98566922572-3bd318565e4adbe5/MotvLOC.dll" "ad4f646965049ffeeef9892768c8f41b";; + + "Hungarian") + POL_Download "http://media.binu.com/12630290/stream/98566921834-3341f6f048384ec7/MotvLOC.dll" "96acbeea725f6539263e9d716a379985";; + + "Italian") + POL_Download "http://media.binu.com/12630290/stream/98566921653-ec6826e925952de7/MotvLOC.dll" "e65ac42b6b06866dd558d5916e918b9d";; + + "Portuguese") + POL_Download "http://media.binu.com/12630290/stream/98566921226-69421f032498c970/MotvLOC.dll" "ca4791dad5f5b19148f52c2e4fd5c71a";; + + "Russian") + POL_Download "http://media.binu.com/12630290/stream/98566921112-a45a1d12ee0fb7f1/MotvLOC.dll" "2829de4f938f8b60408b4fd2fdce3759";; + + "Spanish") + POL_Download "http://media.binu.com/12630290/stream/98566922293-50905d7b2216bfec/MotvLOC.dll" "c48fb0066e9c45293487cf955196befd";; + + "Turkish") + POL_Download "http://media.binu.com/12630290/stream/98566920860-a9be4c2a4041cadb/MotvLOC.dll" "b3047242bf07affee0d4ce84bfc00b2b";; + *) + exit 1 ;; +esac # Delete temp directory POL_System_TmpDelete - # Create a launcher POL_Shortcut "Motv.exe" "$TITLE" +POL_SetupWindow_message "$TITLE has been successfully installed." "$TITLE" +POL_Wine_WaitExit "$TITLE" POL_SetupWindow_Close exit \ No newline at end of file Nouveau code source# !/usr/bin/env playonlinux-bash # CHANGELOG # [Ueliton] (2015-06-01) 18:10 # Correction, script not working # Changed PREFIX # Added install method Local # Changed link download + md5 # Added version 4.1.0 # Added translations for version 4.1.0 and 4.1.2 # **PlayOnLinux 4.2.8** # Wine version used: 1.7.28 # Distribution used to test: openSUSE 13.2 x86_64 # MemoriesOnTV versions used to test: 4.1.0 and 4.1.2 # Author: Ueliton [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" # Variables ------------- AUTHOR="Ueliton" CODEJAM_SERVER="http://www.codejam.com" TITLE="MemoriesOnTV" PREFIX="Codejam" WORKING_WINE_VERSION="1.7.28" TEXT_INSTRUCTIONS="\nDuring installation please Deselect Creation of Icon/Launcher\nDo Not let restart." TITLE="MemoriesOnTV" WORKING_WINE_VERSION="1.7.28" POL_GetSetupImages "http://media.binu.com/12630290/stream/98566919529-bc3ea21614e0fdc4/top.png" "http://media.binu.com/12630290/stream/98566920171-18ead4c77c3f40da/left.png" "$TITLE" POL_SetupWindow_Init POL_SetupWindow_SetID 2531 # Enable debugging POL_Debug_Init # Presentation POL_SetupWindow_presentation "$TITLE" "Codejam Pte Ltd" "$CODEJAM_SERVER" "$AUTHOR" "$PREFIX" # Creating Temp directory POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" POL_System_TmpCreate "$PREFIX" cd "$POL_System_TmpDir" POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL" # Installation Method DOWNLOAD if [ "$INSTALL_METHOD" = "DOWNLOAD" ] then POL_SetupWindow_menu "$(eval_gettext 'What version do you want to install?')" "Version Selection" \ "4.1.2|4.1.0" "|" case "$APP_ANSWER" in "4.1.2") DOWNLOAD_LINK="http://media.binu.com/12630290/stream/98566924702-1e5186bca8f75fca/motv412.exe" MD5SUM="277a4be8e2c6746332f04791e853f03f";; "4.1.0") DOWNLOAD_LINK="http://media.binu.com/12630290/stream/98566923396-96ea64f3a1aa2fd0/motv410.exe" MD5SUM="d1ea7b849cb22b7fc1edc7b5c7b6f47c";; *) exit 1 ;; esac cd "$POL_System_TmpDir" POL_Download "$DOWNLOAD_LINK" "$MD5SUM" POL_SetupWindow_message "$(eval_gettext 'When installing, be sure not to let MemoriesOnTV restart, so the POL setup can complete.')" "$TITLE" POL_Wine_WaitBefore "$TITLE" EXE_FILE="${DOWNLOAD_LINK##*/}" POL_Wine start /unix ${EXE_FILE} POL_Wine_WaitExit "$TITLE" fi # Installation Method LOCAL if [ "$INSTALL_METHOD" = "LOCAL" ] then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" POL_SetupWindow_message "$(eval_gettext 'When installing, be sure not to let MemoriesOnTV restart, so the POL setup can complete.')" "$TITLE" POL_Wine_WaitBefore "$TITLE" POL_Wine start /unix "$APP_ANSWER" POL_Wine_WaitExit "$TITLE" fi # Selection and configuration of DLL language: cd ~/.PlayOn*/wineprefix/Codejam/drive_c/Program\ Files/MemoriesOnTV* mv MotvLOC.dll MotvLOC_Old.dll POL_SetupWindow_menu "$(eval_gettext 'Select a language:')" "$TITLE" \ "Default|Dutch|French|German|Hungarian|Italian|Portuguese|Russian|Spanish|Turkish" "|" # Selection and configuration of DLL language: case "$APP_ANSWER" in "Dutch") POL_Download "http://media.binu.com/12630290/stream/98566921347-5bd53571b9788463/MotvLOC.dll" "36fecb8db3888ef75ddfdca19394b3f8";; "Default") POL_SetupWindow_wait_next_signal;; "French") POL_Download "http://media.binu.com/12630290/stream/98566922123-5e1b18c4c6a6d316/MotvLOC.dll" "53c8f62a2d3d2385dc5b62ad5636a59e";; "German") POL_Download "http://media.binu.com/12630290/stream/98566922572-3bd318565e4adbe5/MotvLOC.dll" "ad4f646965049ffeeef9892768c8f41b";; "Hungarian") POL_Download "http://media.binu.com/12630290/stream/98566921834-3341f6f048384ec7/MotvLOC.dll" "96acbeea725f6539263e9d716a379985";; "Italian") POL_Download "http://media.binu.com/12630290/stream/98566921653-ec6826e925952de7/MotvLOC.dll" "e65ac42b6b06866dd558d5916e918b9d";; "Portuguese") POL_Download "http://media.binu.com/12630290/stream/98566921226-69421f032498c970/MotvLOC.dll" "ca4791dad5f5b19148f52c2e4fd5c71a";; "Russian") POL_Download "http://media.binu.com/12630290/stream/98566921112-a45a1d12ee0fb7f1/MotvLOC.dll" "2829de4f938f8b60408b4fd2fdce3759";; "Spanish") POL_Download "http://media.binu.com/12630290/stream/98566922293-50905d7b2216bfec/MotvLOC.dll" "c48fb0066e9c45293487cf955196befd";; "Turkish") POL_Download "http://media.binu.com/12630290/stream/98566920860-a9be4c2a4041cadb/MotvLOC.dll" "b3047242bf07affee0d4ce84bfc00b2b";; *) exit 1 ;; esac # Delete temp directory POL_System_TmpDelete # Create a launcher POL_Shortcut "Motv.exe" "$TITLE" POL_SetupWindow_message "$TITLE has been successfully installed." "$TITLE" POL_Wine_WaitExit "$TITLE" POL_SetupWindow_Close exit Réponses |
Ueliton | Lundi 1 Juin 2015 à 22:55 |
Ueliton
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. Differences@@ -1,37 +1,121 @@ -#!/usr/bin/env playonlinux-bash -# Wine version used : 1.7.28 -# Distribution used to test : openSUSE 13.2 -# Author : Ueliton +# !/usr/bin/env playonlinux-bash +# CHANGELOG +# [Ueliton] (2015-04-00) +# Correction, script not working +# Changed PREFIX +# Added install method Local +# Changed link download + md5 +# Added version 4.1.0 +# Added translations for version 4.1.0 and 4.1.2 +# **PlayOnLinux 4.2.8** +# Wine version used: 1.7.28 +# Distribution used to test: openSUSE 13.2 x86_64 +# MemoriesOnTV versions used to test: 4.1.0 and 4.1.2 +# Author: Ueliton [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" +# Variables ------------- +AUTHOR="Ueliton" +CODEJAM_SERVER="http://www.codejam.com" TITLE="MemoriesOnTV" -PREFIX="memoriesontv" - -# Selection of a prefix for wine and creation -POL_Wine_SelectPrefix "$PREFIX" -POL_Wine_PrefixCreate "1.7.28" +PREFIX="Codejam" +WORKING_WINE_VERSION="1.7.28" +TEXT_INSTRUCTIONS="\nDuring installation please Deselect Creation of Icon/Launcher\nDo Not let restart." +TITLE="MemoriesOnTV" +WORKING_WINE_VERSION="1.7.28" -# Create the temp directory +POL_GetSetupImages "http://media.binu.com/12630290/stream/98566919529-bc3ea21614e0fdc4/top.png" "http://media.binu.com/12630290/stream/98566920171-18ead4c77c3f40da/left.png" "$TITLE" + +POL_SetupWindow_Init +POL_SetupWindow_SetID 2531 +# Enable debugging +POL_Debug_Init +# Presentation +POL_SetupWindow_presentation "$TITLE" "Codejam Pte Ltd" "$CODEJAM_SERVER" "$AUTHOR" "$PREFIX" +# Creating Temp directory POL_System_TmpCreate "$PREFIX" - -# Download installer to the temp directory cd "$POL_System_TmpDir" -POL_Download "http://www.codejam.com/file/motv412.exe" -# Running the instalation file from the temp directory -POL_SetupWindow_message "$(eval_gettext 'When installing, be sure not to let MemoriesOnTV launch automatically, so the POL setup can complete.')" "$TITLE" -POL_Wine_WaitBefore "$TITLE" -POL_Wine "$POL_System_TmpDir/motv412.exe" +POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL" -# Waiting for the installer to finish -POL_Wine_WaitExit "$TITLE" - -# Delete temp directory -POL_System_TmpDelete - -# Create a launcher -POL_Shortcut "Motv.exe" "$TITLE" +# Installation Method DOWNLOAD +if [ "$INSTALL_METHOD" = "DOWNLOAD" ] +then + POL_SetupWindow_menu "$(eval_gettext 'What version do you want to install?')" "Version Selection" \ + "4.1.2|4.1.0" "|" +case "$APP_ANSWER" in + "4.1.2") + DOWNLOAD_LINK="http://media.binu.com/12630290/stream/98566924702-1e5186bca8f75fca/motv412.exe" + MD5SUM="277a4be8e2c6746332f04791e853f03f";; + "4.1.0") + DOWNLOAD_LINK="http://media.binu.com/12630290/stream/98566923396-96ea64f3a1aa2fd0/motv410.exe" + MD5SUM="d1ea7b849cb22b7fc1edc7b5c7b6f47c";; + *) + exit 1 ;; +esac + cd "$POL_System_TmpDir" + POL_Download "$DOWNLOAD_LINK" "$MD5SUM" + POL_SetupWindow_message "$(eval_gettext 'When installing, be sure not to let MemoriesOnTV restart, so the POL setup can complete.')" "$TITLE" + POL_Wine_WaitBefore "$TITLE" + EXE_FILE="${DOWNLOAD_LINK##*/}" + POL_Wine start /unix ${EXE_FILE} + POL_Wine_WaitExit "$TITLE" +fi + +# Installation Method LOCAL +if [ "$INSTALL_METHOD" = "LOCAL" ] +then + cd "$HOME" + POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" + POL_SetupWindow_message "$(eval_gettext 'When installing, be sure not to let MemoriesOnTV restart, so the POL setup can complete.')" "$TITLE" + POL_Wine_WaitBefore "$TITLE" + POL_Wine start /unix "$APP_ANSWER" + POL_Wine_WaitExit "$TITLE" +fi + +# Selection and configuration of DLL language: +cd ~/.PlayOn*/wineprefix/Codejam/drive_c/Program\ Files/MemoriesOnTV* +mv MotvLOC.dll MotvLOC_Old.dll +POL_SetupWindow_menu "$(eval_gettext 'Select a language:')" "$TITLE" \ +"Default|Dutch|French|German|Hungarian|Italian|Portuguese|Russian|Spanish|Turkish" "|" + +# Selection and configuration of DLL language: +case "$APP_ANSWER" in + "Dutch") + POL_Download "http://media.binu.com/12630290/stream/98566921347-5bd53571b9788463/MotvLOC.dll" "36fecb8db3888ef75ddfdca19394b3f8";; + + "Default") + POL_SetupWindow_wait_next_signal;; + + "French") + POL_Download "http://media.binu.com/12630290/stream/98566922123-5e1b18c4c6a6d316/MotvLOC.dll" "53c8f62a2d3d2385dc5b62ad5636a59e";; + + "German") + POL_Download "http://media.binu.com/12630290/stream/98566922572-3bd318565e4adbe5/MotvLOC.dll" "ad4f646965049ffeeef9892768c8f41b";; + + "Hungarian") + POL_Download "http://media.binu.com/12630290/stream/98566921834-3341f6f048384ec7/MotvLOC.dll" "96acbeea725f6539263e9d716a379985";; + + "Italian") + POL_Download "http://media.binu.com/12630290/stream/98566921653-ec6826e925952de7/MotvLOC.dll" "e65ac42b6b06866dd558d5916e918b9d";; + + "Portuguese") + POL_Download "http://media.binu.com/12630290/stream/98566921226-69421f032498c970/MotvLOC.dll" "ca4791dad5f5b19148f52c2e4fd5c71a";; + + "Russian") + POL_Download "http://media.binu.com/12630290/stream/98566921112-a45a1d12ee0fb7f1/MotvLOC.dll" "2829de4f938f8b60408b4fd2fdce3759";; + + "Spanish") + POL_Download "http://media.binu.com/12630290/stream/98566922293-50905d7b2216bfec/MotvLOC.dll" "c48fb0066e9c45293487cf955196befd";; + + "Turkish") + POL_Download "http://media.binu.com/12630290/stream/98566920860-a9be4c2a4041cadb/MotvLOC.dll" "b3047242bf07affee0d4ce84bfc00b2b";; + *) + exit 1 ;; +esac +POL_SetupWindow_message "$TITLE has been successfully installed." "$TITLE" +POL_Wine_WaitExit "$TITLE" POL_SetupWindow_Close exit \ No newline at end of file Nouveau code source# !/usr/bin/env playonlinux-bash # CHANGELOG # [Ueliton] (2015-04-00) # Correction, script not working # Changed PREFIX # Added install method Local # Changed link download + md5 # Added version 4.1.0 # Added translations for version 4.1.0 and 4.1.2 # **PlayOnLinux 4.2.8** # Wine version used: 1.7.28 # Distribution used to test: openSUSE 13.2 x86_64 # MemoriesOnTV versions used to test: 4.1.0 and 4.1.2 # Author: Ueliton [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" # Variables ------------- AUTHOR="Ueliton" CODEJAM_SERVER="http://www.codejam.com" TITLE="MemoriesOnTV" PREFIX="Codejam" WORKING_WINE_VERSION="1.7.28" TEXT_INSTRUCTIONS="\nDuring installation please Deselect Creation of Icon/Launcher\nDo Not let restart." TITLE="MemoriesOnTV" WORKING_WINE_VERSION="1.7.28" POL_GetSetupImages "http://media.binu.com/12630290/stream/98566919529-bc3ea21614e0fdc4/top.png" "http://media.binu.com/12630290/stream/98566920171-18ead4c77c3f40da/left.png" "$TITLE" POL_SetupWindow_Init POL_SetupWindow_SetID 2531 # Enable debugging POL_Debug_Init # Presentation POL_SetupWindow_presentation "$TITLE" "Codejam Pte Ltd" "$CODEJAM_SERVER" "$AUTHOR" "$PREFIX" # Creating Temp directory POL_System_TmpCreate "$PREFIX" cd "$POL_System_TmpDir" POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL" # Installation Method DOWNLOAD if [ "$INSTALL_METHOD" = "DOWNLOAD" ] then POL_SetupWindow_menu "$(eval_gettext 'What version do you want to install?')" "Version Selection" \ "4.1.2|4.1.0" "|" case "$APP_ANSWER" in "4.1.2") DOWNLOAD_LINK="http://media.binu.com/12630290/stream/98566924702-1e5186bca8f75fca/motv412.exe" MD5SUM="277a4be8e2c6746332f04791e853f03f";; "4.1.0") DOWNLOAD_LINK="http://media.binu.com/12630290/stream/98566923396-96ea64f3a1aa2fd0/motv410.exe" MD5SUM="d1ea7b849cb22b7fc1edc7b5c7b6f47c";; *) exit 1 ;; esac cd "$POL_System_TmpDir" POL_Download "$DOWNLOAD_LINK" "$MD5SUM" POL_SetupWindow_message "$(eval_gettext 'When installing, be sure not to let MemoriesOnTV restart, so the POL setup can complete.')" "$TITLE" POL_Wine_WaitBefore "$TITLE" EXE_FILE="${DOWNLOAD_LINK##*/}" POL_Wine start /unix ${EXE_FILE} POL_Wine_WaitExit "$TITLE" fi # Installation Method LOCAL if [ "$INSTALL_METHOD" = "LOCAL" ] then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE" POL_SetupWindow_message "$(eval_gettext 'When installing, be sure not to let MemoriesOnTV restart, so the POL setup can complete.')" "$TITLE" POL_Wine_WaitBefore "$TITLE" POL_Wine start /unix "$APP_ANSWER" POL_Wine_WaitExit "$TITLE" fi # Selection and configuration of DLL language: cd ~/.PlayOn*/wineprefix/Codejam/drive_c/Program\ Files/MemoriesOnTV* mv MotvLOC.dll MotvLOC_Old.dll POL_SetupWindow_menu "$(eval_gettext 'Select a language:')" "$TITLE" \ "Default|Dutch|French|German|Hungarian|Italian|Portuguese|Russian|Spanish|Turkish" "|" # Selection and configuration of DLL language: case "$APP_ANSWER" in "Dutch") POL_Download "http://media.binu.com/12630290/stream/98566921347-5bd53571b9788463/MotvLOC.dll" "36fecb8db3888ef75ddfdca19394b3f8";; "Default") POL_SetupWindow_wait_next_signal;; "French") POL_Download "http://media.binu.com/12630290/stream/98566922123-5e1b18c4c6a6d316/MotvLOC.dll" "53c8f62a2d3d2385dc5b62ad5636a59e";; "German") POL_Download "http://media.binu.com/12630290/stream/98566922572-3bd318565e4adbe5/MotvLOC.dll" "ad4f646965049ffeeef9892768c8f41b";; "Hungarian") POL_Download "http://media.binu.com/12630290/stream/98566921834-3341f6f048384ec7/MotvLOC.dll" "96acbeea725f6539263e9d716a379985";; "Italian") POL_Download "http://media.binu.com/12630290/stream/98566921653-ec6826e925952de7/MotvLOC.dll" "e65ac42b6b06866dd558d5916e918b9d";; "Portuguese") POL_Download "http://media.binu.com/12630290/stream/98566921226-69421f032498c970/MotvLOC.dll" "ca4791dad5f5b19148f52c2e4fd5c71a";; "Russian") POL_Download "http://media.binu.com/12630290/stream/98566921112-a45a1d12ee0fb7f1/MotvLOC.dll" "2829de4f938f8b60408b4fd2fdce3759";; "Spanish") POL_Download "http://media.binu.com/12630290/stream/98566922293-50905d7b2216bfec/MotvLOC.dll" "c48fb0066e9c45293487cf955196befd";; "Turkish") POL_Download "http://media.binu.com/12630290/stream/98566920860-a9be4c2a4041cadb/MotvLOC.dll" "b3047242bf07affee0d4ce84bfc00b2b";; *) exit 1 ;; esac POL_SetupWindow_message "$TITLE has been successfully installed." "$TITLE" POL_Wine_WaitExit "$TITLE" POL_SetupWindow_Close exit Réponses |
Ueliton | Mercredi 27 Mai 2015 à 22:23 |
Ueliton
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. MessagesMemoriesOnTVPhoto slideshow for the Creative MemoriesOnTV is our award-winning photo/video slideshow software. This feature-packed program comes with beautiful and elegant pre-built effects that you can use. In addition, the powerful and advanced features and tools allow you to craft your slideshows anyway you want. Let your creativity flow with MemoriesOnTV! Site: http://www.codejam.com/slideshow/index.htm Images for description: http://media.binu.com/2627104/stream/98567242579-b1a59b315fc9a300/PlayonLinux1.png http://media.binu.com/2627104/stream/98567242602-a383d162a97be62a/PlayonLinux02.png http://media.binu.com/2627104/stream/98567242622-00482b9bed15a272/PlayonLinux01.png http://media.binu.com/2627104/stream/98567242651-a07c2f3b3b907aaf/PlayonLinux.png The icon that will be used for the installed program: http://media.binu.com/2627104/stream/98567242699-c6bff625bdb03939/MemoriesOnTV-48x48.png The icon that will be used in the PlayOnLinux script list and the site: http://media.binu.com/2627104/stream/98567242944-05d8cccb5f47e507/MemoriesOnTV-22x22.png Sideways banner that is on the left side of the first window when script is ran: http://media.binu.com/2627104/stream/98567243430-321cf86b4c9f5ddd/left.png Top corner Icon for install script: http://media.binu.com/2627104/stream/98567242677-51de85ddd068f0bc/top.png Differences@@ -1,37 +1,159 @@ -#!/usr/bin/env playonlinux-bash -# Wine version used : 1.7.28 -# Distribution used to test : openSUSE 13.2 -# Author : Ueliton +# !/usr/bin/env playonlinux-bash +# PlayOnLinux 4.2.8 +# Wine version used; 1.7.28 +# Distribution used to test; openSUSE 13.2' + +# Checking execution of the PlayOnLinux and Loading source libraries [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" - + +# Variables: TITLE="MemoriesOnTV" -PREFIX="memoriesontv" +PREFIX="wineprefix/default/drive_c/" +WINE_VERSION="1.7.28" +AUTHOR="Ueliton" +CODEJAM_SERVER="http://www.codejam.com" +TEXT_INSTRUCTIONS="\nDuring installation... \n\nDeselect the options:\n -Create a desktop icon \n -Create a Quick Launch icon + \nSelect:\n -No, I will restart the \ncomputer later" + +# Initial syntax: +POL_SetupWindow_Init +POL_Debug_Init + +# Presentation: +POL_SetupWindow_presentation "$TITLE" +"MemoriesOnTV is a program provided by CodeJam Pte Ltd, a tiny company based in tiny Singapore. +\nCompany Registration No: 200210123R. + +\n\nCopyright © 2002-2008 CodeJam, all rights reserved." +"$CODEJAM_SERVER" +"$AUTHOR" -# Selection of a prefix for wine and creation +# Configuring virtual drive: POL_Wine_SelectPrefix "$PREFIX" -POL_Wine_PrefixCreate "1.7.28" +POL_Wine_PrefixCreate "$WINE_VERSION" -# Create the temp directory -POL_System_TmpCreate "$PREFIX" +# Installation Method: +POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL" +if [ "$INSTALL_METHOD" = "LOCAL" ]; +then +cd "$HOME" +POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.\n$TEXT_INSTRUCTIONS')" "$TITLE" +POL_Wine_WaitBefore "$TITLE" +POL_Wine start /unix "$APP_ANSWER" +POL_Wine_WaitExit "$TITLE" -# Download installer to the temp directory +elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]; +then + +# Create the temp directory: +POL_System_TmpCreate "$PREFIX" + +# Download installer to the temp directory: cd "$POL_System_TmpDir" -POL_Download "http://www.codejam.com/file/motv412.exe" -# Running the instalation file from the temp directory -POL_SetupWindow_message "$(eval_gettext 'When installing, be sure not to let MemoriesOnTV launch automatically, so the POL setup can complete.')" "$TITLE" +# Selecting version: +POL_SetupWindow_menu "$(eval_gettext 'Select a version:')" "$TITLE" "$(eval_gettext '4.1.2(Pro/Home Edition)')~$(eval_gettext '4.1.0(Pro/Home Edition)')~$(eval_gettext '3.1.8(Personal/Pro Edition)')~$(eval_gettext '2.2.1(Personal Edition)')~$(eval_gettext 'PictureToTV 1.4.5(Personal Edition)')" "~" + +# By downloading and installing selected: +case "$APP_ANSWER" in "$(eval_gettext '4.1.2(Pro/Home Edition)')") +POL_Download "$CODEJAM_SERVER/file/motv412.exe" "277a4be8e2c6746332f04791e853f03f" +POL_Wine_WaitBefore "$TITLE" +POL_SetupWindow_message "$(eval_gettext '$TEXT_INSTRUCTIONS')" "$TITLE" +POL_Wine start /unix "motv412.exe";; + +"$(eval_gettext '4.1.0(Pro/Home Edition)')") +POL_Download "https://sites.google.com/site/myubuntustudio/motv410.exe.tar.gz" "02cc0f082a4f0fda1d533063baf8a4f6" +tar -vzxf motv410.exe.tar.gz POL_Wine_WaitBefore "$TITLE" -POL_Wine "$POL_System_TmpDir/motv412.exe" +POL_SetupWindow_message "$(eval_gettext '$TEXT_INSTRUCTIONS')" "$TITLE" +POL_Wine start /unix "motv410.exe";; + +"$(eval_gettext '3.1.8(Personal/Pro Edition)')") +POL_Download "$CODEJAM_SERVER/file/motv318.exe" "3f7d50933113954fddc294775648bb2b" +POL_Wine_WaitBefore "$TITLE" +POL_SetupWindow_message "$(eval_gettext '$TEXT_INSTRUCTIONS')" "$TITLE" +POL_Wine start /unix "motv318.exe";; + +"$(eval_gettext '2.2.1(Personal Edition)')") +POL_Download "$CODEJAM_SERVER/file/motv221.exe" "1d569cde2ef6076e05a12fa47d7a562a" +POL_Wine_WaitBefore "$TITLE" +POL_SetupWindow_message "$(eval_gettext '$TEXT_INSTRUCTIONS')" "$TITLE" +POL_Wine start /unix "motv221.exe";; + +"$(eval_gettext 'PictureToTV 1.4.5(Personal Edition)')") +POL_Download "$CODEJAM_SERVER/file/p2tv145.exe" "de0d261d897450852c5c0be79036b595" +POL_Wine_WaitBefore "$TITLE" +POL_SetupWindow_message "$(eval_gettext '$TEXT_INSTRUCTIONS')" "$TITLE" +POL_Wine start /unix "p2tv145.exe";; +esac -# Waiting for the installer to finish POL_Wine_WaitExit "$TITLE" +fi +# Selecting language and downloading DLL to directory MemoriesOnTV: +cd ~/.PlayOnLinux/wineprefix/wineprefix_default_drive_c_/drive_c/Program\ Files/MemoriesOnTV* +POL_SetupWindow_menu "$(eval_gettext 'Select a language:')" "$TITLE" "$(eval_gettext 'Dutch(Tino Baanvinger)')~$(eval_gettext 'English(default)')~$(eval_gettext 'French(Wahid Omar)')~$(eval_gettext 'German(Karl Exler)')~$(eval_gettext 'Hungarian(Balazs Fekete)')~$(eval_gettext 'Italian(Dino Termini & Riccardo Nifosi)')~$(eval_gettext 'Portuguese(Telio Oliveira)')~$(eval_gettext 'Russian(Yuri Nazarov)')~$(eval_gettext 'Spanish(Pedro Tenorio)')~$(eval_gettext 'Turkish(Efecan Erdur)')" "~" + +# Selection and configuration of DLL language: +case "$APP_ANSWER" in "$(eval_gettext 'Dutch(Tino Baanvinger)')") + POL_Download "$CODEJAM_SERVER/file/MotvNLD.dll" "36fecb8db3888ef75ddfdca19394b3f8" +mv MotvLOC.dll MotvLOC_Old.dll +mv MotvNLD.dll MotvLOC.dll;; + +"$(eval_gettext 'English(default)')") +POL_SetupWindow_wait_next_signal;; + +"$(eval_gettext 'French(Wahid Omar)')") +POL_Download "$CODEJAM_SERVER/file/MotvFRA.dll" "53c8f62a2d3d2385dc5b62ad5636a59e" +mv MotvLOC.dll MotvLOC_Old.dll +mv MotvFRA.dll MotvLOC.dll;; + +"$(eval_gettext 'German(Karl Exler)')") +POL_Download "$CODEJAM_SERVER/file/MotvDEU.dll" "ad4f646965049ffeeef9892768c8f41b" +mv MotvLOC.dll MotvLOC_Old.dll +mv MotvDEU.dll MotvLOC.dll;; + +"$(eval_gettext 'Hungarian(Balazs Fekete)')") +POL_Download "$CODEJAM_SERVER/file/MotvHUN.dll" "96acbeea725f6539263e9d716a379985" +mv MotvLOC.dll MotvLOC_Old.dll +mv MotvHUN.dll MotvLOC.dll;; + +"$(eval_gettext 'Italian(Dino Termini & Riccardo Nifosi)')") +POL_Download "$CODEJAM_SERVER/file/MotvITA.dll" "e65ac42b6b06866dd558d5916e918b9d" +mv MotvLOC.dll MotvLOC_Old.dll +mv MotvITA.dll MotvLOC.dll;; + +"$(eval_gettext 'Portuguese(Telio Oliveira)')") +POL_Download "$CODEJAM_SERVER/file/MotvPTB.dll" "ca4791dad5f5b19148f52c2e4fd5c71a" +mv MotvLOC.dll MotvLOC_Old.dll +mv MotvPTB.dll MotvLOC.dll;; + +"$(eval_gettext 'Russian(Yuri Nazarov)')") +POL_Download "$CODEJAM_SERVER/file/MotvRUS.dll" "2829de4f938f8b60408b4fd2fdce3759" +mv MotvLOC.dll MotvLOC_Old.dll +mv MotvRUS.dll MotvLOC.dll;; + +"$(eval_gettext 'Spanish(Pedro Tenorio)')") +POL_Download "$CODEJAM_SERVER/file/MotvESP.dll" "c48fb0066e9c45293487cf955196befd" +mv MotvLOC.dll MotvLOC_Old.dll +mv MotvESP.dll MotvLOC.dll;; + +"$(eval_gettext 'Turkish(Efecan Erdur)')") +POL_Download "$CODEJAM_SERVER/file/MotvTRK.dll" "b3047242bf07affee0d4ce84bfc00b2b" +mv MotvLOC.dll MotvLOC_Old.dll +mv MotvNLD.dll MotvLOC.dll;; +esac + +# Waiting set DLL to finish +POL_Wine_WaitExit "$TITLE" + # Delete temp directory POL_System_TmpDelete - + # Create a launcher POL_Shortcut "Motv.exe" "$TITLE" +POL_SetupWindow_message "MemoriesOnTV has been installed successfully" "$TITLE" POL_SetupWindow_Close exit \ No newline at end of file Nouveau code source# !/usr/bin/env playonlinux-bash # PlayOnLinux 4.2.8 # Wine version used; 1.7.28 # Distribution used to test; openSUSE 13.2' # Checking execution of the PlayOnLinux and Loading source libraries [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" # Variables: TITLE="MemoriesOnTV" PREFIX="wineprefix/default/drive_c/" WINE_VERSION="1.7.28" AUTHOR="Ueliton" CODEJAM_SERVER="http://www.codejam.com" TEXT_INSTRUCTIONS="\nDuring installation... \n\nDeselect the options:\n -Create a desktop icon \n -Create a Quick Launch icon \nSelect:\n -No, I will restart the \ncomputer later" # Initial syntax: POL_SetupWindow_Init POL_Debug_Init # Presentation: POL_SetupWindow_presentation "$TITLE" "MemoriesOnTV is a program provided by CodeJam Pte Ltd, a tiny company based in tiny Singapore. \nCompany Registration No: 200210123R. \n\nCopyright © 2002-2008 CodeJam, all rights reserved." "$CODEJAM_SERVER" "$AUTHOR" # Configuring virtual drive: POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WINE_VERSION" # Installation Method: POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL" if [ "$INSTALL_METHOD" = "LOCAL" ]; then cd "$HOME" POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.\n$TEXT_INSTRUCTIONS')" "$TITLE" POL_Wine_WaitBefore "$TITLE" POL_Wine start /unix "$APP_ANSWER" POL_Wine_WaitExit "$TITLE" elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then # Create the temp directory: POL_System_TmpCreate "$PREFIX" # Download installer to the temp directory: cd "$POL_System_TmpDir" # Selecting version: POL_SetupWindow_menu "$(eval_gettext 'Select a version:')" "$TITLE" "$(eval_gettext '4.1.2(Pro/Home Edition)')~$(eval_gettext '4.1.0(Pro/Home Edition)')~$(eval_gettext '3.1.8(Personal/Pro Edition)')~$(eval_gettext '2.2.1(Personal Edition)')~$(eval_gettext 'PictureToTV 1.4.5(Personal Edition)')" "~" # By downloading and installing selected: case "$APP_ANSWER" in "$(eval_gettext '4.1.2(Pro/Home Edition)')") POL_Download "$CODEJAM_SERVER/file/motv412.exe" "277a4be8e2c6746332f04791e853f03f" POL_Wine_WaitBefore "$TITLE" POL_SetupWindow_message "$(eval_gettext '$TEXT_INSTRUCTIONS')" "$TITLE" POL_Wine start /unix "motv412.exe";; "$(eval_gettext '4.1.0(Pro/Home Edition)')") POL_Download "https://sites.google.com/site/myubuntustudio/motv410.exe.tar.gz" "02cc0f082a4f0fda1d533063baf8a4f6" tar -vzxf motv410.exe.tar.gz POL_Wine_WaitBefore "$TITLE" POL_SetupWindow_message "$(eval_gettext '$TEXT_INSTRUCTIONS')" "$TITLE" POL_Wine start /unix "motv410.exe";; "$(eval_gettext '3.1.8(Personal/Pro Edition)')") POL_Download "$CODEJAM_SERVER/file/motv318.exe" "3f7d50933113954fddc294775648bb2b" POL_Wine_WaitBefore "$TITLE" POL_SetupWindow_message "$(eval_gettext '$TEXT_INSTRUCTIONS')" "$TITLE" POL_Wine start /unix "motv318.exe";; "$(eval_gettext '2.2.1(Personal Edition)')") POL_Download "$CODEJAM_SERVER/file/motv221.exe" "1d569cde2ef6076e05a12fa47d7a562a" POL_Wine_WaitBefore "$TITLE" POL_SetupWindow_message "$(eval_gettext '$TEXT_INSTRUCTIONS')" "$TITLE" POL_Wine start /unix "motv221.exe";; "$(eval_gettext 'PictureToTV 1.4.5(Personal Edition)')") POL_Download "$CODEJAM_SERVER/file/p2tv145.exe" "de0d261d897450852c5c0be79036b595" POL_Wine_WaitBefore "$TITLE" POL_SetupWindow_message "$(eval_gettext '$TEXT_INSTRUCTIONS')" "$TITLE" POL_Wine start /unix "p2tv145.exe";; esac POL_Wine_WaitExit "$TITLE" fi # Selecting language and downloading DLL to directory MemoriesOnTV: cd ~/.PlayOnLinux/wineprefix/wineprefix_default_drive_c_/drive_c/Program\ Files/MemoriesOnTV* POL_SetupWindow_menu "$(eval_gettext 'Select a language:')" "$TITLE" "$(eval_gettext 'Dutch(Tino Baanvinger)')~$(eval_gettext 'English(default)')~$(eval_gettext 'French(Wahid Omar)')~$(eval_gettext 'German(Karl Exler)')~$(eval_gettext 'Hungarian(Balazs Fekete)')~$(eval_gettext 'Italian(Dino Termini & Riccardo Nifosi)')~$(eval_gettext 'Portuguese(Telio Oliveira)')~$(eval_gettext 'Russian(Yuri Nazarov)')~$(eval_gettext 'Spanish(Pedro Tenorio)')~$(eval_gettext 'Turkish(Efecan Erdur)')" "~" # Selection and configuration of DLL language: case "$APP_ANSWER" in "$(eval_gettext 'Dutch(Tino Baanvinger)')") POL_Download "$CODEJAM_SERVER/file/MotvNLD.dll" "36fecb8db3888ef75ddfdca19394b3f8" mv MotvLOC.dll MotvLOC_Old.dll mv MotvNLD.dll MotvLOC.dll;; "$(eval_gettext 'English(default)')") POL_SetupWindow_wait_next_signal;; "$(eval_gettext 'French(Wahid Omar)')") POL_Download "$CODEJAM_SERVER/file/MotvFRA.dll" "53c8f62a2d3d2385dc5b62ad5636a59e" mv MotvLOC.dll MotvLOC_Old.dll mv MotvFRA.dll MotvLOC.dll;; "$(eval_gettext 'German(Karl Exler)')") POL_Download "$CODEJAM_SERVER/file/MotvDEU.dll" "ad4f646965049ffeeef9892768c8f41b" mv MotvLOC.dll MotvLOC_Old.dll mv MotvDEU.dll MotvLOC.dll;; "$(eval_gettext 'Hungarian(Balazs Fekete)')") POL_Download "$CODEJAM_SERVER/file/MotvHUN.dll" "96acbeea725f6539263e9d716a379985" mv MotvLOC.dll MotvLOC_Old.dll mv MotvHUN.dll MotvLOC.dll;; "$(eval_gettext 'Italian(Dino Termini & Riccardo Nifosi)')") POL_Download "$CODEJAM_SERVER/file/MotvITA.dll" "e65ac42b6b06866dd558d5916e918b9d" mv MotvLOC.dll MotvLOC_Old.dll mv MotvITA.dll MotvLOC.dll;; "$(eval_gettext 'Portuguese(Telio Oliveira)')") POL_Download "$CODEJAM_SERVER/file/MotvPTB.dll" "ca4791dad5f5b19148f52c2e4fd5c71a" mv MotvLOC.dll MotvLOC_Old.dll mv MotvPTB.dll MotvLOC.dll;; "$(eval_gettext 'Russian(Yuri Nazarov)')") POL_Download "$CODEJAM_SERVER/file/MotvRUS.dll" "2829de4f938f8b60408b4fd2fdce3759" mv MotvLOC.dll MotvLOC_Old.dll mv MotvRUS.dll MotvLOC.dll;; "$(eval_gettext 'Spanish(Pedro Tenorio)')") POL_Download "$CODEJAM_SERVER/file/MotvESP.dll" "c48fb0066e9c45293487cf955196befd" mv MotvLOC.dll MotvLOC_Old.dll mv MotvESP.dll MotvLOC.dll;; "$(eval_gettext 'Turkish(Efecan Erdur)')") POL_Download "$CODEJAM_SERVER/file/MotvTRK.dll" "b3047242bf07affee0d4ce84bfc00b2b" mv MotvLOC.dll MotvLOC_Old.dll mv MotvNLD.dll MotvLOC.dll;; esac # Waiting set DLL to finish POL_Wine_WaitExit "$TITLE" # Delete temp directory POL_System_TmpDelete # Create a launcher POL_Shortcut "Motv.exe" "$TITLE" POL_SetupWindow_message "MemoriesOnTV has been installed successfully" "$TITLE" POL_SetupWindow_Close exit Réponses |
Ueliton | Lundi 25 Mai 2015 à 23:01 |
Ueliton
|
WarningCette mise à jour n'a pas été approuvée par l'équipe. Differences@@ -0,0 +1,37 @@ +#!/usr/bin/env playonlinux-bash +# Wine version used : 1.7.28 +# Distribution used to test : openSUSE 13.2 +# Author : Ueliton +[ "$PLAYONLINUX" = "" ] && exit 0 +source "$PLAYONLINUX/lib/sources" + +TITLE="MemoriesOnTV" +PREFIX="memoriesontv" + +# Selection of a prefix for wine and creation +POL_Wine_SelectPrefix "$PREFIX" +POL_Wine_PrefixCreate "1.7.28" + +# Create the temp directory +POL_System_TmpCreate "$PREFIX" + +# Download installer to the temp directory +cd "$POL_System_TmpDir" +POL_Download "http://www.codejam.com/file/motv412.exe" + +# Running the instalation file from the temp directory +POL_SetupWindow_message "$(eval_gettext 'When installing, be sure not to let MemoriesOnTV launch automatically, so the POL setup can complete.')" "$TITLE" +POL_Wine_WaitBefore "$TITLE" +POL_Wine "$POL_System_TmpDir/motv412.exe" + +# Waiting for the installer to finish +POL_Wine_WaitExit "$TITLE" + +# Delete temp directory +POL_System_TmpDelete + +# Create a launcher +POL_Shortcut "Motv.exe" "$TITLE" + +POL_SetupWindow_Close +exit \ No newline at end of file Nouveau code source#!/usr/bin/env playonlinux-bash # Wine version used : 1.7.28 # Distribution used to test : openSUSE 13.2 # Author : Ueliton [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="MemoriesOnTV" PREFIX="memoriesontv" # Selection of a prefix for wine and creation POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "1.7.28" # Create the temp directory POL_System_TmpCreate "$PREFIX" # Download installer to the temp directory cd "$POL_System_TmpDir" POL_Download "http://www.codejam.com/file/motv412.exe" # Running the instalation file from the temp directory POL_SetupWindow_message "$(eval_gettext 'When installing, be sure not to let MemoriesOnTV launch automatically, so the POL setup can complete.')" "$TITLE" POL_Wine_WaitBefore "$TITLE" POL_Wine "$POL_System_TmpDir/motv412.exe" # Waiting for the installer to finish POL_Wine_WaitExit "$TITLE" # Delete temp directory POL_System_TmpDelete # Create a launcher POL_Shortcut "Motv.exe" "$TITLE" POL_SetupWindow_Close exit Réponses |
Ueliton | Dimanche 24 Mai 2015 à 19:07 |
Ueliton
|
MessagesAdd DLL overrides in winecfg: Réponses |
Ueliton | Dimanche 24 Mai 2015 à 18:45 |
Ueliton
|
MessagesSomeone can help do this script? Réponses |
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