View Full Version : CEC : Civilopedia Editor for CivIII


Steph
May 02, 2003, 10:33 AM
Here is version 1.2. Tested under Windows XP. I'm not sure it works with Windows 98.

I've used it to make all the civilopedia entries for the two first era of my mod, so I'm pretty confident it works well now!

Perhaps one day I'll make a user manual...

Download version 1.2 (http://www.civfanatics.net/uploads4/CEC_1_2.zip)

Changes in version 1.2:
- Just above the list of entries, you now have the number of entries between ( ). This way I can tell you I currently have 209 techs in Steph's mod!
- When you add a new entry, it is automatically selected. So if you start typing a description before selecting the new entry, it won't go in the great emptyness as before.
- You have a new checkbox 'keep file name". If it is checked, the file is overwritten when you click in generate. If it is not checked (default), a new file is created, and CEC add "_CEC" to the name (I've added this, because it was boring to have Civilopedia_CEC_CEC_CEC_CEC_CEC on my hardrive after several generation).

Changes in version 1.1:
- I have slightly ;) increased the loading speed
- The generated files should not have more and more empty lines.

Sa~Craig
May 02, 2003, 10:41 AM
:goodjob: :goodjob:
i'm first

Yoda Power
May 02, 2003, 10:45 AM
Exelent, im going to download it now:)

Sa~Craig
May 02, 2003, 11:22 AM
its wonderful it makes everything so easy and simple to do

Ukas
May 02, 2003, 01:16 PM
This I've been waiting for [dance]


Will start downloading now! :D

kring
May 02, 2003, 01:55 PM
I have downloaded it and eagerly anticipate the many uses I will have for it.

Thank you.

zulu9812
May 02, 2003, 03:20 PM
sweetness! I'll gie' it a whirrel...

Gramphos
May 02, 2003, 03:54 PM
Looking good.

Finally some competition to C3MT ;)
(Oh well the editors are quite different, but both have the same use, but the UI is different and so is the way of working with the files. I guess this editor is the best for those who relly want's to have full control on the underlying code. My editor gives a more look on how things will look when done)

It's good to see that more tools develop. (I'm a litle disappointed with that all SGEs except mine died)

Steph
May 03, 2003, 01:41 AM
I don't think it's really competition. CEC is really simple compared to the munit version of SBB.

Atum
May 03, 2003, 03:41 AM
Thanks for the great tool that you have provided us. I use windows 98 and it hasn't crashed or done anything weird that I am aware of.

One request when you gat the time. It would be helpful to have the text wrap automaticaly in the text windows.

Thanks again!

Grey Fox
May 04, 2003, 06:36 AM
gonna download it now.

Steph
May 05, 2003, 05:55 AM
Version 1.1 is there!

TWonderleigh
May 08, 2003, 11:35 AM
I got it first ==TCWONDER

Steph
May 17, 2003, 08:48 AM
Version 1.2 is available, check first post

Ozymandias
May 18, 2003, 01:08 AM
Just a quick "thanks!" for building this utility.

:thumbsup:

-Oz

Steph
May 18, 2003, 01:42 AM
Well, Im' the first to benefit from it, I'm using it extensively to make my mod, so no need to thank me.

It was selfish reasons who made me do it.

Ozymandias
May 18, 2003, 01:56 AM
Originally posted by Steph
Well, Im' the first to benefit from it, I'm using it extensively to make my mod, so no need to thank me.

It was selfish reasons who made me do it.

Ah, but you chose to share, and keep us abreast with updates! -- Which means you're not the only one using it extensively to mod :goodjob:

-Oz

Neomega
May 20, 2003, 02:47 AM
How did I miss the release of this tool? Thanks, I was waiting for it! Looks like you released it 2 weeks ago...... :eek:

edit: have you tried to make tables with it yet? I looked over some of my "tables" (such as in the government section) and it looks funky like it does in text book, but in "preview mode" all of the numbers are pushed to the far left and stck on the labels....

Steph
May 20, 2003, 07:24 AM
Originally posted by Neomega
How did I miss the release of this tool? Thanks, I was waiting for it! Looks like you released it 2 weeks ago...... :eek:

edit: have you tried to make tables with it yet? I looked over some of my "tables" (such as in the government section) and it looks funky like it does in text book, but in "preview mode" all of the numbers are pushed to the far left and stck on the labels....

I didn't check for tables. Try to look in game if they work. I've done nothing to make them work in preview mode (meaning it may works, as well as it may not).

kring
May 21, 2003, 01:08 AM
Originally posted by Steph
Well, Im' the first to benefit from it, I'm using it extensively to make my mod, so no need to thank me.

