Reshade Image Enlarger

Informations

Créateur Messages
MTres19 Anonymous

Information

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

Informations

Plate-formes :
Téléchargements : 4679
Wine: 1.6.2

Retours d'expérience

Description

Reshade allows you to greatly enhance the quality of an image resize with five main options: Denoise, Reduce Artifacts, Texture, Accuracy, and Control.

Quote from Reshade's website (reshade.com):

Reshade offers high-quality photo resizing for your computer. Enlarge images without the usual blur, jagged edges, halos, loss of sharpness or detail associated with image upscaling. Create accurate, crisp clear, and photorealistic enlargements at almost any zoom factor.

Captures d'écran

Miniature

Code source

#!/bin/bash
# Date : (2015-5-20 5:22 PM)
# Wine version used : 1.6.2
# Distributions used to test : Debian GNU/Linux 8.0 & Linux Mint 17.1
# Author : MTres19
  
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
PREFIX="Reshade_Enlarger"
TITLE="Reshade Image Enlarger"
WINEVERSION="1.6.2"
  
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_Debug_Init
POL_System_SetArch "x86"
  
POL_SetupWindow_presentation "Reshade Image Enlarger 3.0" "Reshade Ltd." "reshade.com" "MTres19" "$PREFIX"
  
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
  
POL_Call POL_Install_LunaTheme

POL_SetupWindow_message "$(eval_gettext 'Please download the installer from reshade.com')" "$TITLE"
POL_Browser "http://reshade.com"
  
POL_SetupWindow_InstallMethod "LOCAL"
  
if [ $INSTALL_METHOD = "DOWNLOAD" ]
then
  POL_System_TmpCreate "Reshade"
  cd "$POL_System_TmpDir"
  POL_Download "http://reshade.com/static/reshade-install.exe" "8786327bc7209134e9fad15f581fe0cc"
  POL_Wine "reshade-install.exe"
  POL_System_TmpDelete
elif [ $INSTALL_METHOD = "LOCAL" ]
then
  POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
  RESHADE_INSTALL="$APP_ANSWER"
  POL_Wine "$RESHADE_INSTALL"
fi
  
POL_Shortcut "reshade.exe" "Reshade"
  
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribuer
Membre Messages
Ronin DUSETTE Vendredi 22 Mai 2015 à 4:05
Ronin DUSETTE
Admin

Information

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

Messages

Changing the urls to resource images, as they are hosted from a 3rd party.

Differences

@@ -11,8 +11,8 @@
 TITLE="Reshade Image Enlarger"
 WINEVERSION="1.6.2"
   
-POL_GetSetupImages "https://824c862d9a2680948fa53baa62ee056ae123af01.googledrive.com/host/0B_iE50uqUIIbSmRRRHpqdk12Ync" "https://20b94d2646f03039a75fc555605ec5587cdb9349.googledrive.com/host/0B_iE50uqUIIbTEpvenN5akZwZ3c"
-  
+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_Debug_Init
 POL_System_SetArch "x86"

Nouveau code source

#!/bin/bash
# Date : (2015-5-20 5:22 PM)
# Wine version used : 1.6.2
# Distributions used to test : Debian GNU/Linux 8.0 & Linux Mint 17.1
# Author : MTres19
  
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
PREFIX="Reshade_Enlarger"
TITLE="Reshade Image Enlarger"
WINEVERSION="1.6.2"
  
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_Debug_Init
POL_System_SetArch "x86"
  
POL_SetupWindow_presentation "Reshade Image Enlarger 3.0" "Reshade Ltd." "reshade.com" "MTres19" "$PREFIX"
  
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
  
POL_Call POL_Install_LunaTheme

POL_SetupWindow_message "$(eval_gettext 'Please download the installer from reshade.com')" "$TITLE"
POL_Browser "http://reshade.com"
  
POL_SetupWindow_InstallMethod "LOCAL"
  
