Forums

[Script] Quantum Conundrum (Steam)

Auteur Réponses
plata Lundi 15 Aoüt 2016 à 19:48
plata

The script installs Quantum Conundrum for Steam.

Icons:

QuantumConundrum-48x48.png

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

QuantumConundrum-22x22.png

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

left.png

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

top.png

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

 

#!/bin/bash
# Date : (2016-08-14 19-30)
# Last revision : (2016-08-14 19-30)
# Wine version used : 1.8.3
# Distribution used to test : Kubuntu 16.04 x64
# Author : plata
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Quantum Conundrum (Steam)"
PREFIX="QuantumConundrum"
WORKING_WINE_VERSION="1.8.3"
EDITOR="Square Enix"
GAME_URL="http://store.steampowered.com/app/200010"
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_msvc90
POL_Call POL_Install_steam
 
# begin game installation
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine "steam.exe" steam://install/200010
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/200010"
 
POL_SetupWindow_Close
exit 0

Edité par plata

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 dmca-notice@playonlinux.com