• We are currently performing site maintenance, parts of civfanatics are currently offline, but will come back online in the coming days (this includes any time you see the message "account suspended"). For more updates please see here.

Civ I Win GIF file format convertor

honza.havlicek

Chieftain
Joined
Feb 25, 2008
Messages
9
Hello,
I have spent some more time with GIF files from RSC archive from Civilization I for Windows and I have some fruit of my labour: Convertor from GIF files to TGA files.

The GIF files are NOT the commonly used gifs that are used on web and elsewhere.

Dack said, that my first binary didn't work and was hard to use even after I repaired it. I hope this post will work on first attempt and without glitch and programs will be easier to use.

In the attachment is documented source for GIF convertor and programs necessary for extraction and conversion of resource files.

How to extract and convert all images from Civ I for Win:
  1. Create a new directory
  2. Copy civdata0.rsc, civdata1.rsc, civdata2.rsc, civdata3.rsc and civdata4.rsc (CivWin resource files) to the directory
  3. Copy conver.bat, RSC_extract.exe and GIF_convertor.exe (from release directory in attachment) to the directory
  4. Execute convert.bat (doubleclick will do, no parameters)
  5. Done, in directory images should be now all images from Civ I for Win, they are not very different from DOS version though. They are often worse in quality department.
  6. ... Look at the pictures? mspaint can't read TGA, but any decent image viewer should, IrfanView is my favorite choice.

Also, there is nice little readme you can try if something is wrong....

Update: convertor from TGA back to GIF is complete as well infrastructure for manipulation of .rsc files. See screenshot with changed tileset:
 

Attachments

  • CivWin_I_GIF_convertor.zip
    CivWin_I_GIF_convertor.zip
    45.5 KB · Views: 129
  • modified_civwin.PNG
    modified_civwin.PNG
    172.4 KB · Views: 173
this is something i could use (i think. i'm not an artist or programmer!)
Done, in directory images should be now all images from Civ I for Win, they are not very different from DOS version though. They are often worse in quality department.

anyone ever play the amiga version? i think the graphics on that were so much better. i wonder if anyone has done a tileset similar to it, or if this prog would be able to get it done?
 
i wonder if anyone has done a tileset similar to it, or if this prog would be able to get it done?

If there is a tileset for amiga version in some reasonable format, then yes, just change SPR32x32.GIF should do the trick.

Currently there is only convertor from GIF to TGA. I am working on TGA to GIF convertor, progress 75%.

It should be done in a few days, I have some other assignments to do.
 
Back
Top Bottom