Reshade Image Enlarger

Informations

Creator Message
MTres19 Anonymous

Warning

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

Informations

Platforms:
Downloads: 4335
Wine: 1.6.2

Feedbacks

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.

Screenshots

Miniature

Source code

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

Contribute
Member Message
Ronin DUSETTE Friday 22 May 2015 at 4:05
Ronin DUSETTE
Admin

Information

This update has been approved by the team.

Message

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"

New source code

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

Replies

Friday 22 May 2015 at 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 Friday 22 May 2015 at 3:59
MTres19 Anonymous

Warning

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

Message

- 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

New source code

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

Replies

Friday 22 May 2015 at 4:00
Cool. We can always add it back later.
MTres19 Friday 22 May 2015 at 3:40
MTres19 Anonymous

Warning

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

Message

- 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

New source code

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

Replies

Friday 22 May 2015 at 3:44
Looks good. Approved. I am about to try it in a few minutes. :)
Friday 22 May 2015 at 3:46
It is throwing an MD5 mismatch. When downloading.
Anonymous
Friday 22 May 2015 at 3:48
Uh oh... Did it appear to take less than a second to download?
Anonymous
Friday 22 May 2015 at 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
Friday 22 May 2015 at 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 Friday 22 May 2015 at 3:33
MTres19 Anonymous

Warning

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

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

New source code

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

Replies

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