It was selfish reasons who made me do it.

While it may have been for selfish reasons on your part, you didn't keep it to yourself as some would have. And for that reason, it is worth a hearty Thank you. :) and well done.

Wallabulla
May 25, 2003, 05:33 AM
Thx alot for this program, great work :)
The only thing I would like is that you can copy and paste in
descriptions and text, was some text I wanted in that I found
on the net, but gonna be much writing..

Steph
May 25, 2003, 07:12 AM
Try CTRL+C CTRL+V ;)

Wallabulla
May 25, 2003, 09:15 AM
ooops, hehe...
I just tried the right mouse button, never been used to use the
keyboard shortcuts, thx alot, gonna use this nice program :D

Yoda Power
Jun 05, 2003, 12:26 AM
Steph I cant get the program to save. Last night I made about 20 Civiliopedia entries and today they are all gone:cry:

Steph
Jun 05, 2003, 12:57 AM
1- Did you click on generate tp make the new file?
2- If you did, try to check immediately after a change, if the change itself is recorded (ie: make a change, change the topic, come back to previous one)

Yoda Power
Jun 05, 2003, 03:08 AM
1- no I thought it autosaved:(

Steph
Jun 05, 2003, 03:47 AM
Before you had to save any change, now it autosaves in memory the individual changes, but you need to explicitily ask to save the files (because anytime yo do it, it add _CEC at the end of the name, so you can keep the previous version).

And no, the generate button is not there simply to make the window looks nicer

Yoda Power
Jun 05, 2003, 04:23 AM
ok

embryodead
Jun 18, 2003, 11:08 AM
There is a nasty bug I think, that made me stop using it. CEC eats entries for custom techs info (not DESC, the first entry). Somehow it never eats default info ie. for Iron Working, but any tech info I add, either by CEC or by hand, disappears (I checked several times).

Example entry:

#TECH_Mining
^
^
^{New Resources} $LINK<Gold=GOOD_Gold>, $LINK<Silver=GOOD_Silver> and $LINK<Gems=GOOD_Gems> appear on the map.

Everything goes fine in game, but when CEC processes it, all my custom TECH_* descriptions are gone :(

Steph
Jun 18, 2003, 12:12 PM
I'm sure CEC works correctly to read standard entry, and entries added within the tool, as I'm using it continously for my mod.

However, I've made CEC using only the civilopedia.txt as reference, and there may be some case when it works in game, but it doesn't follow the standard "rules" used by CEC.

The best would be to send me your civilopedia.txt at my email address (stephane.f.david@free.fr), so I can correct CEC or at least tell you why your manual entries are going into the great emptyness.

embryodead
Jun 18, 2003, 08:49 PM
Nevermind that, I found out why it's happening. Can't call it bug, but it's surely confusing ;)

CEC doesn't read TECH entries without #DESC_* description. It's strange because it reads other things like GOODs/PRTOs regardless of #DESC_* presence.

So, if there is only
#TECH_Foo
[info here]

it is okay for Civ, but CEC won't see it and will eat it in the process. If there is an empty #DESC_TECH_Foo line at the bottom, then CEC will read it correctly. I was using CEC on a file that I had previously edited manually, removing some unused entries, that's why it all happened.

Steph
Jun 19, 2003, 12:30 AM
That's because in the original civilopedia.txt, there is NO entry without #DESC_TECH, but a lot without #TECH_.
For the other topics, it's the opposite.

You always have #PRTO_, but you may not have #DESC_PRTO_.

So CEC uses the #DESC_TECH to build the list of entries first, then it read th text for each of them. It may not be the smartest method...

However, when creating the text, CEC adds empty #TECH_ for all the advances.

synmalice
Jul 06, 2003, 05:38 PM
Steph, you did an awesome job on this one. Keep up the good work.

stgelven
Nov 23, 2003, 09:03 AM
i just finnish doawnload your file, steph, i thank you to share!

if you have something else, you are welcome! :goodjob:

Gringo
Nov 25, 2003, 12:02 AM
First off... thank you, fine job.

Second, could we have a step by step "how to" for us in the peanut gallery please?

I am kinda scared to mess with the Civilopedia file, not knowing how this tool works:confused:

No doubt it's simple once I get a nudge in the right direction...:p

Thanx:goodjob:

computerdude113
Nov 27, 2003, 09:20 PM
Yes Steph, amazing. Could you also do something for the PediaIcon file?

Steph
Nov 28, 2003, 03:34 PM
Originally posted by Gringo
First off... thank you, fine job.

Second, could we have a step by step "how to" for us in the peanut gallery please?

I am kinda scared to mess with the Civilopedia file, not knowing how this tool works:confused:

No doubt it's simple once I get a nudge in the right direction...:p

Thanx:goodjob:

It's rather easy. Just select the civilopedia.txt that you want to edit.
You have a dropdown list were you can select the chapters (unit, game concept, techs, etc).
When you select one, you then have the list of all the entries, sorted in alphaetical order.
Select one : you will see on the right the different texts. Simply edit them. Use CTRL+Enter to add a new line, and use the {}, [], etc for bold or italic (you can also select the text and use the button).
To add a link, select the text that should displayed in blue underline, then clic on the link button : it will display a box where you select the target of the link.
You can also add a new entry (button at the bottom left) : give it a name (the "keyword" such are #PRTO are added automatically).

When you exit, the file is saved automatically (with an added _CEC to the name, unless you check "keep file name").

One last thing about the preview button : it alternates between the preview and the edit mode for the texts. Note it's just a preview, and not exactly as it will be in game.

Steph
Nov 28, 2003, 03:35 PM
Originally posted by computerdude113
Yes Steph, amazing. Could you also do something for the PediaIcon file?
I could, but I won't. Not enough time, and to many other things to do.

POLM
Mar 22, 2004, 11:04 AM
I'm cind of a noob adding units so here's my stupid question...
I can use this with C3C right???

Steph
Mar 23, 2004, 01:01 PM
I have not tried it with C3C, but I don't see why it would not work.

POLM
Mar 24, 2004, 08:14 AM
Okay thanks...

vsaiyan
Apr 02, 2004, 05:42 AM
This is an awesome tool, and I've been using for quite some time! Thanks SO much! (BTW - Any hope of a version for the Pediacons.txt file? :-D)

Steph
Apr 02, 2004, 06:38 AM
no hope... Pediaicons are more complicated, because of era or culture specific flags.

vsaiyan
Apr 02, 2004, 08:06 AM
:-D well thanks for this excellent tool anyways

Drivebymaster
May 19, 2004, 08:47 PM
Steph Do you know anyone who has one or could you try??? Because I get so PO'ed at the PediaIcons

Steph
May 19, 2004, 11:30 PM
Sorry, I'm 100% busy working on SSS, and PediaIcon are VERY easy to add there.

Drivebymaster
May 23, 2004, 02:46 PM
Is SSS a new type of game? or a utility because I can't follow discusiions on that thread.

Steph
May 23, 2004, 03:10 PM
It's a new game : follow the links in my signature (see the website for a summary. It is still under construction, so you will have to navigate a bit in it to gather information). The discussion thread also has many many interesting info, but it starts to be a bit big.

Drivebymaster
May 25, 2004, 04:42 PM
wooooooooo it looks great but wont firaxis get into a hissie fit if they see that you are using almost the same graphics? Another question are the units all custom made? and will we have to download the game.

So many questions so little time

subbss
May 25, 2004, 08:44 PM
This Civilopedia Editor is very helpful! Many thanks!

Steph
May 25, 2004, 11:53 PM
wooooooooo it looks great but wont firaxis get into a hissie fit if they see that you are using almost the same graphics? Another question are the units all custom made? and will we have to download the game.

So many questions so little time

The current graphics ARE from Firaxis, but they are just place holder. I'm not a graphist, so to test the game I need to use existing graphics. I need to find someone who can make me original graphics for the map.
For the units, I've included an animation editor, than can take units mainly from Civilization III format (and later Cossacks / American Conquest, Chariots of War and Legion), and convert them to my format. You willl need some other tools, like PaintShopPro or Flicster. But this way, I can make the game available and playable with Civilization III units, without giving the animation, so I don't see why Firaxis should be angry.

Drivebymaster
May 27, 2004, 09:02 AM
ahh I see but I am not good at graphics either so I see your reasoning....good idea. Hope it comes out great

citizen001
Jun 24, 2004, 02:58 AM
sweet mother! this thing is mad! definitely gonna use this! :)

QFred
Aug 04, 2004, 08:24 AM
This is the best utility program here!!!! I have downloaded it and I think it is the best of the utility program here in Civilization Fanatics Center you can download, it's fantastic, awesome and easy to work.

A big problem is that you can't change the Game Concepts name. I am working in a translation of the civilopedia to Portuguese (I am Portuguese, from Portugal, if you don't know me) and to change the name of, example, Worker Jobs to "Empregos do Trabalhador", like it is said in Portuguese I have to open the Civilopedia.txt file, look for PRTO_Worker Jobs and change the title name. I think this is a thing you should check/see about when you do the third version; if you will do a third version.
But I continue to say it's a good utility and I use it often.

:goodjob: :thanx:

Splaetos
Aug 15, 2004, 12:06 PM
When using the link interface, if you choose a group that has no entries the program crashes.

I accidenatly chose 'Other' lost an hour or so of changes. :sad:

ocedius
Aug 17, 2004, 10:34 PM
Most useful utility indeed. Makes editing a breeze. Thanx. :)

