Space Colony

Informations

Créateur Messages
LinuxScripter Anonymous

Information

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

Informations

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

Retours d'expérience

Description

Space Colony is a game released in 2003 by Firaxis Studios, most known for their Stronghold series. In this game you manage a colony on a distant planet. The personel is made out of many inviduals - each of them have diffirent needs and personality. The game consists of the main campain that let's you meet some of the characters that work for the Blackwater Industries - a somewhat shady space mining and exploration organization that is known for hiring social mishaps who weren't able to find a more safe job. Then the campain splits into two branches - peaceful and military. Other modes include the Galaxy mode which consists of many scenarios on difirent worlds, Sandbox mode and user levels.

As an manager of such place you need to make sure your colonists are satisfied so they can work longer, construct biodomes and place beds, showers, mesa halls and other facilities inside them. You must also ensure people inside your base are getting along - some of them can be very anit-social and may offen start fights with others which will negativly affect their health. Manage extraction of the planet's natural resources and sell them for profit. Protect the colony from alien lifeforms that range from simple bugs and aggresivly fast growing plants to inteligent space invaders and inter-dimensional beings.

The game recived two updates:

  • version 1.1 fixes the repair station along with some other minor bugfixes
  • version 1.2 is commonly known as HD update. It increases the max screen resolution and improves the graphics.

It also got released on Steam with all the updates included.

Code source

#!/bin/bash
# Date : (2018-01-24 23-45)
# Last revision : (2018-11-02 12-31)
# Wine version used : 3.0.3
# Distribution used to test : Ubuntu 18.10 x64
# Script licence : GPL3
# Program licence : Retail
  
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Space Colony"
PREFIX="SpaceColony"
WORKING_WINE_VERSION="3.0.3"
AUTHOR="LinuxScripter"
EDITOR="Firefly Studios"
GAME_URL="http://www.spacecolonyhd.com/"
GOGID="space_colony_hd"
  
POL_SetupWindow_Init
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"

POL_SetupWindows_message "$(eval_gettext 'The CD option is for an version of $TITLE that came on two CD-ROMs. DVD is for single disc.')" 
POL_SetupWindow_InstallMethod "DOWNLOAD,CD,STEAM,DVD"
if [ "$INSTALL_METHOD" == "DOWNLOAD" ]; then
        POL_Call POL_GoG_setup "$GOGID"
        POL_Call POL_GoG_install
elif [ "$INSTALL_METHOD" == "STEAM" ];then
        POL_Call POL_Install_steam
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine "steam.exe" steam://install/297920
        POL_Wine_WaitBefore "$TITLE"
elif [ "$INSTALL_METHOD" == "DVD" ]; then
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Disk1/setup.inx"
        POL_Wine start /unix "$CDROM/Disk1/setup.exe"
        POL_Wine_WaitExit "setup.exe"
        cd "$POL_System_TmpDir"
        POL_Download "https://d1ztm8591kdhlc.cloudfront.net/hdpatches/Space_Colony_HD_Update.exe" "C821E5C7035B9B517823466F4CEDADD3"
        POL_Wine start /unix "Space_Colony_HD_Update.exe"
        POL_Wine_WaitExit "Space_Colony_HD_Update.exe"
else
        #CD-ROM 1
        POL_SetupWindow_message "$(eval_gettext 'Please insert CD 1.')"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Disk1/setup.inx"
        cd "$WINEPREFIX/dosdevices"
        rm "d::"
        ln -s "$CDROM" "d:"
        cd "$CDROM"
        POL_Wine "$CDROM/Disk1/setup.exe"
        POL_SetupWindow_message "$(eval_gettext 'When the game setup will ask for next disk\nclick on "Next".')"
        #CD-ROM 2
        POL_SetupWindow_message "$(eval_gettext 'Please insert CD 2.')"
        POL_SetupWindow_cdrom
        cd "$WINEPREFIX/dosdevices"
        rm "d:"
        ln -s "$CDROM" "d:"
        cd "$POL_System_TmpDir"
        POL_Download "https://d1ztm8591kdhlc.cloudfront.net/hdpatches/Space_Colony_HD_Update.exe" "C821E5C7035B9B517823466F4CEDADD3"
        POL_Wine start /unix "Space_Colony_HD_Update.exe"
        POL_Wine_WaitExit "Space_Colony_HD_Update.exe" 

