Torchlight

Informations

Creator Message
Pavello Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 7008
Wine: 1.8.4

Feedbacks

Description

Single-player action RPG in Diablo style. Tree classes, randomly generated levels and loot. Explore mines beneath town of Torchlight with your pet dog, cat or ferret.

Note: released in 2009/2010 for Windows, this game received a Linux native version in 2012.

Wikipedia.

Screenshots

MiniatureMiniature

Source code

#!/bin/bash
# Date : (2016-09-07 14-00)
# Last revision : see changelog
# Wine version used : system
# Distribution used to test : Arch Linux x64
# Author : Pavello
# Script licence :
# Program licence : retail
# Depend :
#
# CHANGELOG
# [Dadu042] (2016-09-07 14-00)
#   First script.
# [Dadu042] (2019-12-31)
#   Wine 1.8.4 -> system


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Torchlight"
PREFIX="Torchlight"
EDITOR="Runic Games"
GAME_URL="Runic Games" "http://www.torchlightgame.com/"
AUTHOR="Pavello"
# WORKING_WINE_VERSION="1.8.4"
GAME_VMS="64"
  
# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
  
# Starting debugging API
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
  
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
  
# Downloading wine if necessary and creating prefix
POL_System_SetArch "auto"

POL_Wine_PrefixCreate
# POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
  
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
  
# Choose between Digital Download version
POL_SetupWindow_InstallMethod "STEAM,LOCAL"
  
# Installing mandatory dependencies
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Call POL_Install_vcrun2008
    POL_Call POL_Install_steam
    STEAM_ID="41500"
fi

## Begin Common PlayOnMac Section ##
[ "$POL_OS" = "Mac" ] && Set_Managed "Off"
## End Section ##
  
# Begin game installation
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        # Mandatory pre-install fix for Steam
        POL_Call POL_Install_steam_flags "$STEAM_ID"
        # Making shortcut
        POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID"
        # Steam install
        POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE"
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
        POL_Wine_WaitExit "$TITLE"
else
         # Asking then installing local copy of the game
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
        # Making shortcuts
        POL_Shortcut "Torchlight.exe" "$TITLE" "$TITLE.png" "" "Game;"
        POL_Shortcut_Document "$TITLE" "TorchlightManual.pdf"
fi

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Tuesday 31 December 2019 at 14:39
Dadu042

Information

This update has been approved by the team.

Differences

@@ -1,13 +1,20 @@
 #!/bin/bash
 # Date : (2016-09-07 14-00)
-# Last revision : (2016-09-11 20-40)
-# Wine version used : 1.8.4
+# Last revision : see changelog
+# Wine version used : system
 # Distribution used to test : Arch Linux x64
 # Author : Pavello
 # Script licence :
 # Program licence : retail
 # Depend :
-  
+#
+# CHANGELOG
+# [Dadu042] (2016-09-07 14-00)
+#   First script.
+# [Dadu042] (2019-12-31)
+#   Wine 1.8.4 -> system
+
+
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
   
@@ -16,7 +23,7 @@
 EDITOR="Runic Games"
 GAME_URL="Runic Games" "http://www.torchlightgame.com/"
 AUTHOR="Pavello"
-WORKING_WINE_VERSION="1.8.4"
+# WORKING_WINE_VERSION="1.8.4"
 GAME_VMS="64"
   
 # Starting the script
@@ -33,13 +40,15 @@
   
 # Downloading wine if necessary and creating prefix
 POL_System_SetArch "auto"
-POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
-# Asking about memory size of graphic card
-POL_SetupWindow_VMS $GAME_VMS
+POL_Wine_PrefixCreate
+# POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
   
 # Set Graphic Card information keys for wine
 POL_Wine_SetVideoDriver
+
+# Asking about memory size of graphic card
+POL_SetupWindow_VMS $GAME_VMS
   
 # Choose between Digital Download version
 POL_SetupWindow_InstallMethod "STEAM,LOCAL"
@@ -47,8 +56,8 @@
 # Installing mandatory dependencies
 if [ "$INSTALL_METHOD" == "STEAM" ]; then
 	POL_Call POL_Install_vcrun2008
-        POL_Call POL_Install_steam
-        STEAM_ID="41500"
+    POL_Call POL_Install_steam
+    STEAM_ID="41500"
 fi
 
 ## Begin Common PlayOnMac Section ##
@@ -74,7 +83,7 @@
         POL_Wine start /unix "$SETUP_EXE"
         POL_Wine_WaitExit "$TITLE"
         # Making shortcuts
-        POL_Shortcut "Torchlight.exe" "$TITLE" "$TITLE.png"
+        POL_Shortcut "Torchlight.exe" "$TITLE" "$TITLE.png" "" "Game;"
 	POL_Shortcut_Document "$TITLE" "TorchlightManual.pdf"
 fi
 

New source code

#!/bin/bash
# Date : (2016-09-07 14-00)
# Last revision : see changelog
# Wine version used : system
# Distribution used to test : Arch Linux x64
# Author : Pavello
# Script licence :
# Program licence : retail
# Depend :
#
# CHANGELOG
# [Dadu042] (2016-09-07 14-00)
#   First script.
# [Dadu042] (2019-12-31)
#   Wine 1.8.4 -> system


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Torchlight"
PREFIX="Torchlight"
EDITOR="Runic Games"
GAME_URL="Runic Games" "http://www.torchlightgame.com/"
AUTHOR="Pavello"
# WORKING_WINE_VERSION="1.8.4"
GAME_VMS="64"
  
# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
  
# Starting debugging API
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
  
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
  
# Downloading wine if necessary and creating prefix
POL_System_SetArch "auto"

POL_Wine_PrefixCreate
# POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
  
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
  
# Choose between Digital Download version
POL_SetupWindow_InstallMethod "STEAM,LOCAL"
  
# Installing mandatory dependencies
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Call POL_Install_vcrun2008
    POL_Call POL_Install_steam
    STEAM_ID="41500"
fi

## Begin Common PlayOnMac Section ##
[ "$POL_OS" = "Mac" ] && Set_Managed "Off"
## End Section ##
  
# Begin game installation
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        # Mandatory pre-install fix for Steam
        POL_Call POL_Install_steam_flags "$STEAM_ID"
        # Making shortcut
        POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID"
        # Steam install
        POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE"
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
        POL_Wine_WaitExit "$TITLE"
else
         # Asking then installing local copy of the game
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
        # Making shortcuts
        POL_Shortcut "Torchlight.exe" "$TITLE" "$TITLE.png" "" "Game;"
        POL_Shortcut_Document "$TITLE" "TorchlightManual.pdf"
fi

POL_SetupWindow_Close
exit 0

Replies

Pavello Tuesday 13 September 2016 at 15:51
Pavello Anonymous

Warning

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

Message

Description:

Single-player action RPG in Diablo style. Tree classes, randomly generated levels and loot. Explore mines beneath town of Torchlight with your pet dog, cat or ferret. Tested with Steam version and Humble Bundle installer.

Icons:

Torchlight-48x48.png

Torchlight-22x22.png

left.png

top.png

Screenshots:

 

Differences

@@ -0,0 +1,82 @@
+#!/bin/bash
+# Date : (2016-09-07 14-00)
+# Last revision : (2016-09-11 20-40)
+# Wine version used : 1.8.4
+# Distribution used to test : Arch Linux x64
+# Author : Pavello
+# Script licence :
+# Program licence : retail
+# Depend :
+  
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+  
+TITLE="Torchlight"
+PREFIX="Torchlight"
+EDITOR="Runic Games"
+GAME_URL="Runic Games" "http://www.torchlightgame.com/"
+AUTHOR="Pavello"
+WORKING_WINE_VERSION="1.8.4"
+GAME_VMS="64"
+  
+# Starting the script
+POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
+POL_SetupWindow_Init
+  
+# Starting debugging API
+POL_Debug_Init
+  
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+  
+# Setting prefix path
+POL_Wine_SelectPrefix "$PREFIX"
+  
+# Downloading wine if necessary and creating prefix
+POL_System_SetArch "auto"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+
+# Asking about memory size of graphic card
+POL_SetupWindow_VMS $GAME_VMS
+  
+# Set Graphic Card information keys for wine
+POL_Wine_SetVideoDriver
+  
+# Choose between Digital Download version
+POL_SetupWindow_InstallMethod "STEAM,LOCAL"
+  
+# Installing mandatory dependencies
+if [ "$INSTALL_METHOD" == "STEAM" ]; then
+	POL_Call POL_Install_vcrun2008
+        POL_Call POL_Install_steam
+        STEAM_ID="41500"
+fi
+
+## Begin Common PlayOnMac Section ##
+[ "$POL_OS" = "Mac" ] && Set_Managed "Off"
+## End Section ##
+  
+# Begin game installation
+if [ "$INSTALL_METHOD" == "STEAM" ]; then
+        # Mandatory pre-install fix for Steam
+        POL_Call POL_Install_steam_flags "$STEAM_ID"
+        # Making shortcut
+        POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID"
+        # Steam install
+        POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE"
+        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+        POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
+        POL_Wine_WaitExit "$TITLE"
+else
+ 	# Asking then installing local copy of the game
+        cd "$HOME"
+        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+        SETUP_EXE="$APP_ANSWER"
+        POL_Wine start /unix "$SETUP_EXE"
+        POL_Wine_WaitExit "$TITLE"
+        # Making shortcuts
+        POL_Shortcut "Torchlight.exe" "$TITLE" "$TITLE.png"
+	POL_Shortcut_Document "$TITLE" "TorchlightManual.pdf"
+fi
+
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2016-09-07 14-00)
# Last revision : (2016-09-11 20-40)
# Wine version used : 1.8.4
# Distribution used to test : Arch Linux x64
# Author : Pavello
# Script licence :
# Program licence : retail
# Depend :
  
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Torchlight"
PREFIX="Torchlight"
EDITOR="Runic Games"
GAME_URL="Runic Games" "http://www.torchlightgame.com/"
AUTHOR="Pavello"
WORKING_WINE_VERSION="1.8.4"
GAME_VMS="64"
  
# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
  
# Starting debugging API
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
  
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
  
# Downloading wine if necessary and creating prefix
POL_System_SetArch "auto"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
  
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
  
# Choose between Digital Download version
POL_SetupWindow_InstallMethod "STEAM,LOCAL"
  
# Installing mandatory dependencies
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Call POL_Install_vcrun2008
        POL_Call POL_Install_steam
        STEAM_ID="41500"
fi

## Begin Common PlayOnMac Section ##
[ "$POL_OS" = "Mac" ] && Set_Managed "Off"
## End Section ##
  
# Begin game installation
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        # Mandatory pre-install fix for Steam
        POL_Call POL_Install_steam_flags "$STEAM_ID"
        # Making shortcut
        POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID"
        # Steam install
        POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE"
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
        POL_Wine_WaitExit "$TITLE"
else
         # Asking then installing local copy of the game
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
        # Making shortcuts
        POL_Shortcut "Torchlight.exe" "$TITLE" "$TITLE.png"
        POL_Shortcut_Document "$TITLE" "TorchlightManual.pdf"
fi

POL_SetupWindow_Close
exit 0

Replies