Resource Hacker

Informations

Creator Message
Quentin PÂRIS
Admin

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 14050
Wine: 1.4

Feedbacks

Source code

#!/bin/bash

# CHANGELOG
# [SuperPlumus] (2013-06-27 11-52)
# [kmiksi] (2016-02-23 13-00)
#   Clean Code

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Resource Hacker"
PREFIX="ResourceHacker"
WORKING_WINE_VERSION="1.4"

EDITOR="Resource Hacker"
EDITOR_URL="http://www.angusj.com/resourcehacker/"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$EDITOR_URL" "Tinou" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_Install_LunaTheme

cd "$WINEPREFIX/drive_c"
test -e reshacker_setup.exe ||
POL_Download "http://www.angusj.com/resourcehacker/reshacker_setup.exe" "f2e04857b30ed7c6a5f3a7e72b772e56"

POL_Wine_WaitBefore "$TITLE"
POL_Wine reshacker_setup.exe
POL_Wine_WaitExit "$TITLE"

POL_Shortcut "ResourceHacker.exe"  "$TITLE"

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
kmiksi Tuesday 23 February 2016 at 17:07
kmiksi Anonymous

Information

This update has been approved by the team.

Message

Fixed url, md5, installer name and app executable name, that have changed due to an version update.

Differences

@@ -2,6 +2,7 @@
 
 # CHANGELOG
 # [SuperPlumus] (2013-06-27 11-52)
+# [kmiksi] (2016-02-23 13-00)
 #   Clean Code
 
 [ "$PLAYONLINUX" = "" ] && exit 0
@@ -25,13 +26,14 @@
 POL_Call POL_Install_LunaTheme
 
 cd "$WINEPREFIX/drive_c"
-POL_Download "http://www.angusj.com/resourcehacker/reshack_setup.exe" "a513eacd766673290f1204f467590b7c"
+test -e reshacker_setup.exe ||
+POL_Download "http://www.angusj.com/resourcehacker/reshacker_setup.exe" "f2e04857b30ed7c6a5f3a7e72b772e56"
 
 POL_Wine_WaitBefore "$TITLE"
-POL_Wine reshack_setup.exe
+POL_Wine reshacker_setup.exe
 POL_Wine_WaitExit "$TITLE"
 
-POL_Shortcut "ResHacker.exe"  "$TITLE"
+POL_Shortcut "ResourceHacker.exe"  "$TITLE"
 
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

New source code

#!/bin/bash

# CHANGELOG
# [SuperPlumus] (2013-06-27 11-52)
# [kmiksi] (2016-02-23 13-00)
#   Clean Code

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Resource Hacker"
PREFIX="ResourceHacker"
WORKING_WINE_VERSION="1.4"

EDITOR="Resource Hacker"
EDITOR_URL="http://www.angusj.com/resourcehacker/"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$EDITOR_URL" "Tinou" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_Install_LunaTheme

cd "$WINEPREFIX/drive_c"
test -e reshacker_setup.exe ||
POL_Download "http://www.angusj.com/resourcehacker/reshacker_setup.exe" "f2e04857b30ed7c6a5f3a7e72b772e56"

POL_Wine_WaitBefore "$TITLE"
POL_Wine reshacker_setup.exe
POL_Wine_WaitExit "$TITLE"

POL_Shortcut "ResourceHacker.exe"  "$TITLE"

POL_SetupWindow_Close
exit 0

Replies

kmiksi Tuesday 23 February 2016 at 17:02
kmiksi Anonymous

Warning

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

Message

The url, md5, installer name and app executable name have changed due to an version update.

I am submitting my corrections.

Differences

@@ -2,13 +2,14 @@
 
 # CHANGELOG
 # [SuperPlumus] (2013-06-27 11-52)
+# [kmiksi] (2016-02-23 13-00)
 #   Clean Code
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 TITLE="Resource Hacker"
-PREFIX="ResourceHacker"
+PREFIX="ResourceHacker2"
 WORKING_WINE_VERSION="1.4"
 
 EDITOR="Resource Hacker"
@@ -25,13 +26,14 @@
 POL_Call POL_Install_LunaTheme
 
 cd "$WINEPREFIX/drive_c"
-POL_Download "http://www.angusj.com/resourcehacker/reshack_setup.exe" "a513eacd766673290f1204f467590b7c"
+test -e reshacker_setup.exe ||
+POL_Download "http://www.angusj.com/resourcehacker/reshacker_setup.exe" "f2e04857b30ed7c6a5f3a7e72b772e56"
 
 POL_Wine_WaitBefore "$TITLE"
-POL_Wine reshack_setup.exe
+POL_Wine reshacker_setup.exe
 POL_Wine_WaitExit "$TITLE"
 
-POL_Shortcut "ResHacker.exe"  "$TITLE"
+POL_Shortcut "ResourceHacker.exe"  "$TITLE"
 
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

New source code

#!/bin/bash

# CHANGELOG
# [SuperPlumus] (2013-06-27 11-52)
# [kmiksi] (2016-02-23 13-00)
#   Clean Code

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Resource Hacker"
PREFIX="ResourceHacker2"
WORKING_WINE_VERSION="1.4"

EDITOR="Resource Hacker"
EDITOR_URL="http://www.angusj.com/resourcehacker/"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$EDITOR_URL" "Tinou" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_Install_LunaTheme

cd "$WINEPREFIX/drive_c"
test -e reshacker_setup.exe ||
POL_Download "http://www.angusj.com/resourcehacker/reshacker_setup.exe" "f2e04857b30ed7c6a5f3a7e72b772e56"

POL_Wine_WaitBefore "$TITLE"
POL_Wine reshacker_setup.exe
POL_Wine_WaitExit "$TITLE"

POL_Shortcut "ResourceHacker.exe"  "$TITLE"

POL_SetupWindow_Close
exit 0

Replies

Anonymous
Tuesday 23 February 2016 at 17:09
Ignore this submission, this have a wrong prefix name.... :P
petch Saturday 7 November 2015 at 18:50
petch
Developer

Warning

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

Message

Update download URL

Differences

@@ -25,7 +25,7 @@
 POL_Call POL_Install_LunaTheme
 
 cd "$WINEPREFIX/drive_c"
-POL_Download "http://www.angusj.com/resourcehacker/reshack_setup.exe" "a513eacd766673290f1204f467590b7c"
+POL_Download "http://www.angusj.com/resourcehacker/reshacker_setup.exe" "f2e04857b30ed7c6a5f3a7e72b772e56"
 
 POL_Wine_WaitBefore "$TITLE"
 POL_Wine reshack_setup.exe

New source code

#!/bin/bash

# CHANGELOG
# [SuperPlumus] (2013-06-27 11-52)
#   Clean Code

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Resource Hacker"
PREFIX="ResourceHacker"
WORKING_WINE_VERSION="1.4"

EDITOR="Resource Hacker"
EDITOR_URL="http://www.angusj.com/resourcehacker/"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$EDITOR_URL" "Tinou" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_Install_LunaTheme

cd "$WINEPREFIX/drive_c"
POL_Download "http://www.angusj.com/resourcehacker/reshacker_setup.exe" "f2e04857b30ed7c6a5f3a7e72b772e56"

POL_Wine_WaitBefore "$TITLE"
POL_Wine reshack_setup.exe
POL_Wine_WaitExit "$TITLE"

POL_Shortcut "ResHacker.exe"  "$TITLE"

POL_SetupWindow_Close
exit 0

Replies

Saturday 7 November 2015 at 18:56
(seems to crash)
Anonymous
Tuesday 23 February 2016 at 17:09
I have submitted a new path that works ;)