Het forum

[Script] The Vanishing of Ethan Carter (Steam)

Auteur Antwoorden
plata Dinsdag 16 Augustus 2016 om 19:41
plata

The script installs The Vanishing of Ethan Carter for Steam.

Icons:

 

TheVanishingOfEthanCarter-48x48.png

https://ibin.co/2rmulDtfeQMv.png

 

TheVanishingOfEthanCarter-22x22.png

https://ibin.co/2rmv0WPoSdID.png

 

left.png

https://ibin.co/2rmvEG97l0st.png

 

top.png

https://ibin.co/2rmvOFaRQexP.png

 

#!/bin/bash
# Date : (2016-08-16 19-00)
# Last revision : (2016-08-16 19-00)
# Wine version used : 1.8.3
# Distribution used to test : Kubuntu 16.04 x64
# Author : plata
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="The Vanishing of Ethan Carter (Steam)"
PREFIX="TheVanishingOfEthanCarter"
WORKING_WINE_VERSION="1.8.3"
EDITOR="The Astronauts"
GAME_URL="http://ethancartergame.com/"
AUTHOR="plata"

# start 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"
 
# set prefix path
POL_Wine_SelectPrefix "$PREFIX"
 
# download wine if necessary and create prefix
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# install dependencies
POL_Call POL_Install_steam
 
# begin game installation
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine "steam.exe" steam://install/258520
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"
 
# create shortcut
POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/258520"
 
POL_SetupWindow_Close
exit 0

Aangepast door plata