The forum

[Script] Anno 2070 Steam

this is a steam only version

Author Replies
rcmn Saturday 16 March 2013 at 16:06
rcmnAnonymous

2 issues:
1-The window Box receiving the Product Key is unstable. After Keying the Code click on the upper Right Button ("Activate" if you can read it) then click on the Lower Right Button ("Ok").

2-The Updater. It failed on the "version.txt" and stop . Restarted the game .It will fail to connect. At that point it offers to by pass the update. Then everything run perfectly.








Title: Anno 2070™
Genre: Strategy
Developer: BlueByte ,     Related Designs
Publisher: Ubisoft   
Release Date: Nov 17, 2011
Languages: English*, French*, German*, Italian, Polish, Spanish, Czech, Russian*

About the Game
2070. Our world has changed. The rising level of the ocean has harmed the coastal cities and climate change has made large stretches of land inhospitable.

The latest in the award-winning strategy series, Anno 2070™ offers a new world full of challenges, where you will need to master resources, diplomacy, and trade in the most comprehensive economic management system in the Anno series.

Build your society of the future, colonize islands, and create sprawling megacities with multitudes of buildings, vehicles, and resources to manage. Engineer production chains such as Robot Factories, Oil Refineries, and Diamond Mines, and trade with a variety of goods and commodities.

[code language=playonlinux]
######################################################################
#!/bin/bash
# Date : (2013-03-16 21:00)
# Last revision : (2013-03-16 21:00)
# Wine version used : 1.5.7
# Distribution used to test : Linux Mint 14 x64
# Author : rcmn
# Licence : Retail
# Only For : http://www.playonlinux.com
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Anno 2070 Steam"
PREFIX="Anno2070Steam"
EDITOR="Ubisoft"
GAME_URL="Ubisoft" "http://anno-game.ubi.com/anno-2070/en-GB/home/"
AUTHOR="capcavern"
WORKING_WINE_VERSION="1.5.7"
GAME_VMS="512"
 
# Starting the script
#POL_GetSetupImages "http://files.playonlinux.com/resources/setups/anno_2070/top.jpg" "http://files.playonlinux.com/resources/setups/anno_2070/left.jpg" "$TITLE"
POL_SetupWindow_Init
 
# Starting debugging API
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
 
# Downloading wine if necessary and creating prefix
POL_System_SetArch "auto"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
# Choose between Digital Download version
POL_SetupWindow_InstallMethod "STEAM"
 
# Installing mandatory dependencies
POL_Call POL_Install_steam
POL_Call POL_Install_dxfullsetup
POL_Call POL_Install_vcrun2010
POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dx11
POL_Call POL_Install_corefonts
Set_OS "winxp"
POL_Wine_Direct3D "UseGLSL" "disabled"
Set_WineWindowTitle "$TITLE"
POL_Wine_OverrideDLL "builtin,native" "msvcr100"
cd "$POL_System_TmpDir"
POL_Download "http://www.depannagedisquedur.fr/dll/winhttp.dll"
mv "winhttp.dll" "$REPERTOIRE/wineprefix/$PREFIX/drive_c/windows/system32/"
POL_Wine_OverrideDLL "native,builtin" "winhttp"
 
# Mandatory pre-install fix for steam
STEAM_ID="48240"
POL_Call POL_Install_steam_flags "$STEAM_ID"
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
 
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
 
## Fix for this game
# Sound problem fix - pulseaudio related
[ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
[ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
## End Fix
 
## Begin Common PlayOnMac Section ##
[ "$POL_OS" = "Mac" ] && Set_Managed "Off"
## End Section ##
 
# Making shortcut
POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID"
 
# Begin game installation
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\\nDo NOT click on Play.\\n\\nClose COMPLETELY the Steam interface, \\nso that the installation script can continue')" "$TITLE"
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
        POL_Wine_WaitExit "$TITLE"
fi
 
POL_SetupWindow_Close
exit 0
#######################################################################
[/code]

Edited by rcmn


disk SSD,video Nvidia Quadro 1000M,Proc Intel Core i7-2760QM CPU @ 2.40GHz × 8,Mem 4GB,Linux mint 14 x64,Gamepad for Xbox 360,PLAYSTATION 3 Controller
zobi8225 Sunday 14 July 2013 at 14:34
zobi8225Anonymous

i think the link : www.depannagedisquedur.fr/dll/winhttp.dll
Don't works :-(

But thanks for your work !
Ronin DUSETTE Sunday 14 July 2013 at 23:31
Ronin DUSETTE
Admin

niccceee... Ive never played it. Looks good though.

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
zobi8225 Tuesday 16 July 2013 at 11:54
zobi8225Anonymous

i still have problèms on ubisoft launcher .... Am i the only one ?
zobi8225 Tuesday 16 July 2013 at 12:20
zobi8225Anonymous

Ok it is works now... I forgot to install some library...