GOG.com - Imperialism 2: The Age of Exploration

Informations

Creator Message
TonyFlow

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 8579
Wine: 1.4.1

Feedbacks

Source code

#!/bin/bash
# Date : (2013-05-25 16-00)
# Last revision : (2013-05-31 22-00)
# Wine version used : 1.4.1
# Distribution used to test : Fedora 17
# Author : TonyFlow
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
GOGID="imperialism_2_the_age_of_exploration"
PREFIX="Imperialism2_gog"
WORKING_WINE_VERSION="1.4.1"
 
TITLE="GOG.com - Imperialism 2: The Age of Exploration"
SHORTCUT_NAME="Imperialism II - Age of Exploration"
 
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 1714
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Frog City Software / Ubisoft" "http://www.gog.com/gamecard/$GOGID" "TonyFlow" "$PREFIX"
 
POL_Call POL_GoG_setup "$GOGID" "49c71a331613c1476ffa00a8bd982029"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
POL_Call POL_GoG_install
 
# The game require a cdrom drive, in order to avoid the
# the "D:\Epsilon\win_cd.cpp@407 _winCdPlay" error popup
ln -sf / "$WINEPREFIX/dosdevices/p:"
cat <<_EOFINI_ > "$POL_USER_ROOT/tmp/cdrom.reg"
REGEDIT4
 
[HKEY_LOCAL_MACHINE\Software\Wine\Drives]
"P:"="cdrom"
_EOFINI_
# Define the cdrom drive into the registry
POL_Wine regedit.exe "$POL_USER_ROOT/tmp/cdrom.reg"
rm "$POL_USER_ROOT/tmp/cdrom.reg"
 
# "800x600 16bit"
POL_SetupWindow_VMS "1"
 
# GoG work!
Set_OS winxp
 
# Doesn't hurt ;)
POL_Wine_reboot
 
GOGPATH="$GOGROOT/Imperialism II - Age of Exploration"
POL_Shortcut "Imperialism II.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;StrategyGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGPATH/Imperialism II - Manual.pdf"
#POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGPATH/Imperialism II - Tech Tree.pdf"
 
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
hvar Tuesday 23 October 2018 at 21:26
hvar Anonymous

Message

Tried to play this on a Mac, but no success.

Tried Wine 1.4.1 (immediate crash). 

Tried Wine 3.1.8: I get music playing, and black screen with two gray "windows" stacked on top of each other. And cursor. I can "click" on invisible items on screen, then cursor turns yellow, I get clicking sound but only the two visual clues. If I hit the invisible "Quit" button (somwhere on the right side) the app quits.

Any tricks to get this to run?

 

Debug for 1.41 includes:

[10/23/18 21:04:52] - Running wine-1.4.1 wineboot (Working directory : /Applications/PlayOnMac.app/Contents/Resources/playonlinux/python)
fixme:iphlpapi:NotifyAddrChange (Handle 0xebf53c, overlapped 0xebf520): stub

Debug 3.18 gives me:

[10/23/18 21:20:28] - Running wine-3.18 Imperialism II.exe (Working directory : /Users/blockhead/Library/PlayOnMac/wineprefix/Imperialism2_gog/drive_c/GOG Games/Imperialism II)
0023:err:ntoskrnl:IoCreateDriver failed to insert driver L"\\Driver\\WineHID" in tree
0009:fixme:win:EnumDisplayDevicesW ((null),0,0x33f7c0,0x00000000), stub!

Replies

ekianjo Thursday 14 April 2016 at 1:55
ekianjo Anonymous

Message

I have problems with this script. The install works fine and the game runs fine as well, but wheneve in game there is an annoying pop up windows complaining about win_cd.cpp @407  - whenever that popup is on, it makes it impossible to click on anything and thus it's not enjoyable at all to dismiss it every minute or so. 

Replies

Anonymous
Monday 28 November 2016 at 2:31
Same issue here. I'm going to try to troubleshoot it and so if I can fix it.
Anonymous
Monday 28 November 2016 at 2:40
Fixed it! Just turn off the game's music in its preferences. Sound effects work fine but the music is what throws the error.

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