Lord_Azazel
Oct 18, 2004, 06:50 AM
nice one.. really, ive always hated switching lots of .txt files to make civilope :goodjob:

Lord_Azazel
Oct 18, 2004, 06:51 AM
and please could someone help me with this link (http://forums.civfanatics.com/showthread.php?t=102479) in my signature send me send me a message

Morfos
Jul 01, 2005, 12:33 PM
Why the hell doesn't this work for me? Howcome none of the utilities work for yet they work for everybody else!? I keep getting errors on every utility I use; they never work for me, do I need to update my C3C?

Steph
Jul 01, 2005, 02:40 PM
You could start by explaining what error you get so we could help

Nate1976
Jul 14, 2005, 02:38 PM
Uhm..not to be one to spoinl all you guy's fun..
but what exactly does this utility do? Make it easier to right Civilopedia stuff? Or does it..generate the tech-trees...or what? I'd wather know what a utility does before dling it.

Steph
Jul 14, 2005, 03:39 PM
It helps you edit the civilopedia.

You can see the containts of the pedia, sorted by chapters, in edit mode or in preview mode.

You can add new entries, edit them (with tools to add bold, italic, etc), add links.

It can also check if the links are valid.

I doesn't not help with the tech tree

Nate1976
Jul 14, 2005, 04:03 PM
It [/i]doesn't not[/i] help? So it does? j/k
I wish I could find a utility that did..it's really annoying trying to line up the arrow just like Firaxis did. Those people have alot of time on their hands.

I might download it. It does work with Vanilla, right?

Steph
Jul 14, 2005, 04:06 PM
It [/i]doesn't not[/i] help? So it does? j/k
I wish I could find a utility that did..it's really annoying trying to line up the arrow just like Firaxis did. Those people have alot of time on their hands.

I might download it. It does work with Vanilla, right?

It works with all the version of Civ3.

I think Civ3MultiTool has something for the tech tree.

GeneralMatt
Jul 15, 2005, 12:40 PM
I tried it today, (on the vanilla), and when I went generate, the program crashed. Any ideas why?

Steph
Jul 15, 2005, 12:52 PM
It crashes sometime when existing, but after it has generated the file, so it's not a big problem

Sharon
Apr 11, 2006, 08:40 PM
Why can't I copy and paste information into this program?

William GBTW
Apr 11, 2006, 08:43 PM
I think you can by right clicking and selcetling paste...I'm not sure though.

Sharon
Apr 11, 2006, 08:54 PM
William GBTW I was only able to paste info as the name of an entry. But I am wondering why I'm unable to paste information into the Discription areas...

William GBTW
Apr 11, 2006, 09:12 PM
Did you tru what I said? Let me DL it (I got a new computer) and look for you.

Steph
Apr 12, 2006, 12:42 AM
William GBTW I was only able to paste info as the name of an entry. But I am wondering why I'm unable to paste information into the Discription areas...
Did you try CTRL+C and CTRL+V?

William GBTW
Apr 12, 2006, 08:12 AM
Steph I think she tried that...I mean what you say sounds about like an insult.

Steph
Apr 12, 2006, 08:39 AM
Steph I think she tried that...I mean what you say sounds about like an insult.
Did it? I just tried it.
Select a text in the upper part of the description. Cltrl+C. Click in the lower part of the description. CTRL+V. It works.
Enter a text in the bottom part. CTRL+V. Click in the upper part. CTLR+V. It works to.
The name of an entry has a contextual menu. The description part has no contextual menu.
So someone who is sued to contextual menus, but no keyboard shortcurts, may very well not found how to copy and past.

I don't consider it insulting. Anyone has his/her owns habits.

William GBTW
Apr 12, 2006, 08:44 AM
Okay., thanks and thanks for this great program!

Sharon
Apr 12, 2006, 12:39 PM
Thanx guys :) I did feel rather insulted though.

Varlin Saliptor
Aug 15, 2006, 02:38 PM
Sorry for the bump, but when I try to view a unit entry, the program crashes.

Anyone know whats wrong?

Steph
Aug 15, 2006, 04:55 PM
Do you use it to see a mod?
Or vanilla?

Varlin Saliptor
Aug 15, 2006, 11:09 PM
A mod for Conquests.

Steph
Aug 16, 2006, 04:38 AM
A mod for Conquests.
Can you send me the civilipedia text to stephane.f.david@free.fr?

Varlin Saliptor
Aug 16, 2006, 11:09 AM
sure thing, just sent it.

Steph
Aug 16, 2006, 01:21 PM
Crash confimed with my version and this civilopedia.txt
I'll try to see why.

Varlin Saliptor
Aug 16, 2006, 02:46 PM
ok, thanks

Steph
Aug 16, 2006, 03:15 PM
^This unit is sometimes created when a $LINK<Persian Immortal=#PRTO_Immortals> wins a battle.

This line is the culprit. The link should be PRTO_Immortals, without the #.
With a #, CEC interprets it as a new unit, called
"This unit is sometimes created when", and it screws the units entries list.

So replace
^This unit is sometimes created when a $LINK<Persian Immortal=#PRTO_Immortals> wins a battle.

by

^This unit is sometimes created when a $LINK<Persian Immortal=PRTO_Immortals> wins a battle.

and it will work

Varlin Saliptor
Aug 16, 2006, 03:27 PM
thank you!! I just saw that entry and i thought about changing it, but didn't think it was that big of a deal. Thanks!!

Dunedein
Aug 26, 2006, 01:09 PM
A little problem here... every time I press "generate", CEC crashes. Even when I haven't edited anything.

Using Windows XP Professional.

Steph
Aug 27, 2006, 12:42 AM
It's a known bug. However, the file is generated and saved properly, so I never bothered to correct it.

Alpha Killer II
Sep 22, 2006, 10:29 PM
:eek: Wow that dled pretty fast, I also have a XP, This is easy to use, and this was on the first page! Im sooo grateful for you!:eek:

Alpha Killer II
Oct 02, 2006, 08:20 PM
9/2/06
Okay I got the Editor.. I make a Thing for Marxism... but the thing is it doesnt show up when I test the thing... do I put in this?:
^#GOVT_MARXISM
^
^
^[description]
Do I do that on the thing? or something else?

LizardmenRule!
Oct 02, 2006, 11:16 PM
Don't put the ^ in front of the #GOVT_MARXISM
so it should look like this:

#GOVT_MARXISM
^
^
^[Marxism] is the ideology of Karl Marx etc...

Other notes:
Putting words in square brackets ie. [ ], puts words in italics, and putting words in { } those brackets makes them bold

Steph
Oct 03, 2006, 12:10 AM
Other notes:
Putting words in square brackets ie. [ ], puts words in italics, and putting words in { } those brackets makes them bold

The editor includes tools to transform text to italic or bold, so you don't have to remember that.

jatibi
Oct 10, 2006, 10:08 PM
why did you include the ESC-button exits program function...

your program is exactly what i needed, but because of that feature i just lost two and a half hours of civ-work because i just unintentionally hit that button ... :mad:

i know, i know, save, save, save, but there's no regular xp program that quits without "don't ya wanna save"-warning... aaaaaaaaaaaaaaaaarrrrrrrrrrgggg (it's 06:14 in the morning here)

jatibi
Oct 10, 2006, 10:12 PM
please, delete that feature, and many many thanks for that program, i really like it more than the CMT.

Steph
Oct 12, 2006, 01:50 PM
why did you include the ESC-button exits program function...

Because I'm evil

Azmorg
Nov 15, 2006, 10:23 PM
Hey Steph,
This is fantastic. I just happened upon it yesterday.
Wish I'd been looking in the utilities sooner.
This would have really helped in making CAMELOT! (http://forums.civfanatics.com/downloads.php?do=file&id=2989)

Every considered making a utility that would generate Pediaicon entries?

Steph
Nov 16, 2006, 12:58 PM
Ever considered making a utility that would generate Pediaicon entries?
I'm no longer working for Civ3, but for SSS I've included an easy way to set pediaicons

NinjaDude
Oct 26, 2007, 08:58 AM
Great I'm Gonna Download it now!:D

TheKingOfBigOz
Dec 15, 2007, 02:22 PM
Hey, do you know , that hting is great, but I wonder, how do I make Science Guy say ooh, the Pottery will make us be able to do that and that. you know, what he "thinks" about that tech? all I get is blank (whew! atleast I don't crash)

Revan IV
Jun 19, 2008, 06:08 PM
I'm still not sure how this work. could you please explain this to me alittle better, because I am utility program impaired...