GOG.com - Unreal Gold

Informations

Creator Message
petch

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 13165
Wine: 3.0.3

Feedbacks

Description

English: The famous first person shooter and its extension "Return to Na Pali".
(updated for GOG installer v2)

Français : Le célèbre jeu de tir à la première personne et son extension "Return to Na Pali".
(mis à jour pour l'installeur GOG v2)

Source code

#!/bin/bash
# Date : (2012-07-29 16-18)
# Last revision : 
# Wine version used : 1.4.1, 1.6.2,
# 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-07-29 16-18)
#   Initial script.
# [Pierre Etchemaite]  (2014-07-06 16-22)
#   ?
# [Dadu042] (2020-04-19 12:30).
#   Wine 1.6.2 (outdated) -> 3.0.3 (not tested)

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

GOGID="unreal_gold"
PREFIX="UnrealGold_gog"
WORKING_WINE_VERSION="3.0.3"
PATCH_ARCHIVE="OMP-UGOLD-V0.2.zip"

TITLE="GOG.com - Unreal Gold"
SHORTCUT_NAME="Unreal 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 1335
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Epic Games" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "e19566e9bbda7029efcc179b8dd39d61"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# fake sdbinst.exe
POL_Call POL_Install_nop "$WINEPREFIX/drive_c/windows/system32/sdbinst.exe" 

POL_Call POL_GoG_install


cd "$POL_USER_ROOT/tmp" || POL_Debug_Fatal "Can't find temp directory!"

# Update and enable OpenGL driver
# Taken from http://www.oldunreal.com/specialpatches.html
POL_Download "http://files.playonlinux.com/$PATCH_ARCHIVE" "455dc59d939cff53cf3c28b9d7dbc87d"

POL_System_ExtractSingleFile "$PATCH_ARCHIVE" "OpenGLDrv.dll" "$GOGROOT/Unreal Gold/System/OpenGlDrv.dll"
POL_System_ExtractSingleFile "$PATCH_ARCHIVE" "OpenGlDrv.int" "$GOGROOT/Unreal Gold/System/OpenGlDrv.int"
POL_System_ExtractSingleFile "$PATCH_ARCHIVE" "Unreal.exe" "$GOGROOT/Unreal Gold/System/Unreal.exe"
POL_System_ExtractSingleFile "$PATCH_ARCHIVE" "UCC.exe" "$GOGROOT/Unreal Gold/System/UCC.exe"
POL_System_ExtractSingleFile "$PATCH_ARCHIVE" "Setup.exe" "$GOGROOT/Unreal Gold/System/Setup.exe"
#perl -i.bak -pe 's/^GameRenderDevice=[0-9A-Za-z.]*/GameRenderDevice=OpenGLDrv.OpenGLRenderDevice/' "$WINEPREFIX/drive_c/$PROGRAMFILES/GOG.com/Unreal Gold/System/Unreal.ini"

# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "8"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "Unreal.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;ActionGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Unreal Gold/Manual/Manual.pdf"
# C:\GOG Games\Unreal Gold\Help\ReadMe.txt

# C:\GOG Games\Unread Gold\System\UnrealEd.exe

POL_SetupWindow_message "$(eval_gettext 'On first run the game will autodetect available renderers.\nIt is likely that you will get better performance out of the OpenGL renderer.')" "$TITLE"

POL_SetupWindow_Close

exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Sunday 19 April 2020 at 14:35
Dadu042

Information

This update has been approved by the team.

Differences

@@ -1,19 +1,27 @@
 #!/bin/bash
 # Date : (2012-07-29 16-18)
-# Last revision : (2014-07-06 16-22)
-# Wine version used : 1.4.1, 1.6.2
+# Last revision : 
+# Wine version used : 1.4.1, 1.6.2,
 # 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-07-29 16-18)
+#   Initial script.
+# [Pierre Etchemaite]  (2014-07-06 16-22)
+#   ?
+# [Dadu042] (2020-04-19 12:30).
+#   Wine 1.6.2 (outdated) -> 3.0.3 (not tested)
 
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 GOGID="unreal_gold"
 PREFIX="UnrealGold_gog"
-WORKING_WINE_VERSION="1.6.2"
+WORKING_WINE_VERSION="3.0.3"
 PATCH_ARCHIVE="OMP-UGOLD-V0.2.zip"
 
 TITLE="GOG.com - Unreal Gold"
@@ -69,4 +77,4 @@
 
 POL_SetupWindow_Close
 
-exit 0
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2012-07-29 16-18)
# Last revision : 
# Wine version used : 1.4.1, 1.6.2,
# 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-07-29 16-18)
#   Initial script.
# [Pierre Etchemaite]  (2014-07-06 16-22)
#   ?
# [Dadu042] (2020-04-19 12:30).
#   Wine 1.6.2 (outdated) -> 3.0.3 (not tested)

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

