GOG.com - Total Annihilation: Kingdoms

Informations

Creator Nachricht
petch
Developer

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 5696
Wine: 1.4.1

Feedbacks

Description

English: Strategy game. Contains Total Annihilation: Kingdoms and the Iron Plague expansion.
(updated for GOG installer v2)

GOG now has installers for Mac

Français : Jeu de stratégie. Contient Total Annihilation: Kingdoms et l'extension Iron Plague.
(mis à jour pour l'installeur GOG v2)

GOG propose maintenant des installeurs pour Mac

Screenshots

MiniatureMiniatureMiniatureMiniatureMiniature

Source code

#!/bin/bash
# Date : (2012-09-08 10-59)
# Last revision : (2013-07-10 13-41)
# Wine version used : 1.4.1
# 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="total_annihilation_kingdoms"
PREFIX="TotalAnnihilationKingdoms_gog"
WORKING_WINE_VERSION="1.4.1"

TITLE="GOG.com - Total Annihilation: Kingdoms"
SHORTCUT_NAME="Total Annihilation: Kingdoms"

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 1391
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" "206f4b8e9159414ee38ec609831907bb"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install


Set_Desktop "On" "640" "480"
POL_Wine_X11Drv "GrabFullScreen" "Y"

# GoG work!
Set_OS winxp

# "SVGA"?
POL_SetupWindow_VMS "4"

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "Kingdoms.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;StrategyGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/GOG Games/Total Annihilation Kingdoms/Manual.pdf"
# C:\GOG Games\Total Annihilation Kingdoms\ReadMe.txt
# C:\GOG Games\Total Annihilation Kingdoms\atlas\index.html
# C:\GOG Games\Total Annihilation Kingdoms\readme.htm
# C:\GOG Games\Total Annihilation Kingdoms\Cartographer.exe
# C:\GOG Games\Total Annihilation Kingdoms\nglide_config.exe

POL_SetupWindow_Close

cat <<_EOF_ > "$POL_USER_ROOT/configurations/configurators/$SHORTCUT_NAME"
#!/bin/bash
[ -z "\$PLAYONLINUX" ] && exit 0
source "\$PLAYONLINUX/lib/sources"
export WINEPREFIX="\$POL_USER_ROOT/wineprefix/$PREFIX"
export WINEDEBUG="-all"

POL_LoadVar_PROGRAMFILES

cd "\$WINEPREFIX/drive_c/GOG Games/Total Annihilation Kingdoms/" || exit 1
TITLE="$TITLE"
POL_Wine ChooseRenderer.exe
exit 0
_EOF_

exit 0

Contributions

Filters:

Contribute
Member Nachricht