Driftmoon (demo)

Informations

Créateur Messages
hmdai

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 8188
Wine: 3.0.3

Retours d'expérience

Description

Independent top-down action RPG, 2013.
Publisher web page. Appdb.winehq.org

This script can download automatically the game. If you are satisfied with the game, you could purchase through the game or their website. The game can automatically upgrade itself.

Captures d'écran

Miniature

Code source

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

# CHANGELOG
# [Dadu042] (2012-11-24)
#   hmdai.
# [Dadu042] (2019-11-01)
#   Wine 1.5.5 -> 3.0.3 (latest supported by POL 4.2.12)
#   Used game v1.016 (got from automatic download)


# KNOWN ISSUES:
#  - Wine amd64 3.0.3: missing text on the two buttons of the first window (Play Demo / Get Full Version). Fix: Wine 4.0.2



[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
PREFIX="Driftmoon"
WORKING_WINE_VERSION="3.0.3"
 
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_RequiredVersion "4.2.12" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"

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" "" "" "Game;RoleGame;"
 
# Clean up
POL_System_TmpDelete
 
POL_SetupWindow_Close
 
exit

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Vendredi 1 Novembre 2019 à 20:06
Dadu042

Information

Cette mise à jour a été acceptée par l'équipe

Messages

I set: [x] Free to play.

Differences

@@ -1,38 +1,53 @@
 #!/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
+# Last revision : (2019-11-01)
+# Wine version used : 3.0.3
+# Distribution used to test : Ubuntu 19.04 amd64
 # Author : hmdai (Based on Deponia DC script by Kweepeer and PDF-XChange Viewer by Fredo)
 # Script licence : GPL v.2
 # Program licence : Retail
 # Depend :
 
+# CHANGELOG
+# [Dadu042] (2012-11-24)
+#   hmdai.
+# [Dadu042] (2019-11-01)
+#   Wine 1.5.5 -> 3.0.3 (latest supported by POL 4.2.12)
+#   Used game v1.016 (got from automatic download)
+
+
+# KNOWN ISSUES:
+#  - Wine amd64 3.0.3: missing text on the two buttons of the first window (Play Demo / Get Full Version). Fix: Wine 4.0.2
+
+
+
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 PREFIX="Driftmoon"
-WORKING_WINE_VERSION="1.5.5"
-
+WORKING_WINE_VERSION="3.0.3"
+ 
 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_RequiredVersion "4.2.12" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
+
 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"
@@ -43,21 +58,21 @@
     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" "" ""
-
+ 
+POL_Shortcut "Driftmoon.exe" "$SHORTCUT_NAME" "" "" "Game;RoleGame;"
+ 
 # Clean up
 POL_System_TmpDelete
-
+ 
 POL_SetupWindow_Close
-
+ 
 exit
\ No newline at end of file

Nouveau code source

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

# CHANGELOG
# [Dadu042] (2012-11-24)
#   hmdai.
# [Dadu042] (2019-11-01)
#   Wine 1.5.5 -> 3.0.3 (latest supported by POL 4.2.12)
#   Used game v1.016 (got from automatic download)


# KNOWN ISSUES:
#  - Wine amd64 3.0.3: missing text on the two buttons of the first window (Play Demo / Get Full Version). Fix: Wine 4.0.2



[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
PREFIX="Driftmoon"
WORKING_WINE_VERSION="3.0.3"
 
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_RequiredVersion "4.2.12" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"

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" "" "" "Game;RoleGame;"
 
# Clean up
POL_System_TmpDelete
 
POL_SetupWindow_Close
 
exit

Réponses

Edité par Dadu042