GOG.com - Unreal Tournament GOTY

Informations

Créateur Messages
3limin4t0r Anonymous

Information

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

Informations

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

Retours d'expérience

Description

Installer for Unreal Tournament GOTY edition.

Code source

#!/bin/bash
# Date : (2014-05-07 09-32)
# Wine version used : 1.4.1, 1.6.2
# Distribution used to test : Debian Wheezy (Stable) - LXDE
# Author : 3limin4t0r
# Program licence : Retail
# Depend :

# CHANGELOG
# [Dadu042] (2020-10-30 20-00).
#   Initial script.
# [Dadu042] (2020-12-17 20-00).
#   Wine 1.6.2 -> 3.0.3

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

GOGID="unreal_tournament_goty"
PREFIX="UnrealGOTY_gog"
WORKING_WINE_VERSION="3.0.3"
PATCH_ARCHIVE="utglr36.zip"

TITLE="GOG.com - Unreal Tournament GOTY"
SHORTCUT_NAME="Unreal Tournament GOTY"

#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 1759
POL_Debug_Init

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

POL_Call POL_GoG_setup "$GOGID" "0d25ec835648710a098aff7106187f38"

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

# GoG work
Set_OS winxp

POL_SetupWindow_VMS "8"

# Default OpenGL renderer crashes on exit, pick a better one
# Source http://www.cwdohnal.com/utglr/
POL_Download "http://files.playonlinux.com/$PATCH_ARCHIVE" "72f83fa389f7ba26f67103df7f4e255f"

POL_System_ExtractSingleFile "$PATCH_ARCHIVE" "OpenGLDrv.dll" "$GOGROOT/Unreal Tournament GOTY/System/OpenGlDrv.dll"

# Doesn't hurt
POL_Wine_reboot

POL_Shortcut "UnrealTournament.exe" "$SHORTCUT_NAME" "" "" "Game;ActionGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/GOG Games/Unreal Tournament GOTY/Manual/Manual.pdf"
# C:\GOG Games\Unreal Tournament GOTY\Help\ReadMe.htm

# OpenGL tip
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;\nYou can select it after clicking on "Show all devices".')" "$TITLE"

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Jeudi 17 Décembre 2020 à 8:48
Dadu042

Information

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

Messages

not tested.

Differences

@@ -5,12 +5,19 @@
 # Author : 3limin4t0r
 # Program licence : Retail
 # Depend :
+
+# CHANGELOG
+# [Dadu042] (2020-10-30 20-00).
+#   Initial script.
+# [Dadu042] (2020-12-17 20-00).
+#   Wine 1.6.2 -> 3.0.3
+
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 GOGID="unreal_tournament_goty"
 PREFIX="UnrealGOTY_gog"
-WORKING_WINE_VERSION="1.6.2"
+WORKING_WINE_VERSION="3.0.3"
 PATCH_ARCHIVE="utglr36.zip"
 
 TITLE="GOG.com - Unreal Tournament GOTY"

Nouveau code source

#!/bin/bash
# Date : (2014-05-07 09-32)
# Wine version used : 1.4.1, 1.6.2
# Distribution used to test : Debian Wheezy (Stable) - LXDE
# Author : 3limin4t0r
# Program licence : Retail
# Depend :

# CHANGELOG
# [Dadu042] (2020-10-30 20-00).
#   Initial script.
# [Dadu042] (2020-12-17 20-00).
#   Wine 1.6.2 -> 3.0.3

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

GOGID="unreal_tournament_goty"
PREFIX="UnrealGOTY_gog"
WORKING_WINE_VERSION="3.0.3"
PATCH_ARCHIVE="utglr36.zip"

TITLE="GOG.com - Unreal Tournament GOTY"
SHORTCUT_NAME="Unreal Tournament GOTY"

#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 1759
POL_Debug_Init

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

POL_Call POL_GoG_setup "$GOGID" "0d25ec835648710a098aff7106187f38"

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

# GoG work
Set_OS winxp

POL_SetupWindow_VMS "8"

# Default OpenGL renderer crashes on exit, pick a better one
# Source http://www.cwdohnal.com/utglr/
POL_Download "http://files.playonlinux.com/$PATCH_ARCHIVE" "72f83fa389f7ba26f67103df7f4e255f"

POL_System_ExtractSingleFile "$PATCH_ARCHIVE" "OpenGLDrv.dll" "$GOGROOT/Unreal Tournament GOTY/System/OpenGlDrv.dll"

# Doesn't hurt
POL_Wine_reboot

POL_Shortcut "UnrealTournament.exe" "$SHORTCUT_NAME" "" "" "Game;ActionGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/GOG Games/Unreal Tournament GOTY/Manual/Manual.pdf"
# C:\GOG Games\Unreal Tournament GOTY\Help\ReadMe.htm

# OpenGL tip
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;\nYou can select it after clicking on "Show all devices".')" "$TITLE"

POL_SetupWindow_Close
exit 0

Réponses

cymen Mercredi 16 Décembre 2020 à 21:20
cymen Anonymous

Messages

Installation fails.

It hangs when creating the virtual drive.

Seems the wine version it is using is too old to find the necessary additional packages. It is complaining about freetype and ncurses in the background.

 

Réponses

Jeudi 17 Décembre 2020 à 8:47
You are right.

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