GOGID="unreal_gold"
PREFIX="UnrealGold_gog"
WORKING_WINE_VERSION="3.0.3"
PATCH_ARCHIVE="OMP-UGOLD-V0.2.zip"

TITLE="GOG.com - Unreal Gold"
SHORTCUT_NAME="Unreal 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 1335
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Epic Games" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "e19566e9bbda7029efcc179b8dd39d61"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# fake sdbinst.exe
POL_Call POL_Install_nop "$WINEPREFIX/drive_c/windows/system32/sdbinst.exe" 

POL_Call POL_GoG_install


cd "$POL_USER_ROOT/tmp" || POL_Debug_Fatal "Can't find temp directory!"

# Update and enable OpenGL driver
# Taken from http://www.oldunreal.com/specialpatches.html
POL_Download "http://files.playonlinux.com/$PATCH_ARCHIVE" "455dc59d939cff53cf3c28b9d7dbc87d"

POL_System_ExtractSingleFile "$PATCH_ARCHIVE" "OpenGLDrv.dll" "$GOGROOT/Unreal Gold/System/OpenGlDrv.dll"
POL_System_ExtractSingleFile "$PATCH_ARCHIVE" "OpenGlDrv.int" "$GOGROOT/Unreal Gold/System/OpenGlDrv.int"
POL_System_ExtractSingleFile "$PATCH_ARCHIVE" "Unreal.exe" "$GOGROOT/Unreal Gold/System/Unreal.exe"
POL_System_ExtractSingleFile "$PATCH_ARCHIVE" "UCC.exe" "$GOGROOT/Unreal Gold/System/UCC.exe"
POL_System_ExtractSingleFile "$PATCH_ARCHIVE" "Setup.exe" "$GOGROOT/Unreal Gold/System/Setup.exe"
#perl -i.bak -pe 's/^GameRenderDevice=[0-9A-Za-z.]*/GameRenderDevice=OpenGLDrv.OpenGLRenderDevice/' "$WINEPREFIX/drive_c/$PROGRAMFILES/GOG.com/Unreal Gold/System/Unreal.ini"

# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "8"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "Unreal.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;ActionGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Unreal Gold/Manual/Manual.pdf"
# C:\GOG Games\Unreal Gold\Help\ReadMe.txt

# C:\GOG Games\Unread Gold\System\UnrealEd.exe

POL_SetupWindow_message "$(eval_gettext 'On first run the game will autodetect available renderers.\nIt is likely that you will get better performance out of the OpenGL renderer.')" "$TITLE"

POL_SetupWindow_Close

exit 0

Replies

petch Sunday 6 July 2014 at 16:54
petch

Warning

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

Message