fi
 
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/297920"
else
        POL_Shortcut "Space Colony.exe" "$TITLE" "" "Game;StrategyGame;"
fi
 
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribuer
Membre Messages
LinuxScripter Vendredi 2 Novembre 2018 à 13:56
LinuxScripter Anonymous

Information

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

Messages

Added an experimental support for the version of the game which was apparently sold on France on two CD-ROMs.

Differences

@@ -0,0 +1,81 @@
+#!/bin/bash
+# Date : (2018-01-24 23-45)
+# Last revision : (2018-11-02 12-31)
+# Wine version used : 3.0.3
+# Distribution used to test : Ubuntu 18.10 x64
+# Script licence : GPL3
+# Program licence : Retail
+  
+[ -z "$PLAYONLINUX" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+TITLE="Space Colony"
+PREFIX="SpaceColony"
+WORKING_WINE_VERSION="3.0.3"
+AUTHOR="LinuxScripter"
+EDITOR="Firefly Studios"
+GAME_URL="http://www.spacecolonyhd.com/"
+GOGID="space_colony_hd"
+  
+POL_SetupWindow_Init
+POL_Debug_Init
+  
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+ 
+POL_Wine_SelectPrefix "$PREFIX"
+POL_System_SetArch "x86"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+POL_System_TmpCreate "$TITLE"
+
+POL_SetupWindows_message "$(eval_gettext 'The CD option is for an version of $TITLE that came on two CD-ROMs. DVD is for single disc.')" 
+POL_SetupWindow_InstallMethod "DOWNLOAD,CD,STEAM,DVD"
+if [ "$INSTALL_METHOD" == "DOWNLOAD" ]; then
+        POL_Call POL_GoG_setup "$GOGID"
+        POL_Call POL_GoG_install
+elif [ "$INSTALL_METHOD" == "STEAM" ];then
+        POL_Call POL_Install_steam
+        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+        POL_Wine "steam.exe" steam://install/297920
+        POL_Wine_WaitBefore "$TITLE"
+elif [ "$INSTALL_METHOD" == "DVD" ]; then
+        POL_SetupWindow_cdrom
+        POL_SetupWindow_check_cdrom "Disk1/setup.inx"
+        POL_Wine start /unix "$CDROM/Disk1/setup.exe"
+        POL_Wine_WaitExit "setup.exe"
+        cd "$POL_System_TmpDir"
+        POL_Download "https://d1ztm8591kdhlc.cloudfront.net/hdpatches/Space_Colony_HD_Update.exe" "C821E5C7035B9B517823466F4CEDADD3"
+        POL_Wine start /unix "Space_Colony_HD_Update.exe"
+        POL_Wine_WaitExit "Space_Colony_HD_Update.exe"
+else
+        #CD-ROM 1
+        POL_SetupWindow_message "$(eval_gettext 'Please insert CD 1.')"
+        POL_SetupWindow_cdrom
+        POL_SetupWindow_check_cdrom "Disk1/setup.inx"
+        cd "$WINEPREFIX/dosdevices"
+        rm "d::"
+        ln -s "$CDROM" "d:"
+        cd "$CDROM"
+        POL_Wine "$CDROM/Disk1/setup.exe"
+        POL_SetupWindow_message "$(eval_gettext 'When the game setup will ask for next disk\nclick on "Next".')"
+        #CD-ROM 2
+        POL_SetupWindow_message "$(eval_gettext 'Please insert CD 2.')"
+        POL_SetupWindow_cdrom
+        cd "$WINEPREFIX/dosdevices"
+        rm "d:"
+        ln -s "$CDROM" "d:"
+        cd "$POL_System_TmpDir"
+        POL_Download "https://d1ztm8591kdhlc.cloudfront.net/hdpatches/Space_Colony_HD_Update.exe" "C821E5C7035B9B517823466F4CEDADD3"
+        POL_Wine start /unix "Space_Colony_HD_Update.exe"
+        POL_Wine_WaitExit "Space_Colony_HD_Update.exe" 
+
+fi
+ 
+if [ "$INSTALL_METHOD" == "STEAM" ]; then
+        POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/297920"
+else
+        POL_Shortcut "Space Colony.exe" "$TITLE" "" "Game;StrategyGame;"
+fi
+ 
+POL_System_TmpDelete
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2018-01-24 23-45)
# Last revision : (2018-11-02 12-31)
# Wine version used : 3.0.3
# Distribution used to test : Ubuntu 18.10 x64
# Script licence : GPL3
# Program licence : Retail
  
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Space Colony"
PREFIX="SpaceColony"
WORKING_WINE_VERSION="3.0.3"
AUTHOR="LinuxScripter"
EDITOR="Firefly Studios"
GAME_URL="http://www.spacecolonyhd.com/"
GOGID="space_colony_hd"
  
