Resource Hacker

Informations

Créateur Messages
Quentin PÂRIS Anonymous

Information

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

Informations

Plate-formes :
Téléchargements : 20221
Wine: 1.4

Retours d'expérience

Description

A freeware resource compiler & decompiler for Windows applications.

Website.

Code source

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

Contribuer
Membre Messages
andykimpe Vendredi 21 Octobre 2022 à 13:54
andykimpe Anonymous

Warning

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

Differences

@@ -4,13 +4,16 @@
 # [SuperPlumus] (2013-06-27 11-52)
 # [kmiksi] (2016-02-23 13-00)
 #   Clean Code
+# [andykimpe] (2022-10-21)
+#   md5 update set os win7 update wine version
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 TITLE="Resource Hacker"
 PREFIX="ResourceHacker"
-WORKING_WINE_VERSION="1.4"
+WORKING_WINE_VERSION="7.0"
+
 
 EDITOR="Resource Hacker"
 EDITOR_URL="http://www.angusj.com/resourcehacker/"
@@ -22,12 +25,13 @@
 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+Set_OS "win7"
 
 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_Download "http://www.angusj.com/resourcehacker/reshacker_setup.exe" "e846ef7353af351ad4a6e1d49638b500"
 
 POL_Wine_WaitBefore "$TITLE"
 POL_Wine reshacker_setup.exe

Nouveau code source

#!/bin/bash

# CHANGELOG
# [SuperPlumus] (2013-06-27 11-52)
# [kmiksi] (2016-02-23 13-00)
#   Clean Code
# [andykimpe] (2022-10-21)
#   md5 update set os win7 update wine version

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

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


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"
Set_OS "win7"

POL_Call POL_Install_LunaTheme

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

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

POL_Shortcut "ResourceHacker.exe"  "$TITLE"

POL_SetupWindow_Close
exit 0

Réponses

kmiksi Mardi 23 Février 2016 à 17:07
kmiksi Anonymous

Information

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

Messages

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

Nouveau code source

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

Réponses

kmiksi Mardi 23 Février 2016 à 17:02
kmiksi Anonymous

Warning

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

Messages

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

Nouveau code source

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

Réponses

Anonymous
Mardi 23 Février 2016 à 17:09
Ignore this submission, this have a wrong prefix name.... :P
petch Samedi 7 Novembre 2015 à 18:50
petch

Warning

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

Messages

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

Nouveau code source

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

Réponses

Samedi 7 Novembre 2015 à 18:56
(seems to crash)
Anonymous
Mardi 23 Février 2016 à 17:09
I have submitted a new path that works ;)