Das Forum

[Script] Dr. Langeskov, The Tiger, and The Terribly Cursed Emerald: A Whirlwind Heist (Steam)

Autor Antworten
plata Saturday 1 October 2016 at 17:48
plata
Developer

The script installs Dr. Langeskov, The Tiger, and The Terribly Cursed Emerald: A Whirlwind Heist for Steam.

Icons:

DrLangeskov-48x48.png

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

DrLangeskov-22x22.png

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

left.png

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

top.png

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



#!/bin/bash
# Date : (2016-10-01 13-00)
# Last revision : (2016-10-01 13-00)
# Wine version used : 1.9.19
# Distribution used to test : Kubuntu 16.04 x64
# Author : plata
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Dr. Langeskov, The Tiger, and The Terribly Cursed Emerald: A Whirlwind Heist (Steam)"
PREFIX="DrLangeskov"
WORKING_WINE_VERSION="1.9.19"
EDITOR="Crows Crows Crows"
GAME_URL="http://store.steampowered.com/app/409160/"
AUTHOR="plata"
STEAM_APPID=409160
 
# 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"

Set_OS "winxp"

# install dependencies
POL_Call POL_Install_steam
 
# begin game installation
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine "steam.exe" steam://install/$STEAM_APPID
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" "" "-applaunch $STEAM_APPID -force-d3d9"
 
POL_SetupWindow_Close
exit 0