POL_SetupWindow_Init
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"

POL_SetupWindows_message "$(eval_gettext 'The CD option is for an version of $TITLE that came on two CD-ROMs. DVD is for single disc.')" 
POL_SetupWindow_InstallMethod "DOWNLOAD,CD,STEAM,DVD"
if [ "$INSTALL_METHOD" == "DOWNLOAD" ]; then
        POL_Call POL_GoG_setup "$GOGID"
        POL_Call POL_GoG_install
elif [ "$INSTALL_METHOD" == "STEAM" ];then
        POL_Call POL_Install_steam
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine "steam.exe" steam://install/297920
        POL_Wine_WaitBefore "$TITLE"
elif [ "$INSTALL_METHOD" == "DVD" ]; then
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Disk1/setup.inx"
        POL_Wine start /unix "$CDROM/Disk1/setup.exe"
        POL_Wine_WaitExit "setup.exe"
        cd "$POL_System_TmpDir"
        POL_Download "https://d1ztm8591kdhlc.cloudfront.net/hdpatches/Space_Colony_HD_Update.exe" "C821E5C7035B9B517823466F4CEDADD3"
        POL_Wine start /unix "Space_Colony_HD_Update.exe"
        POL_Wine_WaitExit "Space_Colony_HD_Update.exe"
else
        #CD-ROM 1
        POL_SetupWindow_message "$(eval_gettext 'Please insert CD 1.')"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Disk1/setup.inx"
        cd "$WINEPREFIX/dosdevices"
        rm "d::"
        ln -s "$CDROM" "d:"
        cd "$CDROM"
        POL_Wine "$CDROM/Disk1/setup.exe"
        POL_SetupWindow_message "$(eval_gettext 'When the game setup will ask for next disk\nclick on "Next".')"
        #CD-ROM 2
        POL_SetupWindow_message "$(eval_gettext 'Please insert CD 2.')"
        POL_SetupWindow_cdrom
        cd "$WINEPREFIX/dosdevices"
        rm "d:"
        ln -s "$CDROM" "d:"
        cd "$POL_System_TmpDir"
        POL_Download "https://d1ztm8591kdhlc.cloudfront.net/hdpatches/Space_Colony_HD_Update.exe" "C821E5C7035B9B517823466F4CEDADD3"
        POL_Wine start /unix "Space_Colony_HD_Update.exe"
        POL_Wine_WaitExit "Space_Colony_HD_Update.exe" 

fi
 
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/297920"
else
        POL_Shortcut "Space Colony.exe" "$TITLE" "" "Game;StrategyGame;"
fi
 
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Réponses

