GOG.com - Torchlight

Informations

Creator Message
petch

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 19503
Wine: 3.0.3

Feedbacks

Description

English: A single-player action RPG in the style of Diablo and Fame.
(updated for GOG installer v2)

GOG now has installers for Mac

Français : Un jeu d'action/RPG mono-joueur dans le style de Diablo et Fame.
(mis à jour pour l'installeur GOG v2)

GOG propose maintenant des installeurs pour Mac

Screenshots

MiniatureMiniatureMiniature

Source code

#!/bin/bash
# Date : (2012-09-01 22-32)
# Last revision : (2013-10-26 10-31)
# Wine version used : 
# Distribution used to test : Debian Sid (Unstable)
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
#
# CHANGELOG
# [Pierre Etchemaite] (2012-09-01 22-32)
#   Initial script.
# [Dadu042] (2020-04-09 19:30)
#   Wine 1.41 (outdated) -> 3.0.3 (not tested).

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

GOGID="torchlight"
PREFIX="Torchlight_gog"
WORKING_WINE_VERSION="3.0.3"

TITLE="GOG.com - Torchlight"
SHORTCUT_NAME="Torchlight"

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_SetupWindow_SetID 1386
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Runic Games Inc." "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "4b721e1b3da90f170d66f42e60a3fece"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_Install_vcrun2008
# Got one random crash without it...?
# POL_Call POL_Install_d3dx9

POL_Call POL_GoG_install


# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "64"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "Torchlight.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;RolePlaying;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Torchlight/TorchlightManual.pdf"

POL_SetupWindow_Close

exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Thursday 9 April 2020 at 21:41
Dadu042

Information

This update has been approved by the team.

Differences

@@ -1,19 +1,25 @@
 #!/bin/bash
 # Date : (2012-09-01 22-32)
 # Last revision : (2013-10-26 10-31)
-# Wine version used : 1.4.1
+# Wine version used : 
 # Distribution used to test : Debian Sid (Unstable)
 # Author : Pierre Etchemaite pe-pol@concept-micro.com
 # Script licence : GPL v.2
 # Program licence : Retail
 # Depend :
+#
+# CHANGELOG
+# [Pierre Etchemaite] (2012-09-01 22-32)
+#   Initial script.
+# [Dadu042] (2020-04-09 19:30)
+#   Wine 1.41 (outdated) -> 3.0.3 (not tested).
 
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 GOGID="torchlight"
 PREFIX="Torchlight_gog"
-WORKING_WINE_VERSION="1.4.1"
+WORKING_WINE_VERSION="3.0.3"
 
 TITLE="GOG.com - Torchlight"
 SHORTCUT_NAME="Torchlight"
@@ -51,4 +57,4 @@
 
 POL_SetupWindow_Close
 
-exit 0
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2012-09-01 22-32)
# Last revision : (2013-10-26 10-31)
# Wine version used : 
# Distribution used to test : Debian Sid (Unstable)
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
#
# CHANGELOG
# [Pierre Etchemaite] (2012-09-01 22-32)
#   Initial script.
# [Dadu042] (2020-04-09 19:30)
#   Wine 1.41 (outdated) -> 3.0.3 (not tested).

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

GOGID="torchlight"
PREFIX="Torchlight_gog"
WORKING_WINE_VERSION="3.0.3"

TITLE="GOG.com - Torchlight"
SHORTCUT_NAME="Torchlight"

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_SetupWindow_SetID 1386
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Runic Games Inc." "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "4b721e1b3da90f170d66f42e60a3fece"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_Install_vcrun2008
# Got one random crash without it...?
# POL_Call POL_Install_d3dx9

POL_Call POL_GoG_install


# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "64"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "Torchlight.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;RolePlaying;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Torchlight/TorchlightManual.pdf"

POL_SetupWindow_Close

exit 0

Replies

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com