GOG.com - Banished

Informations

Créateur Messages
Okto Anonymous

Information

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

Informations

Plate-formes :
Téléchargements : 14982
Wine: 1.7.28

Retours d'expérience

Description

A strategy game produced by Shining Rock Software

Code source

#!/bin/bash
# Date : (2015-20-03 18-14)
# Wine version used : 1.7.28
# Distribution used to test : OpenSuse 13.2
# Author : Benjamin Hardy

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="GOG.com - Banished"
PREFIX="Banished"
#1.7.28 resolved dxgi.dll related launch crashes experieinced with 1.6.2
WINE_VERSION="1.7.28"
SHORTCUT_NAME="Banished"
GOGID="banished"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Shining Rock Software" "http://www.gog.com/gamecard/$GOGID" "Benjamin Hardy" "$PREFIX" 

POL_Call POL_GoG_setup "$GOGID" "fa64cd720db5e11a54cd31769ef3e1e5"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINE_VERSION"

POL_Call POL_GoG_install

#directX is required for audio
POL_Call POL_Install_dxfullsetup


POL_Wine_reboot

POL_Shortcut "Application.exe" "$SHORTCUT_NAME" "" "" "Game;StrategyGame;"

POL_SetupWindow_Close

exit 0 

Contributions

Filters:

Contribuer
Membre Messages
Okto Vendredi 30 Décembre 2016 à 0:57
Okto Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

This game has been updated since the script was written. The .exe has been changed to Application-x32.exe. This revised script uses the latest stable WINE release, and has an updated md5sum. dxfullsetup is still required for the audio to work.

Differences

@@ -1,16 +1,16 @@
 #!/bin/bash
 # Date : (2015-20-03 18-14)
-# Wine version used : 1.7.28
+# Revised : (2016-29-12 23:25)
+# Wine version used : 1.8.6
 # Distribution used to test : OpenSuse 13.2
 # Author : Benjamin Hardy
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
- 
+
 TITLE="GOG.com - Banished"
 PREFIX="Banished"
-#1.7.28 resolved dxgi.dll related launch crashes experieinced with 1.6.2
-WINE_VERSION="1.7.28"
+WINE_VERSION="1.8.6"
 SHORTCUT_NAME="Banished"
 GOGID="banished"
 
@@ -19,7 +19,7 @@
 
 POL_SetupWindow_presentation "$TITLE" "Shining Rock Software" "http://www.gog.com/gamecard/$GOGID" "Benjamin Hardy" "$PREFIX" 
 
-POL_Call POL_GoG_setup "$GOGID" "fa64cd720db5e11a54cd31769ef3e1e5"
+POL_Call POL_GoG_setup "$GOGID" "c1dcc1a2d1c8279bb8881b83ea811a71"
 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WINE_VERSION"
@@ -32,7 +32,7 @@
 
 POL_Wine_reboot
 
-POL_Shortcut "Application.exe" "$SHORTCUT_NAME" "" "" "Game;StrategyGame;"
+POL_Shortcut "Application-x32.exe" "$SHORTCUT_NAME" "" "" "Game;StrategyGame;"
 
 POL_SetupWindow_Close
 

Nouveau code source

#!/bin/bash
# Date : (2015-20-03 18-14)
# Revised : (2016-29-12 23:25)
# Wine version used : 1.8.6
# Distribution used to test : OpenSuse 13.2
# Author : Benjamin Hardy

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

TITLE="GOG.com - Banished"
PREFIX="Banished"
WINE_VERSION="1.8.6"
SHORTCUT_NAME="Banished"
GOGID="banished"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Shining Rock Software" "http://www.gog.com/gamecard/$GOGID" "Benjamin Hardy" "$PREFIX" 

POL_Call POL_GoG_setup "$GOGID" "c1dcc1a2d1c8279bb8881b83ea811a71"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINE_VERSION"

POL_Call POL_GoG_install

#directX is required for audio
POL_Call POL_Install_dxfullsetup