Jeudi 1 Aoüt 2019 à 23:41
Approved.
LinuxScripter Mardi 6 Février 2018 à 1:16
LinuxScripter Anonymous

Warning

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

Messages

Replaced local with GOG installer. Gives me thr 403 Forbidden error but that's because I dont have GOG version fo this game. Also added the checksum to the patch link.

Differences

@@ -0,0 +1,58 @@
+#!/bin/bash
+# Date : (2018-01-24 23-45)
+# Last revision : (2018-01-31 13-59)
+# Wine version used : 3.0
+# Distribution used to test : Ubuntu 18.04 x64
+# Script licence : GPL3
+# Program licence : Retail
+ 
+[ -z "$PLAYONLINUX" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="Space Colony" 
+PREFIX="SpaceColony"
+WORKING_WINE_VERSION="3.0"
+AUTHOR="LinuxScripter"
+EDITOR="Firefly Studios"
+GAME_URL="http://www.spacecolonyhd.com/"
+GOGID="space_colony_hd"
+ 
+POL_SetupWindow_Init
+POL_Debug_Init
+ 
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_System_SetArch "x86"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+POL_System_TmpCreate "$TITLE"
+
+POL_SetupWindow_InstallMethod "DOWNLOAD,CD,STEAM"
+if [ "$INSTALL_METHOD" == "DOWNLOAD" ]; then
+	POL_Call POL_GoG_setup "$GOGID" 
+	POL_Call POL_GoG_install
+elif [ "$INSTALL_METHOD" == "STEAM" ];then
+	POL_Call POL_Install_steam
+	cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+	POL_Wine "steam.exe" steam://install/297920
+	POL_Wine_WaitBefore "$TITLE"
+else
+	POL_SetupWindow_cdrom
+	POL_SetupWindow_check_cdrom "Disk1/setup.inx"
+	POL_Wine start /unix "$CDROM/Disk1/setup.exe"
+	POL_Wine_WaitExit "setup.exe"
+	cd "$POL_System_TmpDir"
+	POL_Download "https://d1ztm8591kdhlc.cloudfront.net/hdpatches/Space_Colony_HD_Update.exe" "C821E5C7035B9B517823466F4CEDADD3"
+	POL_Wine start /unix "Space_Colony_HD_Update.exe"
+	POL_Wine_WaitExit "Space_Colony_HD_Update.exe"
+fi
+
+if [ "$INSTALL_METHOD" == "STEAM" ]; then
+        POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/297920"
+else
+        POL_Shortcut "Space Colony.exe" "$TITLE" "" "Game;StrategyGame;"
+fi
+
+POL_System_TmpDelete 
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2018-01-24 23-45)
# Last revision : (2018-01-31 13-59)
# Wine version used : 3.0
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Space Colony" 
PREFIX="SpaceColony"
WORKING_WINE_VERSION="3.0"
AUTHOR="LinuxScripter"
EDITOR="Firefly Studios"
GAME_URL="http://www.spacecolonyhd.com/"
GOGID="space_colony_hd"
 
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"

POL_SetupWindow_InstallMethod "DOWNLOAD,CD,STEAM"
if [ "$INSTALL_METHOD" == "DOWNLOAD" ]; then
        POL_Call POL_GoG_setup "$GOGID" 
        POL_Call POL_GoG_install
elif [ "$INSTALL_METHOD" == "STEAM" ];then
        POL_Call POL_Install_steam
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine "steam.exe" steam://install/297920
        POL_Wine_WaitBefore "$TITLE"
else
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Disk1/setup.inx"
        POL_Wine start /unix "$CDROM/Disk1/setup.exe"
        POL_Wine_WaitExit "setup.exe"
        cd "$POL_System_TmpDir"
        POL_Download "https://d1ztm8591kdhlc.cloudfront.net/hdpatches/Space_Colony_HD_Update.exe" "C821E5C7035B9B517823466F4CEDADD3"
        POL_Wine start /unix "Space_Colony_HD_Update.exe"
        POL_Wine_WaitExit "Space_Colony_HD_Update.exe"
