Space Colony
Informations
Creator | Message |
---|---|
LinuxScripter
|
InformationThis installer has been approved by the team. InformationsPlatforms: Feedbacks3 0 DescriptionSpace 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:
It also got released on Steam with all the updates included. Source code#!/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:
ContributeMember | Message |
LinuxScripter | Friday 2 November 2018 at 13:56 |
LinuxScripter
|
InformationThis update has been approved by the team. MessageAdded 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 New source code#!/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 RepliesThursday 1 August 2019 at 23:41
|
LinuxScripter | Tuesday 6 February 2018 at 1:16 |
LinuxScripter
|
WarningThis update has not been approved yet by the team. MessageReplaced 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 New source code#!/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 RepliesTuesday 6 February 2018 at 17:13
Tuesday 6 February 2018 at 18:34
|
LinuxScripter | Saturday 3 February 2018 at 23:47 |
LinuxScripter
|
WarningThis update has not been approved yet by the team. MessageIt 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 New source code#!/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 RepliesSaturday 3 February 2018 at 23:48
Sunday 4 February 2018 at 17:44
Monday 5 February 2018 at 11:02
Monday 5 February 2018 at 15:24
Monday 5 February 2018 at 17:57
Monday 5 February 2018 at 18:02
Monday 5 February 2018 at 21:30
Monday 5 February 2018 at 21:49
Tuesday 6 February 2018 at 0:29
|
LinuxScripter | Saturday 3 February 2018 at 14:31 |
LinuxScripter
|
WarningThis update has not been approved yet by the team. MessageAfter 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 New source code#!/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 RepliesSaturday 3 February 2018 at 19:03
Saturday 3 February 2018 at 21:12
|
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