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

  • The most popular posts of the month: October 2012.
    01.11.2012 - Comments Disabled
    1.- Brutal Chess is a 3D chess game with several levels of AI inspired by 'Battle Chess'. Brutal Chess is actually pretty good. The board and pieces look nice, the AI is good, it actually take time to…
  • Privacy and cookies declaration in accordance with the GDPR Regulation and the European Directive.
    24.05.2018 - 2 Comments
    The following information is for the benefit of readers who may choose to browse the pages of the site, take precautions to consult the contents or leave it. The provisions of the privacy authoritythat follow…
  • The Top Ten Most-Read Blog Posts of 2018  From Linux & The Planet Games.
    23.01.2019 - 0 Comments
    AMPHETAMINE IS A COOL JUMP'N RUN GAME OFFERING SOME UNIQUE VISUAL EFFECTS.Amphetamine is a cool Jump'n Run adventure game witch offers some unique visual effects Amphetamine was created by Jonas Spillmann.…
  •  The Mana World (TMW) is an innovative free MMORPG totally free.
    17.09.2021 - 0 Comments
    The Mana World (TMW) is the name of a rather serious effort to create an innovative free MMORPG totally free. It uses two-dimensional graphics, which takes us directly to the times of the sixteen-bit consoles…
  • Top 10 blog posts for December 2015 from Linux &The Planet Games.
    14.01.2016 - 0 Comments
    1.- 10 Most Brutal Fatalities in Mortal Kombat 9. Mortal Kombat 9 is one of the most epic games I got my hands on. Thanks to NetherRealm Studios and Warner Bros Interactive, Mortal Kombat takes the gaming…
  • Counter Strike GO Guide: overview, first steps and launch options.
    15.07.2019 - 0 Comments
    Counter-Strike: Global Offensive (CS: GO) is a first-person shooter video game developed by Valve Corporation in cooperation with Hidden Path Entertainment, and is the fourth game in the Counter-Strike…
  • Formido is one of those games, where you are loaded with some guns and you go shooting different things
    02.07.2009 - 0 Comments
    Formido is one of those games, where you are loaded with some guns and you go shooting different things. 'Things' in this case are big, ugly, - not green though - alien insects. The idea is to kill as many of…
  • ZDoom is an enhanced port of the official DOOM source code.
    23.08.2010 - 0 Comments
    ZDoom is an enhanced port of the official DOOM source code to Win32. As such, it not only works with (and requires) Windows 95/NT 4.0, but it also adds new features not found in the version published by id…
  • DreamChess features 3D OpenGL graphics and provides various chess board sets.
    17.02.2012 - 0 Comments
    DreamChess is an open source chess game.  DreamChess features 3D OpenGL graphics and provides various chess board sets, ranging from classic wooden to flat figurines. A moderately strong chess engine is…
  • The Best Linux Games of 2013.
    19.01.2014 - 0 Comments
    2013 was a huge year for Linux gaming with Valve’s continued commitment to the platform, encouraging words from big studios like Battlefield developers DICE, and Creative Assembly’s commitment to bringing…