fi

if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/297920"
else
        POL_Shortcut "Space Colony.exe" "$TITLE" "" "Game;StrategyGame;"
fi

POL_System_TmpDelete 
POL_SetupWindow_Close
exit 0

Réponses

Mardi 6 Février 2018 à 17:13
It's probably a bad gogid. And we required md5 checksum. Also gog installation required sometimes a lot of patch. Maybe you can drop the gog support for now. We usually use a different script for GOG games
Anonymous
Mardi 6 Février 2018 à 18:34
I think its good since it dosen't give the 404 not fount error. Actually I'm sure its the correct gogid since you can find space_colony_hd in the game's page on GOG (https://www.gog.com/game/space_colony_hd). You have to right-click and click on "show page's source". Not sure about the instalation but let's see if someone who owns this game on GOG reports something.
LinuxScripter Samedi 3 Février 2018 à 23:47
LinuxScripter Anonymous

Warning

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

Messages

It appears I copied an older script which had an old link to the patcher in the LOCAL section. Fixed.

Differences

@@ -0,0 +1,65 @@
+#!/bin/bash
+# Date : (2018-01-24 23-45)
+# Last revision : (2018-01-31 13-59)
+# Wine version used : 3.0
+# Distribution used to test : Ubuntu 18.04 x64
+# Script licence : GPL3
+# Program licence : Retail
+ 
+[ -z "$PLAYONLINUX" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="Space Colony" 
+PREFIX="SpaceColony"
+WORKING_WINE_VERSION="3.0"
+AUTHOR="LinuxScripter"
+EDITOR="Firefly Studios"
+GAME_URL="http://www.spacecolonyhd.com/"
+ 
+POL_SetupWindow_Init
+POL_Debug_Init
+ 
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_System_SetArch "x86"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+POL_System_TmpCreate "$TITLE"
+
+POL_SetupWindow_InstallMethod "LOCAL,CD,STEAM"
+if [ "$INSTALL_METHOD" == "LOCAL" ]; then
+	cd "$HOME"
+	POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+	SETUP_EXE="$APP_ANSWER"
+	POL_Wine start /unix "$SETUP_EXE"
+	POL_Wine_WaitExit "$TITLE"
+	cd "$POL_System_TmpDir"
+	POL_Download "https://d1ztm8591kdhlc.cloudfront.net/hdpatches/Space_Colony_HD_Update.exe"
+	POL_Wine start /unix "Space_Colony_HD_Update.exe"
+	POL_Wine_WaitExit "Space_Colony_HD_Update.exe"
+
+elif [ "$INSTALL_METHOD" == "STEAM" ];then
+	POL_Call POL_Install_steam
+	cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+	POL_Wine "steam.exe" steam://install/297920
+	POL_Wine_WaitBefore "$TITLE"
+else
+	POL_SetupWindow_cdrom
+	POL_SetupWindow_check_cdrom "Disk1/setup.inx"
+	POL_Wine start /unix "$CDROM/Disk1/setup.exe"
+	POL_Wine_WaitExit "setup.exe"
+	cd "$POL_System_TmpDir"
+	POL_Download "https://d1ztm8591kdhlc.cloudfront.net/hdpatches/Space_Colony_HD_Update.exe"
+	POL_Wine start /unix "Space_Colony_HD_Update.exe"
+	POL_Wine_WaitExit "Space_Colony_HD_Update.exe"
+fi
+
+if [ "$INSTALL_METHOD" == "STEAM" ]; then
+        POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/297920"
+else
+        POL_Shortcut "Space Colony.exe" "$TITLE" "" "Game;StrategyGame;"
+fi
+
+POL_System_TmpDelete 
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2018-01-24 23-45)
# Last revision : (2018-01-31 13-59)
# Wine version used : 3.0
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Space Colony" 
PREFIX="SpaceColony"
WORKING_WINE_VERSION="3.0"
AUTHOR="LinuxScripter"
EDITOR="Firefly Studios"
GAME_URL="http://www.spacecolonyhd.com/"
 
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"

