GOG.com - Total Annihilation: Commander Pack

Informations

Creator Message
petch

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 13796
Wine: 3.0.3

Feedbacks

Description

English: Total Annihilation and its expansion packs The Core Contingency and Battle Tactics... 245 units, 175 missions, 90 multiplayer maps, and 12 3D worlds, the ultimate edition for real time strategy fans.

GOG now has installers for Mac

Français : Total Annihilation et ses deux extensions The Core Contingency et Battle Tactics... 245 unités, 175 missions, 90 cartes multijoueurs, et 12 mondes en 3D, la version définitive pour les amateurs de jeux de stratégie temps-réel.

GOG propose maintenant des installeurs pour Mac

Screenshots

MiniatureMiniatureMiniature

Source code

#!/bin/bash
# Date : (2012-12-02 15-45)
# Last revision : changelog
# Wine version used :
# Distribution used to test : Debian Sid (Unstable)
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :

# Wine
# 1.4.1, 1.5.0: unimplemented function msvcp90.dll.??0?$basic_ifstream@DU?$char_traits@D@std@@@std@@QAE@XZ, aborting
# 1.5.7, 1.5.8: black screen
# 1.5.9, 1.5.10, 1.5.12: ok

# CHANGELOG
# [Pierre Etchemaite] (2012-12-02 15-45)
#   Initial script.
# [Pierre Etchemaite] (2013-05-16 21-17)
#   ?
# [khampf] (2017-à3-11)
#   Add Register mouse clicks
# [Dadu042] (2020-03-20 19:30).
#   Wine 1.5.9 -> 3.0.3


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

GOGID="total_anihilation_commander_pack"
PREFIX="TotalAnnihilationCP_gog"
WORKING_WINE_VERSION="3.0.3"

TITLE="GOG.com - Total Annihilation: Commander Pack"
SHORTCUT_NAME="Total Annihilation: Commander Pack"

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

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

POL_Call POL_GoG_setup "$GOGID" "0328c16e7bd74dd3cb9229977a11e9d7"

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


# Otherwise the game complains about DirectX version
Set_OS win98

# Could not find any reliable info about that
POL_SetupWindow_VMS "4"

# Help with mouse scrolling
POL_Wine_X11Drv "GrabFullScreen" "Y"

# Register mouse clicks
Set_Managed "off"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "TotalA.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;StrategyGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/GOG Games/Total Annihilation - Commander Pack/manual.pdf"
# C:\GOG Games\Total Annihilation - Commander Pack\readme.txt
# C:\GOG Games\Total Annihilation - Commander Pack\BTREADME.TXT
# C:\GOG Games\Total Annihilation - Commander Pack\Taccread.txt
# C:\GOG Games\Total Annihilation - Commander Pack\TAE.EXE
# C:\GOG Games\Total Annihilation - Commander Pack\TAEread.txt

POL_SetupWindow_Close

exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Saturday 21 March 2020 at 14:39
Dadu042

Information

This update has been approved by the team.

Differences

@@ -1,23 +1,35 @@
 #!/bin/bash
 # Date : (2012-12-02 15-45)
-# Last revision : (2013-05-16 21-17)
-# Wine version used : 1.5.9
+# Last revision : changelog
+# Wine version used :
 # Distribution used to test : Debian Sid (Unstable)
 # Author : Pierre Etchemaite pe-pol@concept-micro.com
 # Script licence : GPL v.2
 # Program licence : Retail
 # Depend :
 
+# Wine
 # 1.4.1, 1.5.0: unimplemented function msvcp90.dll.??0?$basic_ifstream@DU?$char_traits@D@std@@@std@@QAE@XZ, aborting
 # 1.5.7, 1.5.8: black screen
 # 1.5.9, 1.5.10, 1.5.12: ok
 
+# CHANGELOG
+# [Pierre Etchemaite] (2012-12-02 15-45)
+#   Initial script.
+# [Pierre Etchemaite] (2013-05-16 21-17)
+#   ?
+# [khampf] (2017-à3-11)
+#   Add Register mouse clicks
+# [Dadu042] (2020-03-20 19:30).
+#   Wine 1.5.9 -> 3.0.3
+
+
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 GOGID="total_anihilation_commander_pack"
 PREFIX="TotalAnnihilationCP_gog"
-WORKING_WINE_VERSION="1.5.9"
+WORKING_WINE_VERSION="3.0.3"
 
 TITLE="GOG.com - Total Annihilation: Commander Pack"
 SHORTCUT_NAME="Total Annihilation: Commander Pack"

New source code

#!/bin/bash
# Date : (2012-12-02 15-45)
# Last revision : changelog
# Wine version used :
# Distribution used to test : Debian Sid (Unstable)
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :

# Wine
# 1.4.1, 1.5.0: unimplemented function msvcp90.dll.??0?$basic_ifstream@DU?$char_traits@D@std@@@std@@QAE@XZ, aborting
# 1.5.7, 1.5.8: black screen
# 1.5.9, 1.5.10, 1.5.12: ok

# CHANGELOG
# [Pierre Etchemaite] (2012-12-02 15-45)
#   Initial script.
# [Pierre Etchemaite] (2013-05-16 21-17)
#   ?
# [khampf] (2017-à3-11)
#   Add Register mouse clicks
# [Dadu042] (2020-03-20 19:30).
#   Wine 1.5.9 -> 3.0.3


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

