Hard Reset (Steam)

Informations

Creator Nachricht
Ruzvenbis Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 4470
Wine: 1.5.9-raw3

Feedbacks

Description

In the only remaining human city of Bezoar, Major Fletcher, an Army Combat Veteran and soldier of the CLN, is dragged into a conflict between two of mankind's greatest enemies. He is to discover that nothing is what it seems to be. Hard Reset is an action-packed, single-player shooter for the PC.

Source code

#!/bin/bash
# Date : (2013-06-24)
# Last revision : (2013-10-14)
# Wine version used : 1.5.9-raw3
# Distribution used to test : Linux Mint 15 x64
# Author : Ruzven

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Hard Reset (Steam)"
PREFIX="Hard_Reset"
WORKING_WINE_VERSION="1.5.9-raw3"
EDITOR="Flying Wild Hog,1C-SoftClub"
GAME_URL="http://www.hardresetgame.com/"
AUTHOR="Ruzven"
GAME_VMS="512"

# 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
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_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# Installing mandatory dependencies
POL_Call POL_Install_steam
POL_Wine_Direct3D "AlwaysOffScreen" "enabled"
POL_Wine_Direct3D "UseGLSL" "disabled"

# Begin game installation
POL_SetupWindow_menu "You want install with ?" "$TITLE" "Download on Steam Store-Steam Backup Restore" "-"
      
if [ "$APP_ANSWER" = "Download on Steam Store" ]
then
 
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine "steam.exe" steam://install/98400
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"
POL_Wine_WaitExit "$TITLE"
       
else
  
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine "steam.exe"
POL_SetupWindow_message "$(eval_gettext 'When $TITLE Restore by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue.')" "$TITLE"         
POL_Wine_WaitExit "$TITLE"
fi

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
 
# Making shortcut
POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/98400"

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Nachricht