GOG.com - Sacred Gold

Informatie

Creator Bericht
petch

Information

This installer has been approved by the team.

Informatie

Platforms:
Downloads: 21947
Wine: 4.0.4

Feedbacks

Omschrijving

English: Hack'n'slash RPG, includes Sacred Plus and Sacred Underworld extensions. Wikipedia.
Note: this game recevied a Linux native release in 2009 (by Linux Game Publishing).

Français : Jeu de rôles "hack and slash", contient les extensions Sacred Plus et Sacred Underworld.

PCGamingWiki, Appdb.winehq.org

Schermafdrukken

MiniatureMiniature

Broncode

#!/bin/bash
# Date : (2012-05-10 12-39)
# Last revision : see changelog
# Distribution used to test : Debian Sid (Unstable)
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
#
# CHANGELOG
# [Pierre Etchemaite] (2012-05-10 12-39)
#   Initial script.
# [Pierre Etchemaite] (2014-04-12 21-06)
#   Script updated for GOG installer v2.
# [Dadu042] (2020-03-20 19:30)
#   Wine 1.5.15d -> 2.22
# [Dadu042] (2020-06-27 11:00) (tested with game v2.0.0.4)
#   Wine 2.22 -> 4.0.4 (fix the jerky scrolling that occured also with Wine 3.0.3 on AMD GPU Radeon).
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
GOGID="sacred_gold"
PREFIX="Sacred_gog"
WORKING_WINE_VERSION="4.0.4"
 
TITLE="GOG.com - Sacred Gold"
SHORTCUT_NAME="Sacred Gold"
 
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 1177
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "ASCARON Entertainment / Strategy First" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_RequiredVersion 4.3.0 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
 
POL_Call POL_GoG_setup "$GOGID" "876c6c2eaa94e92a0ee6f1437013d6ca"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
POL_Call POL_GoG_install "/nogui"
 
 
# Required for videos http://bugs.winehq.org/show_bug.cgi?id=16250
POL_Call POL_Install_devenum
POL_Call POL_Install_quartz
POL_Call POL_Install_amstream
 
# GoG work!
Set_OS "winxp"
 
POL_SetupWindow_VMS "16"
 
# Doesn't hurt ;)
POL_Wine_reboot
 
POL_Shortcut "Sacred.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;RolePlaying;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Sacred Gold/Manual.pdf"
# C:\GOG Games\Sacred Gold\Readme.html
# C:\GOG Games\Sacred Gold\Map.pdf
# C:\GOG Games\Sacred Gold\Quickstart.pdf
 
# C:\GOG Games\Sacred Gold\GameServer.exe
 
POL_SetupWindow_Close
 
cat <<_EOF_ > "$POL_USER_ROOT/configurations/configurators/$SHORTCUT_NAME"
#!/bin/bash
[ -z "\$PLAYONLINUX" ] && exit 0
source "\$PLAYONLINUX/lib/sources"
export WINEPREFIX="\$POL_USER_ROOT/wineprefix/$PREFIX"
export WINEDEBUG="-all"
 
POL_LoadVar_PROGRAMFILES
 
cd "$GOGROOT/Sacred Gold/" || exit 1
 
TITLE="$TITLE"
 
POL_SetupWindow_Init
 
POL_Wine --ignore-errors Config.exe
 
POL_SetupWindow_Close
exit 0
_EOF_
 
exit 0

Contributions

Filters:

Contribute
Member Bericht
Dadu042 Zaterdag 27 Juni\ 2020 om 11:42
Dadu042

Information

This update has been approved by the team.

Differences

@@ -11,78 +11,82 @@
 # [Pierre Etchemaite] (2012-05-10 12-39)
 #   Initial script.
 # [Pierre Etchemaite] (2014-04-12 21-06)
-#   ?
-# [Dadu042] (2020-03-20 19:30).
-#   Wine 1.5.15 -> 2.22
-
+#   Script updated for GOG installer v2.
+# [Dadu042] (2020-03-20 19:30)
+#   Wine 1.5.15d -> 2.22
+# [Dadu042] (2020-06-27 11:00) (tested with game v2.0.0.4)
+#   Wine 2.22 -> 4.0.4 (fix the jerky scrolling that occured also with Wine 3.0.3 on AMD GPU Radeon).
+ 
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 GOGID="sacred_gold"
 PREFIX="Sacred_gog"