if [ $INSTALL_METHOD = "DOWNLOAD" ]
then
  POL_System_TmpCreate "Reshade"
  cd "$POL_System_TmpDir"
  POL_Download "http://reshade.com/static/reshade-install.exe" "8786327bc7209134e9fad15f581fe0cc"
  POL_Wine "reshade-install.exe"
  POL_System_TmpDelete
elif [ $INSTALL_METHOD = "LOCAL" ]
then
  POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
  RESHADE_INSTALL="$APP_ANSWER"
  POL_Wine "$RESHADE_INSTALL"
fi
  
POL_Shortcut "reshade.exe" "Reshade"
  
POL_SetupWindow_Close
exit 0

Réponses

Vendredi 22 Mai 2015 à 4:09
Resource images located here; just need to be uploaded to our server.

https://www.playonlinux.com/en/topic-13125-Script_Reshade_Image_Enlarger.html
MTres19 Vendredi 22 Mai 2015 à 3:59
MTres19 Anonymous

Warning

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

Messages

- Removed download feature, since it was not functioning correctly.

Differences

@@ -23,8 +23,11 @@
 POL_Wine_PrefixCreate "$WINEVERSION"
   
 POL_Call POL_Install_LunaTheme
+
+POL_SetupWindow_message "$(eval_gettext 'Please download the installer from reshade.com')" "$TITLE"
+POL_Browser "http://reshade.com"
   
-POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+POL_SetupWindow_InstallMethod "LOCAL"
   
 if [ $INSTALL_METHOD = "DOWNLOAD" ]
 then

Nouveau code source

#!/bin/bash
# Date : (2015-5-20 5:22 PM)
# Wine version used : 1.6.2
# Distributions used to test : Debian GNU/Linux 8.0 & Linux Mint 17.1
# Author : MTres19
  
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
PREFIX="Reshade_Enlarger"
TITLE="Reshade Image Enlarger"
WINEVERSION="1.6.2"
  
POL_GetSetupImages "https://824c862d9a2680948fa53baa62ee056ae123af01.googledrive.com/host/0B_iE50uqUIIbSmRRRHpqdk12Ync" "https://20b94d2646f03039a75fc555605ec5587cdb9349.googledrive.com/host/0B_iE50uqUIIbTEpvenN5akZwZ3c"
  
POL_SetupWindow_Init
POL_Debug_Init
POL_System_SetArch "x86"
  
POL_SetupWindow_presentation "Reshade Image Enlarger 3.0" "Reshade Ltd." "reshade.com" "MTres19" "$PREFIX"
  
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
  
POL_Call POL_Install_LunaTheme

POL_SetupWindow_message "$(eval_gettext 'Please download the installer from reshade.com')" "$TITLE"
POL_Browser "http://reshade.com"
  
POL_SetupWindow_InstallMethod "LOCAL"
  
if [ $INSTALL_METHOD = "DOWNLOAD" ]
then
  POL_System_TmpCreate "Reshade"
  cd "$POL_System_TmpDir"
  POL_Download "http://reshade.com/static/reshade-install.exe" "8786327bc7209134e9fad15f581fe0cc"
  POL_Wine "reshade-install.exe"
  POL_System_TmpDelete
elif [ $INSTALL_METHOD = "LOCAL" ]
then
  POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
  RESHADE_INSTALL="$APP_ANSWER"
  POL_Wine "$RESHADE_INSTALL"
fi
  
POL_Shortcut "reshade.exe" "Reshade"
  
POL_SetupWindow_Close
exit 0

Réponses

Vendredi 22 Mai 2015 à 4:00
Cool. We can always add it back later.
MTres19 Vendredi 22 Mai 2015 à 3:40
MTres19 Anonymous

Warning

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

Messages

- Removed cd "$POL_USER_ROOT"

Differences