POL_SetupWindow_InstallMethod "LOCAL,CD,STEAM"
if [ "$INSTALL_METHOD" == "LOCAL" ]; then
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
        cd "$POL_System_TmpDir"
        POL_Download "https://d1ztm8591kdhlc.cloudfront.net/hdpatches/Space_Colony_HD_Update.exe"
        POL_Wine start /unix "Space_Colony_HD_Update.exe"
        POL_Wine_WaitExit "Space_Colony_HD_Update.exe"

elif [ "$INSTALL_METHOD" == "STEAM" ];then
        POL_Call POL_Install_steam
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine "steam.exe" steam://install/297920
        POL_Wine_WaitBefore "$TITLE"
else
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Disk1/setup.inx"
        POL_Wine start /unix "$CDROM/Disk1/setup.exe"
        POL_Wine_WaitExit "setup.exe"
        cd "$POL_System_TmpDir"
        POL_Download "https://d1ztm8591kdhlc.cloudfront.net/hdpatches/Space_Colony_HD_Update.exe"
        POL_Wine start /unix "Space_Colony_HD_Update.exe"
        POL_Wine_WaitExit "Space_Colony_HD_Update.exe"
fi

if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/297920"
else
        POL_Shortcut "Space Colony.exe" "$TITLE" "" "Game;StrategyGame;"
fi

POL_System_TmpDelete 
POL_SetupWindow_Close
exit 0

Réponses

Anonymous
Samedi 3 Février 2018 à 23:48
BTW those are official links from the game's website.
Dimanche 4 Février 2018 à 17:44
game's website use cloudfront ?
Anonymous
Lundi 5 Février 2018 à 11:02
Yes. You can see here:
https://imgur.com/a/f135u
Lundi 5 Février 2018 à 15:24
I see only a GOG version and a steam edition. You can you have a local one ?
with POL_Download please indicate the MD5 checksum, the website give you that checksum ;)
Anonymous
Lundi 5 Février 2018 à 17:57
What do you mean? There is a cd version of Space Colony, Steam version and GOG version. I did not add GOG version simply because I dont have one - only the CD.
Lundi 5 Février 2018 à 18:02
Yea but why use LOCAL ? And GOG need special script sometime
Anonymous
Lundi 5 Février 2018 à 21:30
Used local because there is no GOG option in POL_SetupWindow_InstallMethod.
Lundi 5 Février 2018 à 21:49
Because GOG are usually in a special script. GOG is a bit tricky
Mardi 6 Février 2018 à 0:29
cd "$POL_System_TmpDir/$TITLE" is correct TMP patch.
LinuxScripter Samedi 3 Février 2018 à 14:31
LinuxScripter Anonymous

Warning

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

Messages

After testing I found out that version 3.0 of Wine allows to play this game with no problem without any extra dependencies. The CD version is outdated so the script will download the patch from the game's website.

Differences

