fr

Changes for GOG.com - Dark Fall: The Journal

Revision by petch (04 May 2013 19:59:24)

@@ -1,7 +1,7 @@
 #!/bin/bash
 # Date : (2012-04-30 09-59)
-# Last revision : (2012-10-29 01-59)
-# Wine version used : 1.4
+# Last revision : (2013-05-04 19-26)
+# Wine version used : 1.4.1
 # Distribution used to test : Debian Sid (Unstable)
 # Author : Pierre Etchemaite pe-pol@concept-micro.com
 # Script licence : GPL v.2
@@ -13,7 +13,7 @@
 
 GOGID="dark_fall_the_journal"
 PREFIX="DarkfallTheJournal_gog"
-WORKING_WINE_VERSION="1.4"
+WORKING_WINE_VERSION="1.4.1"
 
 TITLE="GOG.com - Dark Fall: The Journal"
 SHORTCUT_NAME="Dark Fall: The Journal"
@@ -24,19 +24,14 @@
 POL_SetupWindow_SetID 1154
 POL_Debug_Init
 
-POL_SetupWindow_presentation "$TITLE" "XXv Productions / Nordic Games" "http://www.gog.com/en/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"
+POL_SetupWindow_presentation "$TITLE" "XXv Productions / Nordic Games" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"
 
 POL_Call POL_GoG_setup "$GOGID" "4589541fcfa043a6b87d20bf855af648"
 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
-# Prevent GoG installer from installing Acrobat Reader or Foxit in each prefix
-POL_Call POL_Function_SetNativeExtension "pdf"
-
-POL_Wine_WaitBefore "$TITLE"
-
-POL_Wine "$POL_GoG_location" || POL_Debug_Fatal "$(eval_gettext 'Error while installing archive')"
+POL_Call POL_GoG_install
 
 
 # GoG work!
@@ -48,9 +43,9 @@
 # Doesn't hurt ;)
 POL_Wine_reboot
 
-POL_Shortcut "darkfall.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" ""
+POL_Shortcut "darkfall.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;AdventureGame;"
 POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/$PROGRAMFILES/GOG.com/Dark Fall - The Journal/manual.pdf"
 
 POL_SetupWindow_Close
 
-exit
+exit 0

Revision by petch (28 October 2012 03:31:56)

@@ -1,6 +1,6 @@
 #!/bin/bash
 # Date : (2012-04-30 09-59)
-# Last revision : (2012-05-03 18-26)
+# Last revision : (2012-10-29 01-59)
 # Wine version used : 1.4
 # Distribution used to test : Debian Sid (Unstable)
 # Author : Pierre Etchemaite pe-pol@concept-micro.com
@@ -15,12 +15,13 @@
 PREFIX="DarkfallTheJournal_gog"
 WORKING_WINE_VERSION="1.4"
 
-TITLE="Dark Fall: The Journal (GoG release)"
+TITLE="GOG.com - Dark Fall: The Journal"
 SHORTCUT_NAME="Dark Fall: The Journal"
 
 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_SetupWindow_SetID 1154
 POL_Debug_Init
 
 POL_SetupWindow_presentation "$TITLE" "XXv Productions / Nordic Games" "http://www.gog.com/en/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"
@@ -30,14 +31,12 @@
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
-POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"
-
 # Prevent GoG installer from installing Acrobat Reader or Foxit in each prefix
 POL_Call POL_Function_SetNativeExtension "pdf"
 
-POL_Wine "$POL_GoG_location" || POL_Debug_Fatal "$(eval_gettext 'Error while installing archive')"
+POL_Wine_WaitBefore "$TITLE"
 
-POL_Wine_WaitExit "$TITLE"
+POL_Wine "$POL_GoG_location" || POL_Debug_Fatal "$(eval_gettext 'Error while installing archive')"
 
 
 # GoG work!

Revision by petch (03 May 2012 18:27:56)

@@ -1,6 +1,6 @@
 #!/bin/bash
 # Date : (2012-04-30 09-59)
-# Last revision : (2012-04-30 10-47)
+# Last revision : (2012-05-03 18-26)
 # Wine version used : 1.4
 # Distribution used to test : Debian Sid (Unstable)
 # Author : Pierre Etchemaite pe-pol@concept-micro.com
@@ -23,7 +23,7 @@
 POL_SetupWindow_Init
 POL_Debug_Init
 
-POL_SetupWindow_presentation "$TITLE" "Studio / Publisher" "http://www.gog.com/en/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"
+POL_SetupWindow_presentation "$TITLE" "XXv Productions / Nordic Games" "http://www.gog.com/en/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"
 
 POL_Call POL_GoG_setup "$GOGID" "4589541fcfa043a6b87d20bf855af648"
 

Revision by petch (30 April 2012 11:08:28)

@@ -0,0 +1,57 @@
+#!/bin/bash
+# Date : (2012-04-30 09-59)
+# Last revision : (2012-04-30 10-47)
+# Wine version used : 1.4
+# Distribution used to test : Debian Sid (Unstable)
+# Author : Pierre Etchemaite pe-pol@concept-micro.com
+# Script licence : GPL v.2
+# Program licence : Retail
+# Depend :
+
+[ -z "$PLAYONLINUX" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+GOGID="dark_fall_the_journal"
+PREFIX="DarkfallTheJournal_gog"
+WORKING_WINE_VERSION="1.4"
+
+TITLE="Dark Fall: The Journal (GoG release)"
+SHORTCUT_NAME="Dark Fall: The Journal"
+
+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" "Studio / Publisher" "http://www.gog.com/en/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"
+
+POL_Call POL_GoG_setup "$GOGID" "4589541fcfa043a6b87d20bf855af648"
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+
+POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"
+
+# Prevent GoG installer from installing Acrobat Reader or Foxit in each prefix
+POL_Call POL_Function_SetNativeExtension "pdf"
+
+POL_Wine "$POL_GoG_location" || POL_Debug_Fatal "$(eval_gettext 'Error while installing archive')"
+
+POL_Wine_WaitExit "$TITLE"
+
+
+# GoG work!
+Set_OS winxp
+
+# "SVGA 640x480 32bit color"?
+POL_SetupWindow_VMS "4"
+
+# Doesn't hurt ;)
+POL_Wine_reboot
+
+POL_Shortcut "darkfall.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" ""
+POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/$PROGRAMFILES/GOG.com/Dark Fall - The Journal/manual.pdf"
+
+POL_SetupWindow_Close
+
+exit
Il n'y a rien à voir ici