Upgrade Wine to version 1.6.2 (#3735)

Differences

@@ -1,7 +1,7 @@
 #!/bin/bash
 # Date : (2012-07-29 16-18)
-# Last revision : (2013-12-02 23-13)
-# Wine version used : 1.4.1
+# Last revision : (2014-07-06 16-22)
+# Wine version used : 1.4.1, 1.6.2
 # Distribution used to test : Debian Sid (Unstable)
 # Author : Pierre Etchemaite pe-pol@concept-micro.com
 # Script licence : GPL v.2
@@ -13,7 +13,7 @@
 
 GOGID="unreal_gold"
 PREFIX="UnrealGold_gog"
-WORKING_WINE_VERSION="1.4.1"
+WORKING_WINE_VERSION="1.6.2"
 PATCH_ARCHIVE="OMP-UGOLD-V0.2.zip"
 
 TITLE="GOG.com - Unreal Gold"

New source code

#!/bin/bash
# Date : (2012-07-29 16-18)
# Last revision : (2014-07-06 16-22)
# Wine version used : 1.4.1, 1.6.2
# Distribution used to test : Debian Sid (Unstable)
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :

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

GOGID="unreal_gold"
PREFIX="UnrealGold_gog"
WORKING_WINE_VERSION="1.6.2"
PATCH_ARCHIVE="OMP-UGOLD-V0.2.zip"

TITLE="GOG.com - Unreal Gold"
SHORTCUT_NAME="Unreal 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 1335
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Epic Games" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "e19566e9bbda7029efcc179b8dd39d61"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# fake sdbinst.exe
POL_Call POL_Install_nop "$WINEPREFIX/drive_c/windows/system32/sdbinst.exe" 

POL_Call POL_GoG_install


cd "$POL_USER_ROOT/tmp" || POL_Debug_Fatal "Can't find temp directory!"

# Update and enable OpenGL driver
# Taken from http://www.oldunreal.com/specialpatches.html
POL_Download "http://files.playonlinux.com/$PATCH_ARCHIVE" "455dc59d939cff53cf3c28b9d7dbc87d"

POL_System_ExtractSingleFile "$PATCH_ARCHIVE" "OpenGLDrv.dll" "$GOGROOT/Unreal Gold/System/OpenGlDrv.dll"
POL_System_ExtractSingleFile "$PATCH_ARCHIVE" "OpenGlDrv.int" "$GOGROOT/Unreal Gold/System/OpenGlDrv.int"
POL_System_ExtractSingleFile "$PATCH_ARCHIVE" "Unreal.exe" "$GOGROOT/Unreal Gold/System/Unreal.exe"
POL_System_ExtractSingleFile "$PATCH_ARCHIVE" "UCC.exe" "$GOGROOT/Unreal Gold/System/UCC.exe"
POL_System_ExtractSingleFile "$PATCH_ARCHIVE" "Setup.exe" "$GOGROOT/Unreal Gold/System/Setup.exe"
#perl -i.bak -pe 's/^GameRenderDevice=[0-9A-Za-z.]*/GameRenderDevice=OpenGLDrv.OpenGLRenderDevice/' "$WINEPREFIX/drive_c/$PROGRAMFILES/GOG.com/Unreal Gold/System/Unreal.ini"

# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "8"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "Unreal.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;ActionGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Unreal Gold/Manual/Manual.pdf"
# C:\GOG Games\Unreal Gold\Help\ReadMe.txt

# C:\GOG Games\Unread Gold\System\UnrealEd.exe

POL_SetupWindow_message "$(eval_gettext 'On first run the game will autodetect available renderers.\nIt is likely that you will get better performance out of the OpenGL renderer.')" "$TITLE"

POL_SetupWindow_Close

exit 0

Replies

johnstonbp Friday 4 July 2014 at 22:05
johnstonbp Anonymous

Message

Installer crashes at very end of progress bar:

Internal error: Expression error 'Runtime Error (at 18:21):

External exception 80000101.'

Then you get a brief view of the Windows installer which immediately exits and puts up a POL error:

"The program setup_unreal_gold 2.0.0.6.tmp has encoutnered a serious problem and needs to close.  We are sorry for the incovenience."

The detail log information to submit a bug report never comes up after several minutes of waiting at "Loading detailed informaiton, please wait..."

Replies

Sunday 6 July 2014 at 16:54
I updated the script to use Wine 1.6.2, does that help?
Anonymous
Thursday 17 July 2014 at 4:11
I still got:
Anonymous
Thursday 17 July 2014 at 4:11
Ignore above...
Anonymous
Thursday 17 July 2014 at 4:13
Sorry - problems with the web site, hitting return automatically posts...

I got the originall "Internal Error" above, but it did complete the installation now.

When I start the program though it goes to the splash screen and gives the message about "First time running Unreal Gold" and after hitting OK it crashes once I select a rendering device and hit OK.

Anonymous
Thursday 17 July 2014 at 4:22
Here is the log if it helps:

[07/16/14 22:09:32] - Running wine-1.6.2 wineboot (Working directory : /home/me/.PlayOnLinux/tmp)
[07/16/14 22:09:50] - Running wine-1.6.2 Unreal.exe (Working directory : /home/me/.PlayOnLinux/wineprefix/UnrealGold_gog/drive_c/GOG Games/Unreal Gold/System)
nvfx_state_fb.c:162: nvfx_framebuffer_validate: Assertion `0' failed.
[07/16/14 22:10:11] - Running wine-1.6.2 Unreal.exe (Working directory : /home/me/.PlayOnLinux/wineprefix/UnrealGold_gog/drive_c/GOG Games/Unreal Gold/System)
nvfx_state_fb.c:162: nvfx_framebuffer_validate: Assertion `0' failed.
[07/16/14 22:10:31] - Running wine-1.6.2 Unreal.exe (Working directory : /home/me/.PlayOnLinux/wineprefix/UnrealGold_gog/drive_c/GOG Games/Unreal Gold/System)
nvfx_state_fb.c:162: nvfx_framebuffer_validate: Assertion `0' failed.
[07/16/14 22:10:44] - Running wine-1.6.2 Unreal.exe (Working directory : /home/me/.PlayOnLinux/wineprefix/UnrealGold_gog/drive_c/GOG Games/Unreal Gold/System)
nvfx_state_fb.c:162: nvfx_framebuffer_validate: Assertion `0' failed.
[07/16/14 22:10:54] - Running wine-1.6.2 Unreal.exe (Working directory : /home/me/.PlayOnLinux/wineprefix/UnrealGold_gog/drive_c/GOG Games/Unreal Gold/System)
nvfx_state_fb.c:162: nvfx_framebuffer_validate: Assertion `0' failed.
[07/16/14 22:20:51] - Running wine-1.6.2 Unreal.exe (Working directory : /home/me/.PlayOnLinux/wineprefix/UnrealGold_gog/drive_c/GOG Games/Unreal Gold/System)
[07/16/14 22:20:53] - Running wine-1.6.2 Unreal.exe (Working directory : /home/me/.PlayOnLinux/wineprefix/UnrealGold_gog/drive_c/GOG Games/Unreal Gold/System)
nvfx_state_fb.c:162: nvfx_framebuffer_validate: Assertion `0' failed.
[07/16/14 22:21:18] - Running wine-1.6.2 Unreal.exe (Working directory : /home/me/.PlayOnLinux/wineprefix/UnrealGold_gog/drive_c/GOG Games/Unreal Gold/System)
fixme:process:GetProcessWorkingSetSize (0xffffffff,0x32f4d8,0x32f4d0): stub
Thursday 17 July 2014 at 7:13
Try with the nVidia proprietary video drivers
Anonymous
Friday 25 July 2014 at 19:32
Yes! This worked - I never realized I didn't have the proprietary nVidia drivers installed (win for xorg). For future folks on Debian who run into this: https://wiki.debian.org/NvidiaGraphicsDrivers

Thanks much - game works great other than choppy audio which I suspect is Pulse Audio related based upon what I've had problems with in the past. I'll figure that one out later. Changing vote to "Thumbs Up"!
Anonymous
Friday 25 July 2014 at 19:35
Well I can't figure out how to change vote - but like I said works great now, thanks for the updates and the help!!!