GOGID="total_anihilation_commander_pack"
PREFIX="TotalAnnihilationCP_gog"
WORKING_WINE_VERSION="3.0.3"

TITLE="GOG.com - Total Annihilation: Commander Pack"
SHORTCUT_NAME="Total Annihilation: Commander Pack"

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

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

POL_Call POL_GoG_setup "$GOGID" "0328c16e7bd74dd3cb9229977a11e9d7"

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


# Otherwise the game complains about DirectX version
Set_OS win98

# Could not find any reliable info about that
POL_SetupWindow_VMS "4"

# Help with mouse scrolling
POL_Wine_X11Drv "GrabFullScreen" "Y"

# Register mouse clicks
Set_Managed "off"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "TotalA.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;StrategyGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/GOG Games/Total Annihilation - Commander Pack/manual.pdf"
# C:\GOG Games\Total Annihilation - Commander Pack\readme.txt
# C:\GOG Games\Total Annihilation - Commander Pack\BTREADME.TXT
# C:\GOG Games\Total Annihilation - Commander Pack\Taccread.txt
# C:\GOG Games\Total Annihilation - Commander Pack\TAE.EXE
# C:\GOG Games\Total Annihilation - Commander Pack\TAEread.txt

POL_SetupWindow_Close

exit 0

Replies

khampf Saturday 11 March 2017 at 1:18
khampf

Warning

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

Message

Works perfectly after switching to Wine 2.0 (on Arch Linux)

Differences

@@ -50,6 +50,9 @@
 # Help with mouse scrolling
 POL_Wine_X11Drv "GrabFullScreen" "Y"
 
+# Register mouse clicks
+Set_Managed "off"
+
 # Doesn't hurt ;)
 POL_Wine_reboot
 

New source code

#!/bin/bash
# Date : (2012-12-02 15-45)
# Last revision : (2013-05-16 21-17)
# Wine version used : 1.5.9
# Distribution used to test : Debian Sid (Unstable)
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :

# 1.4.1, 1.5.0: unimplemented function msvcp90.dll.??0?$basic_ifstream@DU?$char_traits@D@std@@@std@@QAE@XZ, aborting
# 1.5.7, 1.5.8: black screen
# 1.5.9, 1.5.10, 1.5.12: ok

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

GOGID="total_anihilation_commander_pack"
PREFIX="TotalAnnihilationCP_gog"
WORKING_WINE_VERSION="1.5.9"

TITLE="GOG.com - Total Annihilation: Commander Pack"
SHORTCUT_NAME="Total Annihilation: Commander Pack"

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

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

POL_Call POL_GoG_setup "$GOGID" "0328c16e7bd74dd3cb9229977a11e9d7"

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


# Otherwise the game complains about DirectX version
Set_OS win98

# Could not find any reliable info about that
POL_SetupWindow_VMS "4"

# Help with mouse scrolling
POL_Wine_X11Drv "GrabFullScreen" "Y"

# Register mouse clicks
Set_Managed "off"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "TotalA.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;StrategyGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/GOG Games/Total Annihilation - Commander Pack/manual.pdf"
# C:\GOG Games\Total Annihilation - Commander Pack\readme.txt
# C:\GOG Games\Total Annihilation - Commander Pack\BTREADME.TXT
# C:\GOG Games\Total Annihilation - Commander Pack\Taccread.txt
# C:\GOG Games\Total Annihilation - Commander Pack\TAE.EXE
# C:\GOG Games\Total Annihilation - Commander Pack\TAEread.txt

POL_SetupWindow_Close

exit 0

Replies

Saturday 21 March 2020 at 14:24
Script approved
deeluna Friday 21 August 2015 at 20:00
deeluna Anonymous

Message

First of all this program runs just fine after installation, The thing that you have to do though is not use the wine version that the script installs for you.  Otherwise I just ran into crashing as soon as the game got past the intro videos.

 

Within Linux Mint 17.2 I installed the latest Wine that it would allow without adding repositories, which is Wine version 1.6.2.  All you have to do after installer runs is switch the Wine version within the configuration of PlayOnLinux to direct to the system installed version instead of the 1.5.9 that it installs with the script.  After that the game would run just like I would expect on an old windows box.

 

Another thing that may be useful to note is setting Wine to emulate a desktop is helpful from what I read around the net, and to not allow the window manager to be able to manipulate windows.

 

What works:

Skirmish

Music

sound

menus

what doesn't:

Unknown yet, not fully tested

What's not tested:

Campaign

multiplayer

 

I would submit an improvement, but I would have to learn what the coding is as I do not want to break it for someone else.

Replies

Friday 21 August 2015 at 21:29
Does it work with PlayOnLinux-packaged Wine 1.6.2, or does it work because you use a system Wine?
szpakinslaw Saturday 28 June 2014 at 22:57
szpakinslaw Anonymous

Message

Operating system : LMDE 201403
Graphic card : NVIDIA Quadro NVS 160M, nvidia driver version: 319.72
Comments : The game complains about inability to select 640x480x8 graphics mode and won't start. I guess it is some issue with the card.

I found a workaround is to use "Emulate virtual desktop" option. This allows to start the game and configure fullscreen gameplay in higher resolution. Perhaps a notification for user would be in order.

Replies