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

  • 0 A.D. is a Free, Open-Source, Historical Real Time Strategy (RTS) Game: Civilisations.
    13.06.2018 - 2 Comments
    0 A.D. features the real-time strategy gameplay components of building a base, training an army, combat, and technology research. The game is about economic development and warfare. The game will include…
  • Adamant Armor Affection Adventure is a stealth / action game in 3D environment.
    26.03.2013 - Comments Disabled
    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 through them hiding in the shadows or…
  • Argonium is a standalone Multiplayer FPS powered by id software's Quake 2 engine.
    25.01.2012 - 0 Comments
    Argonium is a standalone Multiplayer FPS powered by id software's Quake 2 engine.It includes over 100 sound files, over 250 image files and over 50 models. Argonium includes 5 different weapons, 1 player…
  • Guide to Dota2, the heroes are spoiled for choice: Tiny, the Stone Giant.
    12.12.2020 - 2 Comments
    Dota 2 is a multiplayer real-time strategy game, distributed by Valve's Steam platform. In this game, two teams of five players have the objective of destroying rival structures by controlling characters…
  • Tales of Monkey Island Chapter 3: Lair of the Leviathan.
    16.12.2013 - 0 Comments
    In this part of the Tales of Monkey Island series, Guybrush Threepwoods’ most recent tale is taken to another level. In chapter one, Guybrush discovers a whole new universe where he realises that he is a…
  • Primal Carnage: A Dinosaur Game Is Coming To Linux
    21.01.2010 - 0 Comments
    Primal Carnage is an upcoming multiplayer first person shooter where the player takes the role of humans or dinosaurs.It is being developed by the new indie studio Luke Warm Media who also developing the…
  • Pinch ol' Santa 2 is a small Christmas game made by SwordLord.
    11.10.2013 - Comments Disabled
    Pinch ol' Santa 2 is a small Christmas game made by SwordLord - the coding crew. It is Christmas Eve and the time is nearing 9 o' clock in the evening. There can only be seconds until Santa starts to deliver…
  • 49 Games Like Dragon Quest Builders For Linux (Chapter V).
    03.02.2017 - 4 Comments
    49 Games like Dragon Quest Builders for Linux daily generated by our specialised A.I. comparing over 33000 video games across all platforms. This suggestion collection includes sandbox JRPG (Japanese RPG)…
  • The most popular games of the month: June 2013.
    07.07.2013 - 0 Comments
    1.- GameHouse: Women who play online games have more sex. A new survey commissioned by GameHouse, the RealNetworks video-game division, finds that women who play online games are more social than those who…
  • PoopmUp is an open source arcade-style 3D flight simulator.
    09.08.2010 - 0 Comments
    PoopmUp is an Open Source arcade-style 3D urban flight simulator. It is written in C++ using OpenGL. We originally used GLUT as an upper layer, but recently moved to Simple DirectMedia Layer as it is easier to…