-WORKING_WINE_VERSION="2.22"
-
+WORKING_WINE_VERSION="4.0.4"
+ 
 TITLE="GOG.com - Sacred Gold"
 SHORTCUT_NAME="Sacred Gold"
-
+ 
 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 1177
 POL_Debug_Init
-
+ 
 POL_SetupWindow_presentation "$TITLE" "ASCARON Entertainment / Strategy First" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"
 
+POL_RequiredVersion 4.3.0 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
+ 
 POL_Call POL_GoG_setup "$GOGID" "876c6c2eaa94e92a0ee6f1437013d6ca"
-
+ 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
-
+ 
 POL_Call POL_GoG_install "/nogui"
-
-
+ 
+ 
 # Required for videos http://bugs.winehq.org/show_bug.cgi?id=16250
 POL_Call POL_Install_devenum
 POL_Call POL_Install_quartz
 POL_Call POL_Install_amstream
-
+ 
 # GoG work!
-Set_OS winxp
-
+Set_OS "winxp"
+ 
 POL_SetupWindow_VMS "16"
-
+ 
 # Doesn't hurt ;)
 POL_Wine_reboot
-
+ 
 POL_Shortcut "Sacred.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;RolePlaying;"
 POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Sacred Gold/Manual.pdf"
 # C:\GOG Games\Sacred Gold\Readme.html
 # C:\GOG Games\Sacred Gold\Map.pdf
 # C:\GOG Games\Sacred Gold\Quickstart.pdf
-
+ 
 # C:\GOG Games\Sacred Gold\GameServer.exe
-
+ 
 POL_SetupWindow_Close
-
+ 
 cat <<_EOF_ > "$POL_USER_ROOT/configurations/configurators/$SHORTCUT_NAME"
 #!/bin/bash
 [ -z "\$PLAYONLINUX" ] && exit 0
 source "\$PLAYONLINUX/lib/sources"
 export WINEPREFIX="\$POL_USER_ROOT/wineprefix/$PREFIX"
 export WINEDEBUG="-all"
-
+ 
 POL_LoadVar_PROGRAMFILES
-
+ 
 cd "$GOGROOT/Sacred Gold/" || exit 1
-
+ 
 TITLE="$TITLE"
-
+ 
 POL_SetupWindow_Init
-
+ 
 POL_Wine --ignore-errors Config.exe
-
+ 
 POL_SetupWindow_Close
 exit 0
 _EOF_
-
-exit 0
+ 
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2012-05-10 12-39)
# Last revision : see changelog
# Distribution used to test : Debian Sid (Unstable)
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
#
# CHANGELOG
# [Pierre Etchemaite] (2012-05-10 12-39)
#   Initial script.
# [Pierre Etchemaite] (2014-04-12 21-06)
#   Script updated for GOG installer v2.
# [Dadu042] (2020-03-20 19:30)
#   Wine 1.5.15d -> 2.22
# [Dadu042] (2020-06-27 11:00) (tested with game v2.0.0.4)
#   Wine 2.22 -> 4.0.4 (fix the jerky scrolling that occured also with Wine 3.0.3 on AMD GPU Radeon).
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
GOGID="sacred_gold"
PREFIX="Sacred_gog"
WORKING_WINE_VERSION="4.0.4"
 
TITLE="GOG.com - Sacred Gold"
SHORTCUT_NAME="Sacred Gold"
 
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 1177
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "ASCARON Entertainment / Strategy First" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_RequiredVersion 4.3.0 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
 
POL_Call POL_GoG_setup "$GOGID" "876c6c2eaa94e92a0ee6f1437013d6ca"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
POL_Call POL_GoG_install "/nogui"
 
 
# Required for videos http://bugs.winehq.org/show_bug.cgi?id=16250
POL_Call POL_Install_devenum
POL_Call POL_Install_quartz
POL_Call POL_Install_amstream
 
# GoG work!
Set_OS "winxp"
 
POL_SetupWindow_VMS "16"
 
