GOG.com - Banished

Informations

Creator Message
Okto Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 20804
Wine: 2.22

Feedbacks

Description

A strategy game produced by Shining Rock Software

Source code

#!/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
#
# CHANGELOG
# [Benjamin Hardy] (2015-20-03 18-14)
#   Initial script, for the GOG release.
# [Benjamin Hardy] (2016-29-12 23:25)
#   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.
# [Dadu042] (2020-01-25 11:10)
#   Wine 1.8.6 -> 2.22.

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

TITLE="GOG.com - Banished"
PREFIX="Banished"
WINE_VERSION="2.22"
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 

Contributions

Filters:

Contribute
Member Message
Dadu042 Saturday 25 January 2020 at 11:44
Dadu042

Information

This update has been approved by the team.

Differences

@@ -4,13 +4,21 @@
 # Wine version used : 1.8.6
 # Distribution used to test : OpenSuse 13.2
 # Author : Benjamin Hardy
+#
+# CHANGELOG
+# [Benjamin Hardy] (2015-20-03 18-14)
+#   Initial script, for the GOG release.
+# [Benjamin Hardy] (2016-29-12 23:25)
+#   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.
+# [Dadu042] (2020-01-25 11:10)
+#   Wine 1.8.6 -> 2.22.
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 TITLE="GOG.com - Banished"
 PREFIX="Banished"
-WINE_VERSION="1.8.6"
+WINE_VERSION="2.22"
 SHORTCUT_NAME="Banished"
 GOGID="banished"
 

New source code

#!/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
#
# CHANGELOG
# [Benjamin Hardy] (2015-20-03 18-14)
#   Initial script, for the GOG release.
# [Benjamin Hardy] (2016-29-12 23:25)
#   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.
# [Dadu042] (2020-01-25 11:10)
#   Wine 1.8.6 -> 2.22.

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

TITLE="GOG.com - Banished"
PREFIX="Banished"
WINE_VERSION="2.22"
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 

Replies

Okto Friday 30 December 2016 at 0:57
Okto Anonymous

Warning

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

Message

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
 

New source code

#!/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 

Replies

Saturday 25 January 2020 at 11:40
Script approved.
Okto Saturday 21 March 2015 at 2:01
Okto Anonymous

Warning

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

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 

New source code

#!/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 

Replies

Saturday 21 March 2015 at 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
Saturday 21 March 2015 at 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?
Saturday 21 March 2015 at 18:23
Tried once to understand how the different components installing parts of DirectX were related together, and had to give up...
Anonymous
Saturday 21 March 2015 at 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
Friday 3 November 2017 at 18:19
The sound is corrected with quartz driver and dswave.

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com