Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Alternative Civs > Freeciv > FreeCiv map file format?
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
04.Sep: `FC` 2.0.5 COMPLETED AND RELEASED
27.Jul: `FC` 2.0.4 COMPLETED AND RELEASED
16.Jul: `FC` 2.0.3 COMPLETED AND RELEASED

bottom of page
  
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Mercator is offline Mercator
King
Sorekara no Nanimo
Jan 1970
time: 06:23
  Old Post 12-11-2002 18:55 Visit Mercator's homepage!
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
FreeCiv map file format? Enter the AD-FREE zone

I'm not too familiar with FC at all, but does it have a standard map format?

I haven't been able to find any file format specification (there must be some surely)... I haven't really looked through the source code, but my C(++?) has become a bit shaky anyway...

The reason I'm asking... I might add (some) FreeCiv map support to MapEdit (or at least the ability to export Civ2 maps to FC format), that is, if the format isn't too obscure...

Thue is offline Thue
Freeciv Developer
Copenhagen, Denmark
Jan 1970
time: 06:23
  Old Post 12-11-2002 19:53 Visit Thue's homepage!
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Tired of ads?

I don't think it is possible to convert civ2 maps to freeciv maps. The overall shape of the maps are different.

But anyway, freeciv maps are compressed (with gzip) plaintext. So just gunzip a savegame and take a peek. If something isn't clear then look at server/savegame.c . The code there should be fairly readable.

paulz is offline paulz
Freeciv Webmaster
San Diego, CA, USA
May 2000
time: 21:23
  Old Post 12-11-2002 20:27 Visit paulz's homepage!
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton or Terrorists Win

There is also civworld. Its a gui interface to creating and editing maps for freeciv.

http://www.freeciv.org/ftp/contrib/utils/civworld/

Mithrandir is offline Mithrandir
Chieftain
Sassamansville, ,USA
Feb 1999
time: 05:23
  Old Post 15-11-2002 07:49 Visit Mithrandir's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Help yourself to an AD-FREE life

I've actually made a simple program that converted the civ 2 map data to freeciv format. You needed to add on more info to make it a full map file, but it worked. I encountered two problems: civ 2 doesn't actually put the resource locations in the file, and freeciv can't display the isometric maps properly. I sidestepped the second issue by not caring, but that caused vertical lines to become very wavy.

Mercator is offline Mercator
King
Sorekara no Nanimo
Jan 1970
time: 06:23
  Old Post 15-11-2002 17:12 Visit Mercator's homepage!
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Increase the size of your Attachments

Yes... I didn't realise the isometric maps were tilted Civ1-type maps, rather than Civ2-type maps.

Thanks anyway...

Mithrandir: You were using the past tense, so does that mean your program is no more, or just that it's a long time since you actually used it?

Mithrandir is offline Mithrandir
Chieftain
Sassamansville, ,USA
Feb 1999
time: 05:23
  Old Post 16-11-2002 08:55 Visit Mithrandir's homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Enter the AD-FREE zone

I've still got a copy on my computer, but I doubt that it even outputs the correct map format anymore. It was an extremely simple program: It just read in the tile data for a tile and put out the freeciv character, making a newline whenever it finished a horizontal line.

Mercator is offline Mercator
King
Sorekara no Nanimo
Jan 1970
time: 06:23
  Old Post 19-11-2002 18:33 Visit Mercator's homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Support Apolyton, buy GURPS/ Alpha Centauri

Well, nevermind, I'm not too much into FreeCiv anyway. I might try again when I have nothing better to do.

Bart Coppens is offline Bart Coppens
Settler
Lebbeke, Belgium
Aug 2001
time: 06:23
  Old Post 21-11-2002 23:31 Visit Bart Coppens's homepage!
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Got spare money?

A few days ago, I tried to make a script that converts Civ2 maps to Freeciv savegames with the use of your .sav specifications, but someone at the freeciv chat discouraged me to do so because of the incompatible formats.
I also made a little PHP script that converts PNG images to a Freeciv map. Maybe that could help you a bit? http://lists.complete.org/freeciv-d...sg00281.html.gz

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:23.
Apolyton Time is 00:23.
    top of page
Rate This Thread:
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0291 seconds (88.28% PHP - 11.72% MySQL) with 30 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net