Script for PlayOnLinux (http://www.playonlinux.com/) to install the Tilde-One game "I Miss the Sunrise" (http://www.tilde-one.com/IMTS/).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Date : (2014-02-02 00-45) | |
# Last revision : (2014-02-07 01-45) | |
# Wine version used : 1.7.11 | |
# Distribution used to test : Ubuntu 13.10 Saucy Salamander | |
# Author : monban | |
# Script licence : Public Domain | |
# Program licence : Commercial | |
# Depend : | |
[ "$PLAYONLINUX" = "" ] && exit 0 | |
source "$PLAYONLINUX/lib/sources" | |
TITLE="I Miss the Sunrise" | |
PREFIX="imissthesunrise" | |
POL_SetupWindow_Init | |
POL_Debug_Init | |
POL_SetupWindow_presentation "$TITLE" "Tilde-One" "http://www.tilde-one.com/IMTS/" "monban" "$PREFIX" | |
POL_Wine_SelectPrefix "$PREFIX" | |
POL_Wine_PrefixCreate | |
POL_System_TmpCreate "$PREFIX" | |
POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL" | |
if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then | |
cd $POL_System_TmpDir | |
POL_Download "http://rpgmaker.net/content/games/2732/downloads/IMTS_Setup_24.exe" "7025979eb03e9a226e2dd742f0a02db6" | |
else | |
POL_SetupWindow_browse "Please select the IMTS setup file" "$TITLE" "IMTS_Setup_24.exe" | |
cp "$APP_ANSWER" "$POL_System_TmpDir/IMTS_Setup_24.exe" | |
fi | |
POL_Call POL_Install_directx9 | |
POL_Call POL_Install_dotnet20 | |
POL_Wine_WaitBefore "$TITLE" | |
POL_Wine "$POL_System_TmpDir/IMTS_Setup_24.exe" | |
POL_Wine_reboot | |
POL_Shortcut "Game.exe" "$TITLE" | |
POL_System_TmpDelete | |
POL_SetupWindow_Close | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment