HACKING!
Changing The Civilization2 In-Game Graphics

by Mercator

Contents

  1. Foreword
  2. Introduction
  3. Isolating An Image
  4. Editing An Image
  5. Replacing An Image

Foreword

Some time ago I read on Dorian Credé's first Civilization III homepage how to change the kings' portraits. The description was far from complete and only talked about one file. I started experimenting, and managed to get through...

Just recently Rune Berge made a wonderful free application to easily replace the GIF images in the DLL files. That is still in its developing stage, though, and a bit buggy. Although he more or less made this page obsolete, it is still wise to read/download the information I offer here. The reason for that is that his program has the same restrictions as replacing them by hand.

Finally I have achieved to have a look at the portraits and more... In fact, there are eight files (apart from the regular GIF - files) that contain graphics:

  1. Civ2art.dll
  2. Cv.dll
  3. Intro.dll
  4. Mk.dll
  5. Pv.dll
  6. Ss.dll
  7. Tiles.dll
  8. Wonder.dll

Since there are so many images, I compiled a list of all graphics.

Introduction

There are two important things you need, to edit the images:

  1. A hex editor. I recommend AXE 2.1, a free hex editor. After some time away, AXE seems to have resurfaced on the Internet with a new and improved version 3.0. It's no longer free, though.
  2. An image editor. It just depends on what you prefer, but I use Paint Shop Pro.

There are two restrictions to editing the images:

  1. All images must retain the same size (width x height), you can't mess with the size of images.
  2. All images have a preset palette, you can't change that.

ONE EXTRA NOTE: make a backup of the file you are going to mess with!!

So, now you have all the equipment, "Let's go bonk some heads!!".

Isolating An Image

Editing An Image

Open the image you just isolated with your favorite image-editor and use your inspiration. Most of this part is up to your own imagination. The only things you have to remember are:

Replacing An Image

So, you managed to edit an image? Aren't you nervous that you made just a tiny mistake and have to start all over? You'll know very soon!

It's hardly possible to make sure that both the original and edited image is the same size, so I'll just explain how to replace the original part with the (smaller) edited part:

Start CIVILIZATION2 and check it out!!

Last updated: 18 July 2007