Reshade Image Enlarger

Informatie

Creator Bericht
MTres19 Anonymous

Warning

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

Informatie

Platforms:
Downloads: 6871
Wine: 1.6.2

Feedbacks

Omschrijving

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.

Schermafdrukken

Miniature

Broncode

#!/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 Bericht
Ronin DUSETTE Vrijdag 22 Mei 2015 om 4:05
Ronin DUSETTE

Information

This update has been approved by the team.

Bericht

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

Antwoorden

Vrijdag 22 Mei 2015 om 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 Vrijdag 22 Mei 2015 om 3:59
MTres19 Anonymous

Warning

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

Bericht

- 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

Antwoorden

Vrijdag 22 Mei 2015 om 4:00
Cool. We can always add it back later.
MTres19 Vrijdag 22 Mei 2015 om 3:40
MTres19 Anonymous

Warning

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

Bericht

- 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

Antwoorden

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

Antwoorden

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