# Doesn't hurt ;)
POL_Wine_reboot
 
POL_Shortcut "Sacred.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;RolePlaying;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Sacred Gold/Manual.pdf"
# C:\GOG Games\Sacred Gold\Readme.html
# C:\GOG Games\Sacred Gold\Map.pdf
# C:\GOG Games\Sacred Gold\Quickstart.pdf
 
# C:\GOG Games\Sacred Gold\GameServer.exe
 
POL_SetupWindow_Close
 
cat <<_EOF_ > "$POL_USER_ROOT/configurations/configurators/$SHORTCUT_NAME"
#!/bin/bash
[ -z "\$PLAYONLINUX" ] && exit 0
source "\$PLAYONLINUX/lib/sources"
export WINEPREFIX="\$POL_USER_ROOT/wineprefix/$PREFIX"
export WINEDEBUG="-all"
 
POL_LoadVar_PROGRAMFILES
 
cd "$GOGROOT/Sacred Gold/" || exit 1
 
TITLE="$TITLE"
 
POL_SetupWindow_Init
 
POL_Wine --ignore-errors Config.exe
 
POL_SetupWindow_Close
exit 0
_EOF_
 
exit 0

Antwoorden

Dadu042 Zaterdag 21 Maart 2020 om 15:06
Dadu042

Warning

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

Differences

@@ -1,19 +1,26 @@
 #!/bin/bash
 # Date : (2012-05-10 12-39)
-# Last revision : (2014-04-12 21-06)
-# Wine version used : 1.5.15, 1.6.2
+# Last revision : see changelog
 # Distribution used to test : Debian Sid (Unstable)
 # Author : Pierre Etchemaite pe-pol@concept-micro.com
 # Script licence : GPL v.2
 # Program licence : Retail
 # Depend :
+#
+# CHANGELOG
+# [Pierre Etchemaite] (2012-05-10 12-39)
+#   Initial script.
+# [Pierre Etchemaite] (2014-04-12 21-06)
+#   ?
+# [Dadu042] (2020-03-20 19:30).
+#   Wine 1.5.15 -> 2.22
 
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 GOGID="sacred_gold"
 PREFIX="Sacred_gog"
-WORKING_WINE_VERSION="1.5.15"
+WORKING_WINE_VERSION="2.22"
 
 TITLE="GOG.com - Sacred Gold"
 SHORTCUT_NAME="Sacred Gold"

New source code

#!/bin/bash
# Date : (2012-05-10 12-39)
# Last revision : see changelog
# Distribution used to test : Debian Sid (Unstable)
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
#
# CHANGELOG
# [Pierre Etchemaite] (2012-05-10 12-39)
#   Initial script.
# [Pierre Etchemaite] (2014-04-12 21-06)
#   ?
# [Dadu042] (2020-03-20 19:30).
#   Wine 1.5.15 -> 2.22

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

GOGID="sacred_gold"
PREFIX="Sacred_gog"
WORKING_WINE_VERSION="2.22"

TITLE="GOG.com - Sacred Gold"
SHORTCUT_NAME="Sacred Gold"

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 1177
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "ASCARON Entertainment / Strategy First" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "876c6c2eaa94e92a0ee6f1437013d6ca"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install "/nogui"


# Required for videos http://bugs.winehq.org/show_bug.cgi?id=16250
POL_Call POL_Install_devenum
POL_Call POL_Install_quartz
POL_Call POL_Install_amstream

# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "16"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "Sacred.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;RolePlaying;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Sacred Gold/Manual.pdf"
# C:\GOG Games\Sacred Gold\Readme.html
# C:\GOG Games\Sacred Gold\Map.pdf
# C:\GOG Games\Sacred Gold\Quickstart.pdf

# C:\GOG Games\Sacred Gold\GameServer.exe

POL_SetupWindow_Close

cat <<_EOF_ > "$POL_USER_ROOT/configurations/configurators/$SHORTCUT_NAME"
#!/bin/bash
[ -z "\$PLAYONLINUX" ] && exit 0
source "\$PLAYONLINUX/lib/sources"
export WINEPREFIX="\$POL_USER_ROOT/wineprefix/$PREFIX"
export WINEDEBUG="-all"

