Giana Sisters - Twisted Dreams

Informations

Creator Message
guigonyts

Warning

This installer is a beta script. It means that it might not work as expected

Informations

Platforms:
Downloads: 806
Wine: 1.5.8

Feedbacks

Description

Giana Sisters: Twisted Dreams is a blistering hardcore platformer with contrasting worlds. 2012. Wikipedia.
This script installs the game and some dependencies to make it work with minor bugs.

 

Game in sale on Steam. And on GOG (recommended).

Appdb.winehq.org

Source code

#!/bin/bash
# Last revision : (2015-11-06)
# Wine version used : 1.5.8
# Distribution used to test : Mint 17 64bits
# Author : guigonyts
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

WINEVERSION="1.5.8"
 
TITLE= "Giana Sisters - Twisted Dreams"
PREFIX="GianaSistersTD"
AUTHOR="guigonyts"
EDITOR="Black Forest"
GAME_URL="http://black-forest-games.com/"
  
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
#Version of wine that worked for me
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
 
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
 
#Install some dependencies
POL_Call POL_Install_xact
POL_Call POL_Install_wmp9
POL_Call POL_Install_mono28
 
#Selection of the setup program
POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"
 
POL_SetupWindow_wait
POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')" "$TITLE"
 
POL_SetupWindow_auto_shortcut
  
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
guigonyts Friday 12 June 2015 at 3:23
guigonyts

Information

This update has been approved by the team.

Differences

@@ -13,7 +13,7 @@
 PREFIX="GianaSistersTD"
 AUTHOR="guigonyts"
 EDITOR="Black Forest"
-GAME_URL="http://black-forest-games.com/games/giana-sisters-twisted-dreams.html"
+GAME_URL="http://black-forest-games.com/"
   
 POL_SetupWindow_Init
 POL_Debug_Init

New source code

#!/bin/bash
# Last revision : (2015-11-06)
# Wine version used : 1.5.8
# Distribution used to test : Mint 17 64bits
# Author : guigonyts
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

WINEVERSION="1.5.8"
 
TITLE= "Giana Sisters - Twisted Dreams"
PREFIX="GianaSistersTD"
AUTHOR="guigonyts"
EDITOR="Black Forest"
GAME_URL="http://black-forest-games.com/"
  
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
#Version of wine that worked for me
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
 
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
 
#Install some dependencies
POL_Call POL_Install_xact
POL_Call POL_Install_wmp9
POL_Call POL_Install_mono28
 
#Selection of the setup program
POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"
 
POL_SetupWindow_wait
POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')" "$TITLE"
 
POL_SetupWindow_auto_shortcut
  
POL_SetupWindow_Close
exit 0

Replies

Friday 12 June 2015 at 7:04
I am not sure about POL_SetupWindow_auto_shortcut... I actually haven't seen that before. lol.
Thursday 16 January 2020 at 23:50
Script approved.

Edited by Dadu042

guigonyts Friday 10 October 2014 at 16:08
guigonyts

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -0,0 +1,40 @@
+#!/bin/bash
+# Date : (2014-10-10)
+# Last revision : (2014-10-10)
+# Wine version used : 1.5.8
+# Distribution used to test : Mint 17 64bits
+# Author : RMA
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE= "Giana Sisters - Twisted Dreams"
+PREFIX="GianaSistersTD"
+ 
+POL_SetupWindow_Init
+POL_Debug_Init
+
+POL_SetupWindow_presentation "$TITLE" "Black Forest" "http://black-forest-games.com/games/giana-sisters-twisted-dreams.html" "RMA" "$PREFIX"
+
+#Version of wine that worked for me
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "1.5.8"
+
+POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
+
+#Install some dependencies
+POL_Call POL_Install_xact
+POL_Call POL_Install_wmp9
+POL_Call POL_Install_mono28
+
+#Selection of the setup program
+POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"
+POL_Wine start /unix "$APP_ANSWER"
+
+POL_SetupWindow_wait
+POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')" "$TITLE"
+
+POL_SetupWindow_auto_shortcut
+ 
+POL_SetupWindow_Close
+exit
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2014-10-10)
# Last revision : (2014-10-10)
# Wine version used : 1.5.8
# Distribution used to test : Mint 17 64bits
# Author : RMA

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

TITLE= "Giana Sisters - Twisted Dreams"
PREFIX="GianaSistersTD"
 
POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Black Forest" "http://black-forest-games.com/games/giana-sisters-twisted-dreams.html" "RMA" "$PREFIX"

#Version of wine that worked for me
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.5.8"

POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"

#Install some dependencies
POL_Call POL_Install_xact
POL_Call POL_Install_wmp9
POL_Call POL_Install_mono28

#Selection of the setup program
POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"
POL_Wine start /unix "$APP_ANSWER"

POL_SetupWindow_wait
POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')" "$TITLE"

POL_SetupWindow_auto_shortcut
 
POL_SetupWindow_Close
exit

Replies

Thursday 11 June 2015 at 22:41
It can be installed directly from steam, installing the dependences: xact, wmp9, wmp9/wmp10 and mono28. Working great!
Thursday 11 June 2015 at 23:02
This script is old but could still be used fixed and made to work if someone wanted to correct it.

You don't need to add "start /unix" after POL_Wine. That can be removed.

Line 40 should be "exit 0" instead of just "exit"

Instead of hard-coding the version of Wine in line 21, you should declare WINEVERSION="1.5.8" at the top near line 12, and then replace the Wine version in line 21 with $WINEVERSION

On line 37, it should be something like:

POL_Shortcut "app.exe" "$TITLE"

As for Steam, you can totally add Steam support. It is not hard at all. Here is an example of a script that gives you a choice between Steam and a local exe:

https://www.playonlinux.com/en/app-311-SimCity__4_Deluxe.html

If someone was so inclined, they could make those changes, test it well, and submit it, and we would have it in our repository. :)
Friday 12 June 2015 at 3:22
Hey, thanks for the tips. I just made minor changes till I download the game again and be able to test the steam support.