@@ -0,0 +1,46 @@
+#!/bin/bash
+# Date : (2015-5-20 5:22 PM)
+# Wine version used : 1.6.2
+# Distributions used to test : Debian GNU/Linux 8.0 & Linux Mint 17.1
+# Author : MTres19
+  
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+  
+PREFIX="Reshade_Enlarger"
+TITLE="Reshade Image Enlarger"
+WINEVERSION="1.6.2"
+  
+POL_GetSetupImages "https://824c862d9a2680948fa53baa62ee056ae123af01.googledrive.com/host/0B_iE50uqUIIbSmRRRHpqdk12Ync" "https://20b94d2646f03039a75fc555605ec5587cdb9349.googledrive.com/host/0B_iE50uqUIIbTEpvenN5akZwZ3c"
+  
+POL_SetupWindow_Init
+POL_Debug_Init
+POL_System_SetArch "x86"
+  
+POL_SetupWindow_presentation "Reshade Image Enlarger 3.0" "Reshade Ltd." "reshade.com" "MTres19" "$PREFIX"
+  
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+  
+POL_Call POL_Install_LunaTheme
+  
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+  
+if [ $INSTALL_METHOD = "DOWNLOAD" ]
+then
+  POL_System_TmpCreate "Reshade"
+  cd "$POL_System_TmpDir"
+  POL_Download "http://reshade.com/static/reshade-install.exe" "8786327bc7209134e9fad15f581fe0cc"
+  POL_Wine "reshade-install.exe"
+  POL_System_TmpDelete
+elif [ $INSTALL_METHOD = "LOCAL" ]
+then
+  POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
+  RESHADE_INSTALL="$APP_ANSWER"
+  POL_Wine "$RESHADE_INSTALL"
+fi
+  
+POL_Shortcut "reshade.exe" "Reshade"
+  
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2015-5-20 5:22 PM)
# Wine version used : 1.6.2
# Distributions used to test : Debian GNU/Linux 8.0 & Linux Mint 17.1
# Author : MTres19
  
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
PREFIX="Reshade_Enlarger"
TITLE="Reshade Image Enlarger"
WINEVERSION="1.6.2"
  
POL_GetSetupImages "https://824c862d9a2680948fa53baa62ee056ae123af01.googledrive.com/host/0B_iE50uqUIIbSmRRRHpqdk12Ync" "https://20b94d2646f03039a75fc555605ec5587cdb9349.googledrive.com/host/0B_iE50uqUIIbTEpvenN5akZwZ3c"
  
POL_SetupWindow_Init
POL_Debug_Init
POL_System_SetArch "x86"
  
POL_SetupWindow_presentation "Reshade Image Enlarger 3.0" "Reshade Ltd." "reshade.com" "MTres19" "$PREFIX"
  
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
  
POL_Call POL_Install_LunaTheme
  
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
  
if [ $INSTALL_METHOD = "DOWNLOAD" ]
then
  POL_System_TmpCreate "Reshade"
  cd "$POL_System_TmpDir"
  POL_Download "http://reshade.com/static/reshade-install.exe" "8786327bc7209134e9fad15f581fe0cc"
  POL_Wine "reshade-install.exe"
  POL_System_TmpDelete
elif [ $INSTALL_METHOD = "LOCAL" ]
then
  POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
  RESHADE_INSTALL="$APP_ANSWER"
  POL_Wine "$RESHADE_INSTALL"
fi
  
POL_Shortcut "reshade.exe" "Reshade"
  
POL_SetupWindow_Close
exit 0

Réponses

Vendredi 22 Mai 2015 à 3:44
Looks good. Approved. I am about to try it in a few minutes. :)
Vendredi 22 Mai 2015 à 3:46
It is throwing an MD5 mismatch. When downloading.
Anonymous
Vendredi 22 Mai 2015 à 3:48
Uh oh... Did it appear to take less than a second to download?
Anonymous
Vendredi 22 Mai 2015 à 3:49
I had that problem while I was testing it, so I reported it on the bugs page at https://www.playonlinux.com/en/issue-5072.html
Vendredi 22 Mai 2015 à 3:54
OK, so, I was assuming that this was tested as working thoroughly... Before scripts are submitted, they always need to be tested working completely. Please correct the script to disable the download option until that issue is resolved.
MTres19 Vendredi 22 Mai 2015 à 3:33
MTres19 Anonymous

Warning

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

Differences

