Edition title civilipedia

rhaul

Warlord
Joined
Mar 25, 2010
Messages
243
Location
Madrid
Good morning everyone.
I wanted to ask if anyone knows how I could put the letters of the titles of civilipodia in lowercase letters (except for the first letter), as they have in the French version of civilization.
Thank you.

upload_2021-11-7_12-13-55.png
 
Game calls "capitalize all letters" function before drawing text.
To fix this, go to 0x36DF9 in exe file (.05 english version). Here you will find this sequence:
9A 8A 29 45 20 83 C4 02 50
(this code calls "capitalize letters" function, then restores the stack pointer back after function call and pushes result string as a parameter for "draw string" function)
and replace it with "no operation":
90 90 90 90 90 90 90 90 90

This sequence happens multiple times through exe, so if you don't want to find it by address, then to find exactly this occurrence, you can search:
FF 76 CE B8 06 BA 50 9A 8A 29 45 20 83 C4 02 50 (it happens only once)
and replace:
FF 76 CE B8 06 BA 50 90 90 90 90 90 90 90 90 90

Sequence and its place can be different for other versions (it's definitely different in .01).

I tested this fix and it's working ok at least at the first glance.

If you're not comfortable with hex editing, I also can create patch for JCivED. If you're playing not .05 (you can see program version at the very first game screen with "civilized guys"), then tell me what is your version.
 
Last edited:
Game calls "capitalize all letters" function before drawing text.
To fix this, go to 0x36DF9 in exe file (.05 english version). Here you will find this sequence:
9A 8A 29 45 20 83 C4 02 50
(this code calls "capitalize letters" function, then restores the stack pointer back after function call and pushes result string as a parameter for "draw string" function)
and replace it with "no operation":
90 90 90 90 90 90 90 90 90

This sequence happens multiple times through exe, so if you don't want to find it by address, then to find exactly this occurrence, you can search:
FF 76 CE B8 06 BA 50 9A 8A 29 45 20 83 C4 02 50 (it happens only once)
and replace:
FF 76 CE B8 06 BA 50 90 90 90 90 90 90 90 90 90

Sequence and its place can be different for other versions (it's definitely different in .01).

I tested this fix and it's working ok at least at the first glance.

If you're not comfortable with hex editing, I also can create patch for JCivED. If you're playing not .05 (you can see program version at the very first game screen with "civilized guys"), then tell me what is your version.

Thank you very much for the help, I will try to do it myself, it should not be a problem.

Is version 475.05 worth it compared to 475.04 (is the one that I have)?
Is there a font editor for this game?
 
Last edited:
Thank you very much for the quick answer.
My Version is 475.04.

Is version 475.05 worth it compared to 475.04?

They are almost identical. By documentation, for .05 devs had tried to fix "More..." bug but failed. But it can be that there's some other undocumented changes. Sorry but I don't have .04 at my disposal (only .01, .03 and .05). Even though .04 and .05 versions are almost identical, but because hex sequences above include function address, I'm almost certain they are different.
You can try to find .05 yourself. It was distributed as full.exe, not some patch, so I will not post it here.
 
They are almost identical. By documentation, for .05 devs had tried to fix "More..." bug but failed. But it can be that there's some other undocumented changes. Sorry but I don't have .04 at my disposal (only .01, .03 and .05). Even though .04 and .05 versions are almost identical, but because hex sequences above include function address, I'm almost certain they are different.
You can try to find .05 yourself. It was distributed as full.exe, not some patch, so I will not post it here.

Don't worry, I should have no problem modifying it myself. THANK YOU SO MUCH.
Do you know if there is a font editor?
 
Don't worry, I should have no problem modifying it myself. THANK YOU SO MUCH.
Do you know if there is a font editor?
You can open FONTS.CV from CIV directory with JCivED (File/Open Fontset File...) You cannot edit it here, but you can export it as .gif (Fonts/Export fontset as image...) I presume after that you can edit this image and export it back (Fonts/Export image as FONTS.CV...) I never tried to edit civ fonts myself, so good luck.
 
Is there a font editor for this game?

Hi there,

Taking the thread a little late but, YES there is a font editor, albeit not very user friendly: JCivED...

I am not taking screenshots right now, but you can open FONTS.CV, extract the fonts a single picture file, change the font shapes, import it back, and configure the right sizes for all chars.

Try it if you need, and I'll try to help if you have problems with it !

Cheers
 
Hi there,

Taking the thread a little late but, YES there is a font editor, albeit not very user friendly: JCivED...

I am not taking screenshots right now, but you can open FONTS.CV, extract the fonts a single picture file, change the font shapes, import it back, and configure the right sizes for all chars.

Try it if you need, and I'll try to help if you have problems with it !

Cheers

Couldn't that editor be made easier to use for font editing?
 
Couldn't that editor be made easier to use for font editing?

Well I did consider making it possible to edit the FONTS.CV picture "in-place" but that amounted to rewriting a simple paint program (e.g. mspaint), which already in many very efficient and powerful forms, and I had other priorities.

This being said, how exactl would you wish it to be "easier" ?

What's the typical usage you would find easy or practical ?
 
Hello again.
Actually I already have a font editor, but it is not very intuitive or easy to use.
I'm the one who translated civilization into Spanish and right now I'm about to release version 2.0 of the translation before the end of this year for the 30th anniversary of civilization 1.

upload_2021-12-3_20-40-55.png


If you could do the editing of sources as fast and direct as possible it would be appreciated and if you could include a small and simple image editor it would be incredible, not for me, since I already have the sources edited, but surely for others people who want to translate this game into different languages would do very well.

If your question is what needs would be interesting for an editor, in my opinion it would be the following:
1.- execution of the program in a portable and fast way.
2.- image editing editor with a simple program.
3.- edition to the maximum allowed size of the character cells. (both width and height)
4.- enable all available cells that you can (I myself have enabled cells that were not originally enabled for the use of catacters)
 
Last edited:
Back
Top Bottom