How to install Sid Meier’s Civilization IV on Ubuntu, step by step.

With this guide you can run Civ 4 almost flawlessly on Ubuntu or any other Linux distribution using Wine.

At the time when Civ 4 was released, DirectX 9 was not well enough supported in Wine to run it.

In the first how-to I got Civ 4 running just after DX9 support was added to Wine. Since then Wine has continued to improve and I got a computer with a better Nvidia graphics card.

In this how-to I am using an Nvidia Geforce 8600GT graphics card, Wine version 0.9.44, and Ubuntu 7.10.


How to install Sid Meier’s Civilization IV on Ubuntu.

You should be familiar with the terminal and know basic Wine usage. When I say to run something in Wine you have to cd into the directory and run wine filename.exe.

This is a screenshot from Civ 4 running on Ubuntu Linux:

The game runs well, except for these issues:

  • City progress meters don’t display a value.
  • Globe view doesn’t work.
  • Waves don’t animate.
  • Some trees are sunken into the ground.

Step by step.

Here are the steps to install and set up Civ 4:

  1. Some of the recent versions of Wine have broken support for Civ 4. The latest version that works well is Wine 0.9.44. Ubuntu uses can grab a DEB package from GetDeb. I have used this Wine package in Ubuntu 7.04 and 7.10 and it works fine in both.
  2. Wine has difficulty with switching CDs. The second Civ 4 disk contains a single CAB file. Copy this file off the disk on to your hard drive.
  3. Put in the first CD and run the installer with Wine. Click cancel if the DirectX setup wizard launches. When the installer asks for the second CD, give it the location on your hard drive of the CAB file. The installer should finish successfully.
  4. Now you can patch the game to version 1.61. Download the patch from Civ 4 site. Run the executable with Wine, and tell it not to install Xfire. There will be an error at the end of the patching that is safe to ignore.
  5. There are four more files you need: d3dx9_26.dll, msxml3.dll, msxml3r.dll, and a cracked executable (Wine does not support the copy protection). Copy the DLLs into the Civ 4 directory. Replace the Civ 4 executable with the cracked one.
  6. I would recommend rebooting the system at this point to make sure the installer or patcher are not still running.
  7. Run winecfg, and add an override for msxml3 (native, builtin). Under the graphics tab, turn off “Emulate a virtual desktop”, set vertex shaders to none, and turn on pixel shaders. These are the settings that worked best for me.
  8. Now you need to run Civ 4 to get it to create its configuration file. Run the Civ 4 executable with Wine. When it reaches the menu, click exit.
  9. Open the CivilizationIV.ini file in a text editor. It should be located in /home/username/My Games/. Find the EnableVoice line and change the value to 0 to fix the audio. Set the ScreenHeight and ScreenWidth to your screen’s height and width.
  10. Run Civ 4 again and it should start with the correct resolution. You can go to the graphics settings and turn up the graphics effects now, just don’t adjust the screen resolution in game.

Share on Google Plus

About Giampaolo Rossi.

Fond of computer and video games. Stay informed of the latest news on games for Linux and Android. The future of gaming is in Linux. All you need to know about How to play Windows games on Linux.
    Blogger Comment
    Facebook Comment

2 commenti:

  1. A great game without a doubt, inspiring of all those who came after. Excellent review, regards.

    ReplyDelete
    Replies
    1. Indeed, Sid Meier was a pioneer. Thanks for comment.

      Delete

Random Posts

  • Aleph One is an Open Source 3D first-person shooter game, based on the game Marathon 2
    18.10.2009 - 0 Comments
    Aleph One is an Open Source 3D first-person shooter game, based on the game Marathon 2 by Bungie Software. It supports, but doesn't require, OpenGL for rendering. Aleph One was originally a Mac-only game, but…
  • Tales of Monkey Island: Chapter 4: The Trial & Execution of Guybursh Threepwood.
    16.12.2013 - 0 Comments
    The Trial and Execution of Guybrush Threepwood guides the narrative back round to the locations, personalities, and settings of the initial chapter in the sequence, whilst Guybrush Threepwood goes back to…
  • 4 Action Games Maze for Linux.
    15.05.2013 - Comments Disabled
    Adamant Armor Affection Adventure Adamant Armor Affection Adventure is a stealth / action game in 3D environment. You will get an opportunity to explore the space inhabited by hostile creatures, wade…
  • In Black Shades you try to keep your VIP (the guy in white) alive as long as possible.
    07.03.2012 - 0 Comments
    In Black Shades you try to keep your VIP (the guy in white) alive as long as possible. The assassins will all try to shoot or stab him to death. You must do all you can to prevent this. Black Shades Elite is…
  • Return to Castle Wolfenstein is a first person shooter video game published by Activision.
    17.04.2010 - 0 Comments
    The single player game was developed by Gray Matter Interactive and Nerve Software developed its multiplayer mode. Id Software, the creators of Wolfenstein 3D, oversaw the development and were credited as…
  • Future trends in video games: augmented reality (RA) or virtual reality (RV)?
    18.03.2025 - 0 Comments
     Will AR or VR dominate video games in the future?Augmented reality (AR) is a new experience widely used in video games that allows a user to visualize part of the real world through a technological…
  • 100 Best Free and High Quality Linux Games, Chapter 7.
    12.05.2012 - Comments Disabled
    61. Eternal Lands Eternal Lands is a free 3D fantasy MMORPG created by Radu Privantu. Set in a classic medieval fantasy world, Eternal Lands has a wide range of playable races and a skill based…
  • Feel Renewed After a Turkish Bath Session
    12.02.2025 - 2 Comments
    The Turkish Bath is an ancient wellness tradition that has been practiced for centuries. Originating from Roman and Ottoman influences, this unique bathing ritual is designed to cleanse, refresh, and…
  • How big is Linux gaming?
    21.03.2016 - 0 Comments
    I keep reading comments that Linux gaming is pretty much stagnating and not worth investing in because it is still at around 1% in the Steam Hardware Survey. So I decided to try and find some numbers. …
  • XBlockOut, X Window block dropping game in 3 Dimension
    20.01.2010 - 0 Comments
    The grand father of this game is TETRIS, its father is BLOCKOUT on PC/DOS.Blockout is a registered trademark of Kadon Enterprises, Inc., used by permission.The player must place 3D pieces by translations and…