Civilization V

Informations

Creator Message
Ronin DUSETTE
Admin

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 25494
Wine: 1.7.20

Feedbacks

Description

PLEASE NOTE

-------------------

This title is now available natively under Linux. Please obtain a Linux build of this game, as it is no longer supported for installation on PlayOnLinux or PlayOnMac.

 

From 2K's website:

"Sid Meier's Civilization® V: Brave New World is the second expansion pack for Civilization V - the critically acclaimed 2010 PC Game of the Year. This new expansion provides enhanced depth and replayability through the introduction of international trade and a focus on culture and diplomacy. Your influence around the world will be impacted by creating Great Works, choosing an ideology for your people and proposing global resolutions in the World Congress. As you move through the ages of history you will make critical decisions that will impact your relationship with other civilizations."

Screenshots

MiniatureMiniatureMiniature

Source code

#!/bin/bash
# Date : (2013-06-15 ??-??)
# Last revision : (2013-12-10 10-06)
# Distribution used to test : Kubuntu 12.04.2 LTS x64
# Author : DJYoshaBYD
# Steam support added by Jimmy Ramsmark
# Licence : GPLv3
# PlayOnLinux: 4.2.1

# CHANGELOG
# [SuperPlumus] (2013-12-10 10-06)
#   Update gettext messages

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

PREFIX="Civ5"
WINEVERSION="1.7.20"
TITLE="Civilization V"
EDITOR="Take-Two Interactive"
GAME_URL="http://www.civilization.com/"
AUTHOR="DJYoshaBYD"
STEAM_ID="8930"

#Initialization
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_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Create Prefix
POL_SetupWindow_InstallMethod "DVD,STEAM"
POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

# Dependencies & overrides
POL_Wine_OverrideDLL "native" "msxml3"
POL_Call POL_Install_vcrun2008
POL_Call POL_Install_d3dx9
POL_Call POL_Install_msxml3
POL_Call POL_Install_vcrun6

# Configuration
Set_OS "winxp"
Set_SoundDriver "alsa"

# Installation
if [ "$INSTALL_METHOD" == "DVD" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$APP_ANSWER"
    POL_Wine_WaitExit "$TITLE"
else
    # Install Steam
    POL_Call POL_Install_steam

    # Start steam, update it, and install the game
    cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
    POL_Wine start /unix "Steam.exe" steam://install/$STEAM_ID
    POL_SetupWindow_message "$(eval_gettext 'Steam is about to perform an update.\nAfter Steam finishes updating and shows you to the login interface, login and then let $TITLE install.\n\nWhen the installation is finished, press next')" "$TITLE"

    # Make sure that Steam is closed
    killall steam.exe
fi

# Create Shortcuts
if [ "$INSTALL_METHOD" == "DVD" ]; then
    POL_Shortcut "CivilizationV.exe" "$TITLE"
else
    POL_Shortcut "Steam.exe" "$TITLE" "" "-applaunch $STEAM_ID" "Game;StrategyGame;"
fi

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Gosu Monday 21 July 2014 at 14:53
Gosu

Information

This update has been approved by the team.

Message

For me, this script did not work, not sure if my fault but I had to add

POL_Call POL_Install_vcrun6

for me to work.

(Error without: err:module:import_dll Library MFC42u.DLL (which is needed by L"C:\\users\\me\\Temp\\is-IL8R5.tmp\\isskin.dll") not found)

I also used wine 1.7.20, but i think that's optional.

Differences

@@ -15,7 +15,7 @@
 source "$PLAYONLINUX/lib/sources"
 
 PREFIX="Civ5"
-WINEVERSION="1.6"
+WINEVERSION="1.7.20"
 TITLE="Civilization V"
 EDITOR="Take-Two Interactive"
 GAME_URL="http://www.civilization.com/"
@@ -42,6 +42,7 @@
 POL_Call POL_Install_vcrun2008
 POL_Call POL_Install_d3dx9
 POL_Call POL_Install_msxml3
+POL_Call POL_Install_vcrun6
 
 # Configuration
 Set_OS "winxp"

New source code

#!/bin/bash
# Date : (2013-06-15 ??-??)
# Last revision : (2013-12-10 10-06)
# Distribution used to test : Kubuntu 12.04.2 LTS x64
# Author : DJYoshaBYD
# Steam support added by Jimmy Ramsmark
# Licence : GPLv3
# PlayOnLinux: 4.2.1

# CHANGELOG
# [SuperPlumus] (2013-12-10 10-06)
#   Update gettext messages

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

PREFIX="Civ5"
WINEVERSION="1.7.20"
TITLE="Civilization V"
EDITOR="Take-Two Interactive"
GAME_URL="http://www.civilization.com/"
AUTHOR="DJYoshaBYD"
STEAM_ID="8930"

#Initialization
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_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Create Prefix
POL_SetupWindow_InstallMethod "DVD,STEAM"
POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

# Dependencies & overrides
POL_Wine_OverrideDLL "native" "msxml3"
POL_Call POL_Install_vcrun2008
POL_Call POL_Install_d3dx9
POL_Call POL_Install_msxml3
POL_Call POL_Install_vcrun6

# Configuration
Set_OS "winxp"
Set_SoundDriver "alsa"

# Installation
if [ "$INSTALL_METHOD" == "DVD" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$APP_ANSWER"
    POL_Wine_WaitExit "$TITLE"
else
    # Install Steam
    POL_Call POL_Install_steam

    # Start steam, update it, and install the game
    cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
    POL_Wine start /unix "Steam.exe" steam://install/$STEAM_ID
    POL_SetupWindow_message "$(eval_gettext 'Steam is about to perform an update.\nAfter Steam finishes updating and shows you to the login interface, login and then let $TITLE install.\n\nWhen the installation is finished, press next')" "$TITLE"

    # Make sure that Steam is closed
    killall steam.exe
fi

# Create Shortcuts
if [ "$INSTALL_METHOD" == "DVD" ]; then
    POL_Shortcut "CivilizationV.exe" "$TITLE"
else
    POL_Shortcut "Steam.exe" "$TITLE" "" "-applaunch $STEAM_ID" "Game;StrategyGame;"
fi

POL_SetupWindow_Close
exit 0

Replies

Tuesday 22 July 2014 at 8:27
Actually, this application is native to Linux now, and this POL script should not be available anymore. It should still work, as long as wine-mono was successfully installed during the initial install. It is stock with that version of Wine. Unfortunately, because this app has a native Linux version, we can no longer support it. You will need to obtain the latest Linux version of this title.
Tuesday 22 July 2014 at 9:49
I have a hardcopy of this game, and I am sure not going to buy it a secound time for linux native support, because it just runs fine in wine. But I'll just save a local copy of the Script for later use, not really a big issue.
Tuesday 22 July 2014 at 9:52
That is ok. I didn't delete the script, just for that reason. I didn't know who would need it. :) We just cannot support it if it has a native version available. At least not to my knowledge. It is like if you own Mass Effect on PC and you want to play it on XBOX. Another license must be purchased. Like you said, though; no biggie. lol.