@@ -0,0 +1,66 @@
+#!/bin/bash
+# Date : (2018-01-24 23-45)
+# Last revision : (2018-01-31 13-59)
+# Wine version used : 3.0
+# Distribution used to test : Ubuntu 18.04 x64
+# Script licence : GPL3
+# Program licence : Retail
+ 
+[ -z "$PLAYONLINUX" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="Space Colony" 
+PREFIX="SpaceColony"
+WORKING_WINE_VERSION="3.0"
+AUTHOR="LinuxScripter"
+EDITOR="Firefly Studios"
+GAME_URL="http://www.spacecolonyhd.com/"
+ 
+POL_SetupWindow_Init
+POL_Debug_Init
+ 
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_System_SetArch "x86"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+POL_System_TmpCreate "$TITLE"
+
+POL_SetupWindow_InstallMethod "LOCAL,CD,STEAM"
+if [ "$INSTALL_METHOD" == "LOCAL" ]; then
+	cd "$HOME"
+	POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+	SETUP_EXE="$APP_ANSWER"
+	POL_Wine start /unix "$SETUP_EXE"
+	POL_Wine_WaitExit "$TITLE"
+	cd "$POL_System_TmpDir"
+	POL_Download "http://www.patches-scrolls.com/getfile.php?file=space_colony_hd_update.zip&mirror=1"
+	unzip space_colony_hd_update.zip
+	POL_Wine start /unix "Space_Colony_HD_Update.exe"
+	POL_Wine_WaitExit "Space_Colony_HD_Update.exe"
+
+elif [ "$INSTALL_METHOD" == "STEAM" ];then
+	POL_Call POL_Install_steam
+	cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+	POL_Wine "steam.exe" steam://install/297920
+	POL_Wine_WaitBefore "$TITLE"
+else
+	POL_SetupWindow_cdrom
+	POL_SetupWindow_check_cdrom "Disk1/setup.inx"
+	POL_Wine start /unix "$CDROM/Disk1/setup.exe"
+	POL_Wine_WaitExit "setup.exe"
+	cd "$POL_System_TmpDir"
+	POL_Download "https://d1ztm8591kdhlc.cloudfront.net/hdpatches/Space_Colony_HD_Update.exe"
+	POL_Wine start /unix "Space_Colony_HD_Update.exe"
+	POL_Wine_WaitExit "Space_Colony_HD_Update.exe"
+fi
+
+if [ "$INSTALL_METHOD" == "STEAM" ]; then
+        POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/297920"
+else
+        POL_Shortcut "Space Colony.exe" "$TITLE" "" "Game;StrategyGame;"
+fi
+
+POL_System_TmpDelete 
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2018-01-24 23-45)
# Last revision : (2018-01-31 13-59)
# Wine version used : 3.0
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Space Colony" 
PREFIX="SpaceColony"
WORKING_WINE_VERSION="3.0"
AUTHOR="LinuxScripter"
EDITOR="Firefly Studios"
GAME_URL="http://www.spacecolonyhd.com/"
 
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"

POL_SetupWindow_InstallMethod "LOCAL,CD,STEAM"
if [ "$INSTALL_METHOD" == "LOCAL" ]; then
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
        cd "$POL_System_TmpDir"
        POL_Download "http://www.patches-scrolls.com/getfile.php?file=space_colony_hd_update.zip&mirror=1"
        unzip space_colony_hd_update.zip
        POL_Wine start /unix "Space_Colony_HD_Update.exe"
        POL_Wine_WaitExit "Space_Colony_HD_Update.exe"

elif [ "$INSTALL_METHOD" == "STEAM" ];then
        POL_Call POL_Install_steam
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine "steam.exe" steam://install/297920
        POL_Wine_WaitBefore "$TITLE"
else
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Disk1/setup.inx"
        POL_Wine start /unix "$CDROM/Disk1/setup.exe"
        POL_Wine_WaitExit "setup.exe"
        cd "$POL_System_TmpDir"
        POL_Download "https://d1ztm8591kdhlc.cloudfront.net/hdpatches/Space_Colony_HD_Update.exe"
        POL_Wine start /unix "Space_Colony_HD_Update.exe"
        POL_Wine_WaitExit "Space_Colony_HD_Update.exe"
fi

if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/297920"
else
        POL_Shortcut "Space Colony.exe" "$TITLE" "" "Game;StrategyGame;"
fi

POL_System_TmpDelete 
POL_SetupWindow_Close
exit 0

Réponses

Samedi 3 Février 2018 à 19:03
No official patch URL ? Not sure about these one. Btw the first one seem not working
Anonymous
Samedi 3 Février 2018 à 21:12
Crap I forgot to change that patch-scrols.de link to a more official one.

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