@@ -0,0 +1,48 @@
+#!/bin/bash
+# Date : (2015-5-20 5:22 PM)
+# Wine version used : 1.6.2
+# Distributions used to test : Debian GNU/Linux 8.0 & Linux Mint 17.1
+# Author : MTres19
+ 
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+PREFIX="Reshade_Enlarger"
+TITLE="Reshade Image Enlarger"
+WINEVERSION="1.6.2"
+ 
+POL_GetSetupImages "https://824c862d9a2680948fa53baa62ee056ae123af01.googledrive.com/host/0B_iE50uqUIIbSmRRRHpqdk12Ync" "https://20b94d2646f03039a75fc555605ec5587cdb9349.googledrive.com/host/0B_iE50uqUIIbTEpvenN5akZwZ3c"
+ 
+POL_SetupWindow_Init
+POL_Debug_Init
+POL_System_SetArch "x86"
+ 
+POL_SetupWindow_presentation "Reshade Image Enlarger 3.0" "Reshade Ltd." "reshade.com" "MTres19" "$PREFIX"
+ 
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+ 
+POL_Call POL_Install_LunaTheme
+ 
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+ 
+if [ $INSTALL_METHOD = "DOWNLOAD" ]
+then
+  POL_System_TmpCreate "Reshade"
+  cd "$POL_System_TmpDir"
+  POL_Download "http://reshade.com/static/reshade-install.exe" "8786327bc7209134e9fad15f581fe0cc"
+  POL_Wine "reshade-install.exe"
+  POL_System_TmpDelete
+elif [ $INSTALL_METHOD = "LOCAL" ]
+then
+  POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
+  RESHADE_INSTALL="$APP_ANSWER"
+  POL_Wine "$RESHADE_INSTALL"
+fi
+ 
+cd "$POL_USER_ROOT"
+ 
+POL_Shortcut "reshade.exe" "Reshade"
+ 
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2015-5-20 5:22 PM)
# Wine version used : 1.6.2
# Distributions used to test : Debian GNU/Linux 8.0 & Linux Mint 17.1
# Author : MTres19
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
PREFIX="Reshade_Enlarger"
TITLE="Reshade Image Enlarger"
WINEVERSION="1.6.2"
 
POL_GetSetupImages "https://824c862d9a2680948fa53baa62ee056ae123af01.googledrive.com/host/0B_iE50uqUIIbSmRRRHpqdk12Ync" "https://20b94d2646f03039a75fc555605ec5587cdb9349.googledrive.com/host/0B_iE50uqUIIbTEpvenN5akZwZ3c"
 
POL_SetupWindow_Init
POL_Debug_Init
POL_System_SetArch "x86"
 
POL_SetupWindow_presentation "Reshade Image Enlarger 3.0" "Reshade Ltd." "reshade.com" "MTres19" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
 
POL_Call POL_Install_LunaTheme
 
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
 
if [ $INSTALL_METHOD = "DOWNLOAD" ]
then
  POL_System_TmpCreate "Reshade"
  cd "$POL_System_TmpDir"
  POL_Download "http://reshade.com/static/reshade-install.exe" "8786327bc7209134e9fad15f581fe0cc"
  POL_Wine "reshade-install.exe"
  POL_System_TmpDelete
elif [ $INSTALL_METHOD = "LOCAL" ]
then
  POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
  RESHADE_INSTALL="$APP_ANSWER"
  POL_Wine "$RESHADE_INSTALL"
fi
 
cd "$POL_USER_ROOT"
 
POL_Shortcut "reshade.exe" "Reshade"
 
POL_SetupWindow_Close
exit 0

Réponses

Vendredi 22 Mai 2015 à 3:34
One quick thing; is there a reason for the "cd $POL_USER_ROOT"?
Anonymous
Vendredi 22 Mai 2015 à 3:36
I wasn't sure if it would be good to delete the directory the script is in.
Anonymous
Vendredi 22 Mai 2015 à 3:38
That doesn't really make sense with POL_System_TmpDelete in the IF statement. I'll submit the fix as a contribution.