GOG.com - Ground Control 2

Informations

Créateur Messages
petch

Information

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

Informations

Plate-formes :
Téléchargements : 8961
Wine: 2.22

Retours d'expérience

Description

English: In this real-time strategy game, you control some futuristic army...
(updated for GOG installer v2)

GOG now has installers for Mac

Français : Ground Control 2 est un jeu de stratégie en temps réel futuriste, où vous dirigez une armée sur le terrain...
(mis à jour pour l'installeur GOG v2)

GOG propose maintenant des installeurs pour Mac

Code source

#!/bin/bash
# Date : (2011-12-03 20-32)
# Last revision : see cangelog
# Wine version used : 2.22
# 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] (2011-12-03 20-32)
#   Initial script.
# [Pierre Etchemaite] (2013-12-24 11-48)
#   ? Wine 1.3.36 -> 1.4.1 ?
# [Dadu042] (2020-01-19 13:50)
#   Wine 1.4.1 -> 2.22

# KNOWN ISSUES (2013):
# Supposed to be "Gold" on WineHQ with 1.3.23, but I crash it with middle-click + drag
# - Same for 1.3.27-rawinput2,
# - very easily with 1.3.33
# - couldn't crash it with 1.3.34-rawinput2
# - 1.3.34 ok

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

GOGID="ground_control_2_operation_exodus"
PREFIX="GrndCtrl2_gog"
WORKING_WINE_VERSION="2.22"

TITLE="GOG.com - Ground Control 2"
SHORTCUT_NAME="Ground Control 2"

POL_SetupWindow_Init
POL_SetupWindow_SetID 1016
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Massive Entertainment / Rebellion" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "db42c0a6e8c5b4c75f3969bb0d084292"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Wine_InstallFonts

POL_Call POL_GoG_install


# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "32"

# Helps at least when windowed
POL_Wine_X11Drv "GrabFullScreen" "Y"

# Remove the "beta DirectX version" warning upon first run
cat <<_EOFREG_ > "$POL_USER_ROOT/tmp/dxtested.reg"
[HKEY_LOCAL_MACHINE\Software\Massive Entertainment AB\Ground Control II]
"HardwareChecks"=dword:00000010
"HardwareCheckVersion"=dword:00000009
_EOFREG_
POL_Wine regedit "$POL_USER_ROOT/tmp/dxtested.reg"
rm "$POL_USER_ROOT/tmp/dxtested.reg"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "gcii.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;StrategyGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Ground Control II/Manual.pdf"
# C:\GOG Games\Ground Control II\readme.txt

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Lundi 20 Janvier 2020 à 11:35
Dadu042

Information

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

Differences

@@ -1,25 +1,34 @@
 #!/bin/bash
 # Date : (2011-12-03 20-32)
-# Last revision : (2013-12-24 11-48)
-# Wine version used : 1.3.36, 1.4.1
+# Last revision : see cangelog
+# Wine version used : 2.22
 # 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] (2011-12-03 20-32)
+#   Initial script.
+# [Pierre Etchemaite] (2013-12-24 11-48)
+#   ? Wine 1.3.36 -> 1.4.1 ?
+# [Dadu042] (2020-01-19 13:50)
+#   Wine 1.4.1 -> 2.22
 
+# KNOWN ISSUES (2013):
 # Supposed to be "Gold" on WineHQ with 1.3.23, but I crash it with middle-click + drag
-# Same for 1.3.27-rawinput2,
-# very easily with 1.3.33
-# couldn't crash it with 1.3.34-rawinput2
-# 1.3.34 ok
+# - Same for 1.3.27-rawinput2,
+# - very easily with 1.3.33
+# - couldn't crash it with 1.3.34-rawinput2
+# - 1.3.34 ok
 
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 GOGID="ground_control_2_operation_exodus"
 PREFIX="GrndCtrl2_gog"
-WORKING_WINE_VERSION="1.4.1"
+WORKING_WINE_VERSION="2.22"
 
 TITLE="GOG.com - Ground Control 2"
 SHORTCUT_NAME="Ground Control 2"

Nouveau code source

#!/bin/bash
# Date : (2011-12-03 20-32)
# Last revision : see cangelog
# Wine version used : 2.22
# 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] (2011-12-03 20-32)
#   Initial script.
# [Pierre Etchemaite] (2013-12-24 11-48)
#   ? Wine 1.3.36 -> 1.4.1 ?
# [Dadu042] (2020-01-19 13:50)
#   Wine 1.4.1 -> 2.22

# KNOWN ISSUES (2013):
# Supposed to be "Gold" on WineHQ with 1.3.23, but I crash it with middle-click + drag
# - Same for 1.3.27-rawinput2,
# - very easily with 1.3.33
# - couldn't crash it with 1.3.34-rawinput2
# - 1.3.34 ok

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

GOGID="ground_control_2_operation_exodus"
PREFIX="GrndCtrl2_gog"
WORKING_WINE_VERSION="2.22"

TITLE="GOG.com - Ground Control 2"
SHORTCUT_NAME="Ground Control 2"

POL_SetupWindow_Init
POL_SetupWindow_SetID 1016
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Massive Entertainment / Rebellion" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "db42c0a6e8c5b4c75f3969bb0d084292"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Wine_InstallFonts

POL_Call POL_GoG_install


# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "32"

# Helps at least when windowed
POL_Wine_X11Drv "GrabFullScreen" "Y"

# Remove the "beta DirectX version" warning upon first run
cat <<_EOFREG_ > "$POL_USER_ROOT/tmp/dxtested.reg"
[HKEY_LOCAL_MACHINE\Software\Massive Entertainment AB\Ground Control II]
"HardwareChecks"=dword:00000010
"HardwareCheckVersion"=dword:00000009
_EOFREG_
POL_Wine regedit "$POL_USER_ROOT/tmp/dxtested.reg"
rm "$POL_USER_ROOT/tmp/dxtested.reg"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "gcii.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;StrategyGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Ground Control II/Manual.pdf"
# C:\GOG Games\Ground Control II\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