POL_Wine_reboot

POL_Shortcut "Application-x32.exe" "$SHORTCUT_NAME" "" "" "Game;StrategyGame;"

POL_SetupWindow_Close

exit 0 

Réponses

Okto Samedi 21 Mars 2015 à 2:01
Okto Anonymous

Information

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

Differences

@@ -0,0 +1,39 @@
+#!/bin/bash
+# Date : (2015-20-03 18-14)
+# Wine version used : 1.7.28
+# Distribution used to test : OpenSuse 13.2
+# Author : Benjamin Hardy
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+TITLE="GOG.com - Banished"
+PREFIX="Banished"
+#1.7.28 resolved dxgi.dll related launch crashes experieinced with 1.6.2
+WINE_VERSION="1.7.28"
+SHORTCUT_NAME="Banished"
+GOGID="banished"
+
+POL_SetupWindow_Init
+POL_Debug_Init
+
+POL_SetupWindow_presentation "$TITLE" "Shining Rock Software" "http://www.gog.com/gamecard/$GOGID" "Benjamin Hardy" "$PREFIX" 
+
+POL_Call POL_GoG_setup "$GOGID" "fa64cd720db5e11a54cd31769ef3e1e5"
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINE_VERSION"
+
+POL_Call POL_GoG_install
+
+#directX is required for audio
+POL_Call POL_Install_dxfullsetup
+
+
+POL_Wine_reboot
+
+POL_Shortcut "Application.exe" "$SHORTCUT_NAME" "" "" "Game;StrategyGame;"
+
+POL_SetupWindow_Close
+
+exit 0 

Nouveau code source

#!/bin/bash
# Date : (2015-20-03 18-14)
# Wine version used : 1.7.28
# Distribution used to test : OpenSuse 13.2
# Author : Benjamin Hardy

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="GOG.com - Banished"
PREFIX="Banished"
#1.7.28 resolved dxgi.dll related launch crashes experieinced with 1.6.2
WINE_VERSION="1.7.28"
SHORTCUT_NAME="Banished"
GOGID="banished"

POL_SetupWindow_Init
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Shining Rock Software" "http://www.gog.com/gamecard/$GOGID" "Benjamin Hardy" "$PREFIX" 

POL_Call POL_GoG_setup "$GOGID" "fa64cd720db5e11a54cd31769ef3e1e5"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINE_VERSION"

POL_Call POL_GoG_install

#directX is required for audio
POL_Call POL_Install_dxfullsetup


POL_Wine_reboot

POL_Shortcut "Application.exe" "$SHORTCUT_NAME" "" "" "Game;StrategyGame;"

POL_SetupWindow_Close

exit 0 

Réponses

Samedi 21 Mars 2015 à 9:34
Hi, using dxfullsetup may be a little heavy handed, can't audio be fixed with a component that installs just a subset of DirectX?
Anyway, the script looks good to me :)
Anonymous
Samedi 21 Mars 2015 à 18:21
Hi Petch, that's an interesting question. I have tried just directx9, dsound and directmusic, but none worked (the latter two as far as I know were depreciated some years back anyway, so less likely anyway). So, dxfullsetup must bring lots of stuff that isn't needed, but it does seem to be the only component that brings the essential part, whatever that is. I'd like to understand it better, but I'm not sure where to look next. Most the other directx components available to install through playonlinux seem to be related to graphics only - unless I'm mistaken?
Samedi 21 Mars 2015 à 18:23
Tried once to understand how the different components installing parts of DirectX were related together, and had to give up...
Anonymous
Samedi 21 Mars 2015 à 18:44
I have also tried deleting the dll overrides of a working installation in blocks, with the aim of eventually narrowing down to one or more essential dlls, but I ended up deleting them all and the sound still worked. For now at least, I'm out of ideas.
Anonymous
Vendredi 3 Novembre 2017 à 18:19
The sound is corrected with quartz driver and dswave.