Вы находитесь здесь

Форум

[Script] Ether One Redux (Steam)

Автор Replies
plata Saturday 3 September 2016 at 16:37
plata

The script installs Ether One Redux for Steam.

Icons:

EtherOneRedux-48x48.png

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

EtherOneRedux-22x22.png

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

left.png

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

top.png

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

 

Issues:

 

Hints:

  • Set steamwebhelper.exe to Windows XP to avoid constant crashes. (Can this be done in the POL script already?)

 

#!/bin/bash
# Date : (2016-09-03 16-30)
# Last revision : (2016-09-03 16-30)
# Wine version used : 1.9.18
# Distribution used to test : Kubuntu 16.04 x64
# Author : plata
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Ether One Redux (Steam)"
PREFIX="EtherOneRedux"
WORKING_WINE_VERSION="1.9.18"
EDITOR="White Paper Games"
GAME_URL="http://www.ether-game.com/"
AUTHOR="plata"

POL_System_SetArch "amd64"

# 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"

# use Windows 7
Set_OS "win7"

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

Edited by plata

Вы находитесь здесь: Index > Your creations. > [Script] Ether One Redux (Steam)