The forum

[Script] Torchlight 2 Steam

Author Replies
rcmn Saturday 16 March 2013 at 23:02
rcmnAnonymous

Game run perfectly.

Minor Cosmetic issue:disable shadows via settings within Torchlight to avoid dark spot. Does not effect game play.







Title: Torchlight II
Genre: Action, Adventure, RPG, Indie
Developer: Runic Games
Publisher: Runic Games   
Release Date: Sep 20, 2012
Languages: English

About the Game
The award-winning action RPG is back, bigger and better than ever! Torchlight II takes you back into the quirky, fast-paced world of bloodthirsty monsters, bountiful treasures, and sinister secrets - and, once again, the fate of the world is in your hands!

Torchlight II captures all the flavor and excitement of the original game - while expanding the world and adding the features players wanted most, including online and LAN co-op multiplayer. Torchlight II is fast, fun, and filled to the brim with action and loot. Adventure solo or online with your friends!

[code language=playonlinux]
#!/bin/bash
# Date : (2013-03-16 21:00)
# Last revision : (2013-03-16 21:00)
# Wine version used : 1.5.24
# Distribution used to test : Linux Mint 12 x64
# Author : rcmn
# Licence : Retail
# Only For : http://www.playonmac.com
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Torchlight2 Steam"
PREFIX="Torchlight2Steam"
EDITOR="Runic Games"
GAME_URL="Runic Games" "http://www.torchlight2game.com/"
AUTHOR="rcmn"
WORKING_WINE_VERSION="1.5.24"
GAME_VMS="512"
 
# Starting the script
#POL_GetSetupImages "http://files.playonlinux.com/resources/setups/torchlight2/top.jpg" "http://files.playonlinux.com/resources/setups/torchlight2/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"
 
# Choose between Digital Download version
POL_SetupWindow_InstallMethod "STEAM"
 
# Installing mandatory dependencies
POL_Call POL_Install_steam
POL_Call POL_Install_dxfullsetup
 
# Mandatory pre-install fix for steam
STEAM_ID="200710"
POL_Call POL_Install_steam_flags "$STEAM_ID"
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
 
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
 
## Fix for this game
# Sound problem fix - pulseaudio related
[ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
[ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
## End Fix
 
## Begin Common PlayOnMac Section ##
[ "$POL_OS" = "Mac" ] && Set_Managed "Off"
## End Section ##
 
# Making shortcut
POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID"
 
# Begin game installation
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        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"
fi
 
POL_SetupWindow_Close
exit 0
[/code]

disk SSD,video Nvidia Quadro 1000M,Proc Intel Core i7-2760QM CPU @ 2.40GHz × 8,Mem 4GB,Linux mint 14 x64,Gamepad for Xbox 360,PLAYSTATION 3 Controller

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 dmcayonlinux.com