GOG.com - UFO: Afterlight

Informations

Créateur Messages
petch

Information

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

Informations

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

Retours d'expérience

Description

English: Humans have lost Earth to the aliens, and must survive on Mars.
(updated for GOG installer v2)

Français : Les humains ont dû abandonner la Terre aux extraterrestres et doivent survivre sur Mars.
(mis à jour pour l'installeur GOG v2)

Captures d'écran

MiniatureMiniatureMiniatureMiniature

Code source

#!/bin/bash
# Date : (2012-06-03 18-35)
# Last revision : 
# Wine version used : 1.4.1, 1.5.4
# 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-06-03 18-35)
#   Initial script.
# [Pierre Etchemaite] (2013-11-01 18-46)
#   Script updated for GOG's installer v2.
# [Dadu042] (2020-04-19 12:30).
#   Wine 1.4.1 (outdated) -> 3.0.3 (not tested)

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

GOGID="ufo_afterlight"
PREFIX="UfoAfterlight_gog"
WORKING_WINE_VERSION="3.0.3"

TITLE="GOG.com - UFO: Afterlight"
SHORTCUT_NAME="UFO: Afterlight"

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

POL_SetupWindow_presentation "$TITLE" "Altar Interactive / 1C Publishing" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "5ae01cf10378020fc492a53655c063a2" "0ef944c8daf01338db8ac4ccce854cbc" "0389fdfd732fff2067c3abf538d6962c"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install


# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "128"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "UFO.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;StrategyGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/UFO Afterlight/manual.pdf"
# C:\GOG Games\UFO Afterlight\readme.txt

POL_SetupWindow_Close

exit 0

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Dimanche 19 Avril 2020 à 14:38
Dadu042

Information

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

Differences

@@ -1,19 +1,27 @@
 #!/bin/bash
 # Date : (2012-06-03 18-35)
-# Last revision : (2013-11-01 18-46)
+# Last revision : 
 # Wine version used : 1.4.1, 1.5.4
 # 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-06-03 18-35)
+#   Initial script.
+# [Pierre Etchemaite] (2013-11-01 18-46)
+#   Script updated for GOG's installer v2.
+# [Dadu042] (2020-04-19 12:30).
+#   Wine 1.4.1 (outdated) -> 3.0.3 (not tested)
 
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 GOGID="ufo_afterlight"
 PREFIX="UfoAfterlight_gog"
-WORKING_WINE_VERSION="1.4.1"
+WORKING_WINE_VERSION="3.0.3"
 
 TITLE="GOG.com - UFO: Afterlight"
 SHORTCUT_NAME="UFO: Afterlight"

Nouveau code source

#!/bin/bash
# Date : (2012-06-03 18-35)
# Last revision : 
# Wine version used : 1.4.1, 1.5.4
# 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-06-03 18-35)
#   Initial script.
# [Pierre Etchemaite] (2013-11-01 18-46)
#   Script updated for GOG's installer v2.
# [Dadu042] (2020-04-19 12:30).
#   Wine 1.4.1 (outdated) -> 3.0.3 (not tested)

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

GOGID="ufo_afterlight"
PREFIX="UfoAfterlight_gog"
WORKING_WINE_VERSION="3.0.3"

TITLE="GOG.com - UFO: Afterlight"
SHORTCUT_NAME="UFO: Afterlight"

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

POL_SetupWindow_presentation "$TITLE" "Altar Interactive / 1C Publishing" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "5ae01cf10378020fc492a53655c063a2" "0ef944c8daf01338db8ac4ccce854cbc" "0389fdfd732fff2067c3abf538d6962c"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install


# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "128"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "UFO.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;StrategyGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/UFO Afterlight/manual.pdf"
# C:\GOG Games\UFO Afterlight\readme.txt

POL_SetupWindow_Close

exit 0

Réponses

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