POL_LoadVar_PROGRAMFILES

cd "$GOGROOT/Sacred Gold/" || exit 1

TITLE="$TITLE"

POL_SetupWindow_Init

POL_Wine --ignore-errors Config.exe

POL_SetupWindow_Close
exit 0
_EOF_

exit 0

Antwoorden

Sethan Vrijdag 8 April 2016 om 0:26
Sethan Anonymous

Bericht

Hi,

After the fresh installation, by clicking "Extras", both "Intro" and "Underworld Intro" do not work. I only get the black screen, and it would go back to the same window.

Thanks.

 

 

Antwoorden

marian Maandag 25 Januari 2016 om 1:48
marian Anonymous

Bericht

Installed gog v2.0.0.4 (game version 2.28)

Single player works perfectly

If I join a local LAN multiplayer game (hosted on Windows), game works perfectly

 

BUT

I cannot host multiplayer.

  • cannot choose Multiplayer -> LAN -> create (game says testing ports -> server up and running; then stops at the point of connecting to server, without game crashing - I can click cancel and return to main menu)
  • cannot create dedicated server and connect to it from local machine or another machine in LAN

 

HOW do I tell POL (or linux) to port forward 2005 and 2006 to gameserver.exe, do I need to tell linux that POL is allowed to open port 2005 and 2006 for listening???

(I'm just guessing with the above question, if any1 has a better solution or more likely problem, please speak up)

Antwoorden

Maandag 25 Januari 2016 om 7:09
Personally I never test multiplayer, most testers on the AppDB don't either.
It's not a setting in PoL or Wine for sure (neither do anything special with networking), if there's some firewalling in place it's distribution-specific
fattum Zondag 24 Mei 2015 om 4:26
fattum Anonymous

Bericht

Hi. Single player works perfect, but i struggle running multiplayer. I tried several scenarios. Firstly, i hosted the game with "gameserver.exe" (adding this exe to playonlinux). I couldnt see my own game regardless the ip I used to host. I tried both, my local ip, and hamachi ip. Afterwards, I tried to host from the game. Game doesnt start, everything I get is a message: "Gameserver: ready!". I though, okay, i can't host, so I asked my friend to do it. As you probably guessed, we use hamachi. He created server from the game and i could see it in the lan-lobby! But if I try to connect, everything I get is a message:"Establishing connection". I am curious, if there are any tricks or works around?

Antwoorden

Anonymous
Zondag 24 Mei 2015 om 5:11
Okay, lan multiplayer via hamachi is possible, if some1 on windows hosts with "gameserver.exe". If someone will know, how to host on linux, you are welcome to share^^
rooiebiet Donderdag 29 Januari 2015 om 14:56
rooiebiet Anonymous

Bericht

game starts good wen starting a game online or single player game crashes

Antwoorden

Anonymous
Donderdag 29 Januari 2015 om 15:00
i love this game played it in the old days on my old pc now i want to play it on my mac
LelixSuper Donderdag 7 Augustus 2014 om 18:45
LelixSuper

Bericht

The program works fine.
I am in possession of the original DVD Sacred Gold (Italian version), I have not encountered any problems during the installation and only two graphical glitches in my first seven hours of play.
The only flaw is that clicking on the "Exit" from the game I do not go out, I do not know if it's my fault or do not understand something.

 

Antwoorden

Donderdag 7 Augustus 2014 om 20:46
This script only supports the GOG release of the game
Anonymous
Donderdag 28 Augustus 2014 om 22:12
Please, I downloaded GOG release, I installed play on mac, after a bunch of installation procedures I wanted to run the game, but the screen got all black. I can hear the noise of the title menu, but can't see anything. Can you help?
Anonymous
Vrijdag 29 Augustus 2014 om 0:05
Try with wine 1.7.25
Vrijdag 29 Augustus 2014 om 13:47
I delayed the upgrade of Wine in the script because:
- frame rate was often significantly lower with 1.6.x than with 1.4.1 on my hardware;
- I sometimes got crashes on game exit with Wine 1.6.x
It seems the former is just related to the support of more features: frame rate is roughly the same once I disabled GLSL. Not sure about the latter (requires more tests)