Spore
Informations
| Creator | Message |
|---|---|
|
benji64
|
InformationThis installer has been approved by the team. InformationsPlatforms: Feedbacks4 1 DescriptionThis game is a life simulation and real-time strategy (2008). Wikipedia. ScreenshotsSource code#!/bin/bash
# Date : (2018-02-09 17-33)
# Last revision : see changelog
# Wine version used :
# Distribution used to test : Ubuntu 18.04 x64
# Author : LinuxScripter
# Licence : Retail
#
# CHANGELOG
# [LinuxScripter] (2018-02-09 17-33)
# Initial script.
# [Dadu042] (2019-05-20 22-58)
# Fix filenames for DVD edition
# [Dadu042] (2020-03-27)
# Wine 3.1 (uncommon) -> 3.0.3
# Add ability to install from a local file.
# Fix POL_Shortcut
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
PREFIX="Spore"
WORKING_WINE_VERSION="3.0.3"
TITLE="Spore"
EDITOR="Maxis"
GAME_URL="https://pcgamingwiki.com/wiki/Spore"
AUTHOR="LinuxScripter and Dadu042"
STEAM_ID="17390"
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 324
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"
Set_OS "win7"
POL_SetupWindow_InstallMethod "DVD,STEAM,LOCAL"
if [ "$INSTALL_METHOD" = "DVD" ]; then
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Spore.ico"
POL_Wine start /unix "$CDROM/SPORESetup.exe"
POL_Wine_WaitExit "SPORESetup.exe"
POL_Shortcut "SporeApp.exe" "$TITLE" "" "" "Game;"
elif [ "$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 "Spore"
POL_Shortcut "SporeApp.exe" "$TITLE" "" "" "Game;"
elif [ "$INSTALL_METHOD" == "CD" ]; then
POL_Call POL_Install_steam
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine "steam.exe" steam://install/$STEAM_ID
POL_Wine_WaitBefore "$TITLE"
fi
POL_SetupWindow_Close
exit |
Contributions
Filters:
Contribute| Member | Message |
| Dadu042 | Friday 27 March 2020 at 19:45 |
|
Dadu042
|
InformationThis update has been approved by the team. Differences@@ -1,24 +1,33 @@
#!/bin/bash
# Date : (2018-02-09 17-33)
-# Last revision : (2019-05-20 22-58)
-# Wine version used : 3.1
+# Last revision : see changelog
+# Wine version used :
# Distribution used to test : Ubuntu 18.04 x64
# Author : LinuxScripter
# Licence : Retail
+
#
# CHANGELOG
-# 2019-05-20 Dadu042: Fix filenames for DVD edition.
+# [LinuxScripter] (2018-02-09 17-33)
+# Initial script.
+# [Dadu042] (2019-05-20 22-58)
+# Fix filenames for DVD edition
+# [Dadu042] (2020-03-27)
+# Wine 3.1 (uncommon) -> 3.0.3
+# Add ability to install from a local file.
+# Fix POL_Shortcut
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
PREFIX="Spore"
-WORKING_WINE_VERSION="3.1"
+WORKING_WINE_VERSION="3.0.3"
TITLE="Spore"
EDITOR="Maxis"
GAME_URL="https://pcgamingwiki.com/wiki/Spore"
AUTHOR="LinuxScripter and Dadu042"
-
+STEAM_ID="17390"
+
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
@@ -30,18 +39,28 @@
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
-STEAM_ID="17390"
+
Set_OS "win7"
-POL_SetupWindow_InstallMethod "DVD,STEAM"
+POL_SetupWindow_InstallMethod "DVD,STEAM,LOCAL"
if [ "$INSTALL_METHOD" = "DVD" ]; then
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Spore.ico"
POL_Wine start /unix "$CDROM/SPORESetup.exe"
POL_Wine_WaitExit "SPORESetup.exe"
- POL_Shortcut "SporeApp.exe" "$TITLE" "" "Game;"
-else
+ POL_Shortcut "SporeApp.exe" "$TITLE" "" "" "Game;"
+
+elif [ "$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 "Spore"
+
+ POL_Shortcut "SporeApp.exe" "$TITLE" "" "" "Game;"
+
+elif [ "$INSTALL_METHOD" == "CD" ]; then
POL_Call POL_Install_steam
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine "steam.exe" steam://install/$STEAM_ID
New source code#!/bin/bash
# Date : (2018-02-09 17-33)
# Last revision : see changelog
# Wine version used :
# Distribution used to test : Ubuntu 18.04 x64
# Author : LinuxScripter
# Licence : Retail
#
# CHANGELOG
# [LinuxScripter] (2018-02-09 17-33)
# Initial script.
# [Dadu042] (2019-05-20 22-58)
# Fix filenames for DVD edition
# [Dadu042] (2020-03-27)
# Wine 3.1 (uncommon) -> 3.0.3
# Add ability to install from a local file.
# Fix POL_Shortcut
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
PREFIX="Spore"
WORKING_WINE_VERSION="3.0.3"
TITLE="Spore"
EDITOR="Maxis"
GAME_URL="https://pcgamingwiki.com/wiki/Spore"
AUTHOR="LinuxScripter and Dadu042"
STEAM_ID="17390"
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 324
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"
Set_OS "win7"
POL_SetupWindow_InstallMethod "DVD,STEAM,LOCAL"
if [ "$INSTALL_METHOD" = "DVD" ]; then
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Spore.ico"
POL_Wine start /unix "$CDROM/SPORESetup.exe"
POL_Wine_WaitExit "SPORESetup.exe"
POL_Shortcut "SporeApp.exe" "$TITLE" "" "" "Game;"
elif [ "$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 "Spore"
POL_Shortcut "SporeApp.exe" "$TITLE" "" "" "Game;"
elif [ "$INSTALL_METHOD" == "CD" ]; then
POL_Call POL_Install_steam
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine "steam.exe" steam://install/$STEAM_ID
POL_Wine_WaitBefore "$TITLE"
fi
POL_SetupWindow_Close
exit RepliesSunday 11 October 2020 at 10:59
|
| MrHeating | Friday 27 March 2020 at 17:59 |
MrHeating
|
MessageI have no idea about bash script, so I'm not going to try and edit the file, but can please the GOG.com version be added as an installation candidate? https://www.gog.com/game/spore_collection RepliesFriday 27 March 2020 at 18:02
Friday 27 March 2020 at 18:02
Friday 27 March 2020 at 23:44
Edited by MrHeating |
| Dadu042 | Monday 20 May 2019 at 22:44 |
|
Dadu042
|
WarningThis update has not been approved yet by the team. MessageFix filenames for DVD edition. Differences@@ -1,13 +1,13 @@
#!/bin/bash
# Date : (2018-02-09 17-33)
-# Last revision : (2018-05-20 22-58)
+# Last revision : (2019-05-20 22-58)
# Wine version used : 3.1
# Distribution used to test : Ubuntu 18.04 x64
# Author : LinuxScripter
# Licence : Retail
#
-# Changelog
-# 2019-05-20 Dadu042: Fix filenames for DVD edition.
+# CHANGELOG
+# 2019-05-20 Dadu042: Fix filenames for DVD edition.
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
@@ -40,7 +40,7 @@
POL_Wine start /unix "$CDROM/SPORESetup.exe"
POL_Wine_WaitExit "SPORESetup.exe"
- POL_Shortcut "SporeApp.exe" "$TITLE" ""
+ POL_Shortcut "SporeApp.exe" "$TITLE" "" "Game;"
else
POL_Call POL_Install_steam
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
New source code#!/bin/bash
# Date : (2018-02-09 17-33)
# Last revision : (2019-05-20 22-58)
# Wine version used : 3.1
# Distribution used to test : Ubuntu 18.04 x64
# Author : LinuxScripter
# Licence : Retail
#
# CHANGELOG
# 2019-05-20 Dadu042: Fix filenames for DVD edition.
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
PREFIX="Spore"
WORKING_WINE_VERSION="3.1"
TITLE="Spore"
EDITOR="Maxis"
GAME_URL="https://pcgamingwiki.com/wiki/Spore"
AUTHOR="LinuxScripter and Dadu042"
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 324
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"
STEAM_ID="17390"
Set_OS "win7"
POL_SetupWindow_InstallMethod "DVD,STEAM"
if [ "$INSTALL_METHOD" = "DVD" ]; then
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "Spore.ico"
POL_Wine start /unix "$CDROM/SPORESetup.exe"
POL_Wine_WaitExit "SPORESetup.exe"
POL_Shortcut "SporeApp.exe" "$TITLE" "" "Game;"
else
POL_Call POL_Install_steam
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine "steam.exe" steam://install/$STEAM_ID
POL_Wine_WaitBefore "$TITLE"
fi
POL_SetupWindow_Close
exit RepliesEdited by Dadu042 |
| LinuxScripter | Sunday 11 February 2018 at 12:25 |
LinuxScripter
|
WarningThis update has not been approved yet by the team. MessageRewrote the script from scratch. Differences@@ -1,117 +1,46 @@
#!/bin/bash
-# Date : (2009-06-11 10-00)
-# Last revision : (2009-06-11 10-00)
-# Wine version used : N/A
-# Distribution used to test : N/A
-# Author : NSLW
+# Date : (2018-02-09 17-33)
+# Last revision : (2018-02-09 17-33)
+# Wine version used : 3.1
+# Distribution used to test : Ubuntu 18.04 x64
+# Author : LinuxScripter
# Licence : Retail
-
+
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
-#fetching PROGRAMFILES environmental variable
-PROGRAMFILES=`wine cmd /c echo "%ProgramFiles%"`
-PROGRAMFILES=${PROGRAMFILES:3}
-
-override_dlls() {
-mode=$1
-shift
-echo Using $mode override for following DLLs: $@
-cat > $REPERTOIRE/tmp/dx9/override-dll.reg <<_EOF_
-REGEDIT4
-
-[HKEY_CURRENT_USER\Software\Wine\DllOverrides]
-_EOF_
-while test "$1" != ""
-do
-echo "\"$1\"=\"$mode\"" >> $REPERTOIRE/tmp/dx9/override-dll.reg
-shift
-done
-
-wine regedit $REPERTOIRE/tmp/dx9/override-dll.reg
-rm $REPERTOIRE/tmp/dx9/override-dll.reg
-}
-
-if [ "$POL_LANG" == "fr" ]
-
-then
-LNG_WARNING_DX9="L'installation va démarrer.
-ATTENTION : si le programme vous propose d'installer Directx9 clickez sur ANNULER !"
-LNG_WAIT="Installation de Spore en cours... veuillez patienter"
-LNG_WARNING_NOCD="ATTENTION : Ce jeux peut nécessiter un no-cd fix pour fonctionner.
-Nous ne fournirons pas d'aide à ce sujet et ne sommes pas responsable si vous choisissez de contourner la loi."
-
+PREFIX="Spore"
+WORKING_WINE_VERSION="3.1"
+TITLE="Spore"
+EDITOR="Maxis"
+GAME_URL="http://eu.spore.com"
+AUTHOR="LinuxScripter"
+
+POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
+
+POL_SetupWindow_Init
+POL_SetupWindow_SetID 324
+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"
+STEAM_ID="17390"
+Set_OS "win7"
+
+POL_SetupWindow_InstallMethod "DVD,STEAM"
+if [ "$INSTALL_METHOD" = "DVD" ]; then
+ POL_SetupWindow_cdrom
+ POL_SetupWindow_check_cdrom "spore.ico"
+ POL_Wine start /unix "$CDROM/setup.exe"
+ POL_Wine_WaitExit "SPORESetup.exe"
else
-LNG_WARNING_DX9="The installation is about to begin.
-BEWARE: If the software propose you to install DirectX 9, you have to click on CANCEL!"
-LNG_WAIT="Installing Spore ... please wait"
-LNG_WARNING_NOCD="BEWARE: This game can require a NoCD patch to work.
-We will not provide help for that and aren't responsible if you choose to bypass the law."
-fi
-
-wget http://upload.wikimedia.org/wikipedia/en/7/77/Sporebox.jpg --output-document="$REPERTOIRE/tmp/leftnotscaled.jpeg"
-convert "$REPERTOIRE/tmp/leftnotscaled.jpeg" -scale 150x356\! "$REPERTOIRE/tmp/left.jpeg"
-POL_SetupWindow_Init "" "$REPERTOIRE/tmp/left.jpeg"
-
-POL_SetupWindow_presentation "Spore" "Stidio MAXIS" "http://eu.spore.com" "Benji64 and NSLW small modifications" "Spore"
-
-select_prefix "$REPERTOIRE/wineprefix/Spore/"
-POL_SetupWindow_prefixcreate
-POL_SetupWindow_cdrom
-POL_SetupWindow_check_cdrom "SPORESetup.exe"
-
-#install directX
-if [ ! -e "$HOME/.winetrickscache/directx_mar2009_redist.exe" ]; then
-mkdir "$HOME/.winetrickscache"
-cd "$HOME/.winetrickscache"
-POL_SetupWindow_download "Downloading DirectX 9.0c libraries" "$TYTUL" "http://download.microsoft.com/download/3/C/4/3C46A69A-CB0F-4CCA-B1E8-248D43270D5F/directx_mar2009_redist.exe"
+ POL_Call POL_Install_steam
+ cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+ POL_Wine "steam.exe" steam://install/$STEAM_ID
+ POL_Wine_WaitBefore "$TITLE"
fi
-
-cd "$REPERTOIRE/ressources"
-#downloading winetricks
-if [ "`sha1sum < winetricks | sed 's/ .*//'`" != "bf24bc6d84a40a836d7ce6de41ff04f910b34434" ]; then
-wget http://winezeug.googlecode.com/svn/trunk/winetricks --output-document=winetricks
-fi
-
-POL_SetupWindow_wait_next_signal "Installing DirectX 9.0c libraries..." "$TYTUL"
-bash winetricks -q directx9
-POL_SetupWindow_detect_exit
-
-#mkdir $REPERTOIRE/tmp/dx9 -p
-#cd $REPERTOIRE/tmp/dx9
-#POL_SetupWindow_download "$(eval_gettext 'Download Directx9c june 2008...')" "$(eval_gettext 'Downloading...')" "http://download.microsoft.com/download/c/1/f/c1fb09b0-8a8b-45ba-8bb0-64f60bd23175/directx_jun2008_redist.exe"
-#Set_OS "win2k"
-#POL_SetupWindow_reboot
-#POL_SetupWindow_wait "$(eval_gettext 'PlayOnLinux is installing the patch ...')" "$(eval_gettext 'Extracting...')"
-#mkdir directx_tmp
-#export WINEDLLOVERRIDES="wintrust=b,mscoree=,ddraw,d3d8,d3d9,dsound,dinput=n"
-#wine directx_jun2008_redist.exe /t:z:$REPERTOIRE/tmp/dx9/directx_tmp
-#override_dlls native d3dim d3drm d3dx8 d3dx9_24 d3dx9_25 d3dx9_26 d3dx9_27 d3dx9_28 d3dx9_29
-#override_dlls native d3dx9_30 d3dx9_31 d3dx9_32 d3dx9_33 d3dx9_34 d3dx9_35 d3dx9_36 d3dxof
-#override_dlls native dciman32 ddrawex devenum dmband dmcompos dmime dmloader dmscript dmstyle
-#override_dlls native dmsynth dmusic dmusic32 dnsapi dplay dplayx dpnaddr dpnet dpnhpast dpnlobby
-#override_dlls native dswave dxdiagn mscoree msdmo qcap quartz streamci
-#override_dlls builtin d3d8 d3d9 dinput dinput8 dsound
-#cd directx_tmp
-#wine DXSETUP.exe /silent
-
-Set_OS "winxp"
-POL_SetupWindow_reboot
-#POL_SetupWindow_detect_exit
-#cd $REPERTOIRE/tmp
-#rm $REPERTOIRE/tmp/dx9 -r
-
-POL_SetupWindow_message "$LNG_WARNING_DX9"
-
-POL_SetupWindow_wait_next_signal "$LNG_WAIT" "Spore"
-
-cd "$CDROM"
-wine sporesetup.exe
-POL_SetupWindow_detect_exit
-
-POL_SetupWindow_make_shortcut "Spore" "$PROGRAMFILES/Electronic Arts/SPORE/Sporebin" "SporeApp.exe" "" "Spore"
-POL_SetupWindow_reboot
-
-POL_SetupWindow_message "$LNG_WARNING_NOCD"
POL_SetupWindow_Close
exit
\ No newline at end of file
New source code#!/bin/bash
# Date : (2018-02-09 17-33)
# Last revision : (2018-02-09 17-33)
# Wine version used : 3.1
# Distribution used to test : Ubuntu 18.04 x64
# Author : LinuxScripter
# Licence : Retail
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
PREFIX="Spore"
WORKING_WINE_VERSION="3.1"
TITLE="Spore"
EDITOR="Maxis"
GAME_URL="http://eu.spore.com"
AUTHOR="LinuxScripter"
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 324
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"
STEAM_ID="17390"
Set_OS "win7"
POL_SetupWindow_InstallMethod "DVD,STEAM"
if [ "$INSTALL_METHOD" = "DVD" ]; then
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "spore.ico"
POL_Wine start /unix "$CDROM/setup.exe"
POL_Wine_WaitExit "SPORESetup.exe"
else
POL_Call POL_Install_steam
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine "steam.exe" steam://install/$STEAM_ID
POL_Wine_WaitBefore "$TITLE"
fi
POL_SetupWindow_Close
exit Replies |
| maniat1k | Tuesday 5 August 2014 at 16:55 |
maniat1k
|
MessageEverything works fine, but the sound does not work at all. Replies |
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
Install this program 

