Driftmoon

Informations

Creator Message
hmdai

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 4997
Wine: 1.5.5

Feedbacks

Description

Driftmoon is an indie RPG written by Instant Kingdom. It use an interesting "completely" top-down camera. Check the screenshot you will know what I mean

http://www.instantkingdom.com/driftmoon/

The script will download or install the demo into your system. If you are satisfied with the game, you could purchase through the game or their website. They will send a license code to your email and you can use it to unlock the game. The current game version is 0.903 and it will automatically install the update once it is available (Internet is required for this feature).

Source code

#!/bin/bash
# Date : (2012-11-24 21:30)
# Last revision : (2012-11-24 21:30)
# Wine version used : 1.5.5
# Distribution used to test : OpenSuSE 12.2 64-bit
# Author : hmdai (Based on Deponia DC script by Kweepeer and PDF-XChange Viewer by Fredo)
# Script licence : GPL v.2
# Program licence : Retail
# Depend :

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"

PREFIX="Driftmoon"
WORKING_WINE_VERSION="1.5.5"

TITLE="Driftmoon"
SHORTCUT_NAME="Driftmoon"

POL_GetSetupImages "" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

POL_SetupWindow_Init
POL_SetupWindow_SetID 1479
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Instant Kingdom" "http://www.instantkingdom.com/driftmoon/" "hmdai" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

Set_OS winxp

POL_SetupWindow_VMS "128"
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

if [ "$INSTALL_METHOD" == "DOWNLOAD" ]
then
   POL_System_TmpCreate "$TITLE"
   cd "$POL_System_TmpDir"
   POL_Download "http://www.instantkingdom.com/download/driftmoon.exe"
   INSTALLER="driftmoon.exe"
else
    POL_SetupWindow_browse "$(eval_gettext "Please select the setup file to run.")" "$TITLE"
    INSTALLER="$APP_ANSWER"
fi

# Installation in progress
POL_SetupWindow_WaitBefore "$TITLE"
POL_Debug_Message "Installing $TITLE from $INSTALLER."
POL_Wine start /unix "$INSTALLER"
POL_Wine_WaitExit "$TITLE"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "Driftmoon.exe" "$SHORTCUT_NAME" "" ""

# Clean up
POL_System_TmpDelete

POL_SetupWindow_Close

exit

Contributions

